From capellan2000 at gmail.com Wed Aug 1 00:14:13 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 31 Jul 2012 21:14:13 -0700 (PDT) Subject: Scaling Gradients In-Reply-To: <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> References: <1343762188428-4653156.post@n4.nabble.com> <1343778900341-4653173.post@n4.nabble.com> <76343573078.20120731174215@ahsoftware.net> <1343782824147-4653177.post@n4.nabble.com> <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> Message-ID: <1343794453097-4653193.post@n4.nabble.com> Hi Monte, Monte Goulding wrote > > I don't see why you need to do this operation while scaling. > It would appear to be a different use case. If you do need > to rotate and scale at the same time then why not work out > your scaling factor, rotate the points then scale the rect. > Same as Mark's idea but no extra graphic created. > Look what happen when I rotate this graphic filled with a gradient: http://andregarzia.on-rev.com/alejandro/img/Gradients05.jpg -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p4653193.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Wed Aug 1 00:26:45 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 1 Aug 2012 14:26:45 +1000 Subject: Scaling Gradients In-Reply-To: <1343794453097-4653193.post@n4.nabble.com> References: <1343762188428-4653156.post@n4.nabble.com> <1343778900341-4653173.post@n4.nabble.com> <76343573078.20120731174215@ahsoftware.net> <1343782824147-4653177.post@n4.nabble.com> <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> <1343794453097-4653193.post@n4.nabble.com> Message-ID: <586EE1A5-657A-4B34-A321-759CBC010C22@sweattechnologies.com> > Look what happen when I rotate this graphic > filled with a gradient: > > http://andregarzia.on-rev.com/alejandro/img/Gradients05.jpg Why don't you rotate around the via property of the gradient. That way it will be right. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Wed Aug 1 00:25:38 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 31 Jul 2012 21:25:38 -0700 (PDT) Subject: [OT] How long before.. In-Reply-To: <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> Message-ID: <1343795138995-4653195.post@n4.nabble.com> Interesting point of view, Thomas. Thomas McGrath III-3 wrote > > And don't we all at some point think "We know best". > The problem is there are many many people that think > they know best in direct conflict with those of us that > actually do. ;-) > Here is a prophetic video from Edward Deming Dr. Deming - The 5 Deadly Diseases 1984 http://www.youtube.com/watch?v=ehMAwIHGN0Y&feature=related Dr. Deming said, "A Transformation must take place in American industry or it will continue on the decline until the style of American management changes...and they don't know what to do. 98% don't know there is a problem or there is anything they can do." Here is more: http://www.endsoftheearth.com/Deming14Pts.htm Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653195.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Aug 1 00:55:56 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 31 Jul 2012 21:55:56 -0700 (PDT) Subject: Scaling Gradients In-Reply-To: <586EE1A5-657A-4B34-A321-759CBC010C22@sweattechnologies.com> References: <1343762188428-4653156.post@n4.nabble.com> <1343778900341-4653173.post@n4.nabble.com> <76343573078.20120731174215@ahsoftware.net> <1343782824147-4653177.post@n4.nabble.com> <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> <1343794453097-4653193.post@n4.nabble.com> <586EE1A5-657A-4B34-A321-759CBC010C22@sweattechnologies.com> Message-ID: <1343796956080-4653196.post@n4.nabble.com> In that case... Monte Goulding wrote > > Why don't you rotate around the via property > of the gradient. That way it will be right. > it would be a translation and a rotation of these gradient properties. Let's see how that works. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p4653196.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Wed Aug 1 00:59:01 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 31 Jul 2012 21:59:01 -0700 Subject: Scaling Gradients In-Reply-To: <1343794453097-4653193.post@n4.nabble.com> Message-ID: Hi Alejandro: How I would do this -- 1) determine the offsets of all 3 gradient coordinates from the graphic's loc, and 2) rotate the gradient coordinates in alignment with however much the graphic is rotated, keeping in mind offsets from the center. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Alejandro Tejada wrote: > Hi Monte, > > > Monte Goulding wrote >> >> I don't see why you need to do this operation while scaling. >> It would appear to be a different use case. If you do need >> to rotate and scale at the same time then why not work out >> your scaling factor, rotate the points then scale the rect. >> Same as Mark's idea but no extra graphic created. >> > > Look what happen when I rotate this graphic > filled with a gradient: > > http://andregarzia.on-rev.com/alejandro/img/Gradients05.jpg > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p465 > 3193.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 chipp at chipp.com Wed Aug 1 01:38:26 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 00:38:26 -0500 Subject: [OT] How long before.. In-Reply-To: <1343795138995-4653195.post@n4.nabble.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> Message-ID: Thanks Thomas and everyone for your thoughts on this subject. Very interesting to read! I agree with much which has been said. I also agree with the old chestnut, "if it ain't broke, don't fix it." For over 20 years, Save As was good enough for all? and now it's not. I don't agree about whole changes in paradigms without at least giving workarounds. And FWIW, I hated ribbon and quit all MS Office in favor of Google Docs as soon as I saw it. I still can't find my way around the damn thing. In fact I also hate IE because-- well that's a whole other thread! Still. Apple bites. For instance, today I tried updating Balsamiq (GREAT wireframe program) and as I was trying to run it I received a dialog from Apple stating it was not allowed. So, I've been using this program for years, and I update it and now it's not allowed? No message about how to allow it, or a button "Go Ahead anyway." Just the fact it's not allowed. After searching HELP, I found out I need to option-click on the program (intuitive? good UIX?) and ONLY THEN could it run. Not sure how much *better* that is... And exactly how intuitive is it to option-Save to Save As? (Thanks Jacque!) Wow-- I can see that whole Save As thing full of opportunity for mistakes. What if I want to Save As, but then press command instead of option when selecting the menu? OOPS, just saved over what it was I was trying to Save-- or did I? Aren't we automatically saving anyway? I don't know. And what if I just open an iCloud doc on my iPad, will it auto-save, thus killing any non-compatible doc formatting?-- which is the exact problem when UIX folks think they want the computer to read you mind and act for you. And iCloud. Just read this by the famous Apple columnist and all around good guy Andy Ihnatko: http://bit.ly/PkVqDx I suspect the same folks who use DropBox will find iCloud totally unacceptable. Heck, it doesn't backup docs, it doesn't share docs. You can't even download your docs from iCloud! wtf? *Finally, IMO, the ultimate in Apple arrogance and their belief they 'know' what is right for all of us.* A month ago, a government agency asked me to design an app, for both Android and iOS, for a national symposium on suicide prevention. Their board of directors had gotten together and decided they wanted to create portable smartphone apps for all the proceedings, including white papers, presentations, bios, helpful links and explanations of the organizations which are involved. They asked me to create it, which I agreed to. I finished in one week, just enough time to allow Apple to approve it and get it into the App Store. It was created with different links to content as well as descriptions of various talks, people attending, groups and other interesting information. It was also built to be a resource long after the symposium is over. As you can imagine where this is going... Apple didn't approve it citing the fact it didn't meet their guidelines on content and it could all be done in HTML5. I was stunned. Apple allows fart apps, a digital clock with just a number on it (literally, "put the time into fld 1" every second), a tool to calculate pi to the Nth, a tool to ONLY PING an IPaddress, but not this app-- something which potentially could save people's lives. In an ultimate act of arrogance, Apple believes their idea of what an app should be trumps the wishes of a group of highly intelligent people who actually budgeted money to have this app built for a very serious symposium on a subject important as suicide prevention. Sheesh. And yes, the Android App did ship just fine. So, sometimes believing in Apple's ability to provide best group-think for the rest of us is just pure SHIT. Of course, that's only my slightly pissed opinion.. :-D From palcibiades-first at yahoo.co.uk Wed Aug 1 03:40:50 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 1 Aug 2012 00:40:50 -0700 (PDT) Subject: [OT] How long before.. In-Reply-To: References: Message-ID: <1343806850657-4653199.post@n4.nabble.com> Its not a problem that is confined to Apple - though Apple maybe sets the tone. You can see it in Linux too. Both Gnome 3 and KDE 4 have gone through a phase of total user interface redesign. In both cases the result was pretty unusable - though it doubtless conformed perfectly to HIG correctness. Then if you download and install Windows 8, as Chipp hints, the UI replaces something ugly but usable with something that makes ordinary work flows far more time consuming and difficult, with no apparent gain. Apple's role in this is quite important, because they have the illusion that they are the guardians of 'usability'. This increasingly has become nothing to do with actual use, but with the look of a screen on a first impression. In addition, in a move which is well known from politics, they have moved from thinking of the UI and the OS as a whole as being something which offers services to the users, to thinking of them as something which governs and controls the users. The 'save as' fiasco illustrates this perfectly, and it has its analogues in Gnome. The aim has become positively to prevent users from doing things which are thought of as incorrect in some way. Its none of it real world evidence based. Yes, we have the alleged laws of HIG, but they are not based on peer reviewed empirical observations of people at work accomplishing tasks. They are based on highly theoretical arguments about distance a cursor travels. This is a recipe for superstition and political correctness and endless recycled erroneous assumptions. What the HIG movement is failing to acknowledge is the diversity of human taste and working habits, and the diversity of application configuration and work flows in a given installation. One size does not fit all. This is the fundamental ideological flaw in all these obligatory redesigns. The aim should be to accommodate more not less ways of working. There is an interesting minor version of this in theming. The idea with prohibiting theming is that some color and shape schemes are 'right' for everyone. It is basically, as Torvalds said, UI authoritarianism. Anyway, personally I have moved to Fluxbox. I am sure it breaches every HIG rule in the book, but for me its fast, simple (except when I have to edit the custom menus by hand in xml), and it gets out of the way. Funnily enough, the one naive user I have taken to Fluxbox adapted to it almost instantly without comment. It just worked. I showed right clicking to launch an app, and also set the file manager to open automatically on a different workspace so it was ready to hand. Five minutes later they were working fine, and there are no calls. Well, not about the UI and OS anyway. Try this some time. It will instantly persuade you that all the HIG dogmas are entirely based on nothing more than superstition and control freakery. There is no scientific foundation at all, its just people who know no more about it than anyone else imposing their personal work flow prejudices on the rest of us. Or trying to. In Linux, its not really possible to do this, as Gnome and KDE and now Canonical have found out. You just get your product forked or made over. MS will find this out too, and will have to change. Don't suppose Apple will however. The habit is too ingrained, and OSX becoming such a small part of the business that it will not attract the level of management attention required to force the team to change. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653199.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Wed Aug 1 03:44:18 2012 From: livfoss at mac.com (Graham Samuel) Date: Wed, 01 Aug 2012 09:44:18 +0200 Subject: Is it safe to upgrade to Xcode 4.4? Message-ID: <8899EBC8-BB53-41ED-9670-43B659CB516F@mac.com> I know there has been some discussion on the list lately but I remain confused. I (along with I guess everyone else) have had a notification from the Mac App Store that the update to Xcode 4.4 is available and I'm invited to upgrade. What is the consensus - will I be able to continue iOS development using LiveCode 5.5.1 without problems or not, or will I enter uncharted territory where I have to change components, paths etc which I barely understand: and indeed is there really an option if I want to go on with iOS development and embrace iOS 6? I'd be really grateful for an authoritative answer. TIA Graham From richmondmathewson at gmail.com Wed Aug 1 04:01:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 11:01:19 +0300 Subject: That man again. Message-ID: <5018E24F.8020602@gmail.com> http://www.bbc.com/news/technology-19065082 "Richard Stallman - founder of the Free Software Foundation and the GNU operating system - said releasing DRM-protected games on the open-source platform would be "unethical" ." This man is a pain in the bum. I saw him in Sofia about 8 years ago, where his shrill ranting, at first, impressed me, and then came to be seen as unrealistic. 1. The Linux platform does NOT belong to Richard Stallman. 2. Where is "the GNU operating system"? still unfinished after years and years of Stallman banging on about it. The most recent 'alpha' release came out in 2011; from 1983-2011 to get an alpha does not over-inspire me. 3. If people carry on taking this chap seriously Linux will never manage to capture anything but a minority share of the desktop market. 4. His rantings [since when he was God and could decide what was ethical or not in the world of computers. I know not] could have repercussions for Livecode developers. I develop something that will [after significant tweaking and divergence from the Mac/Win codebase] end up as a Linux offering, but made with a close-source programming environment, and, after all my work, not going to be wide open so all and sundry can rip-off my code left-right-and-centre. Mr Stallman can describe me as "unethical", and I could give him a biff on the nose! This man has resemanticised "ethical" to mean "completely free and open", and these are not the same thing; if I give you a glass of beer (i.e. a free glass of beer) I am not obliged to reveal to you the ingredients of the beer, how it was brewed, and so on. " "Non-free game programs (like other non-free programs) are unethical because they deny freedom to their users," he wrote on his blog." Big hairy things! What would be unethical would be compelling end-users to buy/use non-free games: that is not happening. Somebody ought to point a few things out about Mr Stallman, his "moral hijacking" of Linux (Torvalds, unlike Stallman, doesn't appear to be a 'slobbering' fanatic) should be seen as outdated, outmoded, and no longer terribly relevant. Richmond Mathewson. BA, MA, MSc. P.S. My academic qualifications are not open-source . . . LOL. From richmondmathewson at gmail.com Wed Aug 1 04:08:35 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 11:08:35 +0300 Subject: [OT] How long before.. In-Reply-To: <1343806850657-4653199.post@n4.nabble.com> References: <1343806850657-4653199.post@n4.nabble.com> Message-ID: <5018E403.6050402@gmail.com> On 08/01/2012 10:40 AM, Peter Alcibiades wrote: > Its not a problem that is confined to Apple - though Apple maybe sets the > tone. You can see it in Linux too. Both Gnome 3 and KDE 4 have gone > through a phase of total user interface redesign. In both cases the result > was pretty unusable - though it doubtless conformed perfectly to HIG > correctness. Then if you download and install Windows 8, as Chipp hints, > the UI replaces something ugly but usable with something that makes ordinary > work flows far more time consuming and difficult, with no apparent gain. > > Apple's role in this is quite important, because they have the illusion that > they are the guardians of 'usability'. This increasingly has become nothing > to do with actual use, but with the look of a screen on a first impression. > In addition, in a move which is well known from politics, they have moved > from thinking of the UI and the OS as a whole as being something which > offers services to the users, to thinking of them as something which governs > and controls the users. > > The 'save as' fiasco illustrates this perfectly, and it has its analogues in > Gnome. The aim has become positively to prevent users from doing things > which are thought of as incorrect in some way. Its none of it real world > evidence based. Yes, we have the alleged laws of HIG, but they are not > based on peer reviewed empirical observations of people at work > accomplishing tasks. They are based on highly theoretical arguments about > distance a cursor travels. This is a recipe for superstition and political > correctness and endless recycled erroneous assumptions. > > What the HIG movement is failing to acknowledge is the diversity of human > taste and working habits, and the diversity of application configuration and > work flows in a given installation. One size does not fit all. This is the > fundamental ideological flaw in all these obligatory redesigns. The aim > should be to accommodate more not less ways of working. > > There is an interesting minor version of this in theming. The idea with > prohibiting theming is that some color and shape schemes are 'right' for > everyone. It is basically, as Torvalds said, UI authoritarianism. > > Anyway, personally I have moved to Fluxbox. I am sure it breaches every HIG > rule in the book, but for me its fast, simple (except when I have to edit > the custom menus by hand in xml), and it gets out of the way. Funnily > enough, the one naive user I have taken to Fluxbox adapted to it almost > instantly without comment. It just worked. I showed right clicking to > launch an app, and also set the file manager to open automatically on a > different workspace so it was ready to hand. Five minutes later they were > working fine, and there are no calls. Well, not about the UI and OS anyway. > > Try this some time. It will instantly persuade you that all the HIG dogmas > are entirely based on nothing more than superstition and control freakery. > There is no scientific foundation at all, its just people who know no more > about it than anyone else imposing their personal work flow prejudices on > the rest of us. Or trying to. In Linux, its not really possible to do > this, as Gnome and KDE and now Canonical have found out. You just get your > product forked or made over. MS will find this out too, and will have to > change. Don't suppose Apple will however. The habit is too ingrained, and > OSX becoming such a small part of the business that it will not attract the > level of management attention required to force the team to change. > > > Very well put indeed. If I ever buy a new Mac it will ONLY be for testing software I am developing. The feeling that one knows best as to what end-users want seems to grow with success; our friend Mark Shuttleworth seems to be making more judgement calls than he used to. I am currently using xfce 4.10 on my Linux box(es) at home (with Avant Window Manager as a 'dock'), and "obviated" GNOME 2 in my school. I use xfce 4.10 becaue I like it, and it suits my needs, just as you, Peter, use Fluxbox. But, we should always remember Chairman Mao and his "let a thousand blossoms bloom" and what happened subsequently! One of the initial premises of Linux was that folks could muck it around to their heart's content, especially with regard to the GUI; if this is lost and/or removed a very great part of the appeal of Linux for the average Joe will be lost. From ken at kencorey.com Wed Aug 1 04:58:53 2012 From: ken at kencorey.com (Ken Corey) Date: Wed, 01 Aug 2012 09:58:53 +0100 Subject: That man again. In-Reply-To: <5018E24F.8020602@gmail.com> References: <5018E24F.8020602@gmail.com> Message-ID: <5018EFCD.1070500@kencorey.com> Well, yes, he's annoying. Unimpressive, and fanatical could describe him. I met him 17 years ago when he came to the Labs at Sun where I was working. I thought "what a wackjob" then...and he's gotten worse. That doesn't mean he's wrong. Look at the tendency of coporations to lock us out of our stuff: Apple with their non-user-maintainable computers, then the closed and arbitrary App Store, and now operating systems that are locked down. Can you imagine Microsoft getting away with that 5 years ago when every state was suing them? Microsoft with their upcoming app store, Windows 8RT where you're only allowed to install IE (what kind of world is /that/ going to be), and the UEFI/Linux issues. Pretty much *any* organisation that wants to sell your information without you knowing about it. The various IP robber barons of the entertainment industries and the hundreds of DRM schemes they've tried to foist upon the unwashed. Okay, so the guy could rub Ghandi the wrong way, but honestly, if he wasn't such a prat, I'd completely agree with him. As it is, there's no way I'd be seen in public with him...but he's got a point. -Ken On 01/08/2012 09:01, Richmond wrote: > http://www.bbc.com/news/technology-19065082 > > "Richard Stallman - founder of the Free Software Foundation and the GNU > operating system - said releasing DRM-protected games on the open-source > platform would be "unethical" > ." From richmondmathewson at gmail.com Wed Aug 1 05:02:16 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 12:02:16 +0300 Subject: That man again. In-Reply-To: <5018EFCD.1070500@kencorey.com> References: <5018E24F.8020602@gmail.com> <5018EFCD.1070500@kencorey.com> Message-ID: <5018F098.8010003@gmail.com> On 08/01/2012 11:58 AM, Ken Corey wrote: > Well, yes, he's annoying. Unimpressive, and fanatical could describe > him. I met him 17 years ago when he came to the Labs at Sun where I > was working. I thought "what a wackjob" then...and he's gotten worse. > > That doesn't mean he's wrong. > > Look at the tendency of coporations to lock us out of our stuff: > > Apple with their non-user-maintainable computers, then the closed and > arbitrary App Store, and now operating systems that are locked down. > Can you imagine Microsoft getting away with that 5 years ago when > every state was suing them? > > Microsoft with their upcoming app store, Windows 8RT where you're only > allowed to install IE (what kind of world is /that/ going to be), and > the UEFI/Linux issues. > > Pretty much *any* organisation that wants to sell your information > without you knowing about it. > > The various IP robber barons of the entertainment industries and the > hundreds of DRM schemes they've tried to foist upon the unwashed. > > Okay, so the guy could rub Ghandi the wrong way, but honestly, if he > wasn't such a prat, I'd completely agree with him. > > As it is, there's no way I'd be seen in public with him...but he's got > a point. He has; but his mode of delivery is so off-putting he is probably having a directly opposite effect to what he intends. > > -Ken > > > > On 01/08/2012 09:01, Richmond wrote: >> http://www.bbc.com/news/technology-19065082 >> >> "Richard Stallman - founder of the Free Software Foundation and the GNU >> operating system - said releasing DRM-protected games on the open-source >> platform would be "unethical" >> ." > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Aug 1 05:21:49 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 02:21:49 -0700 (PDT) Subject: Scaling Gradients In-Reply-To: References: <1343762188428-4653156.post@n4.nabble.com> <1343778900341-4653173.post@n4.nabble.com> <76343573078.20120731174215@ahsoftware.net> <1343782824147-4653177.post@n4.nabble.com> <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> <1343794453097-4653193.post@n4.nabble.com> Message-ID: <1343812909216-4653205.post@n4.nabble.com> Hi Scott, Scott Rossi wrote > > How I would do this -- 1) determine the offsets of all 3 gradient > coordinates from the graphic's loc, and 2) rotate the gradient coordinates > in alignment with however much the graphic is rotated, keeping in mind > offsets from the center. > Now it is working! :-D http://andregarzia.on-rev.com/alejandro/img/Gradients06.jpg Actually, I just transformed the coordinates of fillgradient["From"], fillgradient["To"], fillgradient["Via"] along the rest of the coordinates points of the graphic. Really nice and simple. Later today, after more testing, I will post the stack. Many Thanks to all for your ideas an interest! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p4653205.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Wed Aug 1 05:44:38 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 1 Aug 2012 11:44:38 +0200 Subject: [OT] How long before.. In-Reply-To: References: Message-ID: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> Probably, yes ;-) Le 1 ao?t 2012 ? 01:35, -=>JB a ?crit : > Trial and error are a part of developing. AI will be here soon and you will > probably be thankful for its ease in use and it will make programming even > easier too. > > We are on the verge of fantastic changes that might come overnight. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Wed Aug 1 05:56:36 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 12:56:36 +0300 Subject: [OT] How long before.. In-Reply-To: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> Message-ID: <5018FD54.3010008@gmail.com> On 08/01/2012 12:44 PM, Pierre Sahores wrote: > Probably, yes ;-) > > Le 1 ao?t 2012 ? 01:35, -=>JB a ?crit : > >> Trial and error are a part of developing. AI will be here soon and you will I thought Artificial Insemination had been here for at least 40 years. LOL. >> probably be thankful for its ease in use and it will make programming even >> easier too. >> >> We are on the verge of fantastic changes that might come overnight. > -- > 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 ken at kencorey.com Wed Aug 1 06:04:21 2012 From: ken at kencorey.com (Ken Corey) Date: Wed, 01 Aug 2012 11:04:21 +0100 Subject: [OT] How long before.. In-Reply-To: <1343806850657-4653199.post@n4.nabble.com> References: <1343806850657-4653199.post@n4.nabble.com> Message-ID: <5018FF25.1000204@kencorey.com> On 01/08/2012 08:40, Peter Alcibiades wrote: > Its not a problem that is confined to Apple - though Apple maybe sets the > tone. You can see it in Linux too. Both Gnome 3 and KDE 4 have gone > through a phase of total user interface redesign. In both cases the result > was pretty unusable - though it doubtless conformed perfectly to HIG > correctness. Then if you download and install Windows 8, as Chipp hints, > the UI replaces something ugly but usable with something that makes ordinary > work flows far more time consuming and difficult, with no apparent gain. Though I agree with most of this, I feel the need to play devil's advocate here. I'm not trolling (really, I'm not), just curious. If the HIG are not scientifically provable "usability", but simply subjective statements, then how can we measure "usability"? You could argue that financial success is the greatest judge of "usability". After all, 312 million iOS purchasers can't be wrong, can they? (march 2012, http://statspotting.com/2012/03/in-total-how-many-ios-devices-are-out-there/) If not financials, and not the number of users, then by what metric does one measure usability (note the lack of quotes here...I mean real usability)? -Ken From chipp at chipp.com Wed Aug 1 06:22:30 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 05:22:30 -0500 Subject: [OT] How long before.. In-Reply-To: <1343806850657-4653199.post@n4.nabble.com> References: <1343806850657-4653199.post@n4.nabble.com> Message-ID: Brillant. I concur. On Wed, Aug 1, 2012 at 2:40 AM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > they have moved > from thinking of the UI and the OS as a whole as being something which > offers services to the users, to thinking of them as something which > governs > and controls the users. > > From chipp at chipp.com Wed Aug 1 06:27:03 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 05:27:03 -0500 Subject: [OT] How long before.. In-Reply-To: <5018FF25.1000204@kencorey.com> References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> Message-ID: I certainly would not consider 10% Mac marketshare as 'success'? If that is the case, then Windows would be considered an interface personally touched by the gods. And it can be argued iOS is 2 steps forward and 3 steps backward. The fact is, it is not an iOS focussed on productivity. With no file system, it's hard to believe it ever will be. Nope. Marketing should not be the sole measure of a successful interface design. On Wed, Aug 1, 2012 at 5:04 AM, Ken Corey wrote: > If the HIG are not scientifically provable "usability", but simply > subjective statements, then how can we measure "usability"? > > You could argue that financial success is the greatest judge of > "usability". After all, 312 million iOS purchasers can't be wrong, can > they? (march 2012, http://statspotting.com/2012/** > 03/in-total-how-many-ios-**devices-are-out-there/ > ) > > If not financials, and not the number of users, then by what metric does > one measure usability (note the lack of quotes here...I mean real > usability)? > From capellan2000 at gmail.com Wed Aug 1 06:31:46 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 03:31:46 -0700 (PDT) Subject: Scaling Gradients In-Reply-To: <1343812909216-4653205.post@n4.nabble.com> References: <1343762188428-4653156.post@n4.nabble.com> <1343778900341-4653173.post@n4.nabble.com> <76343573078.20120731174215@ahsoftware.net> <1343782824147-4653177.post@n4.nabble.com> <62E2990C-249A-4A68-A19E-8B259DA87B3A@sweattechnologies.com> <1343794453097-4653193.post@n4.nabble.com> <1343812909216-4653205.post@n4.nabble.com> Message-ID: <1343817106107-4653211.post@n4.nabble.com> Hi All, You could download this stack from: http://andregarzia.on-rev.com/alejandro/stacks/penToolv032h.zip In this stack, you could import Adobe Ilustrator files 7 or minor that uses gradients. Then, using the Transformation palette you could scale, rotate, reflect and skew this imported file. It is expected some glitches in this process. Just report them to my email, to check if I could fix them: capellan2000 at gmail dot com Just remember, this stack is BETA, there is no UNDO and please test it alone, without any other stack opened in the IDE or using Ken Ray's StackRunner: http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scaling-Gradients-tp4653156p4653211.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Wed Aug 1 06:54:51 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 01 Aug 2012 12:54:51 +0200 Subject: [OT] How long before.. In-Reply-To: References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> Message-ID: <5DA3AEFF-E35B-41B8-8029-363F2EBFC05F@mac.com> I love this thread, and all the old guys emphasising their thoughts and emotions. However, you are all geezering on and on about the good old times, how everything used to be much better when there was BASIC and CLI (or a slightly less remote past). In theory, I like the idea of no "save as", and no "save"-related menu items at all, no user interaction to save. Know what great tool had that in the early nineties which you all love so much? Hypercard! It's implementation of not saving stuff wasn't perfect either, but i much preferred it to how text edit worked back then, and often wished all programs worked like Hypercard in that regard (with the added feature to revert to older versions). Apple now tries to introduce this way of document handling as the only way to do files... And I agree that they're being rude there, and could have done that more gently. Maybe they should actually have made a new, and much more elaborate "File" menu, with both old and new way co-existing at the same time for at least two or five years. Or maybe a funny tutorial, on why they're doing it this way, just like they had these nice mini-games to learn what a mouse is. New stuff isn't always better, and trying out new approaches is not always going to be successful. However, replacing user issued saving with a properly working, behind the scene auto-save system could work. And it could reduce everyones pain with computers (yes even yours) a lot. Just think of your LC-stacks being auto-saved by the system all the time, for every change, with a logical, intuitive GUI that allows you to roll back to any state you want. Granted, the new Mac OS saves are not quite there yet, but they're going to get there, and I applaud Apple for trying that. cheers Bj?rnke -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From chipp at chipp.com Wed Aug 1 06:56:23 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 05:56:23 -0500 Subject: [OT] How long before.. In-Reply-To: <5018FD54.3010008@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> Message-ID: Yes Richmond, you are correct. The AI ship seemed to sail quite some time ago. One of the top AI scientists, Doug Lenat, has been working on creating an AI entity, Cyc (www.cyc.com) and wrote an interesting article: "The Voice of the Turtle: Whatever Happened to AI?" which is an interesting read: http://www.aaai.org/ojs/index.php/aimagazine/article/download/2106/1996 In his article he gives 12 reasons why AI has struggled so. Doug lives here in Austin and I've had a chance to visit with him on occasion. Very interesting fellow. Many have abandoned AI (except for gamers) in favor of more database-centric analysis tools which can more readily demonstrate trends and answer what/if types of questions. I'm not holding my breath for an AI HAL and home cleaning robots. I suspect we're still quite some time away. On Wed, Aug 1, 2012 at 4:56 AM, Richmond wrote: > On 08/01/2012 12:44 PM, Pierre Sahores wrote: > >> Probably, yes ;-) >> >> Le 1 ao?t 2012 ? 01:35, -=>JB a ?crit : >> >> Trial and error are a part of developing. AI will be here soon and you >>> will >> >> From bvg at mac.com Wed Aug 1 06:59:50 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 01 Aug 2012 12:59:50 +0200 Subject: [OT] How long before.. In-Reply-To: References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> Message-ID: <3FA0C902-30CF-475C-8825-80E862D1CE8C@mac.com> This is the way Apple tries to make the OS virus-proof. It's also tying into a marketing idea, to bring every App under their app store umbrella, and a way to control every applications purpose and function. Ethical, and Big Brother considerations aside, for now, there's a setting in the preferences to reduce this security and control feature: http://arstechnica.com/apple/2012/07/os-x-10-8/15/ On 01.08.2012, at 07:38, Chipp Walters wrote: > Still. Apple bites. For instance, today I tried updating Balsamiq (GREAT > wireframe program) and as I was trying to run it I received a dialog from > Apple stating it was not allowed. So, I've been using this program for > years, and I update it and now it's not allowed? No message about how to > allow it, or a button "Go Ahead anyway." Just the fact it's not allowed. > After searching HELP, I found out I need to option-click on the program > (intuitive? good UIX?) and ONLY THEN could it run. Not sure how much > *better* that is... -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From chipp at chipp.com Wed Aug 1 07:05:52 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 06:05:52 -0500 Subject: [OT] How long before.. In-Reply-To: <5DA3AEFF-E35B-41B8-8029-363F2EBFC05F@mac.com> References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> <5DA3AEFF-E35B-41B8-8029-363F2EBFC05F@mac.com> Message-ID: Yes, in theory I also like the idea of just talking to my computer and have it understand what I say and just do it. The problem is, when things don't work 100% right, people tend to get upset. It's actually one of the reasons iPads don't do handwriting recognition. Apple tried it with Newton and found out people were more frustrated by it and it actually created more of a barrier to use. And, a reason why Siri, and now Dictation, are suspect. When it works only part of the time, it's hard to think it reliable enough to incorporate directly into workflow. Now, take DropBox for instance. What a smart product. If you save all your stacks to a DropBox folder, it will archive each and every version for you in the cloud. If you need to roll it back, you can do so from their website. Very easy. Apple should not be playing guinea pig with it's customers. Businesses rarely put up with such shenanigans. Even MS had to back pedal on Ribbon for quite some time-- and I concur with Thomas with regard to it's ultimate advantages over previous versions. Sometimes improvement for improvements sake isn't the right answer. Too often I've heard the young shout "if the music is too loud, you're too old!" Sometimes the music really is too loud. On Wed, Aug 1, 2012 at 5:54 AM, Bj?rnke von Gierke wrote: > In theory, I like the idea of no "save as", and no "save"-related menu > items at all, no user interaction to save. From chipp at chipp.com Wed Aug 1 07:12:54 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 06:12:54 -0500 Subject: [OT] How long before.. In-Reply-To: <3FA0C902-30CF-475C-8825-80E862D1CE8C@mac.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> <3FA0C902-30CF-475C-8825-80E862D1CE8C@mac.com> Message-ID: Bj?rnke, thanks for the link! I predicted here in this forum a couple years back this would happen on the Mac. Apple would end up being the Gatekeeper of all the allowed software on anyone's computer. And, soon, just like it happened with Windows Vista, folks will just get used to turning Gatekeeper OFF (or option-clicking to launch apps) until it just becomes second nature-- sort of like command-Z for UNDO. How ironic does Ridley Scott's 1984 commercial seem today? More than anyone, Apple has mutated itself into Big Brother. On Wed, Aug 1, 2012 at 5:59 AM, Bj?rnke von Gierke wrote: > This is the way Apple tries to make the OS virus-proof. It's also tying > into a marketing idea, to bring every App under their app store umbrella, > and a way to control every applications purpose and function. Ethical, and > Big Brother considerations aside, for now, there's a setting in the > preferences to reduce this security and control feature: > > http://arstechnica.com/apple/2012/07/os-x-10-8/15/ > > From ken at kencorey.com Wed Aug 1 07:24:42 2012 From: ken at kencorey.com (Ken Corey) Date: Wed, 01 Aug 2012 12:24:42 +0100 Subject: [OT] How long before.. In-Reply-To: References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> Message-ID: <501911FA.4060607@kencorey.com> Like I said, I agree in general...but what /should/ a good measure of a successful interface be? If you'd like to think of it that way, Windows (for all its faults) /is/ touched by the gods. My children have been getting ICT training at school for the last four years, and what have they been learning? Word, Excel, and Powerpoint on windows computers, and the school is *proud* to teach it to them. *shiver* I was thrilled when one of the summer camps at school was to learn to use the Raspberry Pi, and really dig into game programming...until the camp was cancelled for lack of interest. In some respects, this is a bit like linguistic experts angry that silly news words come into the language. Yes, the new words may be silly or sound stupid, but if the whole of society understand them, they're words, whether experts like them or not. As Robbie Williams said "You can't argue with popularity...well, you could...but you'd be wrong". -Ken On 01/08/2012 11:27, Chipp Walters wrote: > Nope. Marketing should not be the sole measure of a successful interface > design. From pmbrig at gmail.com Wed Aug 1 07:45:11 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 1 Aug 2012 07:45:11 -0400 Subject: [OT] How long before.. In-Reply-To: <50189E9A.1040704@hyperactivesw.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <50189E9A.1040704@hyperactivesw.com> Message-ID: <45F2769C-7D0F-4AC2-9C7B-5BE69C4B6FAC@gmail.com> It's the little things that hurt. They ruined the really wonderful feature of "spaces" in Snow Leopard, which allowed you to have a grid of separate desktops in two dimensions. In Lion, no grid, it's a linear string, and it doesn't even wrap around, so to get from one on the far right to one on the far left, you have to scoot through multiple spaces. Plus you no longer can look at the menubar to tell which desktop you're in. There doesn't seem to be ANY rationale for this, other than that's the way iOS works. It's as though someone said, "let's see how we can spoil the desktop." What they should have done is made the iOS spaces work like SL, added a dimension to the mobile GUI. And to add insult to injury, Mac Mail no longer supports option-arrowkeys to jump through messages in the same thread. Why take away a useful feature??? It's a little thing, but Apple used to get so many of the little things right, and that's what added up to a consistent, intuitive GUI that people could really fall in love with. It's looking as if the coherence is evaporating -- RIP Jobs, probably. As a *very* loyal longtime Mac user, I am feeling more and more betrayed, and I'm actually beginning to wonder if at some point I'll be abandoning the platform. It makes me sad. And angry. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Jul 31, 2012, at 11:12 PM, J. Landman Gay wrote: > On 7/31/12 9:51 PM, Thomas McGrath III wrote: >> Sorry for that long email. I didn't really think it was till i just saw it now. Wow?. > > Don't apologize. It was excellent. Well written and, more important, true. > > Lion disrupted 30 years of computing habits for much the same reasons. I hate it. From mcgrath3 at mac.com Wed Aug 1 08:44:41 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 01 Aug 2012 08:44:41 -0400 Subject: [OT] How long before.. In-Reply-To: References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> Message-ID: <457C5253-A3C5-44A4-BAB8-7AED6C05C0A5@mac.com> [OT] from the [OT]:: Chipp, did the app 'just' have web views and or doc pages with like a splash screen? The reason I ask is we had to put a simple game into some of our apps to get past the 'this could have been done in HTML5' objection and I was wondering if this was a similar case for you. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Aug 1, 2012, at 1:38 AM, Chipp Walters wrote: > Apple didn't approve it citing the fact it didn't meet their guidelines on > content and it could all be done in HTML5. From sundown at pacifier.com Wed Aug 1 09:31:23 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 06:31:23 -0700 Subject: [OT] How long before.. In-Reply-To: References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> Message-ID: <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> The AI we have had in the past is primitive and not even close to the AI I am talking about. i have not seen anything fantastic come from the old so called AI because it was artificial in even claiming it to be AI. As I have said, trial and error are a part of development. Many have good reason to complain but they will probably be very happy with the end result. There are ways to make everyone happy. How would you like to be able to use any OS ever made? You may be able to have your choice. What if Apple allowed you to run any OS on your computer. Which one would you choose? Which one would you decide to write new programs for? If Apple allowed you to run any OS they have ever made at the same time will you complain then? Will you hope they stop making changes even if you are not forced to use their changes? I suspect many old timers like me will use both the new and old and develop for both too. -=>JB<=- On Aug 1, 2012, at 3:56 AM, Chipp Walters wrote: > Yes Richmond, you are correct. The AI ship seemed to sail quite some time > ago. One of the top AI scientists, Doug Lenat, has been working on creating > an AI entity, Cyc (www.cyc.com) and wrote an interesting article: "The > Voice of the Turtle: Whatever Happened to AI?" which is an interesting read: > http://www.aaai.org/ojs/index.php/aimagazine/article/download/2106/1996 > > In his article he gives 12 reasons why AI has struggled so. Doug lives here > in Austin and I've had a chance to visit with him on occasion. Very > interesting fellow. > > Many have abandoned AI (except for gamers) in favor of more > database-centric analysis tools which can more readily demonstrate trends > and answer what/if types of questions. > > I'm not holding my breath for an AI HAL and home cleaning robots. I suspect > we're still quite some time away. > > On Wed, Aug 1, 2012 at 4:56 AM, Richmond wrote: > >> On 08/01/2012 12:44 PM, Pierre Sahores wrote: >> >>> Probably, yes ;-) >>> >>> Le 1 ao?t 2012 ? 01:35, -=>JB a ?crit : >>> >>> Trial and error are a part of developing. AI will be here soon and you >>>> will >>> >>> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 09:48:05 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 16:48:05 +0300 Subject: [OT] How long before.. In-Reply-To: <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> Message-ID: <50193395.1080004@gmail.com> On 08/01/2012 04:31 PM, -=>JB<=- wrote: > The AI we have had in the past is primitive and not even close to the AI > I am talking about. i have not seen anything fantastic come from the old > so called AI because it was artificial in even claiming it to be AI. > > Artificial Intelligence if we mean something that can learn from input and act on it does exist. Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. However my cat (who is neither a computer program, nor interacts with computers), and I (???) both possess a quite different sort of intelligence . . . This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. When I see a computer and/or program that suffers from mood swings I will admit I was wrong! --------------------------------------------------------------------------------------------------------------------------------- I don't know whether anybody has sat down and mapped out how AI is expected to develop over the next dozen years or so. This might prove useful so that a lot of people don't waste an awful lot of time trying to get something to behave in a way it is congenitally incapable of, and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to be current. From sundown at pacifier.com Wed Aug 1 10:15:51 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 07:15:51 -0700 Subject: [OT] How long before.. In-Reply-To: <50193395.1080004@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> Message-ID: <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> I didn't watch that much Star Trek but I think Spock would disagree with your theory about mood swings and AI. -=>JB<=- On Aug 1, 2012, at 6:48 AM, Richmond wrote: > On 08/01/2012 04:31 PM, -=>JB<=- wrote: >> The AI we have had in the past is primitive and not even close to the AI >> I am talking about. i have not seen anything fantastic come from the old >> so called AI because it was artificial in even claiming it to be AI. >> >> > > > Artificial Intelligence if we mean something that can learn from input and act on it does exist. > > Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist > and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. > > Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. > > However my cat (who is neither a computer program, nor interacts with computers), and I (???) > both possess a quite different sort of intelligence . . . > > This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. > > So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to > equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. > > Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. > > When I see a computer and/or program that suffers from mood swings I will admit I was wrong! > > --------------------------------------------------------------------------------------------------------------------------------- > > I don't know whether anybody has sat down and mapped out how AI is expected to develop > over the next dozen years or so. This might prove useful so that a lot of people don't waste > an awful lot of time trying to get something to behave in a way it is congenitally incapable of, > and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to > be current. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 10:14:26 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 17:14:26 +0300 Subject: [OT] How long before.. In-Reply-To: <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> Message-ID: <501939C2.5060401@gmail.com> On 08/01/2012 05:15 PM, -=>JB<=- wrote: > I didn't watch that much Star Trek but I think Spock would disagree > with your theory about mood swings and AI. Oddly enough, I was being serious about AI, not making goofy remarks to be analysed by characters from a TV series. > > -=>JB<=- > > > On Aug 1, 2012, at 6:48 AM, Richmond wrote: > >> On 08/01/2012 04:31 PM, -=>JB<=- wrote: >>> The AI we have had in the past is primitive and not even close to the AI >>> I am talking about. i have not seen anything fantastic come from the old >>> so called AI because it was artificial in even claiming it to be AI. >>> >>> >> >> >> Artificial Intelligence if we mean something that can learn from input and act on it does exist. >> >> Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist >> and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. >> >> Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. >> >> However my cat (who is neither a computer program, nor interacts with computers), and I (???) >> both possess a quite different sort of intelligence . . . >> >> This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. >> >> So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to >> equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. >> >> Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. >> >> When I see a computer and/or program that suffers from mood swings I will admit I was wrong! >> >> --------------------------------------------------------------------------------------------------------------------------------- >> >> I don't know whether anybody has sat down and mapped out how AI is expected to develop >> over the next dozen years or so. This might prove useful so that a lot of people don't waste >> an awful lot of time trying to get something to behave in a way it is congenitally incapable of, >> and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to >> be current. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 10:20:42 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 07:20:42 -0700 Subject: [OT] How long before.. In-Reply-To: <501939C2.5060401@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> Message-ID: And I was being serious about mood swings and AI. -=>JB<=- On Aug 1, 2012, at 7:14 AM, Richmond wrote: > On 08/01/2012 05:15 PM, -=>JB<=- wrote: >> I didn't watch that much Star Trek but I think Spock would disagree >> with your theory about mood swings and AI. > > Oddly enough, I was being serious about AI, not making goofy remarks to be analysed by characters from a TV series. > >> >> -=>JB<=- >> >> >> On Aug 1, 2012, at 6:48 AM, Richmond wrote: >> >>> On 08/01/2012 04:31 PM, -=>JB<=- wrote: >>>> The AI we have had in the past is primitive and not even close to the AI >>>> I am talking about. i have not seen anything fantastic come from the old >>>> so called AI because it was artificial in even claiming it to be AI. >>>> >>>> >>> >>> >>> Artificial Intelligence if we mean something that can learn from input and act on it does exist. >>> >>> Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist >>> and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. >>> >>> Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. >>> >>> However my cat (who is neither a computer program, nor interacts with computers), and I (???) >>> both possess a quite different sort of intelligence . . . >>> >>> This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. >>> >>> So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to >>> equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. >>> >>> Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. >>> >>> When I see a computer and/or program that suffers from mood swings I will admit I was wrong! >>> >>> --------------------------------------------------------------------------------------------------------------------------------- >>> >>> I don't know whether anybody has sat down and mapped out how AI is expected to develop >>> over the next dozen years or so. This might prove useful so that a lot of people don't waste >>> an awful lot of time trying to get something to behave in a way it is congenitally incapable of, >>> and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to >>> be current. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 me.com Wed Aug 1 10:18:55 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Wed, 01 Aug 2012 08:18:55 -0600 Subject: Is it safe to upgrade to Xcode 4.4? In-Reply-To: <8899EBC8-BB53-41ED-9670-43B659CB516F@mac.com> References: <8899EBC8-BB53-41ED-9670-43B659CB516F@mac.com> Message-ID: <200FC996-058D-4C47-A4B2-1B900AA63485@me.com> Graham, To answer your question about Xcode 4.4 and LiveCode 5.5.1, yes, you should be just fine. I haven't had any problems getting the two to talk nicely. However, and this is a fairly big however, Apple seems to have totally dropped support for the iOS 4.3 simulator. I'm not totally sure if this is a Mountain Lion thing (I've upgraded to ML and Xcode 4.4) or if it's just Xcode 4.4. So I was a little saddened to find that out, as I'm working on a project that I would really like to still test in the 4.3 simulator. And the usual methods of manually copying the right iOS sdk(s) does not seem to work anymore. So if you don't need the older simulator version (Xcode 4.4 supports iOS 5.0 and 5.1 simulators only) then you should be fine to upgrade. But if you do, hold out for a bit longer if you can, especially if you're not in a hurry to upgrade to Mountain Lion. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Aug 1, 2012, at 1:44 AM, Graham Samuel wrote: > I know there has been some discussion on the list lately but I remain confused. I (along with I guess everyone else) have had a notification from the Mac App Store that the update to Xcode 4.4 is available and I'm invited to upgrade. What is the consensus - will I be able to continue iOS development using LiveCode 5.5.1 without problems or not, or will I enter uncharted territory where I have to change components, paths etc which I barely understand: and indeed is there really an option if I want to go on with iOS development and embrace iOS 6? > > I'd be really grateful for an authoritative answer. > > 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 richmondmathewson at gmail.com Wed Aug 1 10:34:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 17:34:19 +0300 Subject: [OT] How long before.. In-Reply-To: References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> Message-ID: <50193E6B.8070209@gmail.com> On 08/01/2012 05:20 PM, -=>JB<=- wrote: > And I was being serious about mood swings and AI. Ahah. Well, in that case can you explain how mood swings can be reduced to a set of mathematical equations? > > -=>JB<=- > > > On Aug 1, 2012, at 7:14 AM, Richmond wrote: > >> On 08/01/2012 05:15 PM, -=>JB<=- wrote: >>> I didn't watch that much Star Trek but I think Spock would disagree >>> with your theory about mood swings and AI. >> Oddly enough, I was being serious about AI, not making goofy remarks to be analysed by characters from a TV series. >> >>> -=>JB<=- >>> >>> >>> On Aug 1, 2012, at 6:48 AM, Richmond wrote: >>> >>>> On 08/01/2012 04:31 PM, -=>JB<=- wrote: >>>>> The AI we have had in the past is primitive and not even close to the AI >>>>> I am talking about. i have not seen anything fantastic come from the old >>>>> so called AI because it was artificial in even claiming it to be AI. >>>>> >>>>> >>>> >>>> >>>> Artificial Intelligence if we mean something that can learn from input and act on it does exist. >>>> >>>> Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist >>>> and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. >>>> >>>> Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. >>>> >>>> However my cat (who is neither a computer program, nor interacts with computers), and I (???) >>>> both possess a quite different sort of intelligence . . . >>>> >>>> This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. >>>> >>>> So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to >>>> equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. >>>> >>>> Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. >>>> >>>> When I see a computer and/or program that suffers from mood swings I will admit I was wrong! >>>> >>>> --------------------------------------------------------------------------------------------------------------------------------- >>>> >>>> I don't know whether anybody has sat down and mapped out how AI is expected to develop >>>> over the next dozen years or so. This might prove useful so that a lot of people don't waste >>>> an awful lot of time trying to get something to behave in a way it is congenitally incapable of, >>>> and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to >>>> be current. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 10:41:29 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 07:41:29 -0700 Subject: [OT] How long before.. In-Reply-To: <50193E6B.8070209@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> Message-ID: <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> No, I cannot explain it at this time. -=>JB<=- On Aug 1, 2012, at 7:34 AM, Richmond wrote: > On 08/01/2012 05:20 PM, -=>JB<=- wrote: >> And I was being serious about mood swings and AI. > > Ahah. Well, in that case can you explain how mood swings can be reduced to a set of mathematical > equations? > >> >> -=>JB<=- >> >> >> On Aug 1, 2012, at 7:14 AM, Richmond wrote: >> >>> On 08/01/2012 05:15 PM, -=>JB<=- wrote: >>>> I didn't watch that much Star Trek but I think Spock would disagree >>>> with your theory about mood swings and AI. >>> Oddly enough, I was being serious about AI, not making goofy remarks to be analysed by characters from a TV series. >>> >>>> -=>JB<=- >>>> >>>> >>>> On Aug 1, 2012, at 6:48 AM, Richmond wrote: >>>> >>>>> On 08/01/2012 04:31 PM, -=>JB<=- wrote: >>>>>> The AI we have had in the past is primitive and not even close to the AI >>>>>> I am talking about. i have not seen anything fantastic come from the old >>>>>> so called AI because it was artificial in even claiming it to be AI. >>>>>> >>>>>> >>>>> >>>>> >>>>> Artificial Intelligence if we mean something that can learn from input and act on it does exist. >>>>> >>>>> Artificial Intelligence if we mean a machine that behaves like a Bonobo or a Human does not exist >>>>> and is unlikely to as that presupposes Bonobos and Humans are entirely mechanistic. >>>>> >>>>> Artificial Intelligence can be something as simple as a computer program that learns how an end-user uses it and reshapes its behaviour to echo the end-user's preferences. I(f that is the case, then the Mozilla Firefox browser that "lives" in part of my Linux box may be said to possess some sort of AI. >>>>> >>>>> However my cat (who is neither a computer program, nor interacts with computers), and I (???) >>>>> both possess a quite different sort of intelligence . . . >>>>> >>>>> This is why the Russell-Carnap theory that everything could be boiled down to a set of mathematical equations has failed so miserably. >>>>> >>>>> So, while Artificial Intelligence can be said to exist, and be said to be capable of development, to >>>>> equate AI with animal intelligence might lead to ridiculous and unreasonable expectations. >>>>> >>>>> Animals have feelings, and feelings cannot be mathematically quantified yet animals act upon them. >>>>> >>>>> When I see a computer and/or program that suffers from mood swings I will admit I was wrong! >>>>> >>>>> --------------------------------------------------------------------------------------------------------------------------------- >>>>> >>>>> I don't know whether anybody has sat down and mapped out how AI is expected to develop >>>>> over the next dozen years or so. This might prove useful so that a lot of people don't waste >>>>> an awful lot of time trying to get something to behave in a way it is congenitally incapable of, >>>>> and stop the sort of "my computer behaves like my girlfriend" sort of expectations that seem to >>>>> be current. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 10:45:15 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 1 Aug 2012 08:45:15 -0600 Subject: [OT] How long before.. In-Reply-To: <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> Message-ID: Hasn't the quantification of emotion already been solved? Quite a while ago I think. A mac had a pretty stable AI. Mostly it just works. But push it to the point of upset? Instant sad face. Atari ST was a much more militant AI. When it was unhappy or angry it would throw bombs on the screen, the number of incendiary devices would indicate exactly how mad you had made it. Thank goodness Atari was never given control of the big red button. From ambassador at fourthworld.com Wed Aug 1 10:50:51 2012 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Wed, 01 Aug 2012 07:50:51 -0700 Subject: [OT] How long before.. Message-ID: Richmond wrote: > One of the initial premises of Linux was that folks could muck it > around to their heart's content, especially with regard to the GUI; > if this is lost and/or removed a very great part of the appeal of > Linux for the average Joe will be lost. You have more than a hundred distros to choose from, each with multiple desktop environments, each of those with at least dozens of tweak options, and the source code for all of that is freely available. What exactly were you able to do yesterday that's impossible for you to do today? -- 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 Aug 1 11:12:18 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 18:12:18 +0300 Subject: [OT] How long before.. In-Reply-To: <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> Message-ID: <50194752.2020608@gmail.com> On 08/01/2012 05:41 PM, -=>JB<=- wrote: > No, I cannot explain it at this time. The thing that I find fussing is the boundless optimism of very many people that the reduction of everything (as per Carnap) to Mathematical descriptions will eventually happen. This is best pointed out by the phrase "at this time"; the implication of which is a firm, almost unshakeable belief that, given time, everything will be boiled down to nice, tidy little materialistic mathematical descriptions. > > -=>JB<=- > > > On Aug 1, 2012, at 7:34 AM, Richmond wrote: > >> On 08/01/2012 05:20 PM, -=>JB<=- wrote: >>> And I was being serious about mood swings and AI. >> Ahah. Well, in that case can you explain how mood swings can be reduced to a set of mathematical >> equations? >> >> From richmondmathewson at gmail.com Wed Aug 1 11:12:50 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 18:12:50 +0300 Subject: [OT] How long before.. In-Reply-To: References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> Message-ID: <50194772.20401@gmail.com> On 08/01/2012 05:45 PM, Mike Bonner wrote: > Hasn't the quantification of emotion already been solved? Quite a while ago > I think. A mac had a pretty stable AI. Mostly it just works. But push it > to the point of upset? Instant sad face. > > Atari ST was a much more militant AI. When it was unhappy or angry it > would throw bombs on the screen, the number of incendiary devices would > indicate exactly how mad you had made it. Thank goodness Atari was never > given control of the big red button. > _______________________________________________ > Bravo! LOL. From richmondmathewson at gmail.com Wed Aug 1 11:14:14 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 18:14:14 +0300 Subject: [OT] How long before.. In-Reply-To: References: Message-ID: <501947C6.6050905@gmail.com> On 08/01/2012 05:50 PM, ambassador at fourthworld.com wrote: > Richmond wrote: > >> One of the initial premises of Linux was that folks could muck it >> around to their heart's content, especially with regard to the GUI; >> if this is lost and/or removed a very great part of the appeal of >> Linux for the average Joe will be lost. > > You have more than a hundred distros to choose from, each with > multiple desktop environments, each of those with at least dozens of > tweak options, and the source code for all of that is freely available. > > What exactly were you able to do yesterday that's impossible for you > to do today? > Nothing. The core of my paragraph you quoted above is the word 'if'. From sundown at pacifier.com Wed Aug 1 11:32:55 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 08:32:55 -0700 Subject: [OT] How long before.. In-Reply-To: <50194752.2020608@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> Message-ID: If did not use the phrase "at this time" it would obviously limit my ability to learn and explain things in the future. But given mood swings tend to cause irrational thinking as can be seen in the "my girfriend" phrase it should not be too hard for a computer to use certain events and respond irrationally. Mathmatically it could be done based on various things such as the time of the month the computer is responding. -=>JB<=- On Aug 1, 2012, at 8:12 AM, Richmond wrote: > On 08/01/2012 05:41 PM, -=>JB<=- wrote: >> No, I cannot explain it at this time. > > The thing that I find fussing is the boundless optimism of very many people that the reduction of everything (as per Carnap) to Mathematical descriptions will eventually happen. > > This is best pointed out by the phrase "at this time"; the implication of which is a firm, almost unshakeable belief that, given time, everything will be boiled down to nice, tidy little materialistic > mathematical descriptions. > >> >> -=>JB<=- >> >> >> On Aug 1, 2012, at 7:34 AM, Richmond wrote: >> >>> On 08/01/2012 05:20 PM, -=>JB<=- wrote: >>>> And I was being serious about mood swings and AI. >>> Ahah. Well, in that case can you explain how mood swings can be reduced to a set of mathematical >>> equations? >>> >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Aug 1 12:11:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:11:16 -0700 Subject: That man again. In-Reply-To: <5018E24F.8020602@gmail.com> References: <5018E24F.8020602@gmail.com> Message-ID: <0B4AC7B8-882B-483D-9741-5E7BD218D4D0@twft.com> To a pure Marxist Communist, these are in fact synonyms. Maybe he is one of those. Bob On Aug 1, 2012, at 1:01 AM, Richmond wrote: > This man has resemanticised "ethical" to mean "completely free and open" From bobs at twft.com Wed Aug 1 12:23:46 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:23:46 -0700 Subject: [OT] How long before.. In-Reply-To: References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> Message-ID: If you try to compare iOS with a desktop OS, then yeah, all your conclusions are going to be skewed. Apple's intention was not necessarily to make a full blown production OS, comparable to modern OS environments. Perhaps we should also add to the equation developer intent. If users bought iOS devices knowing full well it had no file system, and that sold like bonkers, I think you can still call it an unmitigated success. Bob On Aug 1, 2012, at 3:27 AM, Chipp Walters wrote: > And it can be argued iOS is 2 steps forward and 3 steps > backward. The fact is, it is not an iOS focussed on productivity. With no > file system, it's hard to believe it ever will be. From bobs at twft.com Wed Aug 1 12:28:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:28:48 -0700 Subject: [OT] How long before.. In-Reply-To: References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> <3FA0C902-30CF-475C-8825-80E862D1CE8C@mac.com> Message-ID: I think that is like saying a seller of homes is a complete paranoid fanatic because he decided to upgrade the locks and put in the latest state of the art alarm systems. People who try to make this argument keep saying "every" like it was a fact that was just known and beyond dispute. To my knowledge, MOST Apple apps are still purchasable independent of the App store. Not only that, but all App store apps can potentially be sold on the developers site. Nobody is twisting anyone's arms here that I can see. Bob On Aug 1, 2012, at 4:12 AM, Chipp Walters wrote: > Bj?rnke, thanks for the link! > > I predicted here in this forum a couple years back this would happen on the > Mac. Apple would end up being the Gatekeeper of all the allowed software on > anyone's computer. > > And, soon, just like it happened with Windows Vista, folks will just get > used to turning Gatekeeper OFF (or option-clicking to launch apps) until it > just becomes second nature-- sort of like command-Z for UNDO. > > How ironic does Ridley Scott's 1984 commercial seem today? More than > anyone, Apple has mutated itself into Big Brother. > > On Wed, Aug 1, 2012 at 5:59 AM, Bj?rnke von Gierke wrote: > >> This is the way Apple tries to make the OS virus-proof. It's also tying >> into a marketing idea, to bring every App under their app store umbrella, >> and a way to control every applications purpose and function. Ethical, and >> Big Brother considerations aside, for now, there's a setting in the >> preferences to reduce this security and control feature: >> >> http://arstechnica.com/apple/2012/07/os-x-10-8/15/ >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Aug 1 12:34:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:34:20 -0700 Subject: [OT] How long before.. In-Reply-To: <50193395.1080004@gmail.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> Message-ID: <7747FED7-7DB3-4FAB-ACE1-9AAF2ED85B41@twft.com> Sorry this is one of my many pet peeves. Everything hinges on what you mean by "learn" and "act". Tell me this, what new thing has a computer learned that no human knew before? And how did the computer act on that new knowledge? I think AI is an illusion, produced by the old trick of bait and switch. We talk in the abstract of "learning and acting" as though it was like what humans do, and then when it gets to the actual point of proving it we are told, "well, we don't mean THAT exactly." Bob On Aug 1, 2012, at 6:48 AM, Richmond wrote: > Artificial Intelligence if we mean something that can learn from input and act on it does exist. From bobs at twft.com Wed Aug 1 12:42:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:42:03 -0700 Subject: [OT] How long before.. In-Reply-To: References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> Message-ID: These equations are all imagined. In the end, the "intelligent" computer would just be doing exactly what it was programmed to do. As I said before, the appearance of random acts would be purely illusionary. A human can feel a mood swing coming on, and then make a choice as to whether or not to give in to it or else rise above it. Absent from all your equations is the notion that Souls make the final decisions. If you don't believe in Souls, well then you can easily theorize how AI might be possible. If you do, then you pretty much have to drop it. Unless you can find a way of giving a computer a self aware soul that is. I think the whole AI question really hinges on what you believe about our own natures. Bob On Aug 1, 2012, at 8:32 AM, -=>JB<=- wrote: > If did not use the phrase "at this time" it would obviously limit > my ability to learn and explain things in the future. > > But given mood swings tend to cause irrational thinking as can > be seen in the "my girfriend" phrase it should not be too hard for > a computer to use certain events and respond irrationally. > > Mathmatically it could be done based on various things such as > the time of the month the computer is responding. > > -=>JB<=- From sundown at pacifier.com Wed Aug 1 12:57:47 2012 From: sundown at pacifier.com (-=>JB<=-) Date: Wed, 1 Aug 2012 09:57:47 -0700 Subject: [OT] How long before.. In-Reply-To: <7747FED7-7DB3-4FAB-ACE1-9AAF2ED85B41@twft.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <7747FED7-7DB3-4FAB-ACE1-9AAF2ED85B41@twft.com> Message-ID: <3347974D-E837-4C3D-885B-F1CE99972D63@pacifier.com> That is basically what I was saying when I said that the AI we have seen is primitive and it was artificial in even calling it AI. In the near future you will be able to put all of the info in the world on a small dot. With that intelligence the dot will have more power than every computer and even super computers all combined that exist in the world today. Intelligence like that will provide AI. The dot will be able to be learn on its own and it will be able to communicate with other dots which will allow them to exchange all of the info they have instantaneously. They will be able to learn so fast and have so much knowledge they will be able to learn things no human knew before making true AI. -=>JB<=- On Aug 1, 2012, at 9:34 AM, Bob Sneidar wrote: > Everything hinges on what you mean by "learn" and "act". Tell me this, what new thing has a computer learned that no human knew before? And how did the computer act on that new knowledge? > > Bob > > > On Aug 1, 2012, at 6:48 AM, Richmond wrote: > >> Artificial Intelligence if we mean something that can learn from input and act on it does exist. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobs at twft.com Wed Aug 1 12:55:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 09:55:21 -0700 Subject: [OT] How long before.. In-Reply-To: <1343785284648-4653178.post@n4.nabble.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <1343785284648-4653178.post@n4.nabble.com> Message-ID: <10269B2D-D2DB-4252-B3BB-813B35088C90@twft.com> I tend to think that is understanding. Wisdom to me is the ability to decide what to do about it. Bob On Jul 31, 2012, at 6:41 PM, Alejandro Tejada wrote: > Hopefully they will learn a lesson from those who really > knew best, like Mr. Russell Lincoln Ackoff: > > "Wisdom is the ability to see well in advance the consequences > of current actions" From capellan2000 at gmail.com Wed Aug 1 12:58:48 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 09:58:48 -0700 (PDT) Subject: [ANN] penTool 0.3.2h [with scalable gradients] Message-ID: <1343840328968-4653241.post@n4.nabble.com> Hi All, I made an small update to the stack penTool. You could download this stack from: http://andregarzia.on-rev.com/alejandro/stacks/penToolv032h.zip In this version, you could import Adobe Ilustrator files 7 or minor that uses gradients. Then, using the Transformation palette you could scale, rotate, reflect and skew this imported file. Look at this image to view this useful feature: http://andregarzia.on-rev.com/alejandro/img/Gradients06.jpg (In the image, the stack is named penTool0.3.2g, but I changed this last letter before uploading the stack to Andre's server) As a result of this late night addition, still the stack could not export graphics with gradients to Adobe Ilustrator format... Just remember, this stack is BETA, there is no UNDO (Anyone have Undo code to spare?) and please test it in isolation, without any other stack opened in the IDE or using Ken Ray's StackRunner: http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm Report bugs and "unexpected features". Hopefully, I could fix them (or at least explain why is not possible) :-D My email is capellan2000 at gmail dot com Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Wed Aug 1 13:08:06 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 1 Aug 2012 10:08:06 -0700 Subject: [OT] How long before.. In-Reply-To: <1343795138995-4653195.post@n4.nabble.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> Message-ID: <83831C34-FBCB-43BA-9637-73506866265C@twft.com> I think underlying all of this is the common conundrum where someone new comes in to take over management because the position was recently vacated. Even though the last person had everything working like a well oiled machine, where everything worked and everyone knew their jobs and did them well, the new person cannot simply let that be. He has to justify his existence, nay his paycheck! So what does he do? He tries to make it "better". I was Operations Manager for a very successful radio ministry for years. I wasn't hired as the Operations Manager, there was just nobody doing it when I got there, and as the IT guy, moving them from working with paper and old defunct DOS terminals to new hardware and software, it simply made sense that I put that hat on. So at one point we were on over 150 radio stations nationwide, and in some foreign countries as well, as people were willing to translate and rebroadcast the Bible studies. Everything was churning along just great! Then the head of the organization decided that we should be the ones making the money, not paying it to everyone else. So he began a new campaign of terminating the contracts and using the money to buy translators which re-broadcast a non-commercial signal out of Twin Falls Idaho, bounced off satellite. Within two years the old syndicated programming was all but gone, the new radio station was strapped for cash constantly, they borrowed money like crazy to purchase real radio stations broadcasting commercial programming whose profit was supposed to pay for the non-comm translators. In the end it all fell apart, and no one since has been able to rebuild the old program. Very sad. All because someone had a "big idea" about how to save some money. It breaks my heart just to think of it. As someone else posted, "If it ain't broke, don't fix it." But whoever came up with the Microsoft Software Assurance program virtually guaranteed that they would have to be on a never ending campaign to "fix it". Bob On Jul 31, 2012, at 9:25 PM, Alejandro Tejada wrote: > Interesting point of view, Thomas. > > > Thomas McGrath III-3 wrote >> >> And don't we all at some point think "We know best". >> The problem is there are many many people that think >> they know best in direct conflict with those of us that >> actually do. ;-) >> > > Here is a prophetic video from Edward Deming > Dr. Deming - The 5 Deadly Diseases 1984 > http://www.youtube.com/watch?v=ehMAwIHGN0Y&feature=related > > Dr. Deming said, "A Transformation must take place in American industry > or it will continue on the decline until the style of American management > changes...and they don't know what to do. 98% don't know there is a > problem or there is anything they can do." > > Here is more: > http://www.endsoftheearth.com/Deming14Pts.htm > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653195.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 blackhurst at sc.rr.com Wed Aug 1 13:16:11 2012 From: blackhurst at sc.rr.com (Ed Blackhurst) Date: Wed, 1 Aug 2012 13:16:11 -0400 Subject: Question Related to gRevAppIcon Message-ID: <397CE8C4-92E7-47FF-B13A-92A153D38D2C@sc.rr.com> Greetings -- I'm using the gRevAppIcon keyword to display the icon for my app in the ask or answer dialog boxes, which nicely produces a message preceded by my icon (e.g. and " You can either PRINT the information that is currently displayed or SAVE it to disk to open later with a word processor." with "Cancel", "Print", or "Save" as the options.) However, when responding to that answer dialog, if the user elects to SAVE the file to disk and another file by that name already exists, a system message appears that contains both the LiveCode Icon and the yellow "Alert" triangle icon preceding the message: (e.g., "Variable 1.2 already exists. Do you want to replace it? A file or folder with the same name already exists on the Desktop. Replacing it will overwrite its current contents" with "Cancel" and "Replace" as the options.) Does anyone know if there's a way to replace those two icons with my app icon, as was done with the Answer dialog? Any help would be appreciated. Ed =============================================================== Ed Blackhurst blackhurst at sc.rr.com PLATFORM: Using LiveCode 5.5.1 (Build 1487) Commercial License on 27" iMac running OSX v. 10.6.8 =============================================================== From m.schonewille at economy-x-talk.com Wed Aug 1 13:57:47 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 1 Aug 2012 19:57:47 +0200 Subject: Question Related to gRevAppIcon In-Reply-To: <397CE8C4-92E7-47FF-B13A-92A153D38D2C@sc.rr.com> References: <397CE8C4-92E7-47FF-B13A-92A153D38D2C@sc.rr.com> Message-ID: <9FA93A17-6783-48C7-AB62-386AA7D16772@economy-x-talk.com> Ed, Define an icon file in the standalone application settings and this icon will be used for the alert dialog window, which is displayed by the 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 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 1 aug 2012, at 19:16, Ed Blackhurst wrote: > Greetings -- > > I'm using the gRevAppIcon keyword to display the icon for my app in the ask or answer dialog boxes, which nicely produces a message preceded by my icon (e.g. and " You can either PRINT the information that is currently displayed or SAVE it to disk to open later with a word processor." with "Cancel", "Print", or "Save" as the options.) > > However, when responding to that answer dialog, if the user elects to SAVE the file to disk and another file by that name already exists, a system message appears that contains both the LiveCode Icon and the yellow "Alert" triangle icon preceding the message: (e.g., "Variable 1.2 already exists. Do you want to replace it? A file or folder with the same name already exists on the Desktop. Replacing it will overwrite its current contents" with "Cancel" and "Replace" as the options.) > > Does anyone know if there's a way to replace those two icons with my app icon, as was done with the Answer dialog? Any help would be appreciated. > > Ed > From hershbp at verizon.net Wed Aug 1 14:46:03 2012 From: hershbp at verizon.net (Hershel Fisch) Date: Wed, 01 Aug 2012 14:46:03 -0400 Subject: printing In-Reply-To: <500DB44E.8060807@gmail.com> References: <96B272B6-4087-4A6D-B5BA-C1A0D67EC350@verizon.net> <500DB44E.8060807@gmail.com> Message-ID: <806A7011-8DC7-431D-9D91-1F82C059B24D@verizon.net> Thanks, On Jul 23, 2012, at 4:30 PM, Richmond wrote: > On 07/23/2012 11:09 PM, Hershel Fisch wrote: >> Hi, I made a small stack for check printing, but when finished i realized that it does not print straight. its not perfectly horizontal. wondering? >> Thanks, Hershel >> >> > > Well, I just set up a stack with a field "fPRINT" containing some text, and put this in a button: > > on mouseUp > revPrintField ("field" && quote & "fPRINT" & quote) -- mental syntax > end mouseUp > > and, as I don't have a printer to hand, it printed to a Postscript file (Linux) which looked > exactly the same as the textField. > > Maybe, just maybe, your paper was wonky in the printer tray . . . :) Looks like the printer is. Working now. > > 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 blackhurst at sc.rr.com Wed Aug 1 14:53:43 2012 From: blackhurst at sc.rr.com (Ed Blackhurst) Date: Wed, 1 Aug 2012 14:53:43 -0400 Subject: Question Related to gRevAppIcon In-Reply-To: <9FA93A17-6783-48C7-AB62-386AA7D16772@economy-x-talk.com> References: <397CE8C4-92E7-47FF-B13A-92A153D38D2C@sc.rr.com> <9FA93A17-6783-48C7-AB62-386AA7D16772@economy-x-talk.com> Message-ID: <64109733-A5D4-41F5-84BF-4524FA0D6191@sc.rr.com> Thanks for the quick and useful response Mark. Very helpful! Ed On Aug 1, 2012, at 1:57 PM, Mark Schonewille wrote: > Ed, > > Define an icon file in the standalone application settings and this icon will be used for the alert dialog window, which is displayed by the 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 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > On 1 aug 2012, at 19:16, Ed Blackhurst wrote: > >> Greetings -- >> >> I'm using the gRevAppIcon keyword to display the icon for my app in the ask or answer dialog boxes, which nicely produces a message preceded by my icon (e.g. and " You can either PRINT the information that is currently displayed or SAVE it to disk to open later with a word processor." with "Cancel", "Print", or "Save" as the options.) >> >> However, when responding to that answer dialog, if the user elects to SAVE the file to disk and another file by that name already exists, a system message appears that contains both the LiveCode Icon and the yellow "Alert" triangle icon preceding the message: (e.g., "Variable 1.2 already exists. Do you want to replace it? A file or folder with the same name already exists on the Desktop. Replacing it will overwrite its current contents" with "Cancel" and "Replace" as the options.) >> >> Does anyone know if there's a way to replace those two icons with my app icon, as was done with the Answer dialog? Any help would be appreciated. >> >> Ed >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at chipp.com Wed Aug 1 15:03:45 2012 From: chipp at chipp.com (Chipp Walters) Date: Wed, 1 Aug 2012 14:03:45 -0500 Subject: [OT] How long before.. In-Reply-To: <457C5253-A3C5-44A4-BAB8-7AED6C05C0A5@mac.com> References: <2CE7D1C3-39BD-4676-AB62-DE930D5A3D45@swcp.com> <66042BB9-CF51-47BD-9D3F-8EC7C9A38422@mac.com> <1343795138995-4653195.post@n4.nabble.com> <457C5253-A3C5-44A4-BAB8-7AED6C05C0A5@mac.com> Message-ID: Hi Tom, Yes. It pretty much had web / doc views and a hierarchy of menu screens to navigate them. Interesting. Thanks for sharing. On Wednesday, August 1, 2012, Thomas McGrath III wrote: > [OT] from the [OT]:: Chipp, did the app 'just' have web views and or doc > pages with like a splash screen? The reason I ask is we had to put a simple > game into some of our apps to get past the 'this could have been done in > HTML5' objection and I was wondering if this was a similar case for you. > > -- Chipp Walters CEO, Altuit, Inc. From richmondmathewson at gmail.com Wed Aug 1 15:36:20 2012 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Aug 2012 22:36:20 +0300 Subject: [OT] How long before.. In-Reply-To: References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> Message-ID: <50198534.3030703@gmail.com> On 08/01/2012 07:42 PM, Bob Sneidar wrote: > These equations are all imagined. In the end, the "intelligent" computer would just be doing exactly what it was programmed to do. As I said before, the appearance of random acts would be purely illusionary. A human can feel a mood swing coming on, and then make a choice as to whether or not to give in to it or else rise above it. Absent from all your equations is the notion that Souls make the final decisions. If you don't believe in Souls, well then you can easily theorize how AI might be possible. If you do, then you pretty much have to drop it. Unless you can find a way of giving a computer a self aware soul that is. I think the whole AI question really hinges on what you believe about our own natures. For once [ :/ ] Bob, I am in complete agreement with you. Richmond. > Bob > > > On Aug 1, 2012, at 8:32 AM, -=>JB<=- wrote: > >> If did not use the phrase "at this time" it would obviously limit >> my ability to learn and explain things in the future. >> >> But given mood swings tend to cause irrational thinking as can >> be seen in the "my girfriend" phrase it should not be too hard for >> a computer to use certain events and respond irrationally. >> >> Mathmatically it could be done based on various things such as >> the time of the month the computer is responding. >> >> -=>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 mwieder at ahsoftware.net Wed Aug 1 16:35:50 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 20:35:50 +0000 (UTC) Subject: [ANN] penTool 0.3.2h [with scalable gradients] References: <1343840328968-4653241.post@n4.nabble.com> Message-ID: Alejandro Tejada writes: > (Anyone have Undo code to spare?) Here's a framework for unlimited undos. It's set to archive the script of objects, but is easily modifiable for other properties. --> Undo support local sUndoPointArray /** * Undo.Retrieve * * Retrive an element from the sUndoPointArray */ private function Undo.Retrieve pObject, pCount local tData put sUndoPointArray[pObject][pCount] into tData if pCount = "count" then return tData else return decompress(tData) end if end Undo.Retrieve /** * Undo.Store * * Store an element into the sUndoPointArray */ private command Undo.Store pObject, pCount, pValue local tData put compress(pValue) into tData if pCount = "count" then put pValue into sUndoPointArray[pObject][pCount] else put tData into sUndoPointArray[pObject][pCount] end if end Undo.Store /** * UndoPointer * * Return the undo stack index */ private function Undo.Pointer pObject local tCount put Undo.Retrieve(pObject, "count") into tCount if tCount is empty then put 0 into tCount end if return tCount end Undo.Pointer /** * Undo.SetPointer * * @pNewCount : index value for this type of undo action */ private command Undo.SetPointer pObject, pNewCount Undo.Store pObject, "count", pNewCount end Undo.SetPointer /** * Undo.Push * * Save the current script for undoing later on */ command Undo.Push pObject local tCount put Undo.Pointer(pObject)+1 into tCount Undo.Store pObject, tCount, the htmltext of field kCodeField of stack self Undo.SetPointer pObject, tCount -- bump the index pointer end Undo.Push /** * Undo.Pop * * undo the last command */ command Undo.Pop pObject local tCount local tObject local tSavedUndo local tSuccess lock screen -- retrieve the current pointer for this object put Undo.Pointer(pObject) into tCount if tCount > 0 then -- retrieve the stored data put Undo.Retrieve(pObject, tCount) into tSavedUndo if tSavedUndo is not empty then set the htmltext of field kCodeField of stack self to tSavedUndo -- decrement the stack pointer Undo.SetPointer pObject, tCount-1 put true into tSuccess end if end if unlock screen if not tSuccess then answer "nothing to undo @" && tCount end if end Undo.Pop -- Mark Wieder mwieder at ahsoftware.net From monte at sweattechnologies.com Wed Aug 1 16:50:15 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 Aug 2012 06:50:15 +1000 Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <1343840328968-4653241.post@n4.nabble.com> References: <1343840328968-4653241.post@n4.nabble.com> Message-ID: <04E13569-F628-463C-8E37-A94248F171F1@sweattechnologies.com> Your awesome Alejandro! Someone give you a proper biezer graphic please! Or at least a smoothing property on a polygon. -- M E R Goulding Software development services mergExt - There's an external for that! On 02/08/2012, at 2:58 AM, Alejandro Tejada wrote: > Hi All, > > I made an small update to the stack penTool. > You could download this stack from: > http://andregarzia.on-rev.com/alejandro/stacks/penToolv032h.zip > > In this version, you could import Adobe Ilustrator files 7 or minor > that uses gradients. Then, using the Transformation palette > you could scale, rotate, reflect and skew this imported file. > > Look at this image to view this useful feature: > http://andregarzia.on-rev.com/alejandro/img/Gradients06.jpg > (In the image, the stack is named penTool0.3.2g, but I changed > this last letter before uploading the stack to Andre's server) > > As a result of this late night addition, still the stack could not export > graphics with gradients to Adobe Ilustrator format... > > Just remember, this stack is BETA, there is no UNDO (Anyone have Undo code > to spare?) > and please test it in isolation, without any other stack opened in the IDE > or > using Ken Ray's StackRunner: > http://www.sonsothunder.com/devres/livecode/downloads/StackRunner.htm > > Report bugs and "unexpected features". Hopefully, I could fix them (or at > least > explain why is not possible) :-D > > My email is capellan2000 at gmail dot com > > Alejandro > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Aug 1 17:36:49 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 14:36:49 -0700 (PDT) Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: References: <1343840328968-4653241.post@n4.nabble.com> Message-ID: <1343857009473-4653251.post@n4.nabble.com> Hi Mark, Mark Wieder wrote > > Here's a framework for unlimited undos. It's set to archive the script of > objects, but is easily modifiable for other properties. > [snip] > Amazing! Did you have a sample stack to play with? I was thinking about saving every user action that results in 1) creation 2) deletion 3) properties modification of every vector graphic in the card. Let's see how I could adapt your handlers for this specific purpose. Many Thanks again for sharing this gem! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653251.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Aug 1 18:16:01 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 15:16:01 -0700 Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <1343857009473-4653251.post@n4.nabble.com> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> Message-ID: <197421198953.20120801151601@ahsoftware.net> Alejandro- Wednesday, August 1, 2012, 2:36:49 PM, you wrote: > Amazing! Did you have a sample stack to play with? It's almost verbatim what I do in glx2 to allow unlimited undos. The adaptations are the elimination of script-editor-specific things like saving and restoring the scroll and field selection. -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Wed Aug 1 18:35:18 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 15:35:18 -0700 (PDT) Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <04E13569-F628-463C-8E37-A94248F171F1@sweattechnologies.com> References: <1343840328968-4653241.post@n4.nabble.com> <04E13569-F628-463C-8E37-A94248F171F1@sweattechnologies.com> Message-ID: <1343860518714-4653253.post@n4.nabble.com> Hi Monte, Monte Goulding wrote > > Your awesome Alejandro! > Someone give you a proper biezer graphic please! > Or at least a smoothing property on a polygon. > Many Thanks for your compliments! Just remember that this BETA and there is no UNDO. ;-) So always play safe! About smoothing, you are talking about the jagged edge of the graphics in the sample images: http://andregarzia.on-rev.com/alejandro/img/Gradients06.jpg Actually, I use a "resolution" of 32 points or segments for every bezier segment. This number appeared in a MacTech article from long time ago: "One strategy for implementing Bezier curves is to divide the curve into a fixed number of segments and then to pre-compute the values of the weighting functions for each of the segments. The greater the number of segments, the smoother the curve. (I?ve found that 16 works well for display purposes, but 32 is better for hardcopy.)" http://www.mactech.com/articles/mactech/Vol.05/05.01/BezierCurve/index.html In this image, you could notice the notable difference between using 32 segments to draw a bezier segment and using 256 segments to draw the same bezier segments in a copy of the graphics. http://andregarzia.on-rev.com/alejandro/img/BezierResolution_32_256.jpg It's easy to change this resolution in the script of the stack penTool0.3.2h, only if you are ready to see a extra large dose of spaguetti code... http://deviq.com/Media/Default/Article/spaghetti-code/SpaghettiCode.jpg Here is how: In the script of the stack "penTool 0.3.2.h" change the line "put 32 into zdt" for "put 256 into zdt" Compile the script and save the stack. To redraw graphics imported or created at 32 segments por curve, at this new 256 segments resolution, click on the graphic using the White Arrow tool from the palette. Then to deselect the clicked graphic, doubleclick anywhere, (except over other graphic) This is the "Edit Selection Tool". Hopefully, Ian McPhail will update his stack SVGL to import gradients and transparency from SVG drawings. Only then, it will be possible to design confortably complete interfaces using only vector graphics with gradients and transparency. Inkscape could export drawings as JavaFX and SilverLight XAML: http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Export.html Maybe these two vector formats are easier to convert in LiveCode vector graphics. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653253.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Wed Aug 1 19:01:50 2012 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 02 Aug 2012 00:01:50 +0100 Subject: Android & URLEncode & libUrlDownloadToFile In-Reply-To: References: <5013390F.2040501@tweedly.net> Message-ID: <5019B55E.5050307@tweedly.net> [sorry if this finishes up being duplicated] Here's a tiny LC file to download a JPEG (fixed file name to make it as simple as possible) which should get you further ... > > start using stack "common.livecode" > > put URL("binfile:./family/threeofakind/2006_0314Image0021.JPG") into > tData > > put header "Content-Type: image/jpeg" > put header "Content-Length: " & the number of bytes in tData > > put tData Remember that put header .... must come before any other output. -- Alex. On 30/07/2012 22:50, Nicolas Cueto wrote: > Thanks, Alex. > > A question... > >> and write a simple LC script to check for "ID / PWD" - > I understand how to write the script, but not how to phrase the > results of the "if" conditional. What commands would the LC script > execute if the pwd/id are correct, so as to let the jpg file on the > server be downloaded by the stack? > > Sorry. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Aug 1 19:04:47 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 16:04:47 -0700 (PDT) Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <197421198953.20120801151601@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> Message-ID: <1343862287232-4653255.post@n4.nabble.com> Hi Mark, Mark Wieder wrote > > It's almost verbatim what I do in glx2 to allow unlimited undos. The > adaptations are the elimination of script-editor-specific things like > saving and restoring the scroll and field selection. > glx2 is one of the most extraordinary examples of smart coding using the best features of this development platform. http://mwieder.on-rev.com/WordPress/?incsub_wiki=glx2-documentation https://bitbucket.org/mwieder/glx2/downloads Many Thanks for supporting this editor and sharing it's source code. By the way, I posted this image in my answer to Monte Goulding: http://andregarzia.on-rev.com/alejandro/img/BezierResolution_32_256.jpg The number of points of each one of the polygon graphics in the top row is exactly the same: 129 points using 32 segments for each bezier curve In the second row the number of points for these five graphics is, respectively: 404, 733, 415, 404, 444 using 256 segments for each bezier curve. It's a waste of computing resources to use 256 segments to show a smooth curve on the screen. Now, we need code that renders the bezier curves with the exact numbers of segments to avoid the waste of calculating duplicated points... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653255.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Wed Aug 1 19:25:33 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 2 Aug 2012 09:25:33 +1000 Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <1343860518714-4653253.post@n4.nabble.com> References: <1343840328968-4653241.post@n4.nabble.com> <04E13569-F628-463C-8E37-A94248F171F1@sweattechnologies.com> <1343860518714-4653253.post@n4.nabble.com> Message-ID: <116C1C72-9F97-49BC-9E25-DDDECFF24B8C@sweattechnologies.com> > About smoothing, you are talking about the jagged edge of > the graphics in the sample images: > http://andregarzia.on-rev.com/alejandro/img/Gradients06.jpg Yes, What would be great is if a polygon could be made to draw an antialiased curve from point a to point c via point b rather than a straight line. > > Hopefully, Ian McPhail will update his stack SVGL to import gradients > and transparency from SVG drawings. Only then, it will be possible > to design confortably complete interfaces using only vector graphics > with gradients and transparency. > > Inkscape could export drawings as JavaFX and SilverLight XAML: > http://tavmjong.free.fr/INKSCAPE/MANUAL/html/File-Export.html > > Maybe these two vector formats are easier to convert in > LiveCode vector graphics. It would be great to have an easy method to get graphics from Inkscape into LC. I can't see any license on that stack. It's 3 years old so I'm guessing Ian is no longer working on it... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Wed Aug 1 20:10:33 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 17:10:33 -0700 (PDT) Subject: [OT] How long before.. In-Reply-To: <50198534.3030703@gmail.com> References: <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> Message-ID: <1343866233320-4653257.post@n4.nabble.com> Well, here is another link with content related to this thread: http://www.codinghorror.com/blog/ Read first the really funny article: New Programming Jargon Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653257.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Aug 1 21:05:34 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 18:05:34 -0700 Subject: [OT] How long before.. In-Reply-To: <1343866233320-4653257.post@n4.nabble.com> References: <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> Message-ID: <76431372406.20120801180534@ahsoftware.net> Alejandro- Wednesday, August 1, 2012, 5:10:33 PM, you wrote: > Well, here is another link with content related to this thread: > http://www.codinghorror.com/blog/ > Read first the really funny article: New Programming Jargon ! I am so adding a rubber duck to my office in the morning... -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Wed Aug 1 21:56:49 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 1 Aug 2012 18:56:49 -0700 Subject: Script editing messages Message-ID: I see there is an editScript message that is sent when a script is opened for editing but I don't see one for when it is saved/applied. Is there such a thing? The dictionary says that editScript isn't sent when "the development environment is active", which I assume means in the IDE? Pete lcSQL Software From pmbrig at gmail.com Wed Aug 1 22:25:02 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 1 Aug 2012 22:25:02 -0400 Subject: [OT] How long before.. In-Reply-To: <7747FED7-7DB3-4FAB-ACE1-9AAF2ED85B41@twft.com> References: <1E98B395-E6AF-429A-82A6-56B1314471E2@sahores-conseil.com> <5018FD54.3010008@gmail.com> <0E86AC83-2AD6-4F35-B754-A3E12ED5B18E@pacifier.com> <50193395.1080004@gmail.com> <7747FED7-7DB3-4FAB-ACE1-9AAF2ED85B41@twft.com> Message-ID: <9DD7B823-6F59-4D9F-B26E-C963CC280223@gmail.com> On Aug 1, 2012, at 12:34 PM, Bob Sneidar wrote: > Sorry this is one of my many pet peeves. Everything hinges on what you mean by "learn" and "act". Tell me this, what new thing has a computer learned that no human knew before? And how did the computer act on that new knowledge? I think AI is an illusion, produced by the old trick of bait and switch. We talk in the abstract of "learning and acting" as though it was like what humans do, and then when it gets to the actual point of proving it we are told, "well, we don't mean THAT exactly." One of my favorite quotes: "If the brain were simple enough for us to understand, we'd be too simple-minded to understand it." As someone who has 40+ years experience in dealing with how minds and brains work, I am firmly convinced that we will never *design* an artificial intelligence. I doubt that our brains are capable of grasping the level of complexity involved. It is just possible that we will be able to construct an artificial system that could *evolve* into something like an AI, but how this could be approached is not at all clear. Wow, this is waaaaay off topic. But interesting. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Wed Aug 1 22:25:16 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 19:25:16 -0700 Subject: Script editing messages In-Reply-To: References: Message-ID: <162436154171.20120801192516@ahsoftware.net> Pete- Wednesday, August 1, 2012, 6:56:49 PM, you wrote: > I see there is an editScript message that is sent when a script is opened > for editing but I don't see one for when it is saved/applied. Is there > such a thing? You mean like when you press the Apply button? That triggers a "set the script of..." statement. You can try catching saveStackRequest in a frontscript but it won't always get there, especially if initiated from the IDE because it locks messages first. > The dictionary says that editScript isn't sent when "the development > environment is active", which I assume means in the IDE? If you grab editScript in a frontscript you don't need to worry about whether it gets passed down to the current card. -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Wed Aug 1 22:42:36 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 1 Aug 2012 19:42:36 -0700 (PDT) Subject: [OT] How long before.. In-Reply-To: <76431372406.20120801180534@ahsoftware.net> References: <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> <76431372406.20120801180534@ahsoftware.net> Message-ID: <1343875356446-4653262.post@n4.nabble.com> And I believed that it was a good idea to create unique variable names to make impossible colitions in the namespace of a shared environment like LiveCode: 21 - Smurf Naming Convention When almost every class has the same prefix. IE, when a user clicks on the button, a SmurfAccountView passes a SmurfAccountDTO to the SmurfAccountController. The SmurfID is used to fetch a SmurfOrderHistory which is passed to the SmurfHistoryMatch before forwarding to either SmurfHistoryReviewView or SmurfHistoryReportingView. If a SmurfErrorEvent occurs it is logged by SmurfErrorLogger to ${app}/smurf/log/smurf/smurflog.log http://www.codinghorror.com/blog/ Mark Wieder wrote > > ! I am so adding a rubber duck to my office in the morning... > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653262.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Aug 1 22:50:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 19:50:51 -0700 Subject: [OT] How long before.. In-Reply-To: <1343875356446-4653262.post@n4.nabble.com> References: <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> <76431372406.20120801180534@ahsoftware.net> <1343875356446-4653262.post@n4.nabble.com> Message-ID: <4437689875.20120801195051@ahsoftware.net> Alejandro- I once had an email account at mwieder at mail.dotcom.com. Try saying that to someone over the phone. I wasn't all that disappointed when they went under. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Aug 1 23:03:09 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Aug 2012 22:03:09 -0500 Subject: [OT] How long before.. In-Reply-To: <1343866233320-4653257.post@n4.nabble.com> References: <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> Message-ID: <5019EDED.4020801@hyperactivesw.com> On 8/1/12 7:10 PM, Alejandro Tejada wrote: > Well, here is another link with content related to this thread: > http://www.codinghorror.com/blog/ > Read first the really funny article: New Programming Jargon I have created Jenga code myself! And nearly all the HyperCard ports I've done contain lots of Ninja comments. I've become very good at not reading them. Thanks for the link. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Wed Aug 1 23:51:34 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Aug 2012 20:51:34 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1343862287232-4653255.post@n4.nabble.com> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> Message-ID: <134441331968.20120801205134@ahsoftware.net> Alejandro- Wednesday, August 1, 2012, 4:04:47 PM, you wrote: > glx2 is one of the most extraordinary examples of smart coding > using the best features of this development platform. Uh oh. I'd better release this then since I've been keeping the undo stuff to myself so far... GLX2 3.0.10 new stuff Refactoring support in the Script menu. Not everything is working yet, but it's a good start, and the parts that aren't there yet will tell you so. Unlimited undos! This is a big deal. I got rid of the old undo mechanism that wasn't really working very well and put a FILO stack array in its place. Fast, efficient, and you can undo all the way back to when you first opened the script editing session. known issues Refactoring to change the signature of a function is still wonky. Commands work ok, but I still need to do some work on the function parameter formatting. https://bitbucket.org/mwieder/glx2/downloads -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Thu Aug 2 00:50:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 01 Aug 2012 23:50:31 -0500 Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: References: <1343840328968-4653241.post@n4.nabble.com> Message-ID: <501A0717.6070503@hyperactivesw.com> On 8/1/12 3:35 PM, Mark Wieder wrote: > > Undo.Store pObject, tCount, the htmltext of field kCodeField of stack self Self? Something undocumented, or an omitted local? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Thu Aug 2 03:16:32 2012 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 2 Aug 2012 00:16:32 -0700 (PDT) Subject: [OT] How long before.. In-Reply-To: <5018FF25.1000204@kencorey.com> References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> Message-ID: <1343891792162-4653267.post@n4.nabble.com> Ken Corey wrote > > > ....If the HIG are not scientifically provable "usability", but simply > subjective statements, then how can we measure "usability"? > > The enterprise is fundamentally mistaken. We have to start by recognizing there is no such thing. One size does not fit all. Different people, different working situations, different configurations. If you think about some areas where usability standards do work, what they have in common is an identical set of tasks and a requirement to be able to move from one machine to another without disruption. All cars now for instance have gear shifts, gear locations and signalling controls in the same place and they all work the same. But we are all driving the same roads to the same rules. A halfway example from UI in computers is double click to open. But, my experience is that given a choice, at least a third of people will choose single click in the file manager. And yes, this does contravene HIG rules, because it leads to some openings needing double clicks. Contrary to the myth, they adapt without any difficulty and positively prefer it this way. Not all. But a substantial minority. The right approach is not to try to define something called usability and then try to implement it. The right way is to enable the user to choose how he wants to work. The OS News readership is obviously very unusual, but you can see this diversity every time they run a feature on readers desktops. The variety is simply wild. Yet all these desktops are the result of someone's seriously finding them nicer and more usable. Flux for instance is right for me. I agree with Richmond that XFCE is very nice - have that on a laptop. But Evolution has a large following and apparently the new Gnome has enthusiasts. The lesson is, there are preferences, and usability is not a useful concept in the way its being employed now, because no preferences are better than any others. Its a bit like asking how we find the correct size or style for shoes. The answer is that the right size and style is the one that fits and allows the wearer to move as he or she wants in the environment they are in, and a lady at a formal dinner won't want construction boots. If you want to test an application, maybe the right test is user errors. Track them and see what's going wrong and change it. In defiance of professional advice, I once permitted users to edit a data file directly, not giving them a more long winded but more controlled interface. It was faster and simpler but error prone. This was the source of lots of errors, and it had to be changed. Once I found that people were opening the same application twice, and had to correct what was giving rise to that. The mistakes people make when trying to use what we have written is probably the most valuable test. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-How-long-before-tp4653161p4653267.html Sent from the Revolution - User mailing list archive at Nabble.com. From ken at kencorey.com Thu Aug 2 06:42:59 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 02 Aug 2012 11:42:59 +0100 Subject: [OT] How long before.. In-Reply-To: <1343891792162-4653267.post@n4.nabble.com> References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> <1343891792162-4653267.post@n4.nabble.com> Message-ID: <501A59B3.7070500@kencorey.com> On 02/08/2012 08:16, Peter Alcibiades wrote: >> ....If the HIG are not scientifically provable "usability", but simply >> subjective statements, then how can we measure "usability"? > The enterprise is fundamentally mistaken. We have to start by recognizing > there is no such thing. One size does not fit all. Different people, [...] > If you want to test an application, maybe the right test is user errors. > Track them and see what's going wrong and change it. In defiance of > professional advice, I once permitted users to edit a data file directly, > not giving them a more long winded but more controlled interface. It was Peter, my intuition says you're on to something here. I was reading the development diary of the Android game "Replica Island". The game was reporting usage statistics back to the server, so he could see which levels were inherently harder, where people were having troubles, and therefore which bits of the game were demanding redesign. (I don't know if he did redesign anything in the end, but the data was there to see). In the app I just released, I learned very valuable things watching people try to play with it without training of any kind. I watched them make "mistakes" and fail to use the program in various ways. The places where they failed to accomplish what they wanted were areas that needed to be improved..."bugs", if you will. Oh, the program demonstrably functioned, but if it did not meet with user expectations and make them more productive, then it's not meeting the design goals. So it would seem that the initial design,coding and delivery is no more than half the ideal process. There needs to be a feedback loop where the user interaction is observed, quantified, and learned from to improve the app. -Ken From sc at sahores-conseil.com Thu Aug 2 07:26:38 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 2 Aug 2012 13:26:38 +0200 Subject: [OT] How long before.. In-Reply-To: <1343891792162-4653267.post@n4.nabble.com> References: <1343806850657-4653199.post@n4.nabble.com> <5018FF25.1000204@kencorey.com> <1343891792162-4653267.post@n4.nabble.com> Message-ID: <92A6C408-AD1B-4C15-BAF3-DDDD48C7A1AB@sahores-conseil.com> Thanks for this great post, Peter. Le 2 ao?t 2012 ? 09:16, Peter Alcibiades a ?crit : > The > mistakes people make when trying to use what we have written is probably the > most valuable test. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From skip at magicgate.com Thu Aug 2 09:28:26 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 2 Aug 2012 09:28:26 -0400 Subject: PCGuard Licensing and LC Message-ID: Has anybody ever use PCGuard (http://www.sofpro.com) with LC? Years ago, this was my primary licensing tool when I used Director. I did notice that there is support for the "Runtime Revolution compiler" but I have a feeling that is really old information. I know there are other licensing options out there but I found this to be pretty darn robust for my previous projects. Thanks for your input! SKIP From guglielmo at braguglia.ch Thu Aug 2 09:39:33 2012 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Thu, 02 Aug 2012 15:39:33 +0200 Subject: PCGuard Licensing and LC In-Reply-To: References: Message-ID: <501A8315.1070603@braguglia.ch> Mmm ... ... LiveCode programs are "p-code like" interpreted at run-time. AFAIK there is not a RunRev LiveCode decompiler (/probably because of the not so big global spread of the product/) so, why to spend more, when an effective protection is attained with a a product _designed for Livecode_ which cost less ? ... http://hyperactivesw.com/solutions_zygodact.html ;-) Guglielmo On 02.08.2012 15:28, Magicgate Software - Skip Kimpel wrote: > Has anybody ever use PCGuard (http://www.sofpro.com) with LC? Years > ago, this was my primary licensing tool when I used Director. I did > notice that there is support for the "Runtime Revolution compiler" but > I have a feeling that is really old information. > > I know there are other licensing options out there but I found this to > be pretty darn robust for my previous projects. > > Thanks for your input! > > 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 mcgrath3 at mac.com Thu Aug 2 10:51:17 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 02 Aug 2012 10:51:17 -0400 Subject: Upgrade to Mountain Lion Message-ID: <7DF3BAC4-9128-4089-BB40-17E3E24A48CB@mac.com> FYI "If you had Xcode 4.4 installed under Lion and upgraded to Mountain Lion, you might have to manually reinstall any of the components you have previously installed from the Preferences panel. For example, the Comamnd Line Tools component has to be reinstalled since there is a different (ie older) version for Lion than Mountain Lion." -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From mwieder at ahsoftware.net Thu Aug 2 11:22:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Aug 2012 08:22:59 -0700 Subject: [ANN] penTool 0.3.2h [with scalable gradients] In-Reply-To: <501A0717.6070503@hyperactivesw.com> References: <1343840328968-4653241.post@n4.nabble.com> <501A0717.6070503@hyperactivesw.com> Message-ID: <90482817296.20120802082259@ahsoftware.net> Jacque- Wednesday, August 1, 2012, 9:50:31 PM, you wrote: > On 8/1/12 3:35 PM, Mark Wieder wrote: >> >> Undo.Store pObject, tCount, the htmltext of field kCodeField of stack self > Self? > Something undocumented, or an omitted local? Would be nice, but it's just a constant. constant self = "revGLX2 Code" -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Thu Aug 2 13:32:59 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 10:32:59 -0700 Subject: Script editing messages In-Reply-To: <162436154171.20120801192516@ahsoftware.net> References: <162436154171.20120801192516@ahsoftware.net> Message-ID: Thanks Mark. That's what I was looking for. Pete lcSQL Software On Wed, Aug 1, 2012 at 7:25 PM, Mark Wieder wrote: > If you grab editScript in a frontscript you don't need to worry about > whether it gets passed down to the current card. > From bobs at twft.com Thu Aug 2 13:40:51 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Aug 2012 10:40:51 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <134441331968.20120801205134@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> Message-ID: Mark, is the undo array reset when saving the script, or saving the stack, or neither? Bob On Aug 1, 2012, at 8:51 PM, Mark Wieder wrote: > Alejandro- > > Wednesday, August 1, 2012, 4:04:47 PM, you wrote: > >> glx2 is one of the most extraordinary examples of smart coding >> using the best features of this development platform. > > Uh oh. I'd better release this then since I've been keeping the undo > stuff to myself so far... > > GLX2 3.0.10 > > new stuff > > Refactoring support in the Script menu. Not everything is working > yet, but it's a good start, and the parts that aren't there yet > will tell you so. > > Unlimited undos! This is a big deal. I got rid of the old undo > mechanism that wasn't really working very well and put a FILO > stack array in its place. Fast, efficient, and you can undo all > the way back to when you first opened the script editing session. > > known issues > > Refactoring to change the signature of a function is still wonky. > Commands work ok, but I still need to do some work on the function > parameter formatting. > > https://bitbucket.org/mwieder/glx2/downloads > > -- > -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 Thu Aug 2 13:54:14 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 10:54:14 -0700 Subject: Copying objects to the clipboard Message-ID: After copying an object to the clipboard, the clipboard data type is "objects". Is there a way to determine what type of object or do I have to keep track of that myself? This is in connection with a copy/paste and figuring if a paste is valid or not, e.g. pasting a substack to a card would be invalid. Pete lcSQL Software From m.schonewille at economy-x-talk.com Thu Aug 2 14:00:39 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Aug 2012 20:00:39 +0200 Subject: Copying objects to the clipboard In-Reply-To: References: Message-ID: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> Pete, Copy a button and the clipboardData["objects"] contains REVO2700jButton.......... Maybe that helps? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. From pete at lcsql.com Thu Aug 2 14:50:50 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 11:50:50 -0700 Subject: Copying objects to the clipboard In-Reply-To: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> Message-ID: Thansk Mark. Lokks like REVO2700 is always there no matter what type of object is on the clipboard. There's a bunch of other data there to but a lot of it looks like it's encoded in some way (array decode didn't like it) so would be a pain to figure it all out. Looks like I'll just have to keep track of it myself when the copy action happens. Pete lcSQL Software On Thu, Aug 2, 2012 at 11:00 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Pete, > > Copy a button and the clipboardData["objects"] contains > > REVO2700 > > Maybe that helps? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. > Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 2 15:22:14 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Aug 2012 21:22:14 +0200 Subject: Copying objects to the clipboard In-Reply-To: References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> Message-ID: <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> Peter, Somehow, the text pasted in my e-mail got cut off. My original e-mail shows the word "button". Apparently, the data on the clipboard indicates in clear text what type of object it contains and that's what you asked for. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 2 aug 2012, at 20:50, Peter Haworth wrote: > Thansk Mark. Lokks like REVO2700 is always there no matter what type of > object is on the clipboard. There's a bunch of other data there to but a > lot of it looks like it's encoded in some way (array decode didn't like it) > so would be a pain to figure it all out. > > Looks like I'll just have to keep track of it myself when the copy action > happens. > > Pete > lcSQL Software > From dochawk at gmail.com Thu Aug 2 15:24:05 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Aug 2012 12:24:05 -0700 Subject: I can't send a message with a field to another handler Message-ID: I've written functions/handlers to convert between pennies and formatted dollars. I'm trying to write a function or handler that can add them, but am getting caught up in the parsing. I've tried a handler like on dlrAdd amt, tgt put dlrStr(dlrVal(amt) + dlrVal( "fld " & quote & tgt & quote)) into field the long name of fld tgt end dlrAdd but this only works when the target is on the same page--a tgt name like "myTot of Card 1" results in an unfound error (it's looking for a field with that name on the current page, i believe) I've tried on dlrAdd amt --send to a field to add a dollar amount to it put dlrStr(dlrVal(amt) + dlrVal(the target)) into the target end dlrAdd and then send "dlrAdd" && field sbFld to fld ("sbt_" & sbFld) to get the target field to add the amount to itself, but this doesn't get the field amount passed. I'm trying to have a single handler here to make this all maintainable. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From rdimola at evergreeninfo.net Thu Aug 2 15:42:55 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 15:42:55 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 Message-ID: <002c01cd70e7$036e50d0$0a4af270$@net> Does anyone have this device to test for me. I have a customer that is getting an FC on the login screen as soon as they type a character. If he hits the login button first he gets the appropriate error message but if he keys any characters, a brief pause and then the FC. This is the only customer with the error. The app is in the PlayStore. Search for "JBT". The app name is "JBT Sectional". I'm dying here. Any help would be appreciated. Thanks in advance. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From pete at lcsql.com Thu Aug 2 15:46:48 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 12:46:48 -0700 Subject: Copying objects to the clipboard In-Reply-To: <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> Message-ID: OK, thanks Mark, I'll check into it further. Pete lcSQL Software On Thu, Aug 2, 2012 at 12:22 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Peter, > > Somehow, the text pasted in my e-mail got cut off. My original e-mail > shows the word "button". Apparently, the data on the clipboard indicates in > clear text what type of object it contains and that's what you asked for. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. > Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > On 2 aug 2012, at 20:50, Peter Haworth wrote: > > > Thansk Mark. Lokks like REVO2700 is always there no matter what type of > > object is on the clipboard. There's a bunch of other data there to but a > > lot of it looks like it's encoded in some way (array decode didn't like > it) > > so would be a pain to figure it all out. > > > > Looks like I'll just have to keep track of it myself when the copy action > > happens. > > > > 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 Aug 2 15:52:20 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 12:52:20 -0700 Subject: Copying objects to the clipboard In-Reply-To: <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> Message-ID: Hi Mark, I just checked this out again and I don't see the word button when a button is on the clipboard. Here's what I get from a "put the clipboardData["objects"] in the message box: REVO2700$Rmac switcher"B Clocal tMode After that I see the plain text of the scripts for the button. Maybe this is an LC version difference? I'm on 5.5.0, OS X Lion. Pete lcSQL Software On Thu, Aug 2, 2012 at 12:22 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Peter, > > Somehow, the text pasted in my e-mail got cut off. My original e-mail > shows the word "button". Apparently, the data on the clipboard indicates in > clear text what type of object it contains and that's what you asked for. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. > Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > On 2 aug 2012, at 20:50, Peter Haworth wrote: > > > Thansk Mark. Lokks like REVO2700 is always there no matter what type of > > object is on the clipboard. There's a bunch of other data there to but a > > lot of it looks like it's encoded in some way (array decode didn't like > it) > > so would be a pain to figure it all out. > > > > Looks like I'll just have to keep track of it myself when the copy action > > happens. > > > > Pete > > lcSQL Software > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Aug 2 15:55:22 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2012 14:55:22 -0500 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <002c01cd70e7$036e50d0$0a4af270$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> Message-ID: <501ADB2A.3010602@hyperactivesw.com> On 8/2/12 2:42 PM, Ralph DiMola wrote: > Does anyone have this device to test for me. I have a customer that is > getting an FC on the login screen as soon as they type a character. I don't have that device, but my Android stuff always shuts down if I'm using any keyboard except the stock one or the Samsung one. I normally use Swiftkey but it kills LiveCode apps. The docs do say that not all keyboards work. See if he's installed a third party keyboard. I always have to remember to change keyboards before I launch my apps that require input. It's one reason I won't do any commercial development for Android yet if the app requires direct user input. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Thu Aug 2 15:59:55 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 2 Aug 2012 21:59:55 +0200 Subject: Copying objects to the clipboard In-Reply-To: References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> Message-ID: Pete, I did a test in LC 5.0.2 running on Snow Leopard. This is what I see: http://qery.us/2fy -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 2 aug 2012, at 21:52, Peter Haworth wrote: > Hi Mark, > I just checked this out again and I don't see the word button when a button > is on the clipboard. Here's what I get from a "put the > clipboardData["objects"] in the message box: > > REVO2700$Rmac switcher"B > > Clocal tMode > > After that I see the plain text of the scripts for the button. > > Maybe this is an LC version difference? I'm on 5.5.0, OS X Lion. > > > Pete > lcSQL Software > From rdimola at evergreeninfo.net Thu Aug 2 16:26:52 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 16:26:52 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501ADB2A.3010602@hyperactivesw.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501ADB2A.3010602@hyperactivesw.com> Message-ID: <005701cd70ed$275abaf0$761030d0$@net> Jacque, In your observations would a mobileSetKeyboardType "default" help? If I used the mobile text input control I assume this would eliminate the problem altogether. Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Thursday, August 02, 2012 3:55 PM To: How to use LiveCode Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 On 8/2/12 2:42 PM, Ralph DiMola wrote: > Does anyone have this device to test for me. I have a customer that is > getting an FC on the login screen as soon as they type a character. I don't have that device, but my Android stuff always shuts down if I'm using any keyboard except the stock one or the Samsung one. I normally use Swiftkey but it kills LiveCode apps. The docs do say that not all keyboards work. See if he's installed a third party keyboard. I always have to remember to change keyboards before I launch my apps that require input. It's one reason I won't do any commercial development for Android yet if the app requires direct user input. -- 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 Aug 2 16:32:51 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 2 Aug 2012 13:32:51 -0700 Subject: Copying objects to the clipboard In-Reply-To: References: <7A5D7FBB-B28A-4A68-98FC-9590EF2E9E8F@economy-x-talk.com> <709F0BDE-1967-4EE0-B8AB-D008748A1964@economy-x-talk.com> Message-ID: I think whjat you are seeing is the name of the control, not it's type. In my example, I had a button on the clipboard named "mac switcher" and that name showed up but not the word "button". Pete lcSQL Software On Thu, Aug 2, 2012 at 12:59 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Pete, > > I did a test in LC 5.0.2 running on Snow Leopard. This is what I see: > http://qery.us/2fy > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. > Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > On 2 aug 2012, at 21:52, Peter Haworth wrote: > > > Hi Mark, > > I just checked this out again and I don't see the word button when a > button > > is on the clipboard. Here's what I get from a "put the > > clipboardData["objects"] in the message box: > > > > REVO2700$Rmac switcher"B > > > > Clocal tMode > > > > After that I see the plain text of the scripts for the button. > > > > Maybe this is an LC version difference? I'm on 5.5.0, OS X Lion. > > > > > > Pete > > lcSQL Software > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Thu Aug 2 16:34:00 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 2 Aug 2012 16:34:00 -0400 (EDT) Subject: I can't send a message with a field to another handler In-Reply-To: References: Message-ID: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Hi. If you do not specify a full pathname (or LC-type "pathname"), LC will assume you are on the same card. So just change your code to ...fld tgt of cd "yourcard" [of stack "otherStack"] Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Aug 2, 2012 3:25 pm Subject: I can't send a message with a field to another handler I've written functions/handlers to convert between pennies and formatted dollars. I'm trying to write a function or handler that can add them, but am getting caught up in the parsing. I've tried a handler like on dlrAdd amt, tgt put dlrStr(dlrVal(amt) + dlrVal( "fld " & quote & tgt & quote)) into field the long name of fld tgt end dlrAdd but this only works when the target is on the same page--a tgt name like "myTot of Card 1" results in an unfound error (it's looking for a field with that name on the current page, i believe) I've tried on dlrAdd amt --send to a field to add a dollar amount to it put dlrStr(dlrVal(amt) + dlrVal(the target)) into the target end dlrAdd and then send "dlrAdd" && field sbFld to fld ("sbt_" & sbFld) to get the target field to add the amount to itself, but this doesn't get the field amount passed. I'm trying to have a single handler here to make this all maintainable. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ken at kencorey.com Thu Aug 2 16:34:50 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 02 Aug 2012 21:34:50 +0100 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <002c01cd70e7$036e50d0$0a4af270$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> Message-ID: <501AE46A.4010908@kencorey.com> I don't have that device either. I was going to try it on my Samsung Galaxy Tab 2 10", but the app wasn't available for my tablet. So, I made a new stack, dragged a text entry widget onto it, and launched it on the tablet. I only have the Samsung keyboard installed. When predictive text is on, the word never appears in the input. With predictive text off, the text appears as expected. No FC here, but not acceptable behaviour either. I was watching logcat, and didn't see anything immediately obvious there. I'm not given the option of going back to a google keyboard on this device, so I can't provide any more info...sorry. -Ken On 02/08/2012 20:42, Ralph DiMola wrote: > Does anyone have this device to test for me. I have a customer that is > getting an FC on the login screen as soon as they type a character. If he > hits the login button first he gets the appropriate error message but if he > keys any characters, a brief pause and then the FC. This is the only > customer with the error. From rdimola at evergreeninfo.net Thu Aug 2 16:46:07 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 16:46:07 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501AE46A.4010908@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> Message-ID: <006301cd70ef$d7d81650$878842f0$@net> Thanks Ken, What do I need to set in standalone apps setting so your tablet is available. The only think I have required is the touch screen. Did you search for just "JBT"? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Thursday, August 02, 2012 4:35 PM To: use-livecode at lists.runrev.com Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 I don't have that device either. I was going to try it on my Samsung Galaxy Tab 2 10", but the app wasn't available for my tablet. So, I made a new stack, dragged a text entry widget onto it, and launched it on the tablet. I only have the Samsung keyboard installed. When predictive text is on, the word never appears in the input. With predictive text off, the text appears as expected. No FC here, but not acceptable behaviour either. I was watching logcat, and didn't see anything immediately obvious there. I'm not given the option of going back to a google keyboard on this device, so I can't provide any more info...sorry. -Ken On 02/08/2012 20:42, Ralph DiMola wrote: > Does anyone have this device to test for me. I have a customer that is > getting an FC on the login screen as soon as they type a character. If > he hits the login button first he gets the appropriate error message > but if he keys any characters, a brief pause and then the FC. This is > the only customer with the error. _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 2 17:04:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2012 16:04:28 -0500 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <005701cd70ed$275abaf0$761030d0$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501ADB2A.3010602@hyperactivesw.com> <005701cd70ed$275abaf0$761030d0$@net> Message-ID: <501AEB5C.4070705@hyperactivesw.com> On 8/2/12 3:26 PM, Ralph DiMola wrote: > Jacque, > > In your observations would a mobileSetKeyboardType "default" help? If I used > the mobile text input control I assume this would eliminate the problem > altogether. Doubt it. I never set the keyboard type so it's always the default. "Default" is the displayed key set (i.e., not the email or numeric sets) but it doesn't control which keyboard app is running. That's strictly a user setting. Your user should try setting it back to the system keyboard app (in Settings) if he's using something else. If that fixes the problem then there's not much you can do; the problem is an incompatibility with the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 2 17:06:03 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2012 16:06:03 -0500 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <005701cd70ed$275abaf0$761030d0$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501ADB2A.3010602@hyperactivesw.com> <005701cd70ed$275abaf0$761030d0$@net> Message-ID: <501AEBBB.1080001@hyperactivesw.com> On 8/2/12 3:26 PM, Ralph DiMola wrote: > Jacque, > > In your observations would a mobileSetKeyboardType "default" help? If I used > the mobile text input control I assume this would eliminate the problem > altogether. Ooops, just noticed you said the native text input control. I don't know. The only app I have that crashes uses a regular LiveCode field. It might work. If it does then you probably wouldn't need to set the default keyboard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ken at kencorey.com Thu Aug 2 17:18:24 2012 From: ken at kencorey.com (Ken Corey) Date: Thu, 02 Aug 2012 22:18:24 +0100 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <006301cd70ef$d7d81650$878842f0$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> Message-ID: <501AEEA0.7040909@kencorey.com> Uh...I don't know. The tablet is certainly a touch screen. Let's see...I don't see any limitations in the 'Standalone Application Settings'. I opened the AndroidManifest.xml, and it supp0orts large screens. When you uploaded the app to the market, which countries did you list? I'm in the UK. I can't think of anything else that would limit it. Anyone else have any idea? If you wanted to email me a standalone, I could have a run real quick and let you know what happens. -Ken On 02/08/2012 21:46, Ralph DiMola wrote: > What do I need to set in standalone apps setting so your tablet is > available. The only think I have required is the touch screen. Did you > search for just "JBT"? From dev at digifilm.com Thu Aug 2 18:10:48 2012 From: dev at digifilm.com (ddas) Date: Thu, 2 Aug 2012 18:10:48 -0400 Subject: Secure Login In-Reply-To: <5019EDED.4020801@hyperactivesw.com> References: <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> <5019EDED.4020801@hyperactivesw.com> Message-ID: <4D203892-8F90-425E-AA02-70AC27EB2A8D@digifilm.com> Greetings All, Is there a preferred way of securely logging in and exchanging data between rev IOS client and rev server. Thanks, Debdoot From rdimola at evergreeninfo.net Thu Aug 2 18:50:19 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 18:50:19 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501AEEA0.7040909@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> Message-ID: <006701cd7101$311de080$9359a180$@net> Oops..... UK is in. Username:use at rr.com Password:Dfdf77 Also @ this link http://evergreeninfo.on-rev.com/www/JBT/x0Ak_ayLA_knQL/JBT Red Book_248.apk Thanks..... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Thursday, August 02, 2012 5:18 PM To: use-livecode at lists.runrev.com Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 Uh...I don't know. The tablet is certainly a touch screen. Let's see...I don't see any limitations in the 'Standalone Application Settings'. I opened the AndroidManifest.xml, and it supp0orts large screens. When you uploaded the app to the market, which countries did you list? I'm in the UK. I can't think of anything else that would limit it. Anyone else have any idea? If you wanted to email me a standalone, I could have a run real quick and let you know what happens. -Ken On 02/08/2012 21:46, Ralph DiMola wrote: > What do I need to set in standalone apps setting so your tablet is > available. The only think I have required is the touch screen. Did you > search for just "JBT"? _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 2 18:48:38 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Aug 2012 15:48:38 -0700 Subject: I can't send a message with a field to another handler In-Reply-To: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: On Thu, Aug 2, 2012 at 1:34 PM, wrote: > If you do not specify a full pathname (or LC-type "pathname"), LC will assume you are on the same card. > > > So just change your code to ...fld tgt of cd "yourcard" [of stack "otherStack"] that works when I spell it out (which is what I did when using straight arithmetic instead of formatting) The problem is passing the target field as a variable; livecode handles tgt containing "myfield" just fine, but I haven't found a way to send it "myfield of that other card" without it looking for a field on the same card with that name. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From rdimola at evergreeninfo.net Thu Aug 2 18:51:58 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 18:51:58 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501AEEA0.7040909@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> Message-ID: <006801cd7101$6c75d520$45617f60$@net> Last message has a bad link Oops..... UK is in. Username:use at rr.com Password:Dfdf77 Also @ this link http://evergreeninfo.on-rev.com/www/JBT/x0Ak_ayLA_knQL/JBT_Red_Book_248.apk Thanks..... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Thursday, August 02, 2012 5:18 PM To: use-livecode at lists.runrev.com Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 Uh...I don't know. The tablet is certainly a touch screen. Let's see...I don't see any limitations in the 'Standalone Application Settings'. I opened the AndroidManifest.xml, and it supp0orts large screens. When you uploaded the app to the market, which countries did you list? I'm in the UK. I can't think of anything else that would limit it. Anyone else have any idea? If you wanted to email me a standalone, I could have a run real quick and let you know what happens. -Ken On 02/08/2012 21:46, Ralph DiMola wrote: > What do I need to set in standalone apps setting so your tablet is > available. The only think I have required is the touch screen. Did you > search for just "JBT"? _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 2 18:55:01 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 18:55:01 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501AEEA0.7040909@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> Message-ID: <006901cd7101$d91e25b0$8b5a7110$@net> Last message has a bad link again. This time I tested it. Sorry folks. Oops..... UK is in. Username:use at rr.com Password:Dfdf77 Also @ this link http://evergreeninfo.on-rev.com/JBT/x0Ak_ayLA_knQL/JBT_Red_Book_248.apk Thanks..... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Thursday, August 02, 2012 5:18 PM To: use-livecode at lists.runrev.com Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 Uh...I don't know. The tablet is certainly a touch screen. Let's see...I don't see any limitations in the 'Standalone Application Settings'. I opened the AndroidManifest.xml, and it supp0orts large screens. When you uploaded the app to the market, which countries did you list? I'm in the UK. I can't think of anything else that would limit it. Anyone else have any idea? If you wanted to email me a standalone, I could have a run real quick and let you know what happens. -Ken On 02/08/2012 21:46, Ralph DiMola wrote: > What do I need to set in standalone apps setting so your tablet is > available. The only think I have required is the touch screen. Did you > search for just "JBT"? _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 2 18:59:13 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 02 Aug 2012 17:59:13 -0500 Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: <501B0641.6070308@hyperactivesw.com> On 8/2/12 5:48 PM, Dr. Hawkins wrote: > On Thu, Aug 2, 2012 at 1:34 PM, wrote: >> If you do not specify a full pathname (or LC-type "pathname"), LC will assume you are on the same card. >> >> >> So just change your code to ...fld tgt of cd "yourcard" [of stack "otherStack"] > > that works when I spell it out (which is what I did when using > straight arithmetic instead of formatting) > > The problem is passing the target field as a variable; livecode > handles tgt containing "myfield" just fine, but I haven't found a way > to send it "myfield of that other card" without it looking for a field > on the same card with that name. > Pass "the long name" or "the long ID" of the target field. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Aug 2 19:03:16 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 2 Aug 2012 16:03:16 -0700 Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: The syntax would be send "" to field "" of card "" if it is in the same stack. If it is in another stack, then send "" to field "" of card "" of stack "" Bob On Aug 2, 2012, at 3:48 PM, Dr. Hawkins wrote: > The problem is passing the target field as a variable; livecode > handles tgt containing "myfield" just fine, but I haven't found a way > to send it "myfield of that other card" without it looking for a field > on the same card with that name. From coiin at verizon.net Thu Aug 2 19:50:02 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 02 Aug 2012 19:50:02 -0400 Subject: physical books... Message-ID: The publisher sent three copies of my book to me. I wasn't expecting them this soon, so that was a pleasant surprise when I signed for two packages (I already knew about another package). I showed the books to the security guard and some neighbors! From mpetrides at earthlink.net Thu Aug 2 19:56:12 2012 From: mpetrides at earthlink.net (Petrides, M.D. Marian) Date: Thu, 2 Aug 2012 19:56:12 -0400 Subject: physical books... In-Reply-To: References: Message-ID: It's really exciting the first time you get to hold the hardcopy of your first book in your hands, isn't it, Colin? I still remember that day like it was yesterday. (In reality, it was 11 or 12 years ago, but who's counting?). On Aug 2, 2012, at 7:50 PM, Colin Holgate wrote: > The publisher sent three copies of my book to me. I wasn't expecting them this soon, so that was a pleasant surprise when I signed for two packages (I already knew about another package). I showed the books to the security guard and some neighbors! > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 2 21:00:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Aug 2012 18:00:21 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> Message-ID: <150517458921.20120802180021@ahsoftware.net> Bob- Thursday, August 2, 2012, 10:40:51 AM, you wrote: > Mark, is the undo array reset when saving the script, or saving the stack, or neither? Ah, neither. You can undo back past saves. Hmmm... is that a problem? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Aug 2 21:10:21 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 2 Aug 2012 18:10:21 -0700 Subject: physical books... In-Reply-To: References: Message-ID: <147518059640.20120802181021@ahsoftware.net> Colin- Wanna sell one to me? I've had it with packt... I had my credit card company cancel the payment, filed a complaint, and I don't have a problem giving you all the money instead of the pittance you get from them as just an author. And I'd advise everyone else to just buy the book from Amazon or B&N and stay away from packt. -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Thu Aug 2 21:14:35 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 2 Aug 2012 18:14:35 -0700 Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: On Thursday, August 2, 2012, Bob Sneidar wrote: > The syntax would be > > send "" to field "" of card "" > Just to be clear here, it's not the mechanics of getting it there, but rather the content format of the message. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From rdimola at evergreeninfo.net Thu Aug 2 21:38:28 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 2 Aug 2012 21:38:28 -0400 Subject: physical books... In-Reply-To: References: Message-ID: <007001cd7118$aead01e0$0c0705a0$@net> Colin, Is it available from B&N. We have a Nook. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Thursday, August 02, 2012 7:50 PM To: How to use LiveCode Subject: physical books... The publisher sent three copies of my book to me. I wasn't expecting them this soon, so that was a pleasant surprise when I signed for two packages (I already knew about another package). I showed the books to the security guard and some neighbors! _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 3 00:33:06 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 3 Aug 2012 00:33:06 -0400 (EDT) Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: <8CF3F48366CFE7D-13A4-14EE3@webmail-m161.sysops.aol.com> Try putting parentheses around the card identifier: fld "yourField" of (card "yourCard") HC used to be finicky about card identifiers, frequently concatenating any following terms. Lock this sort of thing out by explicitly corralling the card name or whatever. Or I am missing something... Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Aug 2, 2012 6:49 pm Subject: Re: I can't send a message with a field to another handler On Thu, Aug 2, 2012 at 1:34 PM, wrote: > If you do not specify a full pathname (or LC-type "pathname"), LC will assume you are on the same card. > > > So just change your code to ...fld tgt of cd "yourcard" [of stack "otherStack"] that works when I spell it out (which is what I did when using straight arithmetic instead of formatting) The problem is passing the target field as a variable; livecode handles tgt containing "myfield" just fine, but I haven't found a way to send it "myfield of that other card" without it looking for a field on the same card with that name. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 3 00:35:49 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 3 Aug 2012 00:35:49 -0400 (EDT) Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: <8CF3F4897A3EEF4-13A4-14F00@webmail-m161.sysops.aol.com> Perhaps we are all missing your point. Is a "do" construction in order? Please post again the offending line. Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Aug 2, 2012 9:15 pm Subject: Re: I can't send a message with a field to another handler On Thursday, August 2, 2012, Bob Sneidar wrote: > The syntax would be > > send "" to field "" of card "" > Just to be clear here, it's not the mechanics of getting it there, but rather the content format of the message. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Aug 3 02:21:23 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 3 Aug 2012 14:21:23 +0800 Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: On Fri, Aug 3, 2012 at 9:14 AM, Dr. Hawkins > Just to be clear here, it's not the mechanics of getting it there, but > rather the content format of the message. > I believe the tricks are: 1) send the parameters as long names 2) you then have to use 'the text of' to get the numbers 3) you then need to 'set the text of' to change the content - it is a property you are dealing with so on closeField --it's on this card put the long name of field "SubTotal" into tRef1 --it's on another card put the long name of field "GrandTotal" of card "Summary" into tRef2 dlrAdd me, tRef1, tRef2 --any other stuff end closeField In a stack or library script: on dlrAdd pAmt, tRef1, tRef2 set the text of tRef2 to pAmt + the text of tRef1 end dlrAdd HTH From terry.judd at unimelb.edu.au Fri Aug 3 02:31:24 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 3 Aug 2012 06:31:24 +0000 Subject: I can't send a message with a field to another handler In-Reply-To: References: <8CF3F054785B965-173C-2BBB8@webmail-m014.sysops.aol.com> Message-ID: On 03/08/2012, at 04:21 PM, Kay C Lan wrote: > On Fri, Aug 3, 2012 at 9:14 AM, Dr. Hawkins > >> Just to be clear here, it's not the mechanics of getting it there, but >> rather the content format of the message. >> > > I believe the tricks are: > > 1) send the parameters as long names > 2) you then have to use 'the text of' to get the numbers > 3) you then need to 'set the text of' to change the content - it is a > property you are dealing with > > so > > on closeField > --it's on this card > put the long name of field "SubTotal" into tRef1 > --it's on another card > put the long name of field "GrandTotal" of card "Summary" into tRef2 > > dlrAdd me, tRef1, tRef2 > > --any other stuff > > end closeField > > In a stack or library script: > > on dlrAdd pAmt, tRef1, tRef2 > set the text of tRef2 to pAmt + the text of tRef1 > end dlrAdd set the text of tRef2 to pAmt+value(tRef1) will also work Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From sc at sahores-conseil.com Fri Aug 3 03:20:08 2012 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 3 Aug 2012 09:20:08 +0200 Subject: Secure Login In-Reply-To: <4D203892-8F90-425E-AA02-70AC27EB2A8D@digifilm.com> References: <50193395.1080004@gmail.com> <15422763-7EFC-4E87-90E6-D7438E1F63B5@pacifier.com> <501939C2.5060401@gmail.com> <50193E6B.8070209@gmail.com> <174E8C2C-4D09-4A99-9600-1378BD021209@pacifier.com> <50194752.2020608@gmail.com> <50198534.3030703@gmail.com> <1343866233320-4653257.post@n4.nabble.com> <5019EDED.4020801@hyperactivesw.com> <4D203892-8F90-425E-AA02-70AC27EB2A8D@digifilm.com> Message-ID: <3E1C1581-A857-473F-A832-106EC4510C80@sahores-conseil.com> Hi, The ways to go are the same we can use in any other n-tiers development contexts. The best is to set up a mix of the bellow ways to go : 1.- login/password where the credentials are send over the network as hashed data to be tested against server-side localhost-accessible SQL stored reference (the first time - no direct connexion between the client and the SQL backend but client to LC-server and LC-server to SQL backend in localhost mode. It's there preferable to rely on an ACID-SQL RDBMS alike PostgreSQL, Sybase, Oracle, etc...) 2.- if matching, a token based SQL stored session is started for further exchanges all along the time the client will have to exchange data with the server (time 2 to n) where a cookie/SQL session is used 3.- as an option, the HTTPS encryption can be add to 1 + 2, if your mobile application follows the Apple's iTunes rules in about encryption uses but, no one should be encouraged to use 3.- without 1.- + 2.- as long as HTTPS is't as secure anymore as it use to be in the past... 4.- the session have to ends up with the client logout + a default timeout option to be set in the LC coded authentication workflow. As long as this authentication worklow matches, the data exchange between the client and the server continues and else it's interrupted and the client is prompted to login again to open a new trustable connexion. Best regards, Le 3 ao?t 2012 ? 00:10, ddas a ?crit : > Greetings All, > > Is there a preferred way of securely logging in and exchanging data between rev IOS client and rev server. > > Thanks, > Debdoot > > _______________________________________________ > use-livecode mailing list > use-livecode 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 scott at tactilemedia.com Fri Aug 3 06:41:17 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Aug 2012 03:41:17 -0700 Subject: UITextField - Text Appears Shifted? Message-ID: Anyone know why the text of a UITextField (input) appears shifted up? Is there any way to shift it down? There's very little on the card -- just a group and a graphic to define the region in which to display the text. http://www.tactilemedia.com/download/uitextfield.png The clearbutton for the control is displayed, and this appears in the proper position, but for some reason the text is appearing shifted upward about 4 pixels. It appears the same in both the simulator and on a device. Any suggestions for a fix? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From rodmccall491 at googlemail.com Fri Aug 3 07:19:04 2012 From: rodmccall491 at googlemail.com (Rod McCall) Date: Fri, 3 Aug 2012 13:19:04 +0200 Subject: physical books... In-Reply-To: <007001cd7118$aead01e0$0c0705a0$@net> References: <007001cd7118$aead01e0$0c0705a0$@net> Message-ID: Hi Colin, Good to hear that your book is out, I also just ordered it on my Kindle. Also as many others have already said, congrats on getting your first book published. Cheers, Rod -- Dr Rod McCall Researcher in in-car, mixed reality technology and gaming Interdisciplinary Centre for Security, Reliability and Trust University of Luxembourg Blog: www.rodmc.com twitter:rodlux Publications and Information available on my blog From toolbook at kestner.de Fri Aug 3 07:52:21 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Aug 2012 13:52:21 +0200 Subject: AW: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: <002201cd716e$71265050$5372f0f0$@de> Hi Scott, I experienced this phenomenom after changing the textsize and size of the field by script in LC 4.6.2. After clicking into the field it was positioned again in the center. I solved it by "select after ..." I don't know if this is a bug or a feature and if my solution works for you, but perhaps you can give it a try Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Scott Rossi > Gesendet: Freitag, 3. August 2012 12:41 > An: LiveCode Mail List > Betreff: UITextField - Text Appears Shifted? > > Anyone know why the text of a UITextField (input) appears shifted up? Is > there any way to shift it down? > > There's very little on the card -- just a group and a graphic to define > the region in which to display the text. > > http://www.tactilemedia.com/download/uitextfield.png > > The clearbutton for the control is displayed, and this appears in the > proper position, but for some reason the text is appearing shifted upward > about 4 pixels. It appears the same in both the simulator and on a > device. > > Any suggestions for a fix? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From maarten.koopmans at gmail.com Fri Aug 3 07:53:00 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 3 Aug 2012 13:53:00 +0200 Subject: iCloud external :-) Message-ID: Folks, I have spent a lot of time on it over the last two months, but I finally have an iOS iCloud external working. One of the things I've learned is that iCloud works (by itself), but it is very easy to make a mistake - hence the apps that behave so badly with iCloud. Anyway, the external can: - give back your app name, team prefix, bundle identifier - put files in your app's container - manipulate and query the apps container (evict files, force download, modification dates, list files...) - put files in a shared container across apps - so you have shared data across iOS apps [ yes ... that's right!!!] - manipulate and query the shared container - put files in a container or shared container up for download for two weeks [ yes, you read this correctly as well....] I can do two things: 1) continue with my main project as I will eventually 2) spend even more time and put the external up for sale for $49 As this really has been a LOT of work I don't want to put something up for sale if nobody is interested, so consider this a poll. Personally, I find the shared storage across apps and public data publishing is pretty awesome. Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) --Maarten From coiin at verizon.net Fri Aug 3 08:06:10 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 Aug 2012 08:06:10 -0400 Subject: physical books... In-Reply-To: References: <007001cd7118$aead01e0$0c0705a0$@net> Message-ID: Thanks for letting me know. I've downloaded that one too now. It doesn't look as nice as the PDF, they have simplified some of the layout styles, but it does have hyperlinks between the contents and the pages, so that's good. The fill-justified paragraphs are somewhat disturbing in landscape, reading it in portrait is much better. On Aug 3, 2012, at 7:19 AM, Rod McCall wrote: > > Good to hear that your book is out, I also just ordered it on my Kindle. From coiin at verizon.net Fri Aug 3 08:12:01 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 Aug 2012 08:12:01 -0400 Subject: physical books... In-Reply-To: References: <007001cd7118$aead01e0$0c0705a0$@net> Message-ID: By the way, I bought the iBooks version too. It's more expensive than the Kindle one, but it's lot nicer layout. From toolbook at kestner.de Fri Aug 3 08:17:04 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 3 Aug 2012 14:17:04 +0200 Subject: AW: physical books... In-Reply-To: References: Message-ID: <002301cd7171$e55fb3f0$b01f1bd0$@de> Congrats to your book! I just had a look into the preview at amazon. Great work. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Freitag, 3. August 2012 01:50 > An: How to use LiveCode > Betreff: physical books... > > The publisher sent three copies of my book to me. I wasn't expecting them > this soon, so that was a pleasant surprise when I signed for two packages > (I already knew about another package). I showed the books to the security > guard and some neighbors! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Fri Aug 3 08:31:18 2012 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 3 Aug 2012 14:31:18 +0200 Subject: iCloud external :-) In-Reply-To: References: Message-ID: Hi Maarten, I am very much interested in this Cloud external. Do you have any information and screenshots online already? groeten, William 2012/8/3 Maarten Koopmans : > Folks, > > I have spent a lot of time on it over the last two months, but I > finally have an iOS iCloud external working. One of the things I've > learned is that iCloud works (by itself), but it is very easy to make > a mistake - hence the apps that behave so badly with iCloud. > > Anyway, the external can: > > - give back your app name, team prefix, bundle identifier > - put files in your app's container > - manipulate and query the apps container (evict files, force > download, modification dates, list files...) > - put files in a shared container across apps - so you have shared > data across iOS apps [ yes ... that's right!!!] > - manipulate and query the shared container > - put files in a container or shared container up for download for two > weeks [ yes, you read this correctly as well....] > > I can do two things: > 1) continue with my main project as I will eventually > 2) spend even more time and put the external up for sale for $49 > > As this really has been a LOT of work I don't want to put something up > for sale if nobody is interested, so consider this a poll. Personally, > I find the shared storage across apps and public data publishing is > pretty awesome. > > Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) > > --Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From maarten.koopmans at gmail.com Fri Aug 3 08:52:03 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 3 Aug 2012 14:52:03 +0200 Subject: iCloud external :-) In-Reply-To: References: Message-ID: Hi Willem, Screenshots with iCLoud are next-to-near impossible, but here's some code from handlers in my demo/test stack. First, getting some basic information: on mouseUp answer "Trying to fetch basic app/team info, and so some setup" put setupUbiquityDocumentsFolder() into tSetup answer "Setting up ubiquity document url succeeded: " & tSetup put getApplicationIdentifier() into tAppID answer "App ID: " & tAppID put getAppName() into tAppName answer "App Name: " & tAppName put getTeamPrefix() into tTeamPrefix answer "Team prefix: " & tTeamPrefix answer "Containerized name: " & containerize("my.com.SharedStorage") end mouseUp Next, publishing a file publicly via iCloud: on mouseUp answer "In as public file handler" set the defaultFolder to specialFolderPath("documents") answer "default folder set" put "HelloCloudPublic.txt" into tLocalFilePath open file tLocalFilePath for write write "Hello iCloud!" to file tLocalFilePath close file tLocalFilePath answer tLocalFilePath --Note that here we effectively use the FULL path... Different from setUbiquitous put asPublicCloudFile(tLocalFilePath) into tSharedURL answer "Your public iCloud URL for the next two weeks is: " & tSharedURL revMail "you at who.net","","miCloud link",tSharedURL end mouseUp And "the killer" - publishing a file in a shared storage container (shared with other apps): on mouseUp answer "In make ubiquitous (1) handler" set the defaultFolder to specialFolderPath("documents") get setupUbiquityDocumentsFolder() answer "default folder set, setup succeeded = " & it put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath answer "Local file url: " & getLocalFileURL(tLocalFilePath) open file tLocalFilePath for write write "Hello iCloud!" to file tLocalFilePath close file tLocalFilePath --This is needed because our routines magically create the correct file path. --Whereas LC on opening the file puts the full path into tLocalFilePath.... put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath --Check, check, double check answer tLocalFilePath --test and show that the file is local answer "File is local: " & isLocal(tLocalFilePath) -- get its file url put getFileURL(tLocalFilepath) into tFileURL answer "Local file URL = " & tFileURL --make the file ubiquitous, 1= true, rest = false get setUbiquitousForFile(1,tLocalFilePath) answer "Set ubiquitous, done" --test to see if it is local or ubiquitous (really, the result coming back from iCloud in setUbiquitous is less trustworthy)--test to see if it is local answer "File is local: " & isLocal(tLocalFilePath) --test to see if it is ubiquitous answer "File is ubquitous: " & isUbiquitousDocument(tLocalFilePath) --get the file url, again (should be ubiquitous now...) put getFIleURL(tLocalFilepath) into tFileURL answer "Now... Ubiquitous file URL = " & tFileURL --get the modification date answer "modification data = " & getModificationDateForURL(tFileURL) --list the documents container contents answer getContentsOfUbiquityDocumentsFolder() --delete the ubiquitous document instance get setUbiquitousForFileInContainer(0,tLocalFilePath,tContainer) answer "Remove ubiquitous, done" --at this point the file is only local... end mouseUp Doe this wet your appetite(s)? Cheers, Maarten On Fri, Aug 3, 2012 at 2:31 PM, William de Smet wrote: > Hi Maarten, > > I am very much interested in this Cloud external. > Do you have any information and screenshots online already? > > groeten, > > William > > > 2012/8/3 Maarten Koopmans : >> Folks, >> >> I have spent a lot of time on it over the last two months, but I >> finally have an iOS iCloud external working. One of the things I've >> learned is that iCloud works (by itself), but it is very easy to make >> a mistake - hence the apps that behave so badly with iCloud. >> >> Anyway, the external can: >> >> - give back your app name, team prefix, bundle identifier >> - put files in your app's container >> - manipulate and query the apps container (evict files, force >> download, modification dates, list files...) >> - put files in a shared container across apps - so you have shared >> data across iOS apps [ yes ... that's right!!!] >> - manipulate and query the shared container >> - put files in a container or shared container up for download for two >> weeks [ yes, you read this correctly as well....] >> >> I can do two things: >> 1) continue with my main project as I will eventually >> 2) spend even more time and put the external up for sale for $49 >> >> As this really has been a LOT of work I don't want to put something up >> for sale if nobody is interested, so consider this a poll. Personally, >> I find the shared storage across apps and public data publishing is >> pretty awesome. >> >> Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) >> >> --Maarten >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Fri Aug 3 09:31:13 2012 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 3 Aug 2012 15:31:13 +0200 Subject: iCloud external :-) In-Reply-To: References: Message-ID: Hi Maarten, This seem pretty straight forward. I reckon you can get a file from iCloud as well? groeten, William 2012/8/3 Maarten Koopmans : > Hi Willem, > > Screenshots with iCLoud are next-to-near impossible, but here's some > code from handlers in my demo/test stack. > > First, getting some basic information: > > on mouseUp > answer "Trying to fetch basic app/team info, and so some setup" > put setupUbiquityDocumentsFolder() into tSetup > answer "Setting up ubiquity document url succeeded: " & tSetup > put getApplicationIdentifier() into tAppID > answer "App ID: " & tAppID > put getAppName() into tAppName > answer "App Name: " & tAppName > put getTeamPrefix() into tTeamPrefix > answer "Team prefix: " & tTeamPrefix > answer "Containerized name: " & containerize("my.com.SharedStorage") > end mouseUp > > Next, publishing a file publicly via iCloud: > > on mouseUp > answer "In as public file handler" > set the defaultFolder to specialFolderPath("documents") > answer "default folder set" > put "HelloCloudPublic.txt" into tLocalFilePath > open file tLocalFilePath for write > write "Hello iCloud!" to file tLocalFilePath > close file tLocalFilePath > answer tLocalFilePath > --Note that here we effectively use the FULL path... Different from > setUbiquitous > put asPublicCloudFile(tLocalFilePath) into tSharedURL > answer "Your public iCloud URL for the next two weeks is: " & tSharedURL > revMail "you at who.net","","miCloud link",tSharedURL > end mouseUp > > And "the killer" - publishing a file in a shared storage container > (shared with other apps): > > on mouseUp > answer "In make ubiquitous (1) handler" > set the defaultFolder to specialFolderPath("documents") > get setupUbiquityDocumentsFolder() > answer "default folder set, setup succeeded = " & it > put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath > answer "Local file url: " & getLocalFileURL(tLocalFilePath) > open file tLocalFilePath for write > write "Hello iCloud!" to file tLocalFilePath > close file tLocalFilePath > --This is needed because our routines magically create the correct file path. > --Whereas LC on opening the file puts the full path into tLocalFilePath.... > put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath > --Check, check, double check > answer tLocalFilePath > --test and show that the file is local > answer "File is local: " & isLocal(tLocalFilePath) > -- get its file url > put getFileURL(tLocalFilepath) into tFileURL > answer "Local file URL = " & tFileURL > --make the file ubiquitous, 1= true, rest = false > get setUbiquitousForFile(1,tLocalFilePath) > answer "Set ubiquitous, done" > --test to see if it is local or ubiquitous (really, the result > coming back from iCloud in setUbiquitous is less trustworthy)--test to > see if it is local > answer "File is local: " & isLocal(tLocalFilePath) > --test to see if it is ubiquitous > answer "File is ubquitous: " & isUbiquitousDocument(tLocalFilePath) > --get the file url, again (should be ubiquitous now...) > put getFIleURL(tLocalFilepath) into tFileURL > answer "Now... Ubiquitous file URL = " & tFileURL > --get the modification date > answer "modification data = " & getModificationDateForURL(tFileURL) > --list the documents container contents > answer getContentsOfUbiquityDocumentsFolder() > --delete the ubiquitous document instance > get setUbiquitousForFileInContainer(0,tLocalFilePath,tContainer) > answer "Remove ubiquitous, done" > --at this point the file is only local... > end mouseUp > > Doe this wet your appetite(s)? > > Cheers, > > Maarten > > On Fri, Aug 3, 2012 at 2:31 PM, William de Smet wrote: >> Hi Maarten, >> >> I am very much interested in this Cloud external. >> Do you have any information and screenshots online already? >> >> groeten, >> >> William >> >> >> 2012/8/3 Maarten Koopmans : >>> Folks, >>> >>> I have spent a lot of time on it over the last two months, but I >>> finally have an iOS iCloud external working. One of the things I've >>> learned is that iCloud works (by itself), but it is very easy to make >>> a mistake - hence the apps that behave so badly with iCloud. >>> >>> Anyway, the external can: >>> >>> - give back your app name, team prefix, bundle identifier >>> - put files in your app's container >>> - manipulate and query the apps container (evict files, force >>> download, modification dates, list files...) >>> - put files in a shared container across apps - so you have shared >>> data across iOS apps [ yes ... that's right!!!] >>> - manipulate and query the shared container >>> - put files in a container or shared container up for download for two >>> weeks [ yes, you read this correctly as well....] >>> >>> I can do two things: >>> 1) continue with my main project as I will eventually >>> 2) spend even more time and put the external up for sale for $49 >>> >>> As this really has been a LOT of work I don't want to put something up >>> for sale if nobody is interested, so consider this a poll. Personally, >>> I find the shared storage across apps and public data publishing is >>> pretty awesome. >>> >>> Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) >>> >>> --Maarten >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From maarten.koopmans at gmail.com Fri Aug 3 09:49:37 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Fri, 3 Aug 2012 15:49:37 +0200 Subject: iCloud external :-) In-Reply-To: References: Message-ID: Hi Willem, Files from iCLoud are downloaded automagically. You just list the contents of the ubiquitous container, look at the dates or names and open whatever you want. That's the beauty of it: you just put the data there, and it automatically updates all devices. Of course, beware of versioning conflicts. But this is where Livecode (with its excellent text processing) excels. --Maarten On Fri, Aug 3, 2012 at 3:31 PM, William de Smet wrote: > Hi Maarten, > > This seem pretty straight forward. > I reckon you can get a file from iCloud as well? > > groeten, > > William > > > 2012/8/3 Maarten Koopmans : >> Hi Willem, >> >> Screenshots with iCLoud are next-to-near impossible, but here's some >> code from handlers in my demo/test stack. >> >> First, getting some basic information: >> >> on mouseUp >> answer "Trying to fetch basic app/team info, and so some setup" >> put setupUbiquityDocumentsFolder() into tSetup >> answer "Setting up ubiquity document url succeeded: " & tSetup >> put getApplicationIdentifier() into tAppID >> answer "App ID: " & tAppID >> put getAppName() into tAppName >> answer "App Name: " & tAppName >> put getTeamPrefix() into tTeamPrefix >> answer "Team prefix: " & tTeamPrefix >> answer "Containerized name: " & containerize("my.com.SharedStorage") >> end mouseUp >> >> Next, publishing a file publicly via iCloud: >> >> on mouseUp >> answer "In as public file handler" >> set the defaultFolder to specialFolderPath("documents") >> answer "default folder set" >> put "HelloCloudPublic.txt" into tLocalFilePath >> open file tLocalFilePath for write >> write "Hello iCloud!" to file tLocalFilePath >> close file tLocalFilePath >> answer tLocalFilePath >> --Note that here we effectively use the FULL path... Different from >> setUbiquitous >> put asPublicCloudFile(tLocalFilePath) into tSharedURL >> answer "Your public iCloud URL for the next two weeks is: " & tSharedURL >> revMail "you at who.net","","miCloud link",tSharedURL >> end mouseUp >> >> And "the killer" - publishing a file in a shared storage container >> (shared with other apps): >> >> on mouseUp >> answer "In make ubiquitous (1) handler" >> set the defaultFolder to specialFolderPath("documents") >> get setupUbiquityDocumentsFolder() >> answer "default folder set, setup succeeded = " & it >> put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath >> answer "Local file url: " & getLocalFileURL(tLocalFilePath) >> open file tLocalFilePath for write >> write "Hello iCloud!" to file tLocalFilePath >> close file tLocalFilePath >> --This is needed because our routines magically create the correct file path. >> --Whereas LC on opening the file puts the full path into tLocalFilePath.... >> put "HelloCloudUbiqOrLocal.txt" into tLocalFilePath >> --Check, check, double check >> answer tLocalFilePath >> --test and show that the file is local >> answer "File is local: " & isLocal(tLocalFilePath) >> -- get its file url >> put getFileURL(tLocalFilepath) into tFileURL >> answer "Local file URL = " & tFileURL >> --make the file ubiquitous, 1= true, rest = false >> get setUbiquitousForFile(1,tLocalFilePath) >> answer "Set ubiquitous, done" >> --test to see if it is local or ubiquitous (really, the result >> coming back from iCloud in setUbiquitous is less trustworthy)--test to >> see if it is local >> answer "File is local: " & isLocal(tLocalFilePath) >> --test to see if it is ubiquitous >> answer "File is ubquitous: " & isUbiquitousDocument(tLocalFilePath) >> --get the file url, again (should be ubiquitous now...) >> put getFIleURL(tLocalFilepath) into tFileURL >> answer "Now... Ubiquitous file URL = " & tFileURL >> --get the modification date >> answer "modification data = " & getModificationDateForURL(tFileURL) >> --list the documents container contents >> answer getContentsOfUbiquityDocumentsFolder() >> --delete the ubiquitous document instance >> get setUbiquitousForFileInContainer(0,tLocalFilePath,tContainer) >> answer "Remove ubiquitous, done" >> --at this point the file is only local... >> end mouseUp >> >> Doe this wet your appetite(s)? >> >> Cheers, >> >> Maarten >> >> On Fri, Aug 3, 2012 at 2:31 PM, William de Smet wrote: >>> Hi Maarten, >>> >>> I am very much interested in this Cloud external. >>> Do you have any information and screenshots online already? >>> >>> groeten, >>> >>> William >>> >>> >>> 2012/8/3 Maarten Koopmans : >>>> Folks, >>>> >>>> I have spent a lot of time on it over the last two months, but I >>>> finally have an iOS iCloud external working. One of the things I've >>>> learned is that iCloud works (by itself), but it is very easy to make >>>> a mistake - hence the apps that behave so badly with iCloud. >>>> >>>> Anyway, the external can: >>>> >>>> - give back your app name, team prefix, bundle identifier >>>> - put files in your app's container >>>> - manipulate and query the apps container (evict files, force >>>> download, modification dates, list files...) >>>> - put files in a shared container across apps - so you have shared >>>> data across iOS apps [ yes ... that's right!!!] >>>> - manipulate and query the shared container >>>> - put files in a container or shared container up for download for two >>>> weeks [ yes, you read this correctly as well....] >>>> >>>> I can do two things: >>>> 1) continue with my main project as I will eventually >>>> 2) spend even more time and put the external up for sale for $49 >>>> >>>> As this really has been a LOT of work I don't want to put something up >>>> for sale if nobody is interested, so consider this a poll. Personally, >>>> I find the shared storage across apps and public data publishing is >>>> pretty awesome. >>>> >>>> Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) >>>> >>>> --Maarten >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 3 10:35:14 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 3 Aug 2012 16:35:14 +0200 Subject: physical books... In-Reply-To: References: Message-ID: <1AD3C86A-5C11-4619-A8DE-DB15509AAF0D@m-r-d.de> Hi, congrats on your book. i purchased the bundle (ebook and print version) from Packt on the 26th after your announcement here on the list. The printed version arrived here (germany) today. I did not expect it that early. Regards, Matthias Am 03.08.2012 um 01:50 schrieb Colin Holgate : > The publisher sent three copies of my book to me. I wasn't expecting them this soon, so that was a pleasant surprise when I signed for two packages (I already knew about another package). I showed the books to the security guard and some neighbors! > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 3 10:43:11 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 3 Aug 2012 16:43:11 +0200 Subject: iCloud external :-) In-Reply-To: References: Message-ID: <6F333C06-333F-4C1C-8BEB-2B771AF12327@m-r-d.de> Maarten, i will definitely buy it. Regards, Matthias Am 03.08.2012 um 13:53 schrieb Maarten Koopmans : > Folks, > > I have spent a lot of time on it over the last two months, but I > finally have an iOS iCloud external working. One of the things I've > learned is that iCloud works (by itself), but it is very easy to make > a mistake - hence the apps that behave so badly with iCloud. > > Anyway, the external can: > > - give back your app name, team prefix, bundle identifier > - put files in your app's container > - manipulate and query the apps container (evict files, force > download, modification dates, list files...) > - put files in a shared container across apps - so you have shared > data across iOS apps [ yes ... that's right!!!] > - manipulate and query the shared container > - put files in a container or shared container up for download for two > weeks [ yes, you read this correctly as well....] > > I can do two things: > 1) continue with my main project as I will eventually > 2) spend even more time and put the external up for sale for $49 > > As this really has been a LOT of work I don't want to put something up > for sale if nobody is interested, so consider this a poll. Personally, > I find the shared storage across apps and public data publishing is > pretty awesome. > > Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) > > --Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 3 10:52:30 2012 From: coiin at verizon.net (Colin Holgate) Date: Fri, 03 Aug 2012 10:52:30 -0400 Subject: physical books... In-Reply-To: <1AD3C86A-5C11-4619-A8DE-DB15509AAF0D@m-r-d.de> References: <1AD3C86A-5C11-4619-A8DE-DB15509AAF0D@m-r-d.de> Message-ID: <2A41B089-57EF-4F69-BED0-FF6166B02780@verizon.net> You'll be amused to hear that the acquisition editor at Packt hasn't received her paper versions yet! On Aug 3, 2012, at 10:35 AM, Matthias Rebbe wrote: > >i purchased the bundle (ebook and print version) from Packt on the 26th after your announcement here on the list. The printed version arrived here (germany) today. > I did not expect it that early. From capellan2000 at gmail.com Fri Aug 3 10:57:34 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 3 Aug 2012 07:57:34 -0700 (PDT) Subject: physical books... In-Reply-To: <2A41B089-57EF-4F69-BED0-FF6166B02780@verizon.net> References: <1AD3C86A-5C11-4619-A8DE-DB15509AAF0D@m-r-d.de> <2A41B089-57EF-4F69-BED0-FF6166B02780@verizon.net> Message-ID: <1344005854425-4653328.post@n4.nabble.com> Well, plant a tree, have a child, and write a book. :-D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/physical-books-tp4653303p4653328.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Fri Aug 3 11:26:23 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 3 Aug 2012 17:26:23 +0200 Subject: physical books... In-Reply-To: <1344005854425-4653328.post@n4.nabble.com> References: <1AD3C86A-5C11-4619-A8DE-DB15509AAF0D@m-r-d.de> <2A41B089-57EF-4F69-BED0-FF6166B02780@verizon.net> <1344005854425-4653328.post@n4.nabble.com> Message-ID: Oh, i thought it was: Plant a tree, have a child and create at least one LiveCode app. ;) Am 03.08.2012 um 16:57 schrieb Alejandro Tejada : > Well, plant a tree, have a child, and write a book. :-D > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/physical-books-tp4653303p4653328.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 bobs at twft.com Fri Aug 3 11:38:03 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Aug 2012 08:38:03 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <150517458921.20120802180021@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> Message-ID: <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> No no problem, it's just that it's fairly typical to only be able to undo back to the last save. I can see myself in a fit of undo's after making some horrible coding error that made everything go wrong, hitting undo lots of times. I guess I will have to avoid that. :-) Bob On Aug 2, 2012, at 6:00 PM, Mark Wieder wrote: > Bob- > > Thursday, August 2, 2012, 10:40:51 AM, you wrote: > >> Mark, is the undo array reset when saving the script, or saving the stack, or neither? > > Ah, neither. You can undo back past saves. Hmmm... is that a problem? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Aug 3 13:50:00 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 3 Aug 2012 10:50:00 -0700 Subject: The RunRev store Message-ID: I have been trying for several months to get a couple of my apps accepted to the RunRev store. I got an initial response about the process and T&C's but have not heard anything since despite sending off the apps and sending several emails to inquire about status, acceptance, rejection. Is this normal and if so, I wonder what the point of having a store is? Pete lcSQL Software From bobs at twft.com Fri Aug 3 14:03:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 3 Aug 2012 11:03:21 -0700 Subject: The RunRev store In-Reply-To: References: Message-ID: <35A8A541-89FD-44DD-92E9-59C084425D14@twft.com> Have you contacted Heather? She may be able to help. Bob On Aug 3, 2012, at 10:50 AM, Peter Haworth wrote: > I have been trying for several months to get a couple of my apps accepted > to the RunRev store. I got an initial response about the process and T&C's > but have not heard anything since despite sending off the apps and sending > several emails to inquire about status, acceptance, rejection. > > Is this normal and if so, I wonder what the point of having a store is? > > 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 Fri Aug 3 14:12:13 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 3 Aug 2012 11:12:13 -0700 Subject: The RunRev store In-Reply-To: <35A8A541-89FD-44DD-92E9-59C084425D14@twft.com> References: <35A8A541-89FD-44DD-92E9-59C084425D14@twft.com> Message-ID: Heather has been my contact right from the start. Pete lcSQL Software On Fri, Aug 3, 2012 at 11:03 AM, Bob Sneidar wrote: > Have you contacted Heather? She may be able to help. > > Bob > > > On Aug 3, 2012, at 10:50 AM, Peter Haworth wrote: > > > I have been trying for several months to get a couple of my apps accepted > > to the RunRev store. I got an initial response about the process and > T&C's > > but have not heard anything since despite sending off the apps and > sending > > several emails to inquire about status, acceptance, rejection. > > > > Is this normal and if so, I wonder what the point of having a store is? > > > > 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 revlist at azurevision.co.uk Fri Aug 3 14:18:43 2012 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 3 Aug 2012 19:18:43 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: <134441331968.20120801205134@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> Message-ID: <24B30589-9388-4117-A414-51E4E37C2950@azurevision.co.uk> A stupid question, not having used GLX since LiveCode was Rev Studio/Enterprise etc. How do I install it? There appear to be no instructions in the download at all, other than some mentions of a plugin folder in the GLX2 Macros.txt file. :-( Ian From rdimola at evergreeninfo.net Fri Aug 3 14:37:28 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Aug 2012 14:37:28 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501AEEA0.7040909@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> Message-ID: <004a01cd71a7$095b2de0$1c1189a0$@net> The problem was that the user has "predictive typing" on. This was mentioned on the list a one point and I forgot. I am now implementing the native controls and see if this will eliminate the restriction. The field object is MUCH nicer but if using the native input control fixes the problem I will live with it. Thanks all..... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From mwieder at ahsoftware.net Fri Aug 3 15:19:16 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 Aug 2012 19:19:16 +0000 (UTC) Subject: ANN: GLX2 3.0.10 References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <24B30589-9388-4117-A414-51E4E37C2950@azurevision.co.uk> Message-ID: Ian Wood writes: > > A stupid question, not having used GLX since LiveCode was Rev Studio/Enterprise etc. > > How do I install it? There appear to be no instructions in the download at all, other than some mentions of a > plugin folder in the GLX2 Macros.txt file. There's a wiki at: https://bitbucket.org/mwieder/glx2/wiki/Home which points to documentation at: http://glx2.ahsoftware.net/ the first link there is installation instructions. (http://mwieder.on-rev.com/WordPress/?incsub_wiki=glx2-installation) But thanks for the prod... I'll add the installation text to the next release. -- Mark Wieder mwieder at ahsoftware.net From revlist at azurevision.co.uk Fri Aug 3 15:22:41 2012 From: revlist at azurevision.co.uk (Ian Wood) Date: Fri, 3 Aug 2012 20:22:41 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <24B30589-9388-4117-A414-51E4E37C2950@azurevision.co.uk> Message-ID: <238226EA-47F8-410F-8973-75D0B121BE7D@azurevision.co.uk> On 3 Aug 2012, at 20:19, Mark Wieder wrote: > There's a wiki at: > https://bitbucket.org/mwieder/glx2/wiki/Home > > which points to documentation at: > http://glx2.ahsoftware.net/ > > the first link there is installation instructions. > (http://mwieder.on-rev.com/WordPress/?incsub_wiki=glx2-installation) > > But thanks for the prod... I'll add the installation text to the next release. Ah, I missed the wiki tab when looking at that page which meant i never saw the links. Google just kept giving me forum and list links. :-( Thanks again, Ian From monte at sweattechnologies.com Fri Aug 3 15:29:32 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Aug 2012 05:29:32 +1000 Subject: The RunRev store In-Reply-To: References: <35A8A541-89FD-44DD-92E9-59C084425D14@twft.com> Message-ID: Hi Peter Hang in there. Heather has a super high work load and support must take priority to marketplace. I got frustrated a bit with this too but eventually it was all sorted out. Don't forget that those three months would have included the conference. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 04/08/2012, at 4:12 AM, Peter Haworth wrote: > Heather has been my contact right from the start. > Pete > lcSQL Software > > > > On Fri, Aug 3, 2012 at 11:03 AM, Bob Sneidar wrote: > >> Have you contacted Heather? She may be able to help. >> >> Bob >> >> >> On Aug 3, 2012, at 10:50 AM, Peter Haworth wrote: >> >>> I have been trying for several months to get a couple of my apps accepted >>> to the RunRev store. I got an initial response about the process and >> T&C's >>> but have not heard anything since despite sending off the apps and >> sending >>> several emails to inquire about status, acceptance, rejection. >>> >>> Is this normal and if so, I wonder what the point of having a store is? >>> >>> 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 andre at andregarzia.com Fri Aug 3 16:53:12 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 3 Aug 2012 17:53:12 -0300 Subject: Need beta testers for new database library Message-ID: Hello Folks, I need some beta testers for the new database library that I am releasing. I just want some more opinions before releasing it. Anyone wants to join? Send me a private email at andre at andregarzia.com It is the library that I've shown during the last conference. =D Andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From terry.judd at unimelb.edu.au Fri Aug 3 18:03:13 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 3 Aug 2012 22:03:13 +0000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: On 03/08/2012, at 08:41 PM, Scott Rossi wrote: > Anyone know why the text of a UITextField (input) appears shifted up? Is > there any way to shift it down? > > There's very little on the card -- just a group and a graphic to define the > region in which to display the text. > > http://www.tactilemedia.com/download/uitextfield.png > > The clearbutton for the control is displayed, and this appears in the proper > position, but for some reason the text is appearing shifted upward about 4 > pixels. It appears the same in both the simulator and on a device. > > Any suggestions for a fix? Hi Scott - I seem to recall struggling with this some time ago when I had to implement user and password fields using the native controls. What I seem to have done is create an appropriately sized background to sit behind the control and then used a LC field to position/align the entry text correctly - with the textHeight of the LC field set to the same value as the fontSize. I then create the native control and set its rect to the rect of the LC field and its fontSize to the LC field's fontSize. This seems to work for me. Terry... > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Eduction Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From scott at tactilemedia.com Fri Aug 3 18:17:09 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Aug 2012 15:17:09 -0700 Subject: UITextField - Text Appears Shifted? In-Reply-To: Message-ID: Thanks for the suggestion Terry (and everyone else). I've since learned that the field portion of the input control always stays aligned to the top of its region, regardless of the control's height, while the clearbutton stays aligned to the vertical center of its height. I think this means the input control needs to be carefully sized to position its text and icon/s correctly (I assumed the text and icon would always appear vertically centered, but obviously this is isn't the case). Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Terry Judd wrote: > > On 03/08/2012, at 08:41 PM, Scott Rossi wrote: > >> Anyone know why the text of a UITextField (input) appears shifted up? Is >> there any way to shift it down? >> >> There's very little on the card -- just a group and a graphic to define the >> region in which to display the text. >> >> http://www.tactilemedia.com/download/uitextfield.png >> >> The clearbutton for the control is displayed, and this appears in the proper >> position, but for some reason the text is appearing shifted upward about 4 >> pixels. It appears the same in both the simulator and on a device. >> >> Any suggestions for a fix? > > Hi Scott - I seem to recall struggling with this some time ago when I had to > implement user and password fields using the native controls. What I seem to > have done is create an appropriately sized background to sit behind the > control and then used a LC field to position/align the entry text correctly - > with the textHeight of the LC field set to the same value as the fontSize. I > then create the native control and set its rect to the rect of the LC field > and its fontSize to the LC field's fontSize. This seems to work for me. > > Terry... > >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > 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 ken at kencorey.com Fri Aug 3 18:27:52 2012 From: ken at kencorey.com (Ken Corey) Date: Fri, 03 Aug 2012 23:27:52 +0100 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <006901cd7101$d91e25b0$8b5a7110$@net> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> <006901cd7101$d91e25b0$8b5a7110$@net> Message-ID: <501C5068.7050002@kencorey.com> FWIW, the same behaviour I saw before. (Samsung Galaxy Tab 2 10", 4.0.4 stock, with the default Samsung keyboard.) When predictive text is on, no text entered shows in the text entry widget. Turn off predictive text, and you're off and running. Just as a data point, I installed SwiftKey 3 and tried that. No problems at all. I had logcat going the whole time, and again, didn't see anything untoward. I went through selecting one of the rows returned, and the map was pulled up, as well as trying to add the phone number to my contact list (since it couldn't be called on the tab). Not an in-depth testing session, but it certainly would have thrown up a problem if it were going to. Just for grins, I tried it on my Nexus 7 running Jelly bean. Sure enough, it crashes upon launch, so I can't tell if the input would hvae worked there. Best of luck. -Ken On 02/08/2012 23:55, Ralph DiMola wrote: > Last message has a bad link again. This time I tested it. Sorry folks. > > Oops..... UK is in. > > Username:use at rr.com > Password:Dfdf77 > > Also @ this link > http://evergreeninfo.on-rev.com/JBT/x0Ak_ayLA_knQL/JBT_Red_Book_248.apk > > > > Thanks..... > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey > Sent: Thursday, August 02, 2012 5:18 PM > To: use-livecode at lists.runrev.com > Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 > > Uh...I don't know. The tablet is certainly a touch screen. > > Let's see...I don't see any limitations in the 'Standalone Application > Settings'. I opened the AndroidManifest.xml, and it supp0orts large > screens. > > When you uploaded the app to the market, which countries did you list? > > I'm in the UK. > > I can't think of anything else that would limit it. > > Anyone else have any idea? > > If you wanted to email me a standalone, I could have a run real quick and > let you know what happens. > > -Ken > > On 02/08/2012 21:46, Ralph DiMola wrote: >> What do I need to set in standalone apps setting so your tablet is >> available. The only think I have required is the touch screen. Did you >> search for just "JBT"? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 3 18:39:01 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 3 Aug 2012 18:39:01 -0400 Subject: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 In-Reply-To: <501C5068.7050002@kencorey.com> References: <002c01cd70e7$036e50d0$0a4af270$@net> <501AE46A.4010908@kencorey.com> <006301cd70ef$d7d81650$878842f0$@net> <501AEEA0.7040909@kencorey.com> <006901cd7101$d91e25b0$8b5a7110$@net> <501C5068.7050002@kencorey.com> Message-ID: <006d01cd71c8$c7e76140$57b623c0$@net> Thanks Ken! Did you try to rotate the display? Just interested how my resizing code is holding up. Note: The details card has a different layout. Thanks again!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey Sent: Friday, August 03, 2012 6:28 PM To: use-livecode at lists.runrev.com Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version 4.0.4 FWIW, the same behaviour I saw before. (Samsung Galaxy Tab 2 10", 4.0.4 stock, with the default Samsung keyboard.) When predictive text is on, no text entered shows in the text entry widget. Turn off predictive text, and you're off and running. Just as a data point, I installed SwiftKey 3 and tried that. No problems at all. I had logcat going the whole time, and again, didn't see anything untoward. I went through selecting one of the rows returned, and the map was pulled up, as well as trying to add the phone number to my contact list (since it couldn't be called on the tab). Not an in-depth testing session, but it certainly would have thrown up a problem if it were going to. Just for grins, I tried it on my Nexus 7 running Jelly bean. Sure enough, it crashes upon launch, so I can't tell if the input would hvae worked there. Best of luck. -Ken On 02/08/2012 23:55, Ralph DiMola wrote: > Last message has a bad link again. This time I tested it. Sorry folks. > > Oops..... UK is in. > > Username:use at rr.com > Password:Dfdf77 > > Also @ this link > http://evergreeninfo.on-rev.com/JBT/x0Ak_ayLA_knQL/JBT_Red_Book_248.ap > k > > > > Thanks..... > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ken Corey > Sent: Thursday, August 02, 2012 5:18 PM > To: use-livecode at lists.runrev.com > Subject: Re: LC Android FC on Samsung s 3 sph-l 710. Android version > 4.0.4 > > Uh...I don't know. The tablet is certainly a touch screen. > > Let's see...I don't see any limitations in the 'Standalone Application > Settings'. I opened the AndroidManifest.xml, and it supp0orts large > screens. > > When you uploaded the app to the market, which countries did you list? > > I'm in the UK. > > I can't think of anything else that would limit it. > > Anyone else have any idea? > > If you wanted to email me a standalone, I could have a run real quick > and let you know what happens. > > -Ken > > On 02/08/2012 21:46, Ralph DiMola wrote: >> What do I need to set in standalone apps setting so your tablet is >> available. The only think I have required is the touch screen. Did >> you search for just "JBT"? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 3 18:39:47 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Aug 2012 08:39:47 +1000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: <61B50193-D0FE-4B00-95CC-BEB5F47B1862@sweattechnologies.com> Hi Scott Padding is a non-standard property of UITextField. RunRev could use a category to give us padding if they wanted. See http://stackoverflow.com/questions/3727068/set-padding-for-uitextfield-with-uitextborderstylenone I don't know of its possible for me to add a category to a class the engine uses and it work. It's worth an attempt but I think unless the external is linked in a certain way it would fail. It would be nice to be able to add a global UITextField padding command ;-) Cheers -- M E R Goulding Software development services mergExt - There's an external for that! On 04/08/2012, at 8:17 AM, Scott Rossi wrote: > Thanks for the suggestion Terry (and everyone else). > > I've since learned that the field portion of the input control always stays > aligned to the top of its region, regardless of the control's height, while > the clearbutton stays aligned to the vertical center of its height. I think > this means the input control needs to be carefully sized to position its > text and icon/s correctly (I assumed the text and icon would always appear > vertically centered, but obviously this is isn't the case). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Terry Judd wrote: > >> >> On 03/08/2012, at 08:41 PM, Scott Rossi wrote: >> >>> Anyone know why the text of a UITextField (input) appears shifted up? Is >>> there any way to shift it down? >>> >>> There's very little on the card -- just a group and a graphic to define the >>> region in which to display the text. >>> >>> http://www.tactilemedia.com/download/uitextfield.png >>> >>> The clearbutton for the control is displayed, and this appears in the proper >>> position, but for some reason the text is appearing shifted upward about 4 >>> pixels. It appears the same in both the simulator and on a device. >>> >>> Any suggestions for a fix? >> >> Hi Scott - I seem to recall struggling with this some time ago when I had to >> implement user and password fields using the native controls. What I seem to >> have done is create an appropriately sized background to sit behind the >> control and then used a LC field to position/align the entry text correctly - >> with the textHeight of the LC field set to the same value as the fontSize. I >> then create the native control and set its rect to the rect of the LC field >> and its fontSize to the LC field's fontSize. This seems to work for me. >> >> Terry... >> >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> 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 monte at sweattechnologies.com Fri Aug 3 19:44:08 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Aug 2012 09:44:08 +1000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: Having a play with this and I can't actually duplicate what your getting. Could you post a link to your stack. On 04/08/2012, at 8:03 AM, Terry Judd wrote: > > On 03/08/2012, at 08:41 PM, Scott Rossi wrote: > >> Anyone know why the text of a UITextField (input) appears shifted up? Is >> there any way to shift it down? >> >> There's very little on the card -- just a group and a graphic to define the >> region in which to display the text. >> >> http://www.tactilemedia.com/download/uitextfield.png >> >> The clearbutton for the control is displayed, and this appears in the proper >> position, but for some reason the text is appearing shifted upward about 4 >> pixels. It appears the same in both the simulator and on a device. >> >> Any suggestions for a fix? > > Hi Scott - I seem to recall struggling with this some time ago when I had to implement user and password fields using the native controls. What I seem to have done is create an appropriately sized background to sit behind the control and then used a LC field to position/align the entry text correctly - with the textHeight of the LC field set to the same value as the fontSize. I then create the native control and set its rect to the rect of the LC field and its fontSize to the LC field's fontSize. This seems to work for me. > > Terry... > >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > 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 -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Fri Aug 3 20:01:44 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 03 Aug 2012 17:01:44 -0700 Subject: UITextField - Text Appears Shifted? In-Reply-To: Message-ID: Hi Monte: My issue is already solved, but all you should have to do is size a native input field to something like 100 pixels tall, with its clear button enabled. Once you start typing, you should see the text appear at the top of the field, while the clear button is drawn in the vertical center of the field. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Monte Goulding wrote: > Having a play with this and I can't actually duplicate what your getting. > Could you post a link to your stack. > > On 04/08/2012, at 8:03 AM, Terry Judd wrote: > >> >> On 03/08/2012, at 08:41 PM, Scott Rossi wrote: >> >>> Anyone know why the text of a UITextField (input) appears shifted up? Is >>> there any way to shift it down? >>> >>> There's very little on the card -- just a group and a graphic to define the >>> region in which to display the text. >>> >>> http://www.tactilemedia.com/download/uitextfield.png >>> >>> The clearbutton for the control is displayed, and this appears in the proper >>> position, but for some reason the text is appearing shifted upward about 4 >>> pixels. It appears the same in both the simulator and on a device. >>> >>> Any suggestions for a fix? >> >> Hi Scott - I seem to recall struggling with this some time ago when I had to >> implement user and password fields using the native controls. What I seem to >> have done is create an appropriately sized background to sit behind the >> control and then used a LC field to position/align the entry text correctly - >> with the textHeight of the LC field set to the same value as the fontSize. I >> then create the native control and set its rect to the rect of the LC field >> and its fontSize to the LC field's fontSize. This seems to work for me. >> >> Terry... >> >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX Design >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> 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 > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Aug 3 20:55:36 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 3 Aug 2012 17:55:36 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> Message-ID: <70603574671.20120803175536@ahsoftware.net> Bob- Friday, August 3, 2012, 8:38:03 AM, you wrote: > No no problem, it's just that it's fairly typical to only be able > to undo back to the last save. I can see myself in a fit of undo's > after making some horrible coding error that made everything go > wrong, hitting undo lots of times. I guess I will have to avoid > that. :-) OK. I'll put that on my to-do list. I was thinking that keeping the undo list back as far as possible was a benefit, but I can't come up with much of a use case where I'd want to keep it past the last save. -- -Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Fri Aug 3 21:36:23 2012 From: warren at warrensweb.us (Warren Samples) Date: Fri, 03 Aug 2012 20:36:23 -0500 Subject: ANN: GLX2 3.0.10 In-Reply-To: <70603574671.20120803175536@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> Message-ID: <501C7C97.3020005@warrensweb.us> On 08/03/2012 07:55 PM, Mark Wieder wrote: > Bob- > > Friday, August 3, 2012, 8:38:03 AM, you wrote: > >> No no problem, it's just that it's fairly typical to only be able >> to undo back to the last save. I can see myself in a fit of undo's >> after making some horrible coding error that made everything go >> wrong, hitting undo lots of times. I guess I will have to avoid >> that. :-) > > OK. I'll put that on my to-do list. I was thinking that keeping the > undo list back as far as possible was a benefit, but I can't come up > with much of a use case where I'd want to keep it past the last save. > Would this be affected by the GLX autosave preference? "Save Every x compiles" If so, might this not limit the value of undo? How convenient would it be to allow the user to set the number of undos, which would be independent of any saves? Warren From terry.judd at unimelb.edu.au Fri Aug 3 21:45:57 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Sat, 4 Aug 2012 01:45:57 +0000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: On 04/08/2012, at 10:01 AM, Scott Rossi wrote: > > My issue is already solved, but all you should have to do is size a native > input field to something like 100 pixels tall, with its clear button > enabled. Once you start typing, you should see the text appear at the top > of the field, while the clear button is drawn in the vertical center of the > field. I wasn't even aware that there was a clear button, but now I see it I have to agree that is pretty annoying that its vertical alignment differs from that of the text. Seems like a bug to me. Terry... From monte at sweattechnologies.com Fri Aug 3 21:52:34 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Aug 2012 11:52:34 +1000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: Message-ID: <4F331B75-0E7F-45A3-BFDA-FB456873752B@sweattechnologies.com> Tried a variety of sizes and it seems to be padding nicer than your screenshot. Not centered but at least not right up in the corner. One of us may be setting some property that the other isn't. -- M E R Goulding Software development services mergExt - There's an external for that! On 04/08/2012, at 11:45 AM, Terry Judd wrote: > > On 04/08/2012, at 10:01 AM, Scott Rossi wrote: >> >> My issue is already solved, but all you should have to do is size a native >> input field to something like 100 pixels tall, with its clear button >> enabled. Once you start typing, you should see the text appear at the top >> of the field, while the clear button is drawn in the vertical center of the >> field. > > I wasn't even aware that there was a clear button, but now I see it I have to agree that is pretty annoying that its vertical alignment differs from that of the text. Seems like a bug to me. > > Terry... > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Aug 3 22:09:40 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 3 Aug 2012 19:09:40 -0700 Subject: UITextField - Text Appears Shifted? In-Reply-To: <4F331B75-0E7F-45A3-BFDA-FB456873752B@sweattechnologies.com> References: <4F331B75-0E7F-45A3-BFDA-FB456873752B@sweattechnologies.com> Message-ID: I didn't see any padding option in the release notes (believe me, I looked) is there one?. The only thing I was wondering was if this one of those "if you don't set ALL the properties, it won't work right" kind of situations, like some of the other native controls. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Aug 3, 2012, at 6:52 PM, Monte Goulding wrote: > Tried a variety of sizes and it seems to be padding nicer than your screenshot. Not centered but at least not right up in the corner. One of us may be setting some property that the other isn't. > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 04/08/2012, at 11:45 AM, Terry Judd wrote: > >> >> On 04/08/2012, at 10:01 AM, Scott Rossi wrote: >>> >>> My issue is already solved, but all you should have to do is size a native >>> input field to something like 100 pixels tall, with its clear button >>> enabled. Once you start typing, you should see the text appear at the top >>> of the field, while the clear button is drawn in the vertical center of the >>> field. >> >> I wasn't even aware that there was a clear button, but now I see it I have to agree that is pretty annoying that its vertical alignment differs from that of the text. Seems like a bug to me. >> >> Terry... >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kgjaqua1 at sbcglobal.net Fri Aug 3 22:58:57 2012 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Fri, 3 Aug 2012 19:58:57 -0700 (PDT) Subject: scroll ball or wheel script Message-ID: <1344049137.46949.YahooMailRC@web181406.mail.ne1.yahoo.com> I need a script that adds a vScrollbar script that adds a scroll bar after the field is full. I also need a scroll ball or wheel (3ed button) script that allows for scrolling up and down in that field. I am on a Mac but it would be needed for windows. Thank you, Thank you From monte at sweattechnologies.com Sat Aug 4 00:33:29 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 4 Aug 2012 14:33:29 +1000 Subject: UITextField - Text Appears Shifted? In-Reply-To: References: <4F331B75-0E7F-45A3-BFDA-FB456873752B@sweattechnologies.com> Message-ID: <5734396E-F6E8-4F06-A490-57FE023FB733@sweattechnologies.com> I'm not setting them all. That's why I wanted to check your code. There's no padding property but what I see is definitely more padded than your capture. -- M E R Goulding Software development services mergExt - There's an external for that! On 04/08/2012, at 12:09 PM, Scott Rossi wrote: > I didn't see any padding option in the release notes (believe me, I looked) is there one?. The only thing I was wondering was if this one of those "if you don't set ALL the properties, it won't work right" kind of situations, like some of the other native controls. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Aug 3, 2012, at 6:52 PM, Monte Goulding wrote: > >> Tried a variety of sizes and it seems to be padding nicer than your screenshot. Not centered but at least not right up in the corner. One of us may be setting some property that the other isn't. >> >> -- >> M E R Goulding >> Software development services >> >> mergExt - There's an external for that! >> >> On 04/08/2012, at 11:45 AM, Terry Judd wrote: >> >>> >>> On 04/08/2012, at 10:01 AM, Scott Rossi wrote: >>>> >>>> My issue is already solved, but all you should have to do is size a native >>>> input field to something like 100 pixels tall, with its clear button >>>> enabled. Once you start typing, you should see the text appear at the top >>>> of the field, while the clear button is drawn in the vertical center of the >>>> field. >>> >>> I wasn't even aware that there was a clear button, but now I see it I have to agree that is pretty annoying that its vertical alignment differs from that of the text. Seems like a bug to me. >>> >>> Terry... >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Sat Aug 4 01:28:48 2012 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 3 Aug 2012 22:28:48 -0700 Subject: scroll ball or wheel script In-Reply-To: <1344049137.46949.YahooMailRC@web181406.mail.ne1.yahoo.com> References: <1344049137.46949.YahooMailRC@web181406.mail.ne1.yahoo.com> Message-ID: On Aug 3, 2012, at 7:58 PM, Kathy Jaqua wrote: > I need a script that adds a vScrollbar script that adds a scroll > bar after the field is full. > > I also need a scroll ball or wheel (3ed button) script that allows for scrolling > up and down in that field. > I am on a Mac but it would be needed for windows. Maybe this will get you started: both of these scripts use "me" so they need to be placed inside the field script -- show or hide a vert scrollbar -- this could be triggered from several events -- as an example, it is placed in the rawKeyDown handler command ShowHideScrollBar if (the formattedHeight of me)>(the height of me) then set the vScrollBar of me to "true" else set the vScrollBar of me to "false" end if end ShowHideScrollBar -- use the mouseWheel on rawKeyDown theKeyNumber ShowHideScrollBar if theKeyNumber is 65308 then put 15 into tScrollInc -- increaseScroll -- mouse wheel down if theKeyNumber is 65309 then put -15 into tScrollInc -- decreaseScroll -- mouse wheel up if tScrollInc is empty then pass rawKeyDown -- don't forget this! set the vScroll of me to (the vScroll of me + tScrollInc) end rawKeyDown -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From keith.clarke at clarkeandclarke.co.uk Sat Aug 4 03:35:40 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 4 Aug 2012 08:35:40 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: <70603574671.20120803175536@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> Message-ID: <45E1E02E-983E-4EAA-BB87-EBC890281BB5@clarkeandclarke.co.uk> Allowing undos past the last save is a huge advantage, as frequent saving is often used to mitigate the risk of instability, rather than create a hard 'version'. Cmd-S (or Ctrl-S) is your friend when developing or working with flaky apps or IDEs. However, consider the constant saving in Google docs and Apple's changes with OSX Lion to see how the undo and save use are separating. So, why not simply show a dialogue to the user when the save point is being passed. This seems to be the general practice in this situation? Best, Keith.. On 4 Aug 2012, at 01:55, Mark Wieder wrote: > Bob- > > Friday, August 3, 2012, 8:38:03 AM, you wrote: > >> No no problem, it's just that it's fairly typical to only be able >> to undo back to the last save. I can see myself in a fit of undo's >> after making some horrible coding error that made everything go >> wrong, hitting undo lots of times. I guess I will have to avoid >> that. :-) > > OK. I'll put that on my to-do list. I was thinking that keeping the > undo list back as far as possible was a benefit, but I can't come up > with much of a use case where I'd want to keep it past the last save. > > -- > -Mark Wieder > mwieder at ahsoftware.net From bduck at mac.com Sat Aug 4 05:52:08 2012 From: bduck at mac.com (Brian K. Duck) Date: Sat, 04 Aug 2012 05:52:08 -0400 Subject: physical book.. In-Reply-To: References: Message-ID: <4909C767-ED64-4B2D-94CF-7245C1CEA86A@mac.com> Congratulations, from Michigan. I just got a note from B&N, apparently they expected it sooner! I can't wait, but i suppose I have to... Dear Brian Duck , We want to give you an update about the pre-ordered item(s) listed below. Unfortunately, we just got word that the release date for this item(s) has been changed. We expect to ship the item(s) soon and will email you when it is ready to leave our warehouse. If we cannot acquire the item(s) within 30 days, we will notify you by email. We are working to fulfill the rest of your order as quickly as possible. Because we value you as a customer, we are sending the items that are currently available in your order now at no additional cost to you. Thanks for your patience. Please accept our sincere apologies for the delay. -- Barnes & Noble To review your order status, click http://www.barnesandnoble.com/orderstatus/. Ship To: Brian Duck The DuckWorks This part of your order has been delayed: Product Description Quantity LiveCode Mobile Development Beginner's Guide 1 > Subject: physical books... > > The publisher sent three copies of my book to me. I wasn't expecting them > this soon, so that was a pleasant surprise when I signed for two packages (I > already knew about another package). I showed the books to the security > guard and some neighbors! From coiin at verizon.net Sat Aug 4 08:06:51 2012 From: coiin at verizon.net (Colin Holgate) Date: Sat, 04 Aug 2012 08:06:51 -0400 Subject: physical book.. In-Reply-To: <4909C767-ED64-4B2D-94CF-7245C1CEA86A@mac.com> References: <4909C767-ED64-4B2D-94CF-7245C1CEA86A@mac.com> Message-ID: <21C5CF98-9989-46F0-8914-79A7CD7E8361@verizon.net> The release date was changed, it was brought forward one month. Amazon could get it to you by Monday! From harrison at all-auctions.com Sat Aug 4 14:11:01 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 14:11:01 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: Message-ID: Hi there, Ok, I give up. How do I turn off the "Copy Select All Define" of a Multiline Native iOS Scroller Field? Anyone? Thanks in advance! Rick From dixonja at hotmail.co.uk Sat Aug 4 15:22:29 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 20:22:29 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , Message-ID: >From page 76 of the iOS release notes... editable read/write Determines whether the text field can be edited. This is a boolean value. Dixie > Hi there, > > Ok, I give up. How do I turn off the > "Copy Select All Define" of a > Multiline Native iOS Scroller Field? > > Anyone? > > Thanks in advance! > > Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Aug 4 15:42:18 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 15:42:18 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , Message-ID: <56754505-F186-4ED5-BB19-F45533BA4CFE@all-auctions.com> Hi Dixie, I'm already doing this: iphoneControlSet "ViewingField3", "editable", false That isn't cutting it. Is there something different I need to do? Thanks, Rick On Aug 4, 2012, at 3:22 PM, John Dixon wrote: > > >> From page 76 of the iOS release notes... > editable read/write Determines whether the text field can be edited. This is a boolean value. > > Dixie > >> Hi there, >> >> Ok, I give up. How do I turn off the >> "Copy Select All Define" of a >> Multiline Native iOS Scroller Field? >> >> Anyone? >> >> Thanks in advance! >> >> Rick >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! To visit the iTunes Store now to listen to samples of my CD please click on the following link. (Please note you must have iTunes installed on your computer for this link to work.) http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 From dixonja at hotmail.co.uk Sat Aug 4 15:52:07 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 20:52:07 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: <56754505-F186-4ED5-BB19-F45533BA4CFE@all-auctions.com> References: , , , , , , <56754505-F186-4ED5-BB19-F45533BA4CFE@all-auctions.com> Message-ID: Rick... Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- iphoneControlSet IDorName, property, value Dixe > I'm already doing this: > iphoneControlSet "ViewingField3", "editable", false > That isn't cutting it. > Is there something different I need to do? > > Thanks, > Rick > > > On Aug 4, 2012, at 3:22 PM, John Dixon wrote: > > > > > > >> From page 76 of the iOS release notes... > > editable read/write Determines whether the text field can be edited. This is a boolean value. > > > > Dixie > > > >> Hi there, > >> > >> Ok, I give up. How do I turn off the > >> "Copy Select All Define" of a > >> Multiline Native iOS Scroller Field? > >> > >> Anyone? > >> > >> Thanks in advance! > >> > >> Rick > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > __________________________________ > Rick Harrison > > You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! > > To visit the iTunes Store now to listen to samples of my CD please click on the > following link. (Please note you must have iTunes installed on your computer for this link to work.) > > http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 4 16:19:34 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 21:19:34 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , , , , , , , , , <56754505-F186-4ED5-BB19-F45533BA4CFE@all-auctions.com>, Message-ID: Oops sorry Rick... I read it weong. I see you have given it a reference.. apologies Dixie > From: dixonja at hotmail.co.uk > To: use-livecode at lists.runrev.com > Subject: RE: Disable "Copy Select-All Define" in iOS Scroller? > Date: Sat, 4 Aug 2012 20:52:07 +0100 > > > > Rick... > > Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- > iphoneControlSet IDorName, property, value > > Dixe > > > I'm already doing this: > > iphoneControlSet "ViewingField3", "editable", false > > That isn't cutting it. > > Is there something different I need to do? > > > > Thanks, > > Rick > > > > > > On Aug 4, 2012, at 3:22 PM, John Dixon wrote: > > > > > > > > > > >> From page 76 of the iOS release notes... > > > editable read/write Determines whether the text field can be edited. This is a boolean value. > > > > > > Dixie > > > > > >> Hi there, > > >> > > >> Ok, I give up. How do I turn off the > > >> "Copy Select All Define" of a > > >> Multiline Native iOS Scroller Field? > > >> > > >> Anyone? > > >> > > >> Thanks in advance! > > >> > > >> Rick > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > __________________________________ > > Rick Harrison > > > > You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! > > > > To visit the iTunes Store now to listen to samples of my CD please click on the > > following link. (Please note you must have iTunes installed on your computer for this link to work.) > > > > http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Aug 4 16:26:13 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 16:26:13 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , , , , , , , , , <56754505-F186-4ED5-BB19-F45533BA4CFE@all-auctions.com>, Message-ID: <12127BD5-F781-4B97-9594-3174DC8C2F20@all-auctions.com> Hi Dixie, It has to be something other than editable, because "Copy Select-ALL Define" in and of themselves are not allowing any editing to take place on the field. You may Select-All but you cannot delete anything etc. Rick On Aug 4, 2012, at 4:19 PM, John Dixon wrote: > > > Oops sorry Rick... I read it weong. I see you have given it a reference.. apologies > > Dixie > >> From: dixonja at hotmail.co.uk >> To: use-livecode at lists.runrev.com >> Subject: RE: Disable "Copy Select-All Define" in iOS Scroller? >> Date: Sat, 4 Aug 2012 20:52:07 +0100 >> >> >> >> Rick... >> >> Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- >> iphoneControlSet IDorName, property, value >> >> Dixe >> >>> I'm already doing this: >>> iphoneControlSet "ViewingField3", "editable", false >>> That isn't cutting it. >>> Is there something different I need to do? >>> >>> Thanks, >>> Rick >>> >>> >>> On Aug 4, 2012, at 3:22 PM, John Dixon wrote: >>> >>>> >>>> >>>>> From page 76 of the iOS release notes... >>>> editable read/write Determines whether the text field can be edited. This is a boolean value. >>>> >>>> Dixie >>>> >>>>> Hi there, >>>>> >>>>> Ok, I give up. How do I turn off the >>>>> "Copy Select All Define" of a >>>>> Multiline Native iOS Scroller Field? >>>>> >>>>> Anyone? >>>>> >>>>> Thanks in advance! >>>>> >>>>> Rick >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> __________________________________ >>> Rick Harrison >>> >>> You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! >>> >>> To visit the iTunes Store now to listen to samples of my CD please click on the >>> following link. (Please note you must have iTunes installed on your computer for this link to work.) >>> >>> http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Aug 4 16:29:45 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 16:29:45 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? Message-ID: Hi Dixie, I don't think that is the problem. Unless I'm not understanding your question. I'm creating the control like this: iphoneControlCreate "multiline", "ViewingField3" If I do this: put mobileControlGet("ViewingField3", "id") into VarID3 answer "VarID3 = " & VarID3 VarID3 shows up as being = 3 which in this case is correct since it is the 3rd control I've created. If I do the following it makes no difference. iphoneControlSet 3, "editable", false Other thoughts? Rick On Aug 4, 2012, at 3:52 PM, John Dixon wrote: > > > Rick... > > Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- > iphoneControlSet IDorName, property, value > > Dixe From dixonja at hotmail.co.uk Sat Aug 4 16:37:03 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 21:37:03 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: Message-ID: Rick... iphoneControlSet idOrName, "focus", "false".. ? > From: harrison at all-auctions.com > Subject: RE: Disable "Copy Select-All Define" in iOS Scroller? > Date: Sat, 4 Aug 2012 16:29:45 -0400 > To: use-livecode at lists.runrev.com > > Hi Dixie, > > I don't think that is the problem. Unless I'm not understanding your question. > > I'm creating the control like this: > > iphoneControlCreate "multiline", "ViewingField3" > > If I do this: > > put mobileControlGet("ViewingField3", "id") into VarID3 > answer "VarID3 = " & VarID3 > > VarID3 shows up as being = 3 which in this case is correct > since it is the 3rd control I've created. > > If I do the following it makes no difference. > > iphoneControlSet 3, "editable", false > > Other thoughts? > > Rick > > > On Aug 4, 2012, at 3:52 PM, John Dixon wrote: > > > > > > > Rick... > > > > Is it perhaps because you have not given the iphoneControlSet command an ID reference.. as in :- > > iphoneControlSet IDorName, property, value > > > > Dixe > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sat Aug 4 16:43:04 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 16:43:04 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: Message-ID: <166E3D17-FF17-4881-8995-B32EBE448FC0@all-auctions.com> Hi Dixie, Tried that just now.. Nice try.. but no joy? ;-( Other ideas? Rick On Aug 4, 2012, at 4:37 PM, John Dixon wrote: > iphoneControlSet idOrName, "focus", "false".. ? From dixonja at hotmail.co.uk Sat Aug 4 16:48:53 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 21:48:53 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: <166E3D17-FF17-4881-8995-B32EBE448FC0@all-auctions.com> References: , , <166E3D17-FF17-4881-8995-B32EBE448FC0@all-auctions.com> Message-ID: Rick... iphoneControlSet inputID, "enabled", "false" has worked for me...:-) The script I used... on openCard if environment() = "mobile" then iphoneControlCreate "multiline" put the result into inputID iphoneControlSet inputID, "rect", the rect of grc 2 iphoneControlSet inputID, "visible", "true" iphoneControlSet inputID, "opaque", "false" iphoneControlSet inputID, "fontName", "Helvetica" iphoneControlSet inputID, "fontSize", 14 iphoneControlSet inputID, "textColor", "0,0,0" iphoneControlSet inputID, "borderStyle", "none" iphoneControlSet inputID, "autoCapitalizationType", "sentences" iphoneControlSet inputID, "autoCorrectionType", "No" iphoneControlSet inputID, "autoClear", "false" iphoneControlSet inputID, "enabled", "false" end if end openCard Dixie > Hi Dixie, > > Tried that just now.. > > Nice try.. but no joy? ;-( > > Other ideas? > > Rick > > > On Aug 4, 2012, at 4:37 PM, John Dixon wrote: > > > iphoneControlSet idOrName, "focus", "false".. ? > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 4 16:54:07 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 4 Aug 2012 21:54:07 +0100 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , , , <166E3D17-FF17-4881-8995-B32EBE448FC0@all-auctions.com>, Message-ID: Rick... Ignore my posts... all I did was disable it... I'm going to shut up ! > Rick... > > iphoneControlSet inputID, "enabled", "false" has worked for me...:-) > > The script I used... > > on openCard > if environment() = "mobile" then > iphoneControlCreate "multiline" > put the result into inputID > iphoneControlSet inputID, "rect", the rect of grc 2 > iphoneControlSet inputID, "visible", "true" > iphoneControlSet inputID, "opaque", "false" > iphoneControlSet inputID, "fontName", "Helvetica" > iphoneControlSet inputID, "fontSize", 14 > iphoneControlSet inputID, "textColor", "0,0,0" > iphoneControlSet inputID, "borderStyle", "none" > iphoneControlSet inputID, "autoCapitalizationType", "sentences" > iphoneControlSet inputID, "autoCorrectionType", "No" > iphoneControlSet inputID, "autoClear", "false" > iphoneControlSet inputID, "enabled", "false" > end if > end openCard > > Dixie > > Hi Dixie, > > > > Tried that just now.. > > > > Nice try.. but no joy? ;-( > > > > Other ideas? > > > > Rick > > > > > > On Aug 4, 2012, at 4:37 PM, John Dixon wrote: > > > > > iphoneControlSet idOrName, "focus", "false".. ? > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 4 16:55:49 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 13:55:49 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <45E1E02E-983E-4EAA-BB87-EBC890281BB5@clarkeandclarke.co.uk> References: <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <45E1E02E-983E-4EAA-BB87-EBC890281BB5@clarkeandclarke.co.uk> Message-ID: <1344113749440-4653370.post@n4.nabble.com> Hi Keith, Keith Clarke wrote > > Allowing undos past the last save is a huge advantage, as frequent > saving is often used to mitigate the risk of instability, rather than > create a hard 'version'. > Cmd-S (or Ctrl-S) is your friend when developing or working with flaky > apps or IDEs. > I agree that "allowing undos past the last save is a huge advantage." For the particular case of the drawing stack posted previously, is really convenient to have unlimited undos. Now, just have to think how to adapt this code to save graphics and all their properties. Many questions arise about how to make this correctly and with efficiency. About "flaky apps or IDEs", it would be really interesting to know about a development environment that make impossible for the developers to build code that do not crash the application. I believe that this is impossible, but must recognize that I do not live in the cutting edge of computer science so... Could this be possible at all? Could anyone build or create a development environment where it's impossible to create applications that crash? Keith Clarke wrote > > [snip] > So, why not simply show a dialogue to the user when the save point > is being passed. This seems to be the general practice in this situation? > Yes, Exactly what I was about to suggest. :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653370.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 4 17:02:12 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 14:02:12 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: References: Message-ID: <1344114132704-4653371.post@n4.nabble.com> Hi Andre, Andre Garzia-3 wrote > > I need some beta testers for the new database library that I am > releasing. I just want some more opinions before releasing it. Anyone > wants to join? Send me a private email at andre@ > It is the library that I've shown during the last conference. > I don't know anything about databases... How could I help? I guarantee that I could make mistakes that you could not believe were possible while using your application... :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653371.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Aug 4 17:17:14 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 Aug 2012 14:17:14 -0700 Subject: when sent a message, the target can't find itself! Message-ID: I'm sending a message to a field on another card to add my formatted values. But while in that field, the handler can't find it! put the long name of the target field blah group blah . . . put the id of the target it has one put the long id of the target and this to put exists(fld the long name of the target) false false? The field is the target; how can it not exist? (and i do indeed throw the "no such" error when I try to put something into "field the target" -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From bonnmike at gmail.com Sat Aug 4 17:31:00 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 4 Aug 2012 15:31:00 -0600 Subject: when sent a message, the target can't find itself! In-Reply-To: References: Message-ID: the long name of the target will return something like field "Field" of card id 1002 of stack "Untitled 1" Since it is the fully qualified name of the target, if you try to use field the long name of the target it is trying to see if field field "Field" of card id 1002 of stack "Untitled 1" exists. Change it to put exists(the long name of the target) and it should behave as expected. On Sat, Aug 4, 2012 at 3:17 PM, Dr. Hawkins wrote: > I'm sending a message to a field on another card to add my formatted > values. > > But while in that field, the handler can't find it! > > put the long name of the target > field blah group blah . . . > put the id of the target > it has one > put the long id of the target > and this to > put exists(fld the long name of the target) > false > > false? The field is the target; how can it not exist? (and i do > indeed throw the "no such" error when I try to put something into > "field the target" > > -- > The Hawkins Law Firm > Richard E. Hawkins, Esq. > (702) 508-8462 > HawkinsLawFirm at gmail.com > 3025 S. Maryland Parkway > Suite A > Las Vegas, NV 89109 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 4 17:32:29 2012 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 4 Aug 2012 22:32:29 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344113749440-4653370.post@n4.nabble.com> References: <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <45E1E02E-983E-4EAA-BB87-EBC890281BB5@clarkeandclarke.co.uk> <1344113749440-4653370.post@n4.nabble.com> Message-ID: <22355191-83DD-4CAE-93B1-5388BB09E224@clarkeandclarke.co.uk> Never mind an IDE that prevents the creation of dodgy code - right now I'd be delighted to get a fix for Mountain Lion so that it doesn't crash before I even get my development environment back up and running. Life for me has suddenly reverted to the instability of 20th century Windows. Fortunately, the 'Save after every carriage return' mantra has stayed with me since migrating to OSX, with its (pre-Lion) attempts to lull me into a false sense of security! ;-) Best, Keith.. On 4 Aug 2012, at 21:55, Alejandro Tejada wrote: > Could anyone build or create a development environment where > it's impossible to create applications that crash? From david at 3open.ca Sat Aug 4 17:48:57 2012 From: david at 3open.ca (David Baker (3open)) Date: Sat, 04 Aug 2012 17:48:57 -0400 Subject: Looking for post-secondary student coders for prototype dev Message-ID: <501D98C9.4090400@3open.ca> Hi there, Not sure where else to post this. A non-profit standards development org (casrai.org) is starting a new program to pay post-secondary coders to build demonstration prototype software. Here is s link to the call: http://casrai.org/program/commons/program-to-develop-prototypes-for-demonstration-of-standards-based-exchanges LiveCode looks to be a perfect framework for much of it. Please spread the word if you know of potential candidates who might want to apply. David From alex at tweedly.net Sat Aug 4 17:50:16 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 04 Aug 2012 22:50:16 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: <70603574671.20120803175536@ahsoftware.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> Message-ID: <501D9918.2030004@tweedly.net> I can immediately think of a use case for it. In fact, I experienced it about 10 minutes before seeing this email. In Coda2, editing a revServer file. Save it, upload ("publish") it, test it - disaster. I've messed up something badly, not obviously anything to do with wha I intended to change. Fortunately, Coda2 does "Undo" beyond saves, so I simply "Undid" a few things until I saw a change I hadn't intended, fixed that - and carried on very quickly and easily. Of course, i could have got around it other ways (Dropbox had the previously saved 'good' copy, etc.) but the convenience of just Undo-ing was very helpful. -- Alex. On 04/08/2012 01:55, Mark Wieder wrote: > Bob- > > Friday, August 3, 2012, 8:38:03 AM, you wrote: > >> No no problem, it's just that it's fairly typical to only be able >> to undo back to the last save. I can see myself in a fit of undo's >> after making some horrible coding error that made everything go >> wrong, hitting undo lots of times. I guess I will have to avoid >> that. :-) > OK. I'll put that on my to-do list. I was thinking that keeping the > undo list back as far as possible was a benefit, but I can't come up > with much of a use case where I'd want to keep it past the last save. > From dochawk at gmail.com Sat Aug 4 17:53:02 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 Aug 2012 14:53:02 -0700 Subject: when sent a message, the target can't find itself! In-Reply-To: References: Message-ID: On Sat, Aug 4, 2012 at 2:31 PM, Mike Bonner wrote: > > Change it to > > put exists(the long name of the target) > > and it should behave as expected. Thanks. That got the exists() working. Maybe I'm dense, but I cant get access to the field to work the same way. put the text of (the long name of the target) yields empty, which I believe is correct, but put 45 into fld (the long name of the target) (after all, putting something into it is the whole point.) And while I'm at it, when the script is executing, shouldn't "put 7 into the target" work--the script is executing from a message sent to the target, after all. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From jacque at hyperactivesw.com Sat Aug 4 17:58:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Aug 2012 16:58:49 -0500 Subject: when sent a message, the target can't find itself! In-Reply-To: References: Message-ID: <501D9B19.402@hyperactivesw.com> On 8/4/12 4:53 PM, Dr. Hawkins wrote: > On Sat, Aug 4, 2012 at 2:31 PM, Mike Bonner wrote: >> >> Change it to >> >> put exists(the long name of the target) >> >> and it should behave as expected. > > Thanks. > > That got the exists() working. > > Maybe I'm dense, but I cant get access to the field to work the same way. > > put the text of (the long name of the target) > yields empty, which I believe is correct, but > put 45 into fld (the long name of the target) > > > (after all, putting something into it is the whole point.) > > And while I'm at it, when the script is executing, shouldn't "put 7 > into the target" work--the script is executing from a message sent to > the target, after all. > > If you substitute "field x of card y" for every instance of "the long name of the target" in your script, you'll probably see the problem right away. As Alex mentioned, the "put" line evaluates to: put 45 into fld (field x of card y) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Sat Aug 4 18:29:27 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 4 Aug 2012 16:29:27 -0600 Subject: when sent a message, the target can't find itself! In-Reply-To: <501D9B19.402@hyperactivesw.com> References: <501D9B19.402@hyperactivesw.com> Message-ID: if I have a command "putit" in the field script and send "putit" to field "myfield" and the command putit has the line "put 85 into the target" it works fine for me. As was pointed out, you have to watch your references put 45 into fld (the long name of the target) actually says put 45 into *fld (field* "Field" of card id 1002 of stack "Untitled 1") On Sat, Aug 4, 2012 at 3:58 PM, J. Landman Gay wrote: > On 8/4/12 4:53 PM, Dr. Hawkins wrote: > >> On Sat, Aug 4, 2012 at 2:31 PM, Mike Bonner wrote: >> >>> >>> Change it to >>> >>> put exists(the long name of the target) >>> >>> and it should behave as expected. >>> >> >> Thanks. >> >> That got the exists() working. >> >> Maybe I'm dense, but I cant get access to the field to work the same way. >> >> put the text of (the long name of the target) >> yields empty, which I believe is correct, but >> put 45 into fld (the long name of the target) >> >> >> (after all, putting something into it is the whole point.) >> >> And while I'm at it, when the script is executing, shouldn't "put 7 >> into the target" work--the script is executing from a message sent to >> the target, after all. >> >> >> > If you substitute "field x of card y" for every instance of "the long name > of the target" in your script, you'll probably see the problem right away. > As Alex mentioned, the "put" line evaluates to: > > put 45 into fld (field x of card y) > > > -- > 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 Sat Aug 4 18:37:24 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 4 Aug 2012 15:37:24 -0700 Subject: when sent a message, the target can't find itself! In-Reply-To: <501D9B19.402@hyperactivesw.com> References: <501D9B19.402@hyperactivesw.com> Message-ID: On Sat, Aug 4, 2012 at 2:58 PM, J. Landman Gay wrote: > If you substitute "field x of card y" for every instance of "the long name > of the target" in your script, you'll probably see the problem right away. > As Alex mentioned, the "put" line evaluates to: > > put 45 into fld (field x of card y) The catch is that the handler has no advance knowledge of what field or card it can be called from--I'm trying to make something generic that can add a currency formatted value to a field that already contains a currency formatted value. In several places, the names of the fields are actually being constructed by string manipulation (e.g., val_sbt comes from [ fldNam & "_sbt" ], and then I want to add the $123.45 in val (or possibly fld fal) to the $852.87 already in fld_sbt.) And then, when I"m done on the page, I have to add fld_sbt to a totalling field on yet another page. So the solution *seems* to be to send a message to the field to add something to itself. But the handler only knows the name by "the target", and it seems to take several lines of code to parse a long name into a card X and Field Y. My real need is the very narrow issue of a handler pulling the value of the field that called it, and then putting something back in. It seems that this should take one line of code, not 8 or 10. Thanks hawk -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From pete at lcsql.com Sat Aug 4 18:57:51 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Aug 2012 15:57:51 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <501D9918.2030004@tweedly.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> Message-ID: Can't kelp putting in a plug for my lcStackDiff plugin. It will show you the differences between two versions of a stack file, including exactly which lines were changed in scripts. Not a replacement for undo, just another tool to add to the arsenal to figure out what you might have done to cause a bug to appear.. Pete lcSQL Software On Sat, Aug 4, 2012 at 2:50 PM, Alex Tweedly wrote: > I can immediately think of a use case for it. In fact, I experienced it > about 10 minutes before seeing this email. > > In Coda2, editing a revServer file. Save it, upload ("publish") it, test > it - disaster. I've messed up something badly, not obviously anything to do > with wha I intended to change. > > Fortunately, Coda2 does "Undo" beyond saves, so I simply "Undid" a few > things until I saw a change I hadn't intended, fixed that - and carried on > very quickly and easily. > > Of course, i could have got around it other ways (Dropbox had the > previously saved 'good' copy, etc.) but the convenience of just Undo-ing > was very helpful. > > -- Alex. > > > On 04/08/2012 01:55, Mark Wieder wrote: > >> Bob- >> >> Friday, August 3, 2012, 8:38:03 AM, you wrote: >> >> No no problem, it's just that it's fairly typical to only be able >>> to undo back to the last save. I can see myself in a fit of undo's >>> after making some horrible coding error that made everything go >>> wrong, hitting undo lots of times. I guess I will have to avoid >>> that. :-) >>> >> OK. I'll put that on my to-do list. I was thinking that keeping the >> undo list back as far as possible was a benefit, but I can't come up >> with much of a use case where I'd want to keep it past the last save. >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From alex at tweedly.net Sat Aug 4 19:35:56 2012 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 05 Aug 2012 00:35:56 +0100 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> Message-ID: <501DB1DC.3040108@tweedly.net> In this case, it was a revServer script (i.e. simple text file), so lcStackDiff wasn't directly applicable, but the display of differences in a script in lcStackDiff looks really helpful; you could maybe consider extending lcStackDiff to cover .lc and .livecode text files as well as scripts within stacks. -- Alex. On 04/08/2012 23:57, Peter Haworth wrote: > Can't kelp putting in a plug for my lcStackDiff plugin. It will show you > the differences between two versions of a stack file, including exactly > which lines were changed in scripts. > > Not a replacement for undo, just another tool to add to the arsenal to > figure out what you might have done to cause a bug to appear.. > > Pete > lcSQL Software > > > > On Sat, Aug 4, 2012 at 2:50 PM, Alex Tweedly wrote: > >> I can immediately think of a use case for it. In fact, I experienced it >> about 10 minutes before seeing this email. >> >> In Coda2, editing a revServer file. Save it, upload ("publish") it, test >> it - disaster. I've messed up something badly, not obviously anything to do >> with wha I intended to change. >> >> Fortunately, Coda2 does "Undo" beyond saves, so I simply "Undid" a few >> things until I saw a change I hadn't intended, fixed that - and carried on >> very quickly and easily. >> >> Of course, i could have got around it other ways (Dropbox had the >> previously saved 'good' copy, etc.) but the convenience of just Undo-ing >> was very helpful. >> >> -- Alex. >> >> >> On 04/08/2012 01:55, Mark Wieder wrote: >> >>> Bob- >>> >>> Friday, August 3, 2012, 8:38:03 AM, you wrote: >>> >>> No no problem, it's just that it's fairly typical to only be able >>>> to undo back to the last save. I can see myself in a fit of undo's >>>> after making some horrible coding error that made everything go >>>> wrong, hitting undo lots of times. I guess I will have to avoid >>>> that. :-) >>>> >>> OK. I'll put that on my to-do list. I was thinking that keeping the >>> undo list back as far as possible was a benefit, but I can't come up >>> with much of a use case where I'd want to keep it past the last save. >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat Aug 4 19:54:17 2012 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sat, 4 Aug 2012 16:54:17 -0700 Subject: Simple script doesn't work Message-ID: <667C7932-C894-4E28-8972-038D3DFFD072@doctorTimothyMiller.com> In certain frequently-used stacks, I get tired of closing the revTools window, choosing the browse tool, and so on. Y this script no work? on OpenCard choose browse tool close window revTools close window revStartCentre end OpenCard I've tried on openCard, on preOpenCard, on openStack, preOpenStack. I get bupkis. And close window revStartCentre throws an error, even though it works in the message box. What am I doing wrong? Tim From m.schonewille at economy-x-talk.com Sat Aug 4 20:03:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 5 Aug 2012 02:03:09 +0200 Subject: Simple script doesn't work In-Reply-To: <667C7932-C894-4E28-8972-038D3DFFD072@doctorTimothyMiller.com> References: <667C7932-C894-4E28-8972-038D3DFFD072@doctorTimothyMiller.com> Message-ID: Hi Tim, That's right, it won't work. Try this: on openStack send "initialize" to me in 0 secs end openStack on initialize choose browse tool close window revTools close window revStartCenter end initialize I think that the Start Center has an option to not show up om startup. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 5 aug 2012, at 01:54, Timothy Miller wrote: > In certain frequently-used stacks, I get tired of closing the revTools window, choosing the browse tool, and so on. > > Y this script no work? > > on OpenCard > choose browse tool > close window revTools > close window revStartCentre > end OpenCard > > I've tried on openCard, on preOpenCard, on openStack, preOpenStack. I get bupkis. And close window revStartCentre throws an error, even though it works in the message box. > > What am I doing wrong? > > Tim From pete at lcsql.com Sat Aug 4 20:09:54 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Aug 2012 17:09:54 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <501DB1DC.3040108@tweedly.net> References: <1343840328968-4653241.post@n4.nabble.com> <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> Message-ID: Good idea Alex. The scripts are written out to plain text files to do the comparison so the mechanism for checking any type of plain text file is already in place. Unfortunately, I've never used revServer so I'm not familiar with where the .lc and .livecode files are kept. Are they kept in specific directores that are associated with a stack file somehow or is it a user choice? Pete lcSQL Software On Sat, Aug 4, 2012 at 4:35 PM, Alex Tweedly wrote: > In this case, it was a revServer script (i.e. simple text file), so > lcStackDiff wasn't directly applicable, but the display of differences in a > script in lcStackDiff looks really helpful; you could maybe consider > extending lcStackDiff to cover .lc and .livecode text files as well as > scripts within stacks. > > -- Alex. > > > On 04/08/2012 23:57, Peter Haworth wrote: > >> Can't kelp putting in a plug for my lcStackDiff plugin. It will show you >> the differences between two versions of a stack file, including exactly >> which lines were changed in scripts. >> >> Not a replacement for undo, just another tool to add to the arsenal to >> figure out what you might have done to cause a bug to appear.. >> >> Pete >> lcSQL Software >> >> >> >> >> On Sat, Aug 4, 2012 at 2:50 PM, Alex Tweedly wrote: >> >> I can immediately think of a use case for it. In fact, I experienced it >>> about 10 minutes before seeing this email. >>> >>> In Coda2, editing a revServer file. Save it, upload ("publish") it, test >>> it - disaster. I've messed up something badly, not obviously anything to >>> do >>> with wha I intended to change. >>> >>> Fortunately, Coda2 does "Undo" beyond saves, so I simply "Undid" a few >>> things until I saw a change I hadn't intended, fixed that - and carried >>> on >>> very quickly and easily. >>> >>> Of course, i could have got around it other ways (Dropbox had the >>> previously saved 'good' copy, etc.) but the convenience of just Undo-ing >>> was very helpful. >>> >>> -- Alex. >>> >>> >>> On 04/08/2012 01:55, Mark Wieder wrote: >>> >>> Bob- >>>> >>>> Friday, August 3, 2012, 8:38:03 AM, you wrote: >>>> >>>> No no problem, it's just that it's fairly typical to only be able >>>> >>>>> to undo back to the last save. I can see myself in a fit of undo's >>>>> after making some horrible coding error that made everything go >>>>> wrong, hitting undo lots of times. I guess I will have to avoid >>>>> that. :-) >>>>> >>>>> OK. I'll put that on my to-do list. I was thinking that keeping the >>>> undo list back as far as possible was a benefit, but I can't come up >>>> with much of a use case where I'd want to keep it past the last save. >>>> >>>> >>>> ______________________________****_________________ >>> >>> use-livecode mailing list >>> use-livecode 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 pete at lcsql.com Sat Aug 4 20:14:08 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Aug 2012 17:14:08 -0700 Subject: Closing/Removing a stack from memory Message-ID: Unless I'm missing something, closing and removing a stack from memory does not trigger a closeStack message. That seems really strange to me but be that as it may, is there some other message that can be used to trap when that happens? Pete lcSQL Software From harrison at all-auctions.com Sat Aug 4 20:22:01 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 4 Aug 2012 20:22:01 -0400 Subject: Disable "Copy Select-All Define" in iOS Scroller? In-Reply-To: References: , , , , <166E3D17-FF17-4881-8995-B32EBE448FC0@all-auctions.com>, Message-ID: <90DD6C92-A2DD-4CAD-88E8-1695935DD39A@all-auctions.com> Hi Dixie, Thanks for trying! I hope someone comes along with a solution. Thanks again. Rick On Aug 4, 2012, at 4:54 PM, John Dixon wrote: > > > > Rick... > Ignore my posts... all I did was disable it... I'm going to shut up ! > >> Rick... >> >> iphoneControlSet inputID, "enabled", "false" has worked for me...:-) From capellan2000 at gmail.com Sat Aug 4 21:41:25 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 18:41:25 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <501DB1DC.3040108@tweedly.net> References: <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> Message-ID: <1344130885085-4653388.post@n4.nabble.com> Hi Alex and Peter, Alex Tweedly wrote > > [snip] > you could maybe consider extending lcStackDiff to > cover .lc and .livecode text files as well as scripts > within stacks. > This would be excellent! Could you extend this script to produce the differences between the text of two elements in an array? For example tArray[1] contains text and tArray[2] contains the same text of tArray[1] with only some small changes and possibly some additions. Could your script compare both versions and keep the differences only in tArray[2]? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653388.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 4 21:51:27 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 18:51:27 -0700 (PDT) Subject: Android fragmentation not so serious, says study Message-ID: <1344131487539-4653389.post@n4.nabble.com> Read the article here: http://www.linuxfordevices.com/c/a/News/Localytics-Android-usage-study/ "According to study, 73 percent of Android handsets tracked by Localytics run Android 2.3 ("Gingerbread") and 23 percent still run Android 2.2 ("Froyo")" "Addressing the concern that Android developers must write code to fit varying screen sizes and resolutions, Localytics said a resolution of 800 x 480 pixels accounted for 62 percent of resolution specs." And this related article: Android platform fragmentation is worrisome to mobile developers. Developers have expressed concern about their ability to write for the platform and make money... http://www.linuxfordevices.com/c/a/News/Baird-mobile-developer-survey/ Of course visit the host site :-) http://www.linuxfordevices.com Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Android-fragmentation-not-so-serious-says-study-tp4653389.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sat Aug 4 21:56:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Aug 2012 18:56:10 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344130885085-4653388.post@n4.nabble.com> References: <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> Message-ID: Hi Alejandro, In theory, yes that could be done. Are you wanting to compare two arrays that are stored somehwre in two stack files, custom properties perhaps? Or are the arrays in script variables? If the latter, I couldn't do that within the bounds of lcStackDiff but I might be able to pull out the code that does the compare and put it into another stack that would allow you to select the text to compare from wherever you wanted. Pete lcSQL Software On Sat, Aug 4, 2012 at 6:41 PM, Alejandro Tejada wrote: > This would be excellent! > Could you extend this script to produce > the differences between the text of two > elements in an array? > For example tArray[1] contains text > and tArray[2] contains the same text > of tArray[1] with only some small changes > and possibly some additions. > Could your script compare both versions and > keep the differences only in tArray[2]? > > Thanks in advance! > From pete at lcsql.com Sat Aug 4 21:56:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 4 Aug 2012 18:56:10 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344130885085-4653388.post@n4.nabble.com> References: <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> Message-ID: Hi Alejandro, In theory, yes that could be done. Are you wanting to compare two arrays that are stored somehwre in two stack files, custom properties perhaps? Or are the arrays in script variables? If the latter, I couldn't do that within the bounds of lcStackDiff but I might be able to pull out the code that does the compare and put it into another stack that would allow you to select the text to compare from wherever you wanted. Pete lcSQL Software On Sat, Aug 4, 2012 at 6:41 PM, Alejandro Tejada wrote: > This would be excellent! > Could you extend this script to produce > the differences between the text of two > elements in an array? > For example tArray[1] contains text > and tArray[2] contains the same text > of tArray[1] with only some small changes > and possibly some additions. > Could your script compare both versions and > keep the differences only in tArray[2]? > > Thanks in advance! > From jacque at hyperactivesw.com Sat Aug 4 22:19:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Aug 2012 21:19:32 -0500 Subject: when sent a message, the target can't find itself! In-Reply-To: References: <501D9B19.402@hyperactivesw.com> Message-ID: <501DD834.8080500@hyperactivesw.com> On 8/4/12 5:37 PM, Dr. Hawkins wrote: > The catch is that the handler has no advance knowledge of what field > or card it can be called from--I'm trying to make something generic > that can add a currency formatted value to a field that already > contains a currency formatted value. It doesn't matter. The "long name" of anything always contains an object reference. In the case of a field, it will always contain the word "field". The long name of a button will always contain the word "button". > My real need is the very narrow issue of a handler pulling the value > of the field that called it, and then putting something back in. It > seems that this should take one line of code, not 8 or 10. Try it this way: get the value of the target add 45 to it put it into the target Or in one line: put 45 + the value of the target into the target Or even shorter (omission of "the" is intentional): put 45 + target into the target The "target" changes frequently. I've lost track of exactly what your scripts do, but generally it's safer to store the target in a variable immediately and work with that, rather than depend on it remaining the same for any length of time. Some of the failures you're seeing may be because the target has changed unexpectedly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sat Aug 4 22:32:40 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 19:32:40 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> Message-ID: <1344133960029-4653392.post@n4.nabble.com> Hi Peter, Peter Haworth wrote > > [snip] > In theory, yes that could be done. > > Are you wanting to compare two arrays that are stored somehwre in two > stack > files, custom properties perhaps? Or are the arrays in script variables? > > If the latter, I couldn't do that within the bounds of lcStackDiff but I > might be able to pull out the code that does the compare and put it into > another stack that would allow you to select the text to compare from > wherever you wanted. > It's a single array in the Undo code posted by Mark Wieder: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-td4653241.html#a4653249 Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653392.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Aug 4 22:34:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 04 Aug 2012 21:34:16 -0500 Subject: when sent a message, the target can't find itself! In-Reply-To: <501DD834.8080500@hyperactivesw.com> References: <501D9B19.402@hyperactivesw.com> <501DD834.8080500@hyperactivesw.com> Message-ID: <501DDBA8.7040000@hyperactivesw.com> > On 8/4/12 5:37 PM, Dr. Hawkins wrote: > > My real need is the very narrow issue of a handler pulling the value > of the field that called it, and then putting something back in. It > seems that this should take one line of code, not 8 or 10. The more I think about it, the less I think "the target" is what you want. The target is the the first object to receive a message in a sequence of events; in this case the field is not receiving any messages, it is generating them. Instead of having the generic handler try to figure out the object reference, it should receive it in a parameter. The field should call the handler using something like this: doAdd the long name of me The generic handler then does this: on doAdd pFldLongName put the value of pFldLongName + 45 into pFldLongName end doAdd -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Sat Aug 4 22:46:28 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 4 Aug 2012 22:46:28 -0400 Subject: when sent a message, the target can't find itself! In-Reply-To: <501DD834.8080500@hyperactivesw.com> References: <501D9B19.402@hyperactivesw.com> <501DD834.8080500@hyperactivesw.com> Message-ID: <43B736BF-DA46-483E-AED4-1EB0BB40511B@gmail.com> On Aug 4, 2012, at 10:19 PM, J. Landman Gay wrote: >> The catch is that the handler has no advance knowledge of what field >> or card it can be called from--I'm trying to make something generic >> that can add a currency formatted value to a field that already >> contains a currency formatted value. > > It doesn't matter. The "long name" of anything always contains an object reference. In the case of a field, it will always contain the word "field". The long name of a button will always contain the word "button". The real usefulness of the long name of a control (or card, or stack) is that it is in itself a complete object reference. So: put the long name of fle "xxx" into tFldRef put "Let's put something in to field xxx" into tFldRef puts "Let's put something in to field xxx" into the field. A long ID or long name is always a complete object reference by itself. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From capellan2000 at gmail.com Sat Aug 4 23:17:08 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 4 Aug 2012 20:17:08 -0700 (PDT) Subject: Looking for post-secondary student coders for prototype dev In-Reply-To: <501D98C9.4090400@3open.ca> References: <501D98C9.4090400@3open.ca> Message-ID: <1344136628186-4653395.post@n4.nabble.com> Hi David, "For mobile prototypes we have no set capacities and are open to suggested platforms. Our preference, for budget reasons, would be mobile-web or cross platform frameworks." This spec opens a world of possibilities. :-) But this is the part more interesting: "We will employ 'lightweight' and agile practices and (because the prototypes are not intended for production use) we will favour speed and simplicity of development over architectural robustness. The prototypes must function properly for the user but need not scale nor be relied upon for mission-critical processes." Yes, in 3 months most developers of this platform could produce a polished application in their area of expertise. Hopefully there will be many takers from this platform, but I found this requirement difficult to understand: "develop specified prototypes (for demonstration purposes only, non-production) of web, mobile and desktop software that shows the potential for standards-based productivity for stakeholders in the research community" In plain words, What does that means? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-post-secondary-student-coders-for-prototype-dev-tp4653375p4653395.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sat Aug 4 23:20:35 2012 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 04 Aug 2012 23:20:35 -0400 Subject: Push Notification on on-rev Message-ID: <8D103848-03BD-448B-B2BE-CC4184DC8B28@mac.com> Has anyone actually set up push notifications on on-rev ? I am trying to figure this out with not much luck. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From lan.kc.macmail at gmail.com Sat Aug 4 23:27:10 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 5 Aug 2012 11:27:10 +0800 Subject: when sent a message, the target can't find itself! In-Reply-To: References: <501D9B19.402@hyperactivesw.com> Message-ID: On Sun, Aug 5, 2012 at 6:37 AM, Dr. Hawkins wrote: > > In several places, the names of the fields are actually being > constructed by string manipulation (e.g., val_sbt comes from [ fldNam > & "_sbt" ], and then I want to add the $123.45 in val (or possibly > fld fal) to the $852.87 already in fld_sbt.) > > OK let me try and explain this again. Whilst it is possible to add a number to 'the target', as you've discovered if you take 'the target' and then try to build a reference to another field you can't use the same syntax to add a number to it: put the long name of the target into tStartFldName -- field "fld1" of card "cd1" of stack "stk1" put Value(the target) into tAmount -- 50 put tStartFldName into tSummaryFldName put quote & "Sum" & quote into word 2 of tSummaryFldName put quote & "Sum" & quote into word 5 of tSummaryFldName put quote & "Sum" & quote into word 8 of tSummaryFldName -- field "Sum" of card "Sum" of stack "Sum" You can't: put tAmount into tSummaryFldName All that happens is tSummaryFldName now contains 50 rather than putting 50 into the field. Now some have suggested that the problem is that tSummaryFldName already contains the word 'field' so you can't put tAmount into field tSummaryFldName But it doesn't matter if you: put word 2 to -1 of tSummaryFldName into tSummaryFldName -- "Sum" of card "Sum" of stack "Sum" put tAmount into field tSummaryFldName results in an execution error 'no such object' (at least is does for me with Rev 5.5.1 on OS X 10.6.8) BUT, if we go back to the situation where tSummaryFldName contains a full name reference: field "Sum" of card "Sum" of stack "Sum" then you can: set tSummaryFldName to tAmount This is the same syntax you'd use if you wanted to change the 'visible' or 'lockText', or any other property/custom property of a field. So, as I said in a previous post, treat the numbers in each field the same as you would if you were trying to get and set any other property of that field. So as long as you correctly build your full name references, with all the quotes in the right place, it is possible to create a generic math handler that will work regardless of where the numbers are coming from and where you want them to go. HTH From lan.kc.macmail at gmail.com Sat Aug 4 23:32:39 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 5 Aug 2012 11:32:39 +0800 Subject: when sent a message, the target can't find itself! In-Reply-To: <43B736BF-DA46-483E-AED4-1EB0BB40511B@gmail.com> References: <501D9B19.402@hyperactivesw.com> <501DD834.8080500@hyperactivesw.com> <43B736BF-DA46-483E-AED4-1EB0BB40511B@gmail.com> Message-ID: On Sun, Aug 5, 2012 at 10:46 AM, Peter M. Brigham wrote: > > The real usefulness of the long name of a control (or card, or stack) is > that it is in itself a complete object reference. So: > > put the long name of fle "xxx" into tFldRef > put "Let's put something in to field xxx" into tFldRef > > puts "Let's put something in to field xxx" into the field. > > Not on my system, if I did the above tFldRef will now equal Let's put something in to field xxx tFldRef is a variable, when you put something into a variable the variable contents change. Or am I missing something? From kgjaqua1 at sbcglobal.net Sat Aug 4 23:41:52 2012 From: kgjaqua1 at sbcglobal.net (Kathy Jaqua) Date: Sat, 4 Aug 2012 20:41:52 -0700 (PDT) Subject: scroll ball or wheel script Message-ID: <1344138112.4639.YahooMailRC@web181405.mail.ne1.yahoo.com> Hi Scott Morrow, Your script was just what I needed. Wow, I am really grateful. I am late to respond-I fell asleep :) Kathy Graves Jaqua kgjaqua1 at sbcglobal.net From lan.kc.macmail at gmail.com Sun Aug 5 00:00:11 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 5 Aug 2012 12:00:11 +0800 Subject: when sent a message, the target can't find itself! In-Reply-To: References: <501D9B19.402@hyperactivesw.com> Message-ID: On Sun, Aug 5, 2012 at 11:27 AM, Kay C Lan wrote: > put quote & "Sum" & quote into word 8 of tSummaryFldName > -- field "Sum" of card "Sum" of stack "Sum" > > Whoops, a gotcha, if you need to refer to a substack of a mainstack then it's name would be (assuming the main stack is called "Stk1" field "Sum" of card "Sum" of stack "Sum" of stack "Stk1" You need to include the reference of the mainstack. If you have the logic that can build the long reference to the fields involved, then you can use get/set syntax to do the math. HTH From bvlahos at mac.com Sun Aug 5 01:24:31 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 04 Aug 2012 22:24:31 -0700 Subject: Closing/Removing a stack from memory In-Reply-To: References: Message-ID: Pete, You are correct. Geoff Canyon showed me that lock messages is set before the stack is closed and removed from memory so the closeStack message is never sent. Fortunately Shao Sean pointed out the command revIDEHandleObjectDeleted is sent. This is what I use in a front script in my lcTaskList plugin. command revIDEHandleObjectDeleted pObject if the first word of pObject is "stack" then put the short name of pObject into vTarget if vTarget begins with "rev" then --skip Rev's stacks and dialogs --do you action here end if end if pass revIDEHandleObjectDeleted end revIDEHandleObjectDeleted 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) On Aug 4, 2012, at 5:14 PM, Peter Haworth wrote: > Unless I'm missing something, closing and removing a stack from memory does > not trigger a closeStack message. That seems really strange to me but be > that as it may, is there some other message that can be used to trap when > that happens? > 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 ambassador at fourthworld.com Sun Aug 5 01:51:17 2012 From: ambassador at fourthworld.com (ambassador at fourthworld.com) Date: Sat, 04 Aug 2012 22:51:17 -0700 Subject: when sent a message, the target can't find itself! Message-ID: <5a419cda4f7b8055de9b5edf181f1612@fourthworld.com> Kay C Lan > tFldRef will now equal Let's put something in to field xxx > > tFldRef is a variable, when you put something into a variable > the variable contents change. The "put" command is handy for many things, but its use in HyperCard to allow setting values in objects lent itself to ambiguity, and LiveCode's faithful following of that tradition means that from time to time we'll see people stuck with cumbersome expressions requiring a lot of concatenation, "quote"e" stuff, and a "do" command. A simpler habit to get into with LC, one that can withstand any form of valid object reference, is to use the property form instead with "set": set the text of tFldRef to tSomeValue -- 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 janschenkel at yahoo.com Sun Aug 5 06:23:01 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 5 Aug 2012 03:23:01 -0700 (PDT) Subject: HTTP authentication configuration with on-rev Message-ID: <1344162181.65701.YahooMailNeo@web160906.mail.bf1.yahoo.com> Hi all, Can anyone give pointers on how to configure two directories with HTTP Basic and Digest authentication with the on-rev servers? I've been looking at various web pages describing what to put into .htaccess files but can't get it to work properly. My goal is to test my new HTTP library authentication support and provide an online demo for it. Thanks in advance, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From maarten.koopmans at gmail.com Sun Aug 5 09:39:39 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Sun, 5 Aug 2012 15:39:39 +0200 Subject: [ANN] Livecode iCloud iOS external Message-ID: Hi, After a weekend of documenting I'm happy to announce the immediate availability of miCloud - an iCloud external for iOS. With it, you can: - get your app name, team prefix, bundle identifier - put files in your app's container - manipulate and query the apps container - put files in a shared container across apps - so you have shared data across iOS apps - manipulate and query the shared container - put files in a container or shared container up for download for two weeks Read more: http://maartenkoopmans.com/miCloudManual.pdf Introductory price until August 19 is only $49. You can get it at http://maartenkoopmans.com/micloud Enjoy, Maarten From pmbrig at gmail.com Sun Aug 5 09:43:10 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 5 Aug 2012 09:43:10 -0400 Subject: when sent a message, the target can't find itself! In-Reply-To: References: <501D9B19.402@hyperactivesw.com> <501DD834.8080500@hyperactivesw.com> <43B736BF-DA46-483E-AED4-1EB0BB40511B@gmail.com> Message-ID: On Aug 4, 2012, at 11:32 PM, Kay C Lan wrote: > On Sun, Aug 5, 2012 at 10:46 AM, Peter M. Brigham wrote: > >> The real usefulness of the long name of a control (or card, or stack) is >> that it is in itself a complete object reference. So: >> >> put the long name of fle "xxx" into tFldRef >> put "Let's put something in to field xxx" into tFldRef >> >> puts "Let's put something in to field xxx" into the field. > > Not on my system, if I did the above > > tFldRef will now equal Let's put something in to field xxx > > tFldRef is a variable, when you put something into a variable the variable > contents change. > > Or am I missing something? No, my bad. You are correct re putting something into the variable. What you *can* do is: set the text of tFldRef to "Let's put something in to field xxx" Then if you try: put tFldRef contains "something" you get "false" since tFldRef contains the long ID not the string we put in the field. However, you can do this: put value(tFldRef) contains "something" and get "true." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Sun Aug 5 10:07:44 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Aug 2012 07:07:44 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344130885085-4653388.post@n4.nabble.com> References: <1344130885085-4653388.post@n4.nabble.com> Message-ID: <501E7E30.3070001@fourthworld.com> Alejandro Tejada wrote: > Could you extend this script to produce > the differences between the text of two > elements in an array? > For example tArray[1] contains text > and tArray[2] contains the same text > of tArray[1] with only some small changes > and possibly some additions. This may help: function MergeArray pSourceA, pDeltaA -- Merges the elements in the array pDeltaA with -- the array pSourceA, returning an array which -- contains the values of pDeltaA for any key -- which is also in pSourceA, and any keys in -- pDeltaA which are not in pSourceA are added: -- repeat for each key tKey in pDeltaA put pDeltaA[tKey] into pSourceA[tKey] end repeat return pSourceA end MergeArray -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Sun Aug 5 10:20:14 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Aug 2012 07:20:14 -0700 Subject: Android fragmentation not so serious, says study In-Reply-To: <1344131487539-4653389.post@n4.nabble.com> References: <1344131487539-4653389.post@n4.nabble.com> Message-ID: <501E811E.6060101@fourthworld.com> Alejandro Tejada wrote: > Read the article here: > http://www.linuxfordevices.com/c/a/News/Localytics-Android-usage-study/ > > "According to study, 73 percent of Android handsets tracked by Localytics > run Android 2.3 ("Gingerbread") and 23 percent still run Android 2.2 > ("Froyo")" > "Addressing the concern that Android developers must write code to fit > varying screen sizes and resolutions, Localytics said a resolution of > 800 x 480 pixels accounted for 62 percent of resolution specs." Thanks for that, Alejandro. I also liked this line from the article, which chimes with the anecdotal comments from friends and family who use Android devices: ...it's not common to hear consumers complain about having too much choice, and still relatively rare to hear complaints about apps that work on one OS build but not the other... The difference between "fragmentation" and "diversity" depends on which marketing team is speaking at the time. ;) The importance of resolution-independence became clear to Microsoft back in the '90s, and by now most OSes support it. Every OS provides features not available in previous releases, and every OS has a cutoff on supported devices such that older devices will not have access to those new features. Neither of these factors is unique to mobile development, and certainly not unique to Android. Any platform vendor encouraging developers to assume that one-size-fits-all solutions will satisfy an ever more diverse audience would be making a critical mistake. Fortunately we're not seeing that, not even from Apple. Screen size, resolution, and OS features will vary across the devices for any platform. This has been true since the earliest days of consumer computing, and there's no reason to believe it will ever be any different. -- 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 david at 3open.ca Sun Aug 5 11:51:43 2012 From: david at 3open.ca (David Baker (3open)) Date: Sun, 05 Aug 2012 11:51:43 -0400 Subject: Looking for post-secondary student coders for prototype dev In-Reply-To: <1344136628186-4653395.post@n4.nabble.com> References: <501D98C9.4090400@3open.ca> <1344136628186-4653395.post@n4.nabble.com> Message-ID: <501E968F.4000206@3open.ca> Hi Al, CASRAI is a standards development organization so the reference means that the prototypes built will, among other typical software and UI features, consume and produce CASRAI-compliant XML. A coder does not have to be an expert in CASRAI at the start, they just need to have some understanding of XML as an input/output of the prototypes. You can learn more about CASRAI in this short video: http://www.youtube.com/watch?v=Gmx7U9-i3Gg Are you a potential candidate? or are you writing on behalf of other students you be be able to direct to us? D On 12-08-04 11:17 PM, Alejandro Tejada wrote: > Hi David, > > "For mobile prototypes we have no set capacities and > are open to suggested platforms. Our preference, > for budget reasons, would be mobile-web or cross platform > frameworks." > > This spec opens a world of possibilities. :-) > But this is the part more interesting: > > "We will employ 'lightweight' and agile practices and > (because the prototypes are not intended for production use) > we will favour speed and simplicity of development over > architectural robustness. The prototypes must function > properly for the user but need not scale nor be relied upon > for mission-critical processes." > > Yes, in 3 months most developers of this platform could > produce a polished application in their area of expertise. > > Hopefully there will be many takers from this platform, > but I found this requirement difficult to understand: > > "develop specified prototypes (for demonstration purposes > only, non-production) of web, mobile and desktop software > that shows the potential for standards-based productivity > for stakeholders in the research community" > > In plain words, What does that means? > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-post-secondary-student-coders-for-prototype-dev-tp4653375p4653395.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 Sun Aug 5 13:01:47 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 10:01:47 -0700 Subject: Closing/Removing a stack from memory In-Reply-To: References: Message-ID: Bill, Thanks a lot for this, that helps my project a lot. It sounds like some time browsing the IDE code would probably be useful. I'm running into another font script issue which maybe the collective knowledge on this list can solve. My front script includes a newStack handler. At one point in the processing of that message, I check the CardIDs of the new stack - they're empty. I also have a newCard handler in the front script and it never fires. My assumption now is that lock messages prevents the new card message from being sent when the new card for the new stack is created. Any thoughts? Pete lcSQL Software On Sat, Aug 4, 2012 at 10:24 PM, Bill Vlahos wrote: > Pete, > > You are correct. Geoff Canyon showed me that lock messages is set before > the stack is closed and removed from memory so the closeStack message is > never sent. > > Fortunately Shao Sean pointed out the command revIDEHandleObjectDeleted is > sent. This is what I use in a front script in my lcTaskList plugin. > > command revIDEHandleObjectDeleted pObject > if the first word of pObject is "stack" then > put the short name of pObject into vTarget > if vTarget begins with "rev" then --skip Rev's stacks and dialogs > --do you action here > end if > end if > pass revIDEHandleObjectDeleted > end revIDEHandleObjectDeleted > > 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) > > On Aug 4, 2012, at 5:14 PM, Peter Haworth wrote: > > > Unless I'm missing something, closing and removing a stack from memory > does > > not trigger a closeStack message. That seems really strange to me but be > > that as it may, is there some other message that can be used to trap when > > that happens? > > 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 monte at sweattechnologies.com Sun Aug 5 16:30:35 2012 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 6 Aug 2012 06:30:35 +1000 Subject: [ANN] Livecode iCloud iOS external In-Reply-To: References: Message-ID: Well done Maarten! -- M E R Goulding Software development services mergExt - There's an external for that! On 05/08/2012, at 11:39 PM, Maarten Koopmans wrote: > Hi, > > After a weekend of documenting I'm happy to announce the immediate > availability of miCloud - an iCloud external for iOS. > > With it, you can: > > - get your app name, team prefix, bundle identifier > - put files in your app's container > - manipulate and query the apps container > - put files in a shared container across apps - so you have shared > data across iOS apps > - manipulate and query the shared container > - put files in a container or shared container up for download for two weeks > > Read more: http://maartenkoopmans.com/miCloudManual.pdf > > Introductory price until August 19 is only $49. > > You can get it at http://maartenkoopmans.com/micloud > > Enjoy, > > Maarten > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sun Aug 5 17:23:34 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 5 Aug 2012 14:23:34 -0700 (PDT) Subject: Looking for post-secondary student coders for prototype dev In-Reply-To: <501E968F.4000206@3open.ca> References: <501D98C9.4090400@3open.ca> <1344136628186-4653395.post@n4.nabble.com> <501E968F.4000206@3open.ca> Message-ID: <1344201814560-4653411.post@n4.nabble.com> Hi Dave, David Baker (3open) wrote > > CASRAI is a standards development organization so the reference means > that the prototypes built will, among other typical software and UI > features, consume and produce CASRAI-compliant XML. A coder does not > have to be an expert in CASRAI at the start, they just need to have some > understanding of XML as an input/output of the prototypes. > Ah... Ken Ray published a XML library. He is an expert in this platform. David Baker (3open) wrote > > Are you a potential candidate? or are you writing on > behalf of other students you be be able to direct to us? > I am not a student, but will send the link to some of the students of the project where I worked. Many thanks for answering my question! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-post-secondary-student-coders-for-prototype-dev-tp4653375p4653411.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Aug 5 17:45:19 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 5 Aug 2012 14:45:19 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <501E7E30.3070001@fourthworld.com> References: <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> Message-ID: <1344203119400-4653412.post@n4.nabble.com> Richard Gaskin wrote > > This may help: > > function MergeArray pSourceA, pDeltaA > -- Merges the elements in the array pDeltaA with > -- the array pSourceA, returning an array which > -- contains the values of pDeltaA for any key > -- which is also in pSourceA, and any keys in > -- pDeltaA which are not in pSourceA are added: > -- > repeat for each key tKey in pDeltaA > put pDeltaA[tKey] into pSourceA[tKey] > end repeat > return pSourceA > end MergeArray > Great! This will be really helpful:-D How could I do the same with elements of the same Array? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653412.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Aug 5 17:49:19 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 5 Aug 2012 14:49:19 -0700 (PDT) Subject: Android fragmentation not so serious, says study In-Reply-To: <501E811E.6060101@fourthworld.com> References: <1344131487539-4653389.post@n4.nabble.com> <501E811E.6060101@fourthworld.com> Message-ID: <1344203359274-4653413.post@n4.nabble.com> I could just imagine the headaches of early software GUI designers choosing colors for a Color interface that looks correctly in a grayscale monitor too... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Android-fragmentation-not-so-serious-says-study-tp4653389p4653413.html Sent from the Revolution - User mailing list archive at Nabble.com. From 3mcgrath at comcast.net Sun Aug 5 17:58:11 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 5 Aug 2012 17:58:11 -0400 Subject: Push Notification on on-rev In-Reply-To: <8D103848-03BD-448B-B2BE-CC4184DC8B28@mac.com> References: <8D103848-03BD-448B-B2BE-CC4184DC8B28@mac.com> Message-ID: Alrighty then, How can I send a push notification from within livecode 'without' using the shell command - like from within an iPad app? Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Aug 4, 2012, at 11:20 PM, Thomas McGrath III wrote: > Has anyone actually set up push notifications on on-rev ? I am trying to figure this out with not much luck. > > Thanks > > Tom > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 3mcgrath at comcast.net Sun Aug 5 17:59:04 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Sun, 5 Aug 2012 17:59:04 -0400 Subject: Push Notification on on-rev In-Reply-To: References: <8D103848-03BD-448B-B2BE-CC4184DC8B28@mac.com> Message-ID: <2437394F-61E8-461D-86DF-73517C72F205@comcast.net> Alrighty then, How can I send a push notification from within livecode 'without' using the shell command - like from within an iPad app? By not using this line of code: get shell("cat Notification.bin | openssl s_client -connect" && tHost & ":" & \ tPort && "-cert" && tCert && "-pass pass:" & tPassphrase) Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com From ambassador at fourthworld.com Sun Aug 5 17:59:15 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Aug 2012 14:59:15 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344203119400-4653412.post@n4.nabble.com> References: <1344203119400-4653412.post@n4.nabble.com> Message-ID: <501EECB3.8040708@fourthworld.com> Alejandro Tejada wrote: > Richard Gaskin wrote >> >> This may help: >> >> function MergeArray pSourceA, pDeltaA >> -- Merges the elements in the array pDeltaA with >> -- the array pSourceA, returning an array which >> -- contains the values of pDeltaA for any key >> -- which is also in pSourceA, and any keys in >> -- pDeltaA which are not in pSourceA are added: >> -- >> repeat for each key tKey in pDeltaA >> put pDeltaA[tKey] into pSourceA[tKey] >> end repeat >> return pSourceA >> end MergeArray >> > > Great! This will be really helpful:-D > How could I do the same with elements > of the same Array? I'm not sure I follow, since the keys of an array will be unique so there will be no opportunity to find matching keys within the same array. If you just want matching values maybe you could write a loop that walks through each element and turns that element into a hash with sha1Digest to use as a key in the resulting array. Two issues there, though: 1. I think using nulls in array keys may be verboten, so you'd probably want to run the sha1 hash through base64Enode to use as a key. 2. You'll have to decide how to handle the original key names. They'll be lost in this method, but if the point is to consolidate values regardless of key maybe the key name doesn't matter. -- 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 Sun Aug 5 18:43:49 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 15:43:49 -0700 Subject: Preferences Lost Message-ID: I just experienced a strange happening using LC 5.5.0. I got a run time error on one of my scripts and the IDE hung to the extent that I had to force quit it. Fortunately, I've become used to these hangs and had saved everything right before it happened. However, when I restarted LC, all my preferences were gone. The User extensions folder name in Preferences had reverted to the default and I don't use the default. Simple enough to get things back by changing the user extensions folder to the right place but has anyone else experienced this? Pete lcSQL Software From pmbrig at gmail.com Sun Aug 5 19:24:51 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 5 Aug 2012 19:24:51 -0400 Subject: Looking for post-secondary student coders for prototype dev In-Reply-To: <501E968F.4000206@3open.ca> References: <501D98C9.4090400@3open.ca> <1344136628186-4653395.post@n4.nabble.com> <501E968F.4000206@3open.ca> Message-ID: On Aug 5, 2012, at 11:51 AM, David Baker (3open) wrote: > CASRAI is a standards development organization? As someone once said, "The great thing about standards in computing is that there are so many of them." -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pete at lcsql.com Sun Aug 5 19:28:49 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 16:28:49 -0700 Subject: [ANN] lcStackBrowser Beta testers needed Message-ID: I'm looking for a few beta testers for my latest plugin, lcStackBrowser. lcStackBrowser is an alternative to the IDE's Application Browser. Some of the major features are: - Tree view of stacks, substacks, cards, groups, and controls, all of which can be expanded or collapsed. - Icons to identify different control subtypes (scrolling field, list field, table, option menu, combo box ,etc) - Single click access to inspector and script editor for all objects - Single click enabling/disabling of objects - Popup menu access to all true/false properties for any object type - Popup menu access to common actions such as new substack, new card, change mainstack, copy/move substack to a different mainstack, copy/move card to a different stack, etc. - Drag and drop controls to either re-layer them and add/remove them from groups - Directly edit nested groups without going through their higher level groups - Options to sort stacks, cards, and controls in several ways - Optional front script to keep lcStackBrowser updated when objects are created, deleted, renamed, etc outside its control. - Switch between browse and edit mode I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to find a few volunteers for other versions of OS X, Windows, and Linux. Please contact me off list. if you have time to exercise this plugin for me over the next couple of weeks. Thanks, Pete lcSQL Software From pete at lcsql.com Sun Aug 5 19:29:49 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 16:29:49 -0700 Subject: Looking for post-secondary student coders for prototype dev In-Reply-To: References: <501D98C9.4090400@3open.ca> <1344136628186-4653395.post@n4.nabble.com> <501E968F.4000206@3open.ca> Message-ID: The thing is, who sets the standards for developing standards, and have they done it before? Pete lcSQL Software On Sun, Aug 5, 2012 at 4:24 PM, Peter M. Brigham wrote: > On Aug 5, 2012, at 11:51 AM, David Baker (3open) wrote: > > > CASRAI is a standards development organization? > > As someone once said, "The great thing about standards in computing is > that there are so many of them." > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sun Aug 5 20:10:15 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 5 Aug 2012 17:10:15 -0700 (PDT) Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: References: Message-ID: <1344211815818-4653421.post@n4.nabble.com> Hi Peter, Peter Haworth wrote > > I'm looking for a few beta testers for my latest plugin, lcStackBrowser. > [snip] > I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to > find a few volunteers for other versions of OS X, Windows, and Linux. > Please contact me off list. if you have time to exercise this plugin for > me > over the next couple of weeks. > Which IDE versions covers this plugin? 2.7 and up? 4.0 and up? 5.5 and up? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653421.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Aug 5 20:17:13 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Aug 2012 17:17:13 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344113749440-4653370.post@n4.nabble.com> References: <1343857009473-4653251.post@n4.nabble.com> <197421198953.20120801151601@ahsoftware.net> <1343862287232-4653255.post@n4.nabble.com> <134441331968.20120801205134@ahsoftware.net> <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <45E1E02E-983E-4EAA-BB87-EBC890281BB5@clarkeandclarke.co.uk> <1344113749440-4653370.post@n4.nabble.com> Message-ID: <176774071468.20120805171713@ahsoftware.net> Alejandro- Saturday, August 4, 2012, 1:55:49 PM, you wrote: > I agree that "allowing undos past the last save is a huge advantage." Well, this is turning out to be a more interesting conversation than I expected. At first I thought that unlimited undos was the holy grail of an undo mechanism. Then it appeared that there were complications with allowing undos past the last save - you do want to know where the last save point is so that you don't accidentally undo code that's already working and saved. So there are nuances to this that I hadn't originally thought through. My current thinking is to allow undos to the last save point without any additional trappings (obviously I have this already). A save of the current stack will place a "save" marker in the array, similar to the "count" marker that acts as an array index. If the count marker is greater than the save marker (the user has backtracked to a point before the last save) then either bring up a warning confirmation dialog or require a different set of keypresses... although I'm at a loss to decide what keys these should be... command-Z is undo, command-shift-Z is redo, command-option is already taken... I think I like the annoying confirmation dialog since it does do the disruptive step of making you think about what you're about to do, and I don't think the situation should come up all that often. -- -Mark Wieder mwieder at ahsoftware.net From pete at lcsql.com Sun Aug 5 20:28:14 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 17:28:14 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: <1344211815818-4653421.post@n4.nabble.com> References: <1344211815818-4653421.post@n4.nabble.com> Message-ID: I've done all my testing in 5.5.0 and spent a few minutes running it under 5.0 and 4.6 and 4.5. I don't think I'm using any LC features that have been recently introduced. The earliest version of LC I have is 4.5.2 so I can't go back any further than that. Pete lcSQL Software On Sun, Aug 5, 2012 at 5:10 PM, Alejandro Tejada wrote: > Hi Peter, > > > Peter Haworth wrote > > > > I'm looking for a few beta testers for my latest plugin, lcStackBrowser. > > [snip] > > I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to > > find a few volunteers for other versions of OS X, Windows, and Linux. > > Please contact me off list. if you have time to exercise this plugin for > > me > > over the next couple of weeks. > > > > Which IDE versions covers this plugin? > 2.7 and up? > 4.0 and up? > 5.5 and up? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653421.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 Sun Aug 5 20:28:14 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 5 Aug 2012 17:28:14 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: <1344211815818-4653421.post@n4.nabble.com> References: <1344211815818-4653421.post@n4.nabble.com> Message-ID: I've done all my testing in 5.5.0 and spent a few minutes running it under 5.0 and 4.6 and 4.5. I don't think I'm using any LC features that have been recently introduced. The earliest version of LC I have is 4.5.2 so I can't go back any further than that. Pete lcSQL Software On Sun, Aug 5, 2012 at 5:10 PM, Alejandro Tejada wrote: > Hi Peter, > > > Peter Haworth wrote > > > > I'm looking for a few beta testers for my latest plugin, lcStackBrowser. > > [snip] > > I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to > > find a few volunteers for other versions of OS X, Windows, and Linux. > > Please contact me off list. if you have time to exercise this plugin for > > me > > over the next couple of weeks. > > > > Which IDE versions covers this plugin? > 2.7 and up? > 4.0 and up? > 5.5 and up? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653421.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sun Aug 5 20:35:15 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 5 Aug 2012 17:35:15 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <501EECB3.8040708@fourthworld.com> References: <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> Message-ID: <1344213315522-4653424.post@n4.nabble.com> Richard Gaskin wrote > > I'm not sure I follow, since the keys of an array will be unique so > there will be no opportunity to find matching keys within the same array. > > If you just want matching values maybe you could write a loop that walks > through each element and turns that element into a hash with sha1Digest > to use as a key in the resulting array. > As I understand, GLX2 version 3.0.10 includes an Undo for everything that you wrote in the Script Editor. I am just trying to adapt this Undo code for vector graphics and all their attributes. If the code is well done, it could be extended to every control in the card, but first it's necessary to find a way to store only the differences between changed states. That is, a differential between each changed state. Could this be too difficult? Or Is this the wrong method to store previous States from a card, where the user could change control attributes and create or delete controls? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653424.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sun Aug 5 20:44:23 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 05 Aug 2012 17:44:23 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344213315522-4653424.post@n4.nabble.com> References: <1344213315522-4653424.post@n4.nabble.com> Message-ID: <501F1367.1090408@fourthworld.com> Alejandro Tejada wrote: > As I understand, GLX2 version 3.0.10 includes an Undo for everything > that you wrote in the Script Editor. I am just trying to adapt this Undo > code > for vector graphics and all their attributes. > > If the code is well done, it could be extended to every control in the card, > but first it's necessary to find a way to store only the differences between > changed states. That is, a differential between each changed state. > > Could this be too difficult? Or Is this the wrong method to store previous > States > from a card, where the user could change control attributes and create or > delete controls? For differences there would be two arrays, and each could be even more compact by storing only the deltas from the template object props. The resulting pair could be merged or handled any other way that could be useful with a reasonably efficient loop. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From mwieder at ahsoftware.net Sun Aug 5 21:31:09 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Aug 2012 18:31:09 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344213315522-4653424.post@n4.nabble.com> References: <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> Message-ID: <155778507875.20120805183109@ahsoftware.net> Alejandro- Sunday, August 5, 2012, 5:35:15 PM, you wrote: > As I understand, GLX2 version 3.0.10 includes an Undo for everything > that you wrote in the Script Editor. I am just trying to adapt this Undo > code > for vector graphics and all their attributes. > If the code is well done, it could be extended to every control in the card, > but first it's necessary to find a way to store only the differences between > changed states. That is, a differential between each changed state. > Could this be too difficult? Or Is this the wrong method to store previous > States > from a card, where the user could change control attributes and create or > delete controls? In glx2 I'm only concerned with undoing changes to the script, and so I'm storing the htmlText as a single array in a multidimensional array. Storing the properties could be as easy as adding one more dimension to the array. here pObject is the object whose properties you're interested in and pCount is the undo level (note the propertynames doesn't give you all the properties, but it's a start): repeat for each line tProperty in the propertynames try -- storing a property value into the array put the tProperty of pObject into tProp put tProp into sUndoPointArray[pObject][pCount][pProperty] -- or retrieving a property value from the array put sUndoPointArray[pObject][pCount][pProperty] into tProp catch e -- in a try/catch because some properties can't be set end try end repeat -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Aug 5 22:38:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 5 Aug 2012 19:38:53 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <155778507875.20120805183109@ahsoftware.net> References: <150517458921.20120802180021@ahsoftware.net> <4D0A3784-5DB1-44DE-90F9-E3E2A33CACBC@twft.com> <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> Message-ID: <22782571250.20120805193853@ahsoftware.net> oops- "single array in a multidimensional array" er... make that "single element in a multidimensional array" -- -Mark Wieder mwieder at ahsoftware.net From nm at studionm.pl Mon Aug 6 02:56:58 2012 From: nm at studionm.pl (Marek Niesiobedzki) Date: Mon, 6 Aug 2012 08:56:58 +0200 Subject: Simple script doesn't work Message-ID: But why it doesn't work without send? Could you explain it? Marek From nm at studionm.pl Mon Aug 6 07:00:40 2012 From: nm at studionm.pl (Marek Niesiobedzki) Date: Mon, 6 Aug 2012 13:00:40 +0200 Subject: [ANN] lcStackBrowser Beta testers needed Message-ID: <41F6AEF5-CCF6-4DD1-BD06-60089EF01CF2@studionm.pl> I can test it on Mac OS X (10.7 and 10.8), LC 5.5.1 Marek From bvlahos at mac.com Mon Aug 6 10:34:45 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 06 Aug 2012 07:34:45 -0700 Subject: The RunRev store In-Reply-To: References: Message-ID: <61B2ED3F-ADB1-4B81-9158-CD4B219FDC8F@mac.com> Pete, My program lcTaskList was just put on the store last Friday. It did take several months to get it there which was longer than I expected, but it did finally make it. http://www.runrev.com/store/product/lcTaskList/ Note for people who purchased it over the weekend: there was a problem with the download version that was posted. It has now been corrected and the right version is available now. 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) On Aug 3, 2012, at 10:50 AM, Peter Haworth wrote: > I have been trying for several months to get a couple of my apps accepted > to the RunRev store. I got an initial response about the process and T&C's > but have not heard anything since despite sending off the apps and sending > several emails to inquire about status, acceptance, rejection. > > Is this normal and if so, I wonder what the point of having a store is? > > 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 dan at clearvisiontech.com Mon Aug 6 12:08:32 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Aug 2012 09:08:32 -0700 Subject: Logging Device Tokens In-Reply-To: References: Message-ID: <1CCA13E7-5E35-4484-9CBF-9A950928BDC7@clearvisiontech.com> Question: How are you saving Device Tokens? I am working on adding Push Notifications to my app. I am able to create, send and receive the push notification (as a test) without issue. However, I can see that I am going to have to store the Device Tokens of all that use my app ? thousands, potentially millions of them! This seems crazy! And, you may have to store more about the user's settings (or app preferences) if the app will send a notice to some users and not others. Am I misunderstanding something? Is there something in place to deal with this? Or, am I to write my own mechanism that will log and store all users and their Device Token to some server. Presumably when the app receives the pushNotificationRegistered message. Before I do this all wrong, I thought I would pose the question here and see if anyone has any advise. Thank you in advance, -Dan From pete at lcsql.com Mon Aug 6 12:43:05 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 09:43:05 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: <41F6AEF5-CCF6-4DD1-BD06-60089EF01CF2@studionm.pl> References: <41F6AEF5-CCF6-4DD1-BD06-60089EF01CF2@studionm.pl> Message-ID: Thanks Marek. I will be sedining the stack out shortly. Pete lcSQL Software On Mon, Aug 6, 2012 at 4:00 AM, Marek Niesiobedzki wrote: > I can test it on Mac OS X (10.7 and 10.8), LC 5.5.1 > > Marek > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Mon Aug 6 13:04:58 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 6 Aug 2012 10:04:58 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <155778507875.20120805183109@ahsoftware.net> References: <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> Message-ID: <1344272698862-4653433.post@n4.nabble.com> Hi Mark, Look, for example, the contents of an element of the Undo Array. The Undo Array contains a xml description of all controls placed in a single card: The Unique Key for each control is the AltID of the control, that is set at the moment of its creation. So, always there is only one control with such AltID. You could ask: Why not use the ID of the control that always would be unique? Because, when you delete a control, its ID is gone too and if we need to recreate the control in the card, it would be necessary to create new controls that will have a new ID. The new option that allows to create a control with a previous ID is only available in more recent versions of Livecode, and I want that the stack works fine in all previous versions of this platform. If it is run in early versions, then antialiased graphics and gradients would not be available, but the core and basic functionality will work fine. The content of this unique array element would be like this: (XML from Geoff Canyon stack: mcRipper) ---------------------------------------------------------- false srcCopy true 0 0 58,102,146,240 0 true false 360 false false none 1019 false 3 0 true false 1 none false 15 false 0 4 round 2 true false 2 4 true true false 10 false round true 1343811387021 ------------------------------------------------------ In this context, Undo would restore a control to its previous properties or delete it (until Redo, put it back). Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653433.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Aug 6 13:17:56 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 6 Aug 2012 10:17:56 -0700 (PDT) Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: References: <1344211815818-4653421.post@n4.nabble.com> Message-ID: <1344273476469-4653434.post@n4.nabble.com> If you save the stack as version 2.7, then I could test it in the IDE v2.8.1 Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653434.html Sent from the Revolution - User mailing list archive at Nabble.com. From maarten.koopmans at gmail.com Mon Aug 6 13:20:18 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 6 Aug 2012 19:20:18 +0200 Subject: [ANN] Livecode iCloud iOS external In-Reply-To: References: Message-ID: Thanks! .... I just learnt that the PDF has a ton of spelling errors. Non-native and my soellchecker turns out to be broken. I'll update the manual soonish. So it'll be a collectors item ;-) --Maarten On Sunday, August 5, 2012, Monte Goulding wrote: > Well done Maarten! > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > > On 05/08/2012, at 11:39 PM, Maarten Koopmans > > wrote: > > > Hi, > > > > After a weekend of documenting I'm happy to announce the immediate > > availability of miCloud - an iCloud external for iOS. > > > > With it, you can: > > > > - get your app name, team prefix, bundle identifier > > - put files in your app's container > > - manipulate and query the apps container > > - put files in a shared container across apps - so you have shared > > data across iOS apps > > - manipulate and query the shared container > > - put files in a container or shared container up for download for two > weeks > > > > Read more: http://maartenkoopmans.com/miCloudManual.pdf > > > > Introductory price until August 19 is only $49. > > > > You can get it at http://maartenkoopmans.com/micloud > > > > Enjoy, > > > > Maarten > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 6 13:30:57 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 10:30:57 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: <1344273476469-4653434.post@n4.nabble.com> References: <1344211815818-4653421.post@n4.nabble.com> <1344273476469-4653434.post@n4.nabble.com> Message-ID: Hi Alejandro, I'll be saving all the stacks as version 2.7. WIll be interesting to see if it works OK in 2.8.1! I'll be sending the star out shortly. Pete lcSQL Software On Mon, Aug 6, 2012 at 10:17 AM, Alejandro Tejada wrote: > If you save the stack as version 2.7, > then I could test it in the IDE v2.8.1 > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653434.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 Mon Aug 6 13:30:57 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 10:30:57 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: <1344273476469-4653434.post@n4.nabble.com> References: <1344211815818-4653421.post@n4.nabble.com> <1344273476469-4653434.post@n4.nabble.com> Message-ID: Hi Alejandro, I'll be saving all the stacks as version 2.7. WIll be interesting to see if it works OK in 2.8.1! I'll be sending the star out shortly. Pete lcSQL Software On Mon, Aug 6, 2012 at 10:17 AM, Alejandro Tejada wrote: > If you save the stack as version 2.7, > then I could test it in the IDE v2.8.1 > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-lcStackBrowser-Beta-testers-needed-tp4653419p4653434.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 skip at magicgate.com Mon Aug 6 13:32:48 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 6 Aug 2012 13:32:48 -0400 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: References: Message-ID: I could test on Windows..... SKIP On Sun, Aug 5, 2012 at 7:28 PM, Peter Haworth wrote: > I'm looking for a few beta testers for my latest plugin, lcStackBrowser. > > lcStackBrowser is an alternative to the IDE's Application Browser. Some of > the major features are: > > - Tree view of stacks, substacks, cards, groups, and controls, all of > which can be expanded or collapsed. > - Icons to identify different control subtypes (scrolling field, list > field, table, option menu, combo box ,etc) > - Single click access to inspector and script editor for all objects > - Single click enabling/disabling of objects > - Popup menu access to all true/false properties for any object type > - Popup menu access to common actions such as new substack, new card, > change mainstack, copy/move substack to a different mainstack, copy/move > card to a different stack, etc. > - Drag and drop controls to either re-layer them and add/remove them > from groups > - Directly edit nested groups without going through their higher level > groups > - Options to sort stacks, cards, and controls in several ways > - Optional front script to keep lcStackBrowser updated when objects are > created, deleted, renamed, etc outside its control. > - Switch between browse and edit mode > > I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to > find a few volunteers for other versions of OS X, Windows, and Linux. > > Please contact me off list. if you have time to exercise this plugin for me > over the next couple of weeks. > > Thanks, > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Aug 6 14:04:01 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 Aug 2012 20:04:01 +0200 Subject: Dos Ascii to Windows Ansi or Mac Roman Message-ID: Hi, i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? Regards, Matthias From bobs at twft.com Mon Aug 6 14:10:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Aug 2012 11:10:10 -0700 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: References: Message-ID: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> The first 256 characters should be the same in both. Do you have characters that exceed the normal ASCII characters? Bob On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote: > Hi, > > i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? > > 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 henshaw at me.com Mon Aug 6 14:40:08 2012 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 06 Aug 2012 19:40:08 +0100 Subject: The RunRev store In-Reply-To: <61B2ED3F-ADB1-4B81-9158-CD4B219FDC8F@mac.com> References: <61B2ED3F-ADB1-4B81-9158-CD4B219FDC8F@mac.com> Message-ID: <6FA6B548-CDFD-4703-AD2F-D4C3DCE44D75@me.com> Thanks Bill, Ive just logged into the runrev store to view orders and it shows no updates are available. Should there be an update there?? Andy On 6 Aug 2012, at 15:34, Bill Vlahos wrote: > Pete, > > My program lcTaskList was just put on the store last Friday. It did take several months to get it there which was longer than I expected, but it did finally make it. > http://www.runrev.com/store/product/lcTaskList/ > > Note for people who purchased it over the weekend: there was a problem with the download version that was posted. It has now been corrected and the right version is available now. > > 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) > > On Aug 3, 2012, at 10:50 AM, Peter Haworth wrote: > >> I have been trying for several months to get a couple of my apps accepted >> to the RunRev store. I got an initial response about the process and T&C's >> but have not heard anything since despite sending off the apps and sending >> several emails to inquire about status, acceptance, rejection. >> >> Is this normal and if so, I wonder what the point of having a store is? >> >> 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 Mon Aug 6 14:52:39 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 11:52:39 -0700 Subject: [ANN] lcStackBrowser Beta testers needed In-Reply-To: References: Message-ID: Thanks Skip - my first Windows volunteer! I'll be sending out the stack shortly. Pete lcSQL Software On Mon, Aug 6, 2012 at 10:32 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > I could test on Windows..... > > SKIP > > On Sun, Aug 5, 2012 at 7:28 PM, Peter Haworth wrote: > > I'm looking for a few beta testers for my latest plugin, lcStackBrowser. > > > > lcStackBrowser is an alternative to the IDE's Application Browser. Some > of > > the major features are: > > > > - Tree view of stacks, substacks, cards, groups, and controls, all of > > which can be expanded or collapsed. > > - Icons to identify different control subtypes (scrolling field, list > > field, table, option menu, combo box ,etc) > > - Single click access to inspector and script editor for all objects > > - Single click enabling/disabling of objects > > - Popup menu access to all true/false properties for any object type > > - Popup menu access to common actions such as new substack, new card, > > change mainstack, copy/move substack to a different mainstack, > copy/move > > card to a different stack, etc. > > - Drag and drop controls to either re-layer them and add/remove them > > from groups > > - Directly edit nested groups without going through their higher level > > groups > > - Options to sort stacks, cards, and controls in several ways > > - Optional front script to keep lcStackBrowser updated when objects > are > > created, deleted, renamed, etc outside its control. > > - Switch between browse and edit mode > > > > I've tested this extensively on OS X Lion and Livecode 5.5.0 so hoping to > > find a few volunteers for other versions of OS X, Windows, and Linux. > > > > Please contact me off list. if you have time to exercise this plugin for > me > > over the next couple of weeks. > > > > Thanks, > > > > 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 maarten.koopmans at gmail.com Mon Aug 6 15:04:50 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 6 Aug 2012 21:04:50 +0200 Subject: [ANN] Livecode iCloud iOS external In-Reply-To: References: Message-ID: ..updated. On Mon, Aug 6, 2012 at 7:20 PM, Maarten Koopmans wrote: > Thanks! > > .... I just learnt that the PDF has a ton of spelling errors. Non-native and > my soellchecker turns out to be broken. > > I'll update the manual soonish. So it'll be a collectors item ;-) > > --Maarten > > On Sunday, August 5, 2012, Monte Goulding wrote: >> >> Well done Maarten! >> >> -- >> M E R Goulding >> Software development services >> >> mergExt - There's an external for that! >> >> On 05/08/2012, at 11:39 PM, Maarten Koopmans >> wrote: >> >> > Hi, >> > >> > After a weekend of documenting I'm happy to announce the immediate >> > availability of miCloud - an iCloud external for iOS. >> > >> > With it, you can: >> > >> > - get your app name, team prefix, bundle identifier >> > - put files in your app's container >> > - manipulate and query the apps container >> > - put files in a shared container across apps - so you have shared >> > data across iOS apps >> > - manipulate and query the shared container >> > - put files in a container or shared container up for download for two >> > weeks >> > >> > Read more: http://maartenkoopmans.com/miCloudManual.pdf >> > >> > Introductory price until August 19 is only $49. >> > >> > You can get it at http://maartenkoopmans.com/micloud >> > >> > Enjoy, >> > >> > Maarten >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Aug 6 15:06:56 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 6 Aug 2012 21:06:56 +0200 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> References: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> Message-ID: Bob, yes i think so. The german umlaute and i think some "graphic" characters. But important are the german umlaute. Regards, Matthias Am 06.08.2012 um 20:10 schrieb Bob Sneidar : > The first 256 characters should be the same in both. Do you have characters that exceed the normal ASCII characters? > > Bob > > > On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote: > >> Hi, >> >> i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? >> >> 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 devin_asay at byu.edu Mon Aug 6 15:13:42 2012 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 6 Aug 2012 19:13:42 +0000 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> References: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> Message-ID: <31BDC56EACAAF64688457CE3F71D9F1AD2ACC8@Peas2.byu.local> Actually, only the first 128 characters are reliably consistent. The upper 128 characters vary between DOS (Code Page 437) and "standard" encoding ISO-8859-1 (which, in turn, is slightly different from Windows CP 1252). The only built-in functions in LC are the MacToISO and ISOtoMac functions, so that won't help you here. You'll have to write your own function to replace upper-ascii characters. There is a handy comparison of the various common ascii character sets at . Wikipedia entries for the various encodings can also be helpful, as they have complete character charts. HTH Devin On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote: > The first 256 characters should be the same in both. Do you have characters that exceed the normal ASCII characters? > > Bob > > > On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote: > >> Hi, >> >> i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? Devin Asay Humanities Technology and Research Support Center Brigham Young University From pmbrig at gmail.com Mon Aug 6 15:26:04 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 6 Aug 2012 15:26:04 -0400 Subject: [ANN] Livecode iCloud iOS external In-Reply-To: References: Message-ID: <5C9C4ADA-010F-4CD7-A9F4-07583B78673C@gmail.com> On Aug 6, 2012, at 1:20 PM, Maarten Koopmans wrote: > ...my soellchecker turns out to be broken?. Apparently. :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Mon Aug 6 15:29:53 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Aug 2012 19:29:53 +0000 (UTC) Subject: ANN: GLX2 3.0.10 References: <70603574671.20120803175536@ahsoftware.net> <501D9918.2030004@tweedly.net> <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> Message-ID: Alejandro Tejada writes: > Look, for example, the contents of an element > of the Undo Array. The Undo Array contains > a xml description of all controls placed in > a single card: I think xml is probably the wrong format for this data. In order to determine the difference between versions you're going to have to unpack the xml data, find what has changed, pack that data back into xml, and store that. That's a lot of unnecessary work. Much easier (and faster and less memory for storage) to store an array whose keys are the property names and whose elements are the values. Then use Richard's merge function to find the deltas quickly. -- Mark Wieder mwieder at ahsoftware.net From maarten.koopmans at gmail.com Mon Aug 6 15:32:36 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 6 Aug 2012 21:32:36 +0200 Subject: [ANN] Livecode iCloud iOS external In-Reply-To: <5C9C4ADA-010F-4CD7-A9F4-07583B78673C@gmail.com> References: <5C9C4ADA-010F-4CD7-A9F4-07583B78673C@gmail.com> Message-ID: LOL. I want forced spellchecking *in my fingers*... On Mon, Aug 6, 2012 at 9:26 PM, Peter M. Brigham wrote: > On Aug 6, 2012, at 1:20 PM, Maarten Koopmans wrote: > >> ...my soellchecker turns out to be broken?. > > Apparently. :-) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Aug 6 15:41:19 2012 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 06 Aug 2012 22:41:19 +0300 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: References: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> Message-ID: <50201DDF.3020505@gmail.com> I have just one a little reading: http://en.wikipedia.org/wiki/Extended_ASCII and from this it is clear that it would be expecting too much for Livecode to convert this sort of stuff. What you DO NEED is the number (somewhere between 129 and 256 in extended ASCII) for U umlaut (upper case) and u umlaut (lower case). And then the numbers of the characters in WINDOWS ANSI and MAC ROMAN: In MS DOS ASCII LATIN US - u umlaut is char 252 and U umlaut is char 220. In WINDOWS 1252 Western ANSI - u umlaut is char 252 and U umlaut is char 220. In Mac Roman - u umlaut is char 252 and U umlaut is 220. So your question is redundant, and you don't have to worry about these characters at all!!!!!!!! Tested with Fontforge and a standard font. Love, Richmond. From mwieder at ahsoftware.net Mon Aug 6 15:45:19 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Aug 2012 19:45:19 +0000 (UTC) Subject: The RunRev store References: <61B2ED3F-ADB1-4B81-9158-CD4B219FDC8F@mac.com> <6FA6B548-CDFD-4703-AD2F-D4C3DCE44D75@me.com> Message-ID: Andrew Henshaw writes: > Should there be an update there?? The RunRev store works in mysterious ways. Is it possible to buy an IDE to run on linux anymore? I see add-on options for $200 to allow deployment to linux platforms and mobile this and that (even Windows Phone 6.5!). There are options to allow development on Mac and Windows, but whatever happened to developing on linux, as opposed to deploying to linux? -- Mark Wieder mwieder at ahsoftware.net From bonnmike at gmail.com Mon Aug 6 15:52:57 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 6 Aug 2012 13:52:57 -0600 Subject: The RunRev store In-Reply-To: References: <61B2ED3F-ADB1-4B81-9158-CD4B219FDC8F@mac.com> <6FA6B548-CDFD-4703-AD2F-D4C3DCE44D75@me.com> Message-ID: If I understand correctly, you can develop ON any of the 3 platforms, but need to purchase the deployments you want (you get 1 free, the desktop free includes mac and win by default). If you want to develop on linux for linux (to make standalones) you can click customize and choose the linux deployment rather than the mac/windows combination. Its a steal of a deal! A 1 for 2 bargain! On Mon, Aug 6, 2012 at 1:45 PM, Mark Wieder wrote: > Andrew Henshaw writes: > > > Should there be an update there?? > > The RunRev store works in mysterious ways. > > Is it possible to buy an IDE to run on linux anymore? I see add-on options > for > $200 to allow deployment to linux platforms and mobile this and that (even > Windows Phone 6.5!). There are options to allow development on Mac and > Windows, > but whatever happened to developing on linux, as opposed to deploying to > linux? > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dsc at swcp.com Mon Aug 6 15:57:17 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 6 Aug 2012 13:57:17 -0600 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: <31BDC56EACAAF64688457CE3F71D9F1AD2ACC8@Peas2.byu.local> References: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> <31BDC56EACAAF64688457CE3F71D9F1AD2ACC8@Peas2.byu.local> Message-ID: Quite right. Characters above 128 are not going to match. And one would question some of the control characters; they have images in Windows "Ansi" code pages. ASCII is a special case of UTF8, so the uniEncode and uniDecode functions might be worth exploring. You can consider ASCII to be UTF-8 because ASCII is 7 bit and bytes for all Unicode in UTF-8 that are outside of ASCII have the msb set. However, the only applicable character set in the list is "Ansi" and who knows what that really means. It might mean the host character set either Mac or some Windows code page. Long ago I created a rash of Unicode bug entries and I think I had converters then, so they must not be too hard to create. If you are looking at LF, CR, Tab, space, and printables (character coded 33 to 126) then they are the same in almost all applicable character sets. But as soon as you type a dingbat on your Mac, you have more work. (By CR I mean the ASCII CR, not the newline used in LiveCode which is LF.) Dar On Aug 6, 2012, at 1:13 PM, Devin Asay wrote: > Actually, only the first 128 characters are reliably consistent. The upper 128 characters vary between DOS (Code Page 437) and "standard" encoding ISO-8859-1 (which, in turn, is slightly different from Windows CP 1252). The only built-in functions in LC are the MacToISO and ISOtoMac functions, so that won't help you here. You'll have to write your own function to replace upper-ascii characters. There is a handy comparison of the various common ascii character sets at . Wikipedia entries for the various encodings can also be helpful, as they have complete character charts. > > HTH > > Devin > > > On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote: > >> The first 256 characters should be the same in both. Do you have characters that exceed the normal ASCII characters? >> >> Bob >> >> >> On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote: >> >>> Hi, >>> >>> i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? > > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dsc at swcp.com Mon Aug 6 16:15:37 2012 From: dsc at swcp.com (Dar Scott) Date: Mon, 6 Aug 2012 14:15:37 -0600 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: References: <17488FC0-420C-4B23-A9F5-FF3B654F8CEA@twft.com> <31BDC56EACAAF64688457CE3F71D9F1AD2ACC8@Peas2.byu.local> Message-ID: It just dawned on my what I wrote in the last paragraph. Those are the only characters in common in all three character sets, so conversion is free if you don't need weird control characters. Unless you don't really mean ASCII, but mean some DOS code page. (In Europe ASCII is called USASCII, which I consider to be disrespecting the work some Americans did in computers, communications and early character-set standardization, but it is in standards that way, so I'm fighting a losing battle if I complain. To us old-timers, ASCII is fundamental. I prefer to honor that history and put qualifiers on all enhancements and variations. Even 35 years ago I got onto Bill about his careless speech about character sets. Character sets have been a mess. I think Unicode is wonderful. Well, even Microsoft can mess that up.) Dar On Aug 6, 2012, at 1:57 PM, Dar Scott wrote: > Quite right. Characters above 128 are not going to match. And one would question some of the control characters; they have images in Windows "Ansi" code pages. > > ASCII is a special case of UTF8, so the uniEncode and uniDecode functions might be worth exploring. You can consider ASCII to be UTF-8 because ASCII is 7 bit and bytes for all Unicode in UTF-8 that are outside of ASCII have the msb set. However, the only applicable character set in the list is "Ansi" and who knows what that really means. It might mean the host character set either Mac or some Windows code page. > > Long ago I created a rash of Unicode bug entries and I think I had converters then, so they must not be too hard to create. > > If you are looking at LF, CR, Tab, space, and printables (character coded 33 to 126) then they are the same in almost all applicable character sets. But as soon as you type a dingbat on your Mac, you have more work. (By CR I mean the ASCII CR, not the newline used in LiveCode which is LF.) > > Dar > > > > On Aug 6, 2012, at 1:13 PM, Devin Asay wrote: > >> Actually, only the first 128 characters are reliably consistent. The upper 128 characters vary between DOS (Code Page 437) and "standard" encoding ISO-8859-1 (which, in turn, is slightly different from Windows CP 1252). The only built-in functions in LC are the MacToISO and ISOtoMac functions, so that won't help you here. You'll have to write your own function to replace upper-ascii characters. There is a handy comparison of the various common ascii character sets at . Wikipedia entries for the various encodings can also be helpful, as they have complete character charts. >> >> HTH >> >> Devin >> >> >> On Aug 6, 2012, at 12:10 PM, Bob Sneidar wrote: >> >>> The first 256 characters should be the same in both. Do you have characters that exceed the normal ASCII characters? >>> >>> Bob >>> >>> >>> On Aug 6, 2012, at 11:04 AM, Matthias Rebbe wrote: >>> >>>> Hi, >>>> >>>> i have here an ascii text, created under Dos, which i have to convert at least to windows ansi. Because i have to do this very often in future i wanted to create a routine with LiveCode which does the convert for me. Can this be done with a livecode command/function or do i have to create a script to replace the wrong displayed characters? >> >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 6 16:31:14 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Aug 2012 16:31:14 -0400 Subject: Logging Device Tokens In-Reply-To: <1CCA13E7-5E35-4484-9CBF-9A950928BDC7@clearvisiontech.com> References: <1CCA13E7-5E35-4484-9CBF-9A950928BDC7@clearvisiontech.com> Message-ID: Nope, you aren't crazy. There is a reason you have to do this - because you have to know who wants to receive push and who does not - and since different users may have different settings, you need to be able to customize those messages. Think about a weather app that uses push - the users are from all over. You need to be able to push custom alerts/forecasts/etc. It is a lot easier than you might think, and thousands/millions of records are just numbers. Yes, you need to have a server somewhere that you can talk to from your app to send the custom settings. You also need to check with APNS to make sure that user x is still on the push list, since they can manually disable push in the Notifications preferences, which you are then expected to respect (read the notes from Apple on this). It works great, and I just want to thank RR for implementing push/local notifications, and for John Craig for putting up the example that made coding it easier when I was still trying to make it work. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Aug 6 16:33:03 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 6 Aug 2012 16:33:03 -0400 Subject: Logging Device Tokens In-Reply-To: References: <1CCA13E7-5E35-4484-9CBF-9A950928BDC7@clearvisiontech.com> Message-ID: The other thing is that by "server" we're not talking about an expensive piece of gear. A cheapo PC will do it unless you are slamming tons of messages and volume through the pipe then you may want to consider either using a) Urban Airship or b) a little more infrastructure on your end. Urban Airship is from IBM, and it's not free, but it does kick butt. Personally, I'm doing it myself because I'm cheap. -- 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 harrison at all-auctions.com Mon Aug 6 16:35:05 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 6 Aug 2012 16:35:05 -0400 Subject: FormattedHeight Limit! In-Reply-To: References: <4F338EAD.30102@kencorey.com> Message-ID: <53EA37A3-A683-4F76-BA4C-D0A622E95D1C@all-auctions.com> Hi there, I discovered that if I'm using large text in my scrolling field of size 24, and I have 1043 lines in my field, that the Height of my field using FormattedHeight equals 33,390 which apparently goes beyond a limit of 32,768 and causes an unreported error in the iOS Simulator. I really want to use my larger font size, and I don't want to cut down on the number of lines in my field. Any work arounds for this? Thanks in advance, Rick From stephenREVOLUTION2 at barncard.com Mon Aug 6 16:49:02 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 6 Aug 2012 13:49:02 -0700 Subject: Copying objects to the clipboard In-Reply-To: References: Message-ID: Peter -- I hope this isn't too late - I made this stack to examine all elements of what's in the clipboard at any moment --- go URL "http://fulton.barncard.com/stax/clipboardTest.rev" there are likely a possible few font bugs, but I've tested it pretty well. Just remember it won't work properly without being saved somewhere, and the included font is installed alongside. Save the stack then reload, you'll get a dialog asking permission to install the font. The font allows the showing of all the codes represented in the hex listing. You'll see what I mean when you press the "show all chars" button. Just copy whatever into the clipboard, including sound clips, images, or text. Don't paste it, but just hit the "show keys" button. the small scroller on the left shows the keys to the clipped data, choose one and the data will be displayed. the popup at the bottom chooses how displayed, I usually use HEX the small field below shows the number of bytes On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth wrote: > After copying an object to the clipboard, the clipboard data type is > "objects". Is there a way to determine what type of object or do I have to > keep track of that myself? > > This is in connection with a copy/paste and figuring if a paste is valid or > not, e.g. pasting a substack to a card would be invalid. > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From scott at tactilemedia.com Mon Aug 6 17:07:46 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 06 Aug 2012 14:07:46 -0700 Subject: FormattedHeight Limit! In-Reply-To: <53EA37A3-A683-4F76-BA4C-D0A622E95D1C@all-auctions.com> Message-ID: Seems like you can either 1) split the text across two fields, or 2) show only the lines that will fit comfortably within the field's rect at any one time Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Rick Harrison wrote: > Hi there, > > I discovered that if I'm using large text > in my scrolling field of size 24, and I > have 1043 lines in my field, that the > Height of my field using FormattedHeight > equals 33,390 which apparently goes > beyond a limit of 32,768 and causes > an unreported error in the iOS Simulator. > > I really want to use my larger font size, > and I don't want to cut down on the number > of lines in my field. Any work arounds for this? > > Thanks in advance, > > Rick > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dan at clearvisiontech.com Mon Aug 6 17:29:01 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Aug 2012 14:29:01 -0700 Subject: Logging Device Tokens Message-ID: Mike, THANK YOU for the information. I am wondering what you use to log the Tokens? Do you have the app fire a PHP script on your server that writes it down? What are you using to store the data? Flat files, like XML? Or a database? Thanks for the advise! -Dan > Nope, you aren't crazy. There is a reason you have to do this - because > you have to know who wants to receive push and who does not - and since > different users may have different settings, you need to be able to > customize those messages. > > Think about a weather app that uses push - the users are from all over. > You need to be able to push custom alerts/forecasts/etc. > > It is a lot easier than you might think, and thousands/millions of records > are just numbers. > > Yes, you need to have a server somewhere that you can talk to from your app > to send the custom settings. > > You also need to check with APNS to make sure that user x is still on the > push list, since they can manually disable push in the Notifications > preferences, which you are then expected to respect (read the notes from > Apple on this). > > It works great, and I just want to thank RR for implementing push/local > notifications, and for John Craig for putting up the example that made > coding it easier when I was still trying to make it work. > From dan at clearvisiontech.com Mon Aug 6 17:41:42 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Aug 2012 14:41:42 -0700 Subject: FormattedHeight Limit! Message-ID: Rick, One thought is to not use scroll the grouped field for your iOS scroller, but rather scroll the field itself. In your scrollerDidScroll message, scroll the field, not the scroll of the group. This is what I use when I suspect the FormattedHeight may be larger than the allowable range. Hope that helps! -Dan > Hi there, > > I discovered that if I'm using large text > in my scrolling field of size 24, and I > have 1043 lines in my field, that the > Height of my field using FormattedHeight > equals 33,390 which apparently goes > beyond a limit of 32,768 and causes > an unreported error in the iOS Simulator. > > I really want to use my larger font size, > and I don't want to cut down on the number > of lines in my field. Any work arounds for this? > > Thanks in advance, > > Rick From pete at lcsql.com Mon Aug 6 18:03:33 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 15:03:33 -0700 Subject: Copying objects to the clipboard In-Reply-To: References: Message-ID: Thanks Stephen, not too late at all. Pete lcSQL Software On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Peter -- I hope this isn't too late - > > I made this stack to examine all elements of what's in the clipboard at any > moment --- > > go URL "http://fulton.barncard.com/stax/clipboardTest.rev" > > there are likely a possible few font bugs, but I've tested it pretty well. > > Just remember it won't work properly without being saved somewhere, and the > included font is installed alongside. > Save the stack then reload, you'll get a dialog asking permission to > install the font. > The font allows the showing of all the codes represented in the hex > listing. You'll see what I mean when you press the "show all chars" button. > > Just copy whatever into the clipboard, including sound clips, images, or > text. Don't paste it, but just hit the "show keys" button. > > the small scroller on the left shows the keys to the clipped data, choose > one and the data will be displayed. > > the popup at the bottom chooses how displayed, I usually use HEX > > the small field below shows the number of bytes > > On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth wrote: > > > After copying an object to the clipboard, the clipboard data type is > > "objects". Is there a way to determine what type of object or do I have > to > > keep track of that myself? > > > > This is in connection with a copy/paste and figuring if a paste is valid > or > > not, e.g. pasting a substack to a card would be invalid. > > > > 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 > > > > > > -- > > > > 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 bobs at twft.com Mon Aug 6 18:42:10 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Aug 2012 15:42:10 -0700 Subject: Copying objects to the clipboard In-Reply-To: References: Message-ID: Hey! Looks like I crashed it! I took a screen shot of a window on my mac, clicked Show Keys, then chose Unicode. THAT is why they call me the Bugmeister!!! ;-) Bob On Aug 6, 2012, at 3:03 PM, Peter Haworth wrote: > Thanks Stephen, not too late at all. > Pete > lcSQL Software > > > > On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> Peter -- I hope this isn't too late - >> >> I made this stack to examine all elements of what's in the clipboard at any >> moment --- >> >> go URL "http://fulton.barncard.com/stax/clipboardTest.rev" >> >> there are likely a possible few font bugs, but I've tested it pretty well. >> >> Just remember it won't work properly without being saved somewhere, and the >> included font is installed alongside. >> Save the stack then reload, you'll get a dialog asking permission to >> install the font. >> The font allows the showing of all the codes represented in the hex >> listing. You'll see what I mean when you press the "show all chars" button. >> >> Just copy whatever into the clipboard, including sound clips, images, or >> text. Don't paste it, but just hit the "show keys" button. >> >> the small scroller on the left shows the keys to the clipped data, choose >> one and the data will be displayed. >> >> the popup at the bottom chooses how displayed, I usually use HEX >> >> the small field below shows the number of bytes >> >> On Thu, Aug 2, 2012 at 10:54 AM, Peter Haworth wrote: >> >>> After copying an object to the clipboard, the clipboard data type is >>> "objects". Is there a way to determine what type of object or do I have >> to >>> keep track of that myself? >>> >>> This is in connection with a copy/paste and figuring if a paste is valid >> or >>> not, e.g. pasting a substack to a card would be invalid. >>> >>> 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 >>> >> >> >> >> -- >> >> >> >> 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 capellan2000 at gmail.com Mon Aug 6 18:58:56 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 6 Aug 2012 15:58:56 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> Message-ID: <1344293936635-4653462.post@n4.nabble.com> Mark Wieder wrote > > I think xml is probably the wrong format for this data. In order to > determine > the difference between versions you're going to have to unpack the xml > data, > find what has changed, pack that data back into xml, and store that. > That's a > lot of unnecessary work. > Yes, but XML is so... Readable. :-) Mark Wieder wrote > > Much easier (and faster and less memory for storage) to store an array > whose > keys are the property names and whose elements are the values. Then use > Richard's merge function to find the deltas quickly. > I am sure that you are correct, but I could not create the script to demonstrate it. :-D Suppose that I have 10000 controls in the card (remember, it's a graphic application), and (if I understand correctly your advice) then I had to create 10000 arrays in memory to hold the properties of each control. Could this be the correct interpretation of your idea for this task? Old computer graphics programs have a limited number of undo. The user had to set manually the number of undo. I remember that there was a program (FreeHand or Ilustrator?) with a maximum number of undos of 10 (Ten). The program was really slow with this "huge" number of data in memory... :-O The first time that I tried to create an undo, some time ago, I simply copied the card contents to a new card in a hidden stack, before any operation that modified, create or delete any control. This Undo system could not be more simple, but it failed in a spectacular way. After a while, as the number of controls grows, the process of copying all controls become, more and more slow, until the stack became unresponsive and unusable. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653462.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Mon Aug 6 19:17:36 2012 From: pete at lcsql.com (Peter Haworth) Date: Mon, 6 Aug 2012 16:17:36 -0700 Subject: Copying objects to the clipboard In-Reply-To: References: Message-ID: Richard, I've been playing around with this in the context of my original question whicxh was how to identify exactly what type of object is on the clipboard - field, button, etc. The stacks is great in temrs of seeing exactly what's represented on the clipboard but I still can't find anything that indicates what type of object is on there. It's not a huge deal since the copy will be done within the confines of my lcStackBrowser plugin so I can easily store off what type of data has been copied, but would be nice to know how Livecode figures it out. Pete lcSQL Software On Mon, Aug 6, 2012 at 1:49 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > I made this stack to examine all elements of what's in the clipboard at any > moment --- > From skip at magicgate.com Mon Aug 6 19:55:44 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 6 Aug 2012 19:55:44 -0400 Subject: Logging Device Tokens In-Reply-To: References: Message-ID: I am also interested in how others are accomplishing this. Like Dan, I think I am over-thinking this whole procedure and it is probably more simple than I am making it out to be. SKIP On Mon, Aug 6, 2012 at 5:29 PM, Dan Friedman wrote: > Mike, > > THANK YOU for the information. I am wondering what you use to log the Tokens? Do you have the app fire a PHP script on your server that writes it down? What are you using to store the data? Flat files, like XML? Or a database? > > Thanks for the advise! > -Dan > > > >> Nope, you aren't crazy. There is a reason you have to do this - because >> you have to know who wants to receive push and who does not - and since >> different users may have different settings, you need to be able to >> customize those messages. >> >> Think about a weather app that uses push - the users are from all over. >> You need to be able to push custom alerts/forecasts/etc. >> >> It is a lot easier than you might think, and thousands/millions of records >> are just numbers. >> >> Yes, you need to have a server somewhere that you can talk to from your app >> to send the custom settings. >> >> You also need to check with APNS to make sure that user x is still on the >> push list, since they can manually disable push in the Notifications >> preferences, which you are then expected to respect (read the notes from >> Apple on this). >> >> It works great, and I just want to thank RR for implementing push/local >> notifications, and for John Craig for putting up the example that made >> coding it easier when I was still trying to make it work. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Aug 6 19:57:48 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 6 Aug 2012 19:57:48 -0400 Subject: FormattedHeight Limit! In-Reply-To: References: Message-ID: <4357D985-89E1-483D-92E1-F9DC7BEF8C1A@all-auctions.com> Hi Dan, An interesting idea, however the problem is with the following line of code, which takes place in the preOpenCard script. set the height of field "ViewingField5" of this card to tHeight5 (When tHeight5 > 32768 the above line of code fails in the iOS Simulator and does not complete any more script statements after that line with no error message being generated. At this point nothing is being executed on the group. It is a variable going beyond the limit here. Is there any way to make the variable bigger like a double precision integer or some such thing?) Suggestions? Thanks, Rick On Aug 6, 2012, at 5:41 PM, Dan Friedman wrote: > Rick, > > One thought is to not use scroll the grouped field for your iOS scroller, but rather scroll the field itself. In your scrollerDidScroll message, scroll the field, not the scroll of the group. This is what I use when I suspect the FormattedHeight may be larger than the allowable range. > > Hope that helps! > > -Dan > > >> Hi there, >> >> I discovered that if I'm using large text >> in my scrolling field of size 24, and I >> have 1043 lines in my field, that the >> Height of my field using FormattedHeight >> equals 33,390 which apparently goes >> beyond a limit of 32,768 and causes >> an unreported error in the iOS Simulator. >> >> I really want to use my larger font size, >> and I don't want to cut down on the number >> of lines in my field. Any work arounds for this? >> >> Thanks in advance, >> >> Rick > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode __________________________________ Rick Harrison You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now! To visit the iTunes Store now to listen to samples of my CD please click on the following link. (Please note you must have iTunes installed on your computer for this link to work.) http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290 From bobs at twft.com Mon Aug 6 20:15:11 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 6 Aug 2012 17:15:11 -0700 Subject: FormattedHeight Limit! In-Reply-To: <4357D985-89E1-483D-92E1-F9DC7BEF8C1A@all-auctions.com> References: <4357D985-89E1-483D-92E1-F9DC7BEF8C1A@all-auctions.com> Message-ID: set the height of field "ViewingField5" of this card to max(tHeight5, 32768) will that work? Bob On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote: > set the height of field "ViewingField5" of this card to tHeight5 From harrison at all-auctions.com Mon Aug 6 21:47:34 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 6 Aug 2012 21:47:34 -0400 Subject: FormattedHeight Limit! In-Reply-To: References: <4357D985-89E1-483D-92E1-F9DC7BEF8C1A@all-auctions.com> Message-ID: Hi Bob, The limit will keep the script from blowing up, but then the field won't display all of the data. The last several lines are cut off from the display. Thanks anyways, Rick On Aug 6, 2012, at 8:15 PM, Bob Sneidar wrote: > set the height of field "ViewingField5" of this card to max(tHeight5, 32768) > > will that work? > > Bob > > > On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote: > >> set the height of field "ViewingField5" of this card to tHeight5 > From 3mcgrath at comcast.net Mon Aug 6 22:22:16 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Mon, 6 Aug 2012 22:22:16 -0400 Subject: FormattedHeight Limit! In-Reply-To: References: <4357D985-89E1-483D-92E1-F9DC7BEF8C1A@all-auctions.com> Message-ID: <9E9D22E3-A73D-4658-A6B0-19987B909160@comcast.net> Obvious maybe, but why not just remove the first several lines when past the half way mark to the bottom of the field and vice versa when going up to the beginning of the field? Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Aug 6, 2012, at 9:47 PM, Rick Harrison wrote: > Hi Bob, > > The limit will keep the script from blowing up, but then the field won't display all of the data. > The last several lines are cut off from the display. > > Thanks anyways, > > Rick > > > On Aug 6, 2012, at 8:15 PM, Bob Sneidar wrote: > >> set the height of field "ViewingField5" of this card to max(tHeight5, 32768) >> >> will that work? >> >> Bob >> >> >> On Aug 6, 2012, at 4:57 PM, Rick Harrison wrote: >> >>> set the height of field "ViewingField5" of this card to tHeight5 >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 6 22:33:10 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Aug 2012 21:33:10 -0500 Subject: Hilite pattern in list field doesn't scroll correctly Message-ID: <50207E66.8080303@hyperactivesw.com> I have a carefully sized gradient image that I use as a custom hilite pattern in a list field. It is exactly the height of the textheight. When the field is not scrolled it lines up perfectly with any selected line of the field. But if the scrollbar is dragged and stopped in between even lineheight increments, the pattern tiles in a very ugly way. It looks like the engine is just tiling the pattern all the way down the field and whatever line is currently selected just makes that area of the tiled image show through. I don't really want to mess with creating a patterned button to lay over the field as a fake selection rectangle. Does anyone know of a trick to prevent the inaccurate pattern when the field isn't scrolled to an even increment? I suppose another option is to script the field to snap to the next lineheight increment but if there's a better trick I'd prefer it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 6 23:02:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Aug 2012 22:02:01 -0500 Subject: What was that thing with Photoshop images? Message-ID: <50208529.9090403@hyperactivesw.com> Someone once mentioned a problem with imported Photoshop images. What was that? I'm getting some crashes that might be related. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at comcast.net Mon Aug 6 23:10:29 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Mon, 6 Aug 2012 23:10:29 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <50208529.9090403@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> Message-ID: <9B8DF7FC-F11B-4172-985E-1DFB1BEB78EA@comcast.net> J, try opening the PS file in another app and save from that app then import the new one. See if it still happens. Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Aug 6, 2012, at 11:02 PM, "J. Landman Gay" wrote: > Someone once mentioned a problem with imported Photoshop images. What was that? I'm getting some crashes that might be related. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Aug 6 23:17:25 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Aug 2012 22:17:25 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <9B8DF7FC-F11B-4172-985E-1DFB1BEB78EA@comcast.net> References: <50208529.9090403@hyperactivesw.com> <9B8DF7FC-F11B-4172-985E-1DFB1BEB78EA@comcast.net> Message-ID: <502088C5.4030208@hyperactivesw.com> On 8/6/12 10:10 PM, Thomas McGrath III wrote: > J, try opening the PS file in another app and save from that app then > import the new one. See if it still happens. Yeah, I've had to do that before. I was just wondering what the exact issue was on the off chance I didn't have to re-do all the images. Is it a common problem? I think an awful lot of people use PS artwork. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Mon Aug 6 23:20:40 2012 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 7 Aug 2012 03:20:40 +0000 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: <50207E66.8080303@hyperactivesw.com> References: <50207E66.8080303@hyperactivesw.com> Message-ID: Is there any reason why you don't want to use a datagrid? Sent from my iPhone On 07/08/2012, at 12:34 PM, "J. Landman Gay" wrote: > I have a carefully sized gradient image that I use as a custom hilite pattern in a list field. It is exactly the height of the textheight. When the field is not scrolled it lines up perfectly with any selected line of the field. > > But if the scrollbar is dragged and stopped in between even lineheight increments, the pattern tiles in a very ugly way. It looks like the engine is just tiling the pattern all the way down the field and whatever line is currently selected just makes that area of the tiled image show through. > > I don't really want to mess with creating a patterned button to lay over the field as a fake selection rectangle. Does anyone know of a trick to prevent the inaccurate pattern when the field isn't scrolled to an even increment? > > I suppose another option is to script the field to snap to the next lineheight increment but if there's a better trick I'd prefer it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Aug 6 23:28:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Aug 2012 22:28:19 -0500 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: References: <50207E66.8080303@hyperactivesw.com> Message-ID: <50208B53.7030608@hyperactivesw.com> On 8/6/12 10:20 PM, Terry Judd wrote: > Is there any reason why you don't want to use a datagrid? It's just a one-column list of names. A datagrid is way overkill. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at comcast.net Mon Aug 6 23:47:13 2012 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Mon, 6 Aug 2012 23:47:13 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <502088C5.4030208@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <9B8DF7FC-F11B-4172-985E-1DFB1BEB78EA@comcast.net> <502088C5.4030208@hyperactivesw.com> Message-ID: <88AE21C1-E528-488D-A263-A8DEB97E5501@comcast.net> Acrtually, the only problems I've encountered with PS images are with PNG's with transparency. I will look into it as well. Thomas J McGrath III 3mcgrath at comcast.net Lazy River Software http://lazyriver.on-rev.com On Aug 6, 2012, at 11:17 PM, "J. Landman Gay" wrote: > On 8/6/12 10:10 PM, Thomas McGrath III wrote: >> J, try opening the PS file in another app and save from that app then >> import the new one. See if it still happens. > > Yeah, I've had to do that before. I was just wondering what the exact issue was on the off chance I didn't have to re-do all the images. Is it a common problem? I think an awful lot of people use PS artwork. > > -- > 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 Aug 6 23:54:07 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 06 Aug 2012 22:54:07 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <88AE21C1-E528-488D-A263-A8DEB97E5501@comcast.net> References: <50208529.9090403@hyperactivesw.com> <9B8DF7FC-F11B-4172-985E-1DFB1BEB78EA@comcast.net> <502088C5.4030208@hyperactivesw.com> <88AE21C1-E528-488D-A263-A8DEB97E5501@comcast.net> Message-ID: <5020915F.6030608@hyperactivesw.com> On 8/6/12 10:47 PM, Thomas McGrath III wrote: > Acrtually, the only problems I've encountered with PS images are with > PNG's with transparency. I will look into it as well. Thanks. I was just looking at the crash log and I'm starting to think it was because of my patterned scrolling field hilite. The new field object probably doesn't like it. I can't read those logs very well, but it's listing things like "points" and "chunk" so it sounds like it crashed trying to draw my custom pattern. I'll probably give up on that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dan at clearvisiontech.com Tue Aug 7 00:08:54 2012 From: dan at clearvisiontech.com (Dan Friedman) Date: Mon, 6 Aug 2012 21:08:54 -0700 Subject: FormattedHeight Limit! Message-ID: Rick, Don't change the height of the field to match it's contents, set it to the display size. For example, if your field is to *display* on the entire screen, then do this: set the rect of fld "ViewingField5" to the rect of this card Then, fill it with the data. Next, set the iOS scroller's contentRect to (the formattedRect of field "ViewingField5"). Finally, in your scrollerDidScroll message, don't set the scroll of the group containing field "ViewingField5", simply set the scroll of field "ViewingField5". Make sense? Works fine for me. -Dan > Hi Dan, > > An interesting idea, however the problem is with the following line of code, > which takes place in the preOpenCard script. > > set the height of field "ViewingField5" of this card to tHeight5 > > (When tHeight5 > 32768 the above line of code fails in the iOS Simulator > and does not complete any more script statements after that line with no > error message being generated. At this point nothing is being executed > on the group. It is a variable going beyond the limit here. Is there any way > to make the variable bigger like a double precision integer or some such thing?) > > Suggestions? > > Thanks, > > Rick > > On Aug 6, 2012, at 5:41 PM, Dan Friedman wrote: > >> Rick, >> >> One thought is to not use scroll the grouped field for your iOS scroller, but rather scroll the field itself. In your scrollerDidScroll message, scroll the field, not the scroll of the group. This is what I use when I suspect the FormattedHeight may be larger than the allowable range. >> >> Hope that helps! >> >> -Dan >> >> >>> Hi there, >>> >>> I discovered that if I'm using large text >>> in my scrolling field of size 24, and I >>> have 1043 lines in my field, that the >>> Height of my field using FormattedHeight >>> equals 33,390 which apparently goes >>> beyond a limit of 32,768 and causes >>> an unreported error in the iOS Simulator. >>> >>> I really want to use my larger font size, >>> and I don't want to cut down on the number >>> of lines in my field. Any work arounds for this? >>> >>> Thanks in advance, >>> >>> Rick From Mark_Smith at cpe.umanitoba.ca Tue Aug 7 00:26:54 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Mon, 6 Aug 2012 21:26:54 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: References: Message-ID: <1344313614624-4653478.post@n4.nabble.com> What does your database library do? (BTW, I couldn't get your "hidden email" thing to offer up a real email address??) -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653478.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Tue Aug 7 00:54:15 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 6 Aug 2012 21:54:15 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344313614624-4653478.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> Message-ID: It's a small lib that simplifies the communication with a sqlLite database, using a small set of commands. Very logical and straightforward. On Mon, Aug 6, 2012 at 9:26 PM, Mark Smith wrote: > What does your database library do? (BTW, I couldn't get your "hidden > email" > thing to offer up a real email address??) > > -- Mark > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653478.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Tue Aug 7 01:48:06 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 6 Aug 2012 22:48:06 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344293936635-4653462.post@n4.nabble.com> References: <501DB1DC.3040108@tweedly.net> <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> Message-ID: <14880324859.20120806224806@ahsoftware.net> Alejandro- Monday, August 6, 2012, 3:58:56 PM, you wrote: > I am sure that you are correct, but I could not create the script to > demonstrate it. :-D > Suppose that I have 10000 controls in the card (remember, it's a graphic > application), > and (if I understand correctly your advice) then I had to create 10000 > arrays in memory > to hold the properties of each control. Could this be the correct > interpretation of your > idea for this task? Ick! No, I would never suggest something as cumbersome as that! It's as simple as adding another dimension to the undo array. Here's a minor adjustment to the Undo.Push and Undo.Pop commands in the code I posted earlier. As an example, let's say you have ten controls, each named "graphicN", where N is a number from 1 to 10. You might determine which properties to store for each graphic, then (for this example I'm just storing the height and width for each of the ten controls): repeat with N=1 to 10 put "graphic" & N into tObject -- set up an array with the properties you wish to archive put the width of control tObject into tArray["width"] put the height of control tObject into tArray["height"] -- push the array onto the undo stack Undo.Push tObject, tArray end repeat --> Undo support local sUndoPointArray /** * Undo.Retrieve * * Retrive an element from the sUndoPointArray */ private function Undo.Retrieve pObject, pCount local tData put sUndoPointArray[pObject][pCount] into tData if pCount = "count" then return tData else return decompress(tData) end if end Undo.Retrieve /** * Undo.Store * * Store an element into the sUndoPointArray */ private command Undo.Store pObject, pCount, pValue local tData put compress(pValue) into tData if pCount = "count" then put pValue into sUndoPointArray[pObject][pCount] else put tData into sUndoPointArray[pObject][pCount] end if end Undo.Store /** * UndoPointer * * Return the undo stack index */ private function Undo.Pointer pObject local tCount put Undo.Retrieve(pObject, "count") into tCount if tCount is empty then put 0 into tCount end if return tCount end Undo.Pointer /** * Undo.SetPointer * * @pNewCount : index value for this type of undo action */ private command Undo.SetPointer pObject, pNewCount Undo.Store pObject, "count", pNewCount end Undo.SetPointer /** * Undo.Push * * Save the current script for undoing later on * @pObject is the long id of the control * @pPropertyArray is an array of property names and values */ command Undo.Push pObject, pPropertyArray local tCount put Undo.Pointer(pObject)+1 into tCount Undo.Store pObject, tCount, pPropertyArray Undo.SetPointer pObject, tCount -- bump the index pointer end Undo.Push /** * Undo.Pop * * undo the last command * @pObject is the long id of the control */ command Undo.Pop pObject local tCount local tObject local tSavedUndo local tSuccess local tKeys lock screen -- retrieve the current pointer for this object put Undo.Pointer(pObject) into tCount if tCount > 0 then -- retrieve the stored data put Undo.Retrieve(pObject, tCount) into tSavedUndo if tSavedUndo is not empty then -- now we have the property array put the keys of tSavedUndo into tKeys repeat for each line tProperty in tKeys try do "set the" && tProperty && "of" && pObject && "to" && \ tSavedUndo[tProperty] catch e end try end repeat -- decrement the stack pointer Undo.SetPointer pObject, tCount-1 put true into tSuccess end if end if unlock screen if not tSuccess then answer "nothing to undo @" && tCount end if end Undo.Pop -- -Mark Wieder mwieder at ahsoftware.net From rdimola at evergreeninfo.net Tue Aug 7 02:10:45 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Aug 2012 02:10:45 -0400 Subject: What was that thing with Photoshop images=?UTF-8?B?Pw==?= In-Reply-To: <50208529.9090403@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> Message-ID: Jacque, I have had some PS png weirdness when. Resizing. I found converting them to jpg fixes it. Ralph DiMola MIS Director Evergreen Information Services rdimola at evergreeninfo.net -----Original message----- From: "J. Landman Gay" To: LiveCode Mailing List Sent: Tue, Aug 7, 2012 03:02:01 GMT+00:00 Subject: What was that thing with Photoshop images? Someone once mentioned a problem with imported Photoshop images. What was that? I'm getting some crashes that might be related. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Tue Aug 7 07:26:22 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 07:26:22 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <50208529.9090403@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> Message-ID: I know of someone who was asked to prepare some Photoshop files at 32 bit, 165 dpi. I'm not sure where the 165 comes from, but on the bit front my friend was running into problems when using the 32 bits per channel mode in Photoshop. I explained that 32 bit really means 8 bits per channel for RGB, and 8 bit for transparency. That solved those problems. Also, programs such as LiveCode naturally want 72 dpi images. If you want the image to be bigger, you use more pixels. So, what color mode and dpi are the images you're trying? From skip at magicgate.com Tue Aug 7 11:09:12 2012 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 7 Aug 2012 11:09:12 -0400 Subject: iCloud external :-) In-Reply-To: <6F333C06-333F-4C1C-8BEB-2B771AF12327@m-r-d.de> References: <6F333C06-333F-4C1C-8BEB-2B771AF12327@m-r-d.de> Message-ID: What is the possibility of accessing the iCloud files from a LC project running on Windows? SKIP On Fri, Aug 3, 2012 at 10:43 AM, Matthias Rebbe wrote: > Maarten, > > i will definitely buy it. > > Regards, > > Matthias > > Am 03.08.2012 um 13:53 schrieb Maarten Koopmans : > >> Folks, >> >> I have spent a lot of time on it over the last two months, but I >> finally have an iOS iCloud external working. One of the things I've >> learned is that iCloud works (by itself), but it is very easy to make >> a mistake - hence the apps that behave so badly with iCloud. >> >> Anyway, the external can: >> >> - give back your app name, team prefix, bundle identifier >> - put files in your app's container >> - manipulate and query the apps container (evict files, force >> download, modification dates, list files...) >> - put files in a shared container across apps - so you have shared >> data across iOS apps [ yes ... that's right!!!] >> - manipulate and query the shared container >> - put files in a container or shared container up for download for two >> weeks [ yes, you read this correctly as well....] >> >> I can do two things: >> 1) continue with my main project as I will eventually >> 2) spend even more time and put the external up for sale for $49 >> >> As this really has been a LOT of work I don't want to put something up >> for sale if nobody is interested, so consider this a poll. Personally, >> I find the shared storage across apps and public data publishing is >> pretty awesome. >> >> Let me know if you're interested - otherwise I'll simply enjoy my weekend ;-) >> >> --Maarten >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major.on-rev.com Tue Aug 7 11:12:29 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 7 Aug 2012 17:12:29 +0200 Subject: iCloud external :-) In-Reply-To: References: <6F333C06-333F-4C1C-8BEB-2B771AF12327@m-r-d.de> Message-ID: Am 07.08.2012 um 17:09 schrieb Magicgate Software - Skip Kimpel : > What is the possibility of accessing the iCloud files from a LC > project running on Windows? Yep! What about a desktop version of the external? 8-) > SKIP > > On Fri, Aug 3, 2012 at 10:43 AM, Matthias Rebbe > wrote: >> Maarten, >> >> i will definitely buy it. >> >> Regards, >> >> Matthias >> >> Am 03.08.2012 um 13:53 schrieb Maarten Koopmans : >> >>> Folks, >>> >>> I have spent a lot of time on it over the last two months, but I >>> finally have an iOS iCloud external working. One of the things I've >>> learned is that iCloud works (by itself), but it is very easy to make >>> a mistake - hence the apps that behave so badly with iCloud. >>> >>> Anyway, the external can:... Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From harrison at all-auctions.com Tue Aug 7 13:13:33 2012 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 7 Aug 2012 13:13:33 -0400 Subject: "height" limit (was FormattedHeight Limit!) In-Reply-To: References: Message-ID: <0812E529-C5FE-4165-AE66-A44C8BB4C64F@all-auctions.com> Hi Dan, I have several fields on one card so I don't want the field to display on the entire card, as it ruins everything else. I understand you are trying to use that as an example, but other than the display what should I be setting the rect to if not the size of the contents for scrolling? It is the Livecode "height" variable in pixels that has the limitation of 32,768. Perhaps if you had some example code to share things might make more sense? Your help is greatly appreciated! Rick On Aug 7, 2012, at 12:08 AM, Dan Friedman wrote: > Rick, > > Don't change the height of the field to match it's contents, set it to the display size. For example, if your field is to *display* on the entire screen, then do this: > > set the rect of fld "ViewingField5" to the rect of this card > > Then, fill it with the data. Next, set the iOS scroller's contentRect to (the formattedRect of field "ViewingField5"). Finally, in your scrollerDidScroll message, don't set the scroll of the group containing field "ViewingField5", simply set the scroll of field "ViewingField5". Make sense? > > Works fine for me. > > -Dan > > From MikeKerner at roadrunner.com Tue Aug 7 13:32:14 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 7 Aug 2012 13:32:14 -0400 Subject: Logging Device Tokens In-Reply-To: References: Message-ID: Databases are so stupid-easy that I am using a DB. I've tried both an angry hard-core DBMS and LC connected to . Both work great. If you are scared of/inexperienced with databases, then there are several LC database libraries that will make that problem go away. I think you guys are overthinking this. You are right that the server side is the hard part, but there are lots of ways to fix that: a) Implement an HTML server - there are several examples, and somebody (sorry, forgot who) has a LC Server hosting service, if you want to keep it all in LC. b) Think about it - the communication of the token and notification prefs does not have to be real-time i.e. this very millisecond. That leaves you with thousands of possibilities. For example, you could generate a file on the mobile device, encrypt it, then use one of the dropbox externals to upload it. Then your "server" can pull the file/data, decrypt it, and update the database at your leisure, or half-a-second later, whichever suits you better. c) Pick some other asynchronous method to transmit the data from the handheld. HTH Mike -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From capellan2000 at gmail.com Tue Aug 7 13:44:58 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 7 Aug 2012 10:44:58 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <14880324859.20120806224806@ahsoftware.net> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> Message-ID: <1344361498838-4653487.post@n4.nabble.com> Mark Wieder wrote > > Ick! No, I would never suggest something as cumbersome as that! > It's as simple as adding another dimension to the undo array. > Here's a minor adjustment to the Undo.Push and Undo.Pop commands in > the code I posted earlier. > [snip amazing LiveCode Script] > Ok, Now I get it. :-) For testing this code, I will built a small application, on top of the stack "newPentoolScript_v02" to store and restore the custom properties named "bpoints" and "cpoints". http://andregarzia.on-rev.com/alejandro/stacks/newPentoolScript_v02.zip This would be really interesting! :-D Hopefully, you will find time to create (and sell) a robust and general solution that could work with any kind of application created in this platform. Many Thanks for all your time and wisdom! Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653487.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Aug 7 14:06:32 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 13:06:32 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> Message-ID: <50215928.1070801@hyperactivesw.com> On 8/7/12 6:26 AM, Colin Holgate wrote: > I know of someone who was asked to prepare some Photoshop files at 32 > bit, 165 dpi. I'm not sure where the 165 comes from, but on the bit > front my friend was running into problems when using the 32 bits per > channel mode in Photoshop. > > I explained that 32 bit really means 8 bits per channel for RGB, and > 8 bit for transparency. That solved those problems. Also, programs > such as LiveCode naturally want 72 dpi images. If you want the image > to be bigger, you use more pixels. > > So, what color mode and dpi are the images you're trying? The ones you told her to use. :) We're down to 72 dpi and 8-bit photoshop images. I'm pretty well convinced now the issues I'm having as due to the new field object. I'm tinkering with that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Aug 7 14:30:03 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 14:30:03 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <50215928.1070801@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> Message-ID: <919B4D51-7E2F-4033-90DF-E5AAB26160C4@verizon.net> By which I'm sure you mean 8 bits per channel, otherwise known as regular 32 bit. On Aug 7, 2012, at 2:06 PM, J. Landman Gay wrote: > >The ones you told her to use. :) We're down to 72 dpi and 8-bit photoshop images. From andre at andregarzia.com Tue Aug 7 14:42:21 2012 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 7 Aug 2012 15:42:21 -0300 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> Message-ID: On Tue, Aug 7, 2012 at 1:54 AM, stephen barncard wrote: > It's a small lib that simplifies the communication with a sqlLite database, > using a small set of commands. > > Very logical and straightforward. > Thanks for the kind words Stephen =D The library is tested and targeted at SQLite databases but it works with any database supported by RevDB (with a sane SQL standard) > > > On Mon, Aug 6, 2012 at 9:26 PM, Mark Smith wrote: > >> What does your database library do? (BTW, I couldn't get your "hidden >> email" >> thing to offer up a real email address??) >> >> -- Mark >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653478.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > > > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode 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 maarten.koopmans at gmail.com Tue Aug 7 14:47:13 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Tue, 7 Aug 2012 20:47:13 +0200 Subject: iCloud external :-) In-Reply-To: References: <6F333C06-333F-4C1C-8BEB-2B771AF12327@m-r-d.de> Message-ID: .... once the LC desktop external interface (and LC desktop) is more "current" (i.e. Cocoa, entitlement support, ...) : definitely! --Maarten On Tuesday, August 7, 2012, Klaus on-rev wrote: > Am 07.08.2012 um 17:09 schrieb Magicgate Software - Skip Kimpel < > skip at magicgate.com >: > > > What is the possibility of accessing the iCloud files from a LC > > project running on Windows? > > Yep! > > What about a desktop version of the external? 8-) > > > SKIP > > > > On Fri, Aug 3, 2012 at 10:43 AM, Matthias Rebbe > > > wrote: > >> Maarten, > >> > >> i will definitely buy it. > >> > >> Regards, > >> > >> Matthias > >> > >> Am 03.08.2012 um 13:53 schrieb Maarten Koopmans < > maarten.koopmans at gmail.com >: > >> > >>> Folks, > >>> > >>> I have spent a lot of time on it over the last two months, but I > >>> finally have an iOS iCloud external working. One of the things I've > >>> learned is that iCloud works (by itself), but it is very easy to make > >>> a mistake - hence the apps that behave so badly with iCloud. > >>> > >>> Anyway, the external can:... > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Aug 7 14:53:01 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 13:53:01 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <919B4D51-7E2F-4033-90DF-E5AAB26160C4@verizon.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <919B4D51-7E2F-4033-90DF-E5AAB26160C4@verizon.net> Message-ID: <5021640D.20206@hyperactivesw.com> On 8/7/12 1:30 PM, Colin Holgate wrote: > By which I'm sure you mean 8 bits per channel, otherwise known as regular 32 bit. Yeah. Whatever you said is what I got. I'm fuzzy on all those details. Said friend remarked that you have been designated an official Photoshop Professional. Congrats! I mention it so the list will know we have a pro in our midst. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matthias_livecode_150811 at m-r-d.de Tue Aug 7 14:55:55 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 7 Aug 2012 20:55:55 +0200 Subject: Dos Ascii to Windows Ansi or Mac Roman In-Reply-To: References: Message-ID: <568BBCB8-C22A-4AD4-B4CA-3CE11341962C@m-r-d.de> Thanks all for your answers. I am doing now a simple replace to get the characters corrected. Matthias From jacque at hyperactivesw.com Tue Aug 7 14:58:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 13:58:04 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <50215928.1070801@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> Message-ID: <5021653C.1080503@hyperactivesw.com> On 8/7/12 1:06 PM, J. Landman Gay wrote: > I'm pretty well convinced now the issues I'm having as due to the new > field object. I'm tinkering with that. > Okay, this is wrong. I've narrowed down the crash to a single Photoshop jpg image. I couldn't even select it in the application browser without LiveCode blowing up and quitting unexpectedly. Any use of the image in a script crashed only intermittently which is why I couldn't figure it out before. I used Graphic Converter to resave it as a new jpg and so far it's been fine. No crashes. I'm not sure what Photoshop did to that jpg. All the other images were saved as png and don't seem to have any stability issues. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Aug 7 15:20:12 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 15:20:12 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <5021640D.20206@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <919B4D51-7E2F-4033-90DF-E5AAB26160C4@verizon.net> <5021640D.20206@hyperactivesw.com> Message-ID: <580F5DDC-CC16-4F45-893B-D3CB8165BED3@verizon.net> Adobe Community Professional, not a Photoshop one. On Aug 7, 2012, at 2:53 PM, "J. Landman Gay" wrote: > >Said friend remarked that you have been designated an official Photoshop Professional. Congrats! I mention it so the list will know we have a pro in our midst. From rdimola at evergreeninfo.net Tue Aug 7 15:25:01 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 7 Aug 2012 15:25:01 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <5021653C.1080503@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> Message-ID: <003a01cd74d2$57366830$05a33890$@net> Jacque, I been using PIXresizer from http://bluefive.pair.com/ for years and it never disappoints. It is freeware and does single image or folder level resolution/format conversions. Every image I use gets converted to jpgs(or just resaved from jpg to jpg) with PIXresizer regardless of the original source and I have had no more problems. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Tuesday, August 07, 2012 2:58 PM To: How to use LiveCode Subject: Re: What was that thing with Photoshop images? On 8/7/12 1:06 PM, J. Landman Gay wrote: > I'm pretty well convinced now the issues I'm having as due to the new > field object. I'm tinkering with that. > Okay, this is wrong. I've narrowed down the crash to a single Photoshop jpg image. I couldn't even select it in the application browser without LiveCode blowing up and quitting unexpectedly. Any use of the image in a script crashed only intermittently which is why I couldn't figure it out before. I used Graphic Converter to resave it as a new jpg and so far it's been fine. No crashes. I'm not sure what Photoshop did to that jpg. All the other images were saved as png and don't seem to have any stability issues. -- 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 maarten.koopmans at gmail.com Tue Aug 7 15:24:52 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Tue, 7 Aug 2012 21:24:52 +0200 Subject: [Thanks!] Re: [ANN] Livecode iCloud iOS external In-Reply-To: References: <5C9C4ADA-010F-4CD7-A9F4-07583B78673C@gmail.com> Message-ID: A big thank you to my current supporters/customers. Here's to a lively externals market! --Maarten On Monday, August 6, 2012, Maarten Koopmans wrote: > LOL. I want forced spellchecking *in my fingers*... > > On Mon, Aug 6, 2012 at 9:26 PM, Peter M. Brigham > > wrote: > > On Aug 6, 2012, at 1:20 PM, Maarten Koopmans wrote: > > > >> ...my soellchecker turns out to be broken?. > > > > Apparently. :-) > > > > -- 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 scott at tactilemedia.com Tue Aug 7 16:43:26 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 07 Aug 2012 13:43:26 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <5021653C.1080503@hyperactivesw.com> Message-ID: Not sure but I think there *may* have been an issue way back when using JPEG images that were saved in progressive format. But apparently you solve the problem so no need to check. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Jacque Landman Gay wrote: > On 8/7/12 1:06 PM, J. Landman Gay wrote: > >> I'm pretty well convinced now the issues I'm having as due to the new >> field object. I'm tinkering with that. >> > > Okay, this is wrong. I've narrowed down the crash to a single Photoshop > jpg image. I couldn't even select it in the application browser without > LiveCode blowing up and quitting unexpectedly. Any use of the image in a > script crashed only intermittently which is why I couldn't figure it out > before. > > I used Graphic Converter to resave it as a new jpg and so far it's been > fine. No crashes. I'm not sure what Photoshop did to that jpg. All the > other images were saved as png and don't seem to have any stability issues. From bobs at twft.com Tue Aug 7 17:02:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Tue, 7 Aug 2012 14:02:52 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <5021653C.1080503@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> Message-ID: I'm going to say that the preview thumbnail is corrupted. I have had the Finder lock on other files where the preview thumbnail was messed up. Bob On Aug 7, 2012, at 11:58 AM, J. Landman Gay wrote: > On 8/7/12 1:06 PM, J. Landman Gay wrote: > >> I'm pretty well convinced now the issues I'm having as due to the new >> field object. I'm tinkering with that. >> > > Okay, this is wrong. I've narrowed down the crash to a single Photoshop jpg image. I couldn't even select it in the application browser without LiveCode blowing up and quitting unexpectedly. Any use of the image in a script crashed only intermittently which is why I couldn't figure it out before. > > I used Graphic Converter to resave it as a new jpg and so far it's been fine. No crashes. I'm not sure what Photoshop did to that jpg. All the other images were saved as png and don't seem to have any stability issues. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Aug 7 20:19:40 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 7 Aug 2012 17:19:40 -0700 (PDT) Subject: What was that thing with Photoshop images? In-Reply-To: <5021653C.1080503@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> Message-ID: <1344385180101-4653500.post@n4.nabble.com> Hi Jacque, J. Landman Gay wrote > > Okay, this is wrong. I've narrowed down the crash to a single Photoshop > jpg image. I couldn't even select it in the application browser without > LiveCode blowing up and quitting unexpectedly. Any use of the image in a > script crashed only intermittently which is why I couldn't figure it out > before. > I used Graphic Converter to resave it as a new jpg and so far it's been > fine. No crashes. I'm not sure what Photoshop did to that jpg. All the > other images were saved as png and don't seem to have any stability > issues. > Will you send this Photoshop JPG image to RunRev? In this way, they could dissect it and verify what was wrong with that image. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-was-that-thing-with-Photoshop-images-tp4653470p4653500.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Tue Aug 7 20:25:49 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 20:25:49 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <1344385180101-4653500.post@n4.nabble.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> Message-ID: Can I have it too? On Aug 7, 2012, at 8:19 PM, Alejandro Tejada wrote: > > Will you send this Photoshop JPG image to RunRev? From capellan2000 at gmail.com Tue Aug 7 21:53:31 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 7 Aug 2012 18:53:31 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> Message-ID: <1344390811478-4653502.post@n4.nabble.com> Andre Garzia-3 wrote > > The library is tested and targeted at SQLite databases but it works > with any database supported by RevDB (with a sane SQL standard) > How different is this library from SQLYoga? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653502.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Aug 7 21:58:09 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 7 Aug 2012 18:58:09 -0700 (PDT) Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> Message-ID: <1344391089079-4653503.post@n4.nabble.com> What do you think, Colin? This file have a sequence of bytes that the engine reads in the wrong way. How many bytes could that be? 2, 3 or 4 characters in sequence? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-was-that-thing-with-Photoshop-images-tp4653470p4653503.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Tue Aug 7 22:03:15 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 22:03:15 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <1344391089079-4653503.post@n4.nabble.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> <1344391089079-4653503.post@n4.nabble.com> Message-ID: I have no idea, I haven't seen the JPEG. I would start by seeing if it goes wrong for me, and then to see if there was anything odd about the JPEG. On Aug 7, 2012, at 9:58 PM, Alejandro Tejada wrote: > What do you think, Colin? From jacque at hyperactivesw.com Tue Aug 7 22:16:04 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 21:16:04 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> Message-ID: <5021CBE4.20804@hyperactivesw.com> On 8/7/12 7:25 PM, Colin Holgate wrote: > Can I have it too? > > > On Aug 7, 2012, at 8:19 PM, Alejandro Tejada wrote: > >> >> Will you send this Photoshop JPG image to RunRev? Sure, anyone who wants to examine it can get it from my dropbox here: https://dl.dropbox.com/u/23431607/crasherGradient.jpg It may not crash for you, it might have been my stack. But if you find out anything I'd like to know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Aug 7 22:20:06 2012 From: coiin at verizon.net (Colin Holgate) Date: Tue, 07 Aug 2012 22:20:06 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <5021CBE4.20804@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> <5021CBE4.20804@hyperactivesw.com> Message-ID: Is that link supposed to take me to something? On Aug 7, 2012, at 10:16 PM, "J. Landman Gay" wrote: > https://dl.dropbox.com/u/23431607/crasherGradient.jpg From mwieder at ahsoftware.net Tue Aug 7 22:41:58 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2012 19:41:58 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <5021CBE4.20804@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> <5021CBE4.20804@hyperactivesw.com> Message-ID: <66955556265.20120807194158@ahsoftware.net> Jacque- Tuesday, August 7, 2012, 7:16:04 PM, you wrote: > It may not crash for you, it might have been my stack. But if you find > out anything I'd like to know. I created a new stack, made a new image, and set the filename to the url you specified. It worked fine here with no crashes on Win XP and OSX Snow Leopard in LC 4.6.4, 5.0.2, and 5.5.1. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Tue Aug 7 23:03:27 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 22:03:27 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> <5021CBE4.20804@hyperactivesw.com> Message-ID: <5021D6FF.1050607@hyperactivesw.com> On 8/7/12 9:20 PM, Colin Holgate wrote: > Is that link supposed to take me to something? You should be able to right-click on the link and save the image to your drive. > On Aug 7, 2012, at 10:16 PM, "J. Landman Gay" wrote: > >> https://dl.dropbox.com/u/23431607/crasherGradient.jpg > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 7 23:05:26 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 07 Aug 2012 22:05:26 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <66955556265.20120807194158@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <5021653C.1080503@hyperactivesw.com> <1344385180101-4653500.post@n4.nabble.com> <5021CBE4.20804@hyperactivesw.com> <66955556265.20120807194158@ahsoftware.net> Message-ID: <5021D776.2050100@hyperactivesw.com> On 8/7/12 9:41 PM, Mark Wieder wrote: > Jacque- > > Tuesday, August 7, 2012, 7:16:04 PM, you wrote: > >> It may not crash for you, it might have been my stack. But if you find >> out anything I'd like to know. > > I created a new stack, made a new image, and set the filename to the > url you specified. It worked fine here with no crashes on Win XP and > OSX Snow Leopard in LC 4.6.4, 5.0.2, and 5.5.1. > Yeah, was afraid of that. Or maybe I was happy to hear it. I was using the image as a custom hilite pattern in a list field (which doesn't work anyway.) For a while I thought that was the problem, that maybe the new field object had an issue with it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Tue Aug 7 23:29:06 2012 From: chipp at chipp.com (Chipp Walters) Date: Tue, 7 Aug 2012 22:29:06 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> Message-ID: FWIW, dpi doesn't really matter for display images. 72,75,300 dpi all display the same as long as they have the same number of pixels.. On Tue, Aug 7, 2012 at 6:26 AM, Colin Holgate wrote: > I know of someone who was asked to prepare some Photoshop files at 32 bit, > 165 dpi. I'm not sure where the 165 comes from, but on the bit front my > friend was running into problems when using the 32 bits per channel mode in > Photoshop. > > I explained that 32 bit really means 8 bits per channel for RGB, and 8 bit > for transparency. That solved those problems. Also, programs such as > LiveCode naturally want 72 dpi images. If you want the image to be bigger, > you use more pixels. > From andre at andregarzia.com Wed Aug 8 00:05:57 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Aug 2012 01:05:57 -0300 Subject: Need beta testers for new database library In-Reply-To: <1344390811478-4653502.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: On Tue, Aug 7, 2012 at 10:53 PM, Alejandro Tejada wrote: > > Andre Garzia-3 wrote >> >> The library is tested and targeted at SQLite databases but it works >> with any database supported by RevDB (with a sane SQL standard) >> > > How different is this library from SQLYoga? The quick version is that SQLYoga has more features but my library is easier to learn. Its the difference between riding a bicycle and piloting a helicopter. Sometimes, you want a bicycle... (its more like a motorcycle... and amphibious) > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653502.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Wed Aug 8 00:05:57 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Aug 2012 01:05:57 -0300 Subject: Need beta testers for new database library In-Reply-To: <1344390811478-4653502.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: On Tue, Aug 7, 2012 at 10:53 PM, Alejandro Tejada wrote: > > Andre Garzia-3 wrote >> >> The library is tested and targeted at SQLite databases but it works >> with any database supported by RevDB (with a sane SQL standard) >> > > How different is this library from SQLYoga? The quick version is that SQLYoga has more features but my library is easier to learn. Its the difference between riding a bicycle and piloting a helicopter. Sometimes, you want a bicycle... (its more like a motorcycle... and amphibious) > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653502.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From Mark_Smith at cpe.umanitoba.ca Wed Aug 8 00:18:29 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 7 Aug 2012 21:18:29 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: <1344114132704-4653371.post@n4.nabble.com> References: <1344114132704-4653371.post@n4.nabble.com> Message-ID: <1344399509189-4653512.post@n4.nabble.com> Alejandro Tejada wrote > > I don't know anything about databases... > How could I help? > I guarantee that I could make mistakes > that you could not believe were possible > while using your application... :-D > > Al > Where's the "Like" icon when you need it :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653512.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Wed Aug 8 00:30:56 2012 From: coiin at verizon.net (Colin Holgate) Date: Wed, 08 Aug 2012 00:30:56 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <50215928.1070801@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> Message-ID: The image does seem to be fully usable. Given how small it is, why do you not use PNG instead of JPEG? Even with saving the JPEG as PNG, it's smaller. If you took the original gradient straight to PNG, it may be smaller still. From Mark_Smith at cpe.umanitoba.ca Wed Aug 8 00:34:48 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 7 Aug 2012 21:34:48 -0700 (PDT) Subject: Creating a reusable object Message-ID: <1344400488227-4653514.post@n4.nabble.com> According to Kevin's presentation at RRLive '12 this should be easy. So what am I doing wrong? I want to create a reusable graphic object that would sit at the left edge of some cards, and not others. So, here goes... Create a rectangle object, make it opaque, i filled mine with 20% grey. It will also be fixed width so I set it to the width I want. To make it reusable it will need to be able to respond to messages so we must put it in the message path. So, group the object, select "behave like a background" but set "shared group" off. I don't want it on every card, just some. Select the script of the group and include the following: on resizestack set the height of graphic 1 of me to the height of this card set the topleft of graphic 1 of me to 0,0 pass resizestack end resize stack So far so good. When you resize the card the object resizes to the left of the card. Now, since I don't want it selectable I also set the rectangle to disabled and in the application browser set the rectangle to unselectable. So, now it lives on the left of the card and resizes, but is not selectable. All good. Now the fun begins. I make a new card. The graphic shows up (shouldn't have if I understand "shared group" correctly). So, I try and delete the object from the second card and it deletes it from the first card too. So, looks like I have a shared object that behaves like a background, not a reusable object that responds to messages. Where did I screw up? Have tried this a few times and always get the same result. Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-tp4653514.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Aug 8 00:37:28 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2012 21:37:28 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> Message-ID: <106962486328.20120807213728@ahsoftware.net> Colin- Tuesday, August 7, 2012, 9:30:56 PM, you wrote: > Even with saving the JPEG as PNG, it's smaller. If you took the > original gradient straight to PNG, it may be smaller still. Eventually you'll be able to fold it into its own pocket and never have to worry about parking again. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Aug 8 00:41:44 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 7 Aug 2012 21:41:44 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1344361498838-4653487.post@n4.nabble.com> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> Message-ID: <62962741984.20120807214144@ahsoftware.net> Alejandro- Tuesday, August 7, 2012, 10:44:58 AM, you wrote: > Hopefully, you will find time to create (and sell) > a robust and general solution that could work with > any kind of application created in this platform. OK. I uploaded libUndo to revOnline as a general purpose mechanism. Turns out you can't compress arrays after all. Or maybe you just can't decompress them. Anyway, that doesn't work, so I reverted to just storing the data as is. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Aug 8 02:01:41 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Aug 2012 01:01:41 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> Message-ID: <502200C5.1040408@hyperactivesw.com> On 8/7/12 11:30 PM, Colin Holgate wrote: > The image does seem to be fully usable. Given how small it is, why do > you not use PNG instead of JPEG? > > Even with saving the JPEG as PNG, it's smaller. If you took the > original gradient straight to PNG, it may be smaller still. I started with png originally. It didn't display right for what I was doing so I converted to jpg using Graphic Converter, which worked. Then I received a new jpg made in Photoshop and that one crashed like mad. That's when you guys came in. Since it behaves for everyone else, the crashes could have been something to do with my stack. I was messing around a lot. The gradient is for a custom hilite pattern in a scrolling field. Now that the crashing is over with, the hilite still doesn't work right. Scott Rossi gave me a nice workaround which I may use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at elementarysoftware.com Wed Aug 8 02:20:03 2012 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 7 Aug 2012 23:20:03 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <502200C5.1040408@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> Message-ID: <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> I can't remember, was the image imported into LC or referenced from disk? Could the file on disk be fine but some hiccup have happened during the import? -- Scott Morrow On Aug 7, 2012, at 11:01 PM, J. Landman Gay wrote: > On 8/7/12 11:30 PM, Colin Holgate wrote: >> The image does seem to be fully usable. Given how small it is, why do >> you not use PNG instead of JPEG? >> >> Even with saving the JPEG as PNG, it's smaller. If you took the >> original gradient straight to PNG, it may be smaller still. > > I started with png originally. It didn't display right for what I was doing so I converted to jpg using Graphic Converter, which worked. Then I received a new jpg made in Photoshop and that one crashed like mad. That's when you guys came in. Since it behaves for everyone else, the crashes could have been something to do with my stack. I was messing around a lot. > > The gradient is for a custom hilite pattern in a scrolling field. Now that the crashing is over with, the hilite still doesn't work right. Scott Rossi gave me a nice workaround which I may use. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Wed Aug 8 08:21:28 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 8 Aug 2012 05:21:28 -0700 (PDT) Subject: HTTP authentication configuration with on-rev In-Reply-To: <1344162181.65701.YahooMailNeo@web160906.mail.bf1.yahoo.com> References: <1344162181.65701.YahooMailNeo@web160906.mail.bf1.yahoo.com> Message-ID: <1344428488.9537.YahooMailNeo@web160903.mail.bf1.yahoo.com> Well, I have one part solved: cPanel allows configuration of Basic authentication. Can anyone help with the setup of Digest authentication? TIA, 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: Jan Schenkel To: How to use LiveCode ; LiveCode develop Cc: Sent: Sunday, August 5, 2012 12:23 PM Subject: HTTP authentication configuration with on-rev Hi all, Can anyone give pointers on how to configure two directories with HTTP Basic and Digest authentication with the on-rev servers? I've been looking at various web pages describing what to put into .htaccess files but can't get it to work properly. My goal is to test my new HTTP library authentication support and provide an online demo for it. Thanks in advance, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time."? (La Rochefoucauld) _______________________________________________ livecode-dev mailing list livecode-dev at lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev From Mark_Smith at cpe.umanitoba.ca Wed Aug 8 08:52:00 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 8 Aug 2012 05:52:00 -0700 (PDT) Subject: Creating a reusable object - Part 2 Message-ID: <1344430320248-4653520.post@n4.nabble.com> I will try and simplify my question. If I want to create an object that responds to messages, but does not automatically appear on each new card how would I do that? Thanks [My own lame first attempts are this: create the object, group it, set behave like a background true, set shared group to false]. When I create a new card the object shows up and when I try to delete it it warns "this group appears on multiple cards, really delete it?". If I do it deletes all of them. I don't want it to show up on new cards, but I do want it to respond to messages. Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-Part-2-tp4653520.html Sent from the Revolution - User mailing list archive at Nabble.com. From bleiler at buffalo.edu Wed Aug 8 09:04:40 2012 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Wed, 8 Aug 2012 09:04:40 -0400 Subject: Creating a reusable object In-Reply-To: <1344400488227-4653514.post@n4.nabble.com> References: <1344400488227-4653514.post@n4.nabble.com> Message-ID: On Aug 8, 2012, at 12:34 AM, Mark Smith wrote: > I make a new card. The graphic shows up (shouldn't have if I > understand > "shared group" correctly). So, I try and delete the object from the > second > card and it deletes it from the first card too. > So, looks like I have a shared object that behaves like a > background, not a > reusable object that responds to messages. > > Where did I screw up? Have tried this a few times and always get the > same > result. Setting BackgroundBehavior of a group to true does 2 major things. 1. When you create a new card, all of the groups on the current card whose backgroundBehavior is true will be placed on the new card. If you have a background group on multiple cards and want to remove it from one card but not others, you must select the group, then under the "Object" menu choose "Remove Group". You add a group to a card by selecting the "Object" menu and choosing your group from the "Place Group" sub menu. Do NOT use copy and paste to put the group on multiple cards, you will be creating new unique controls. 2. The script of a group with backgroundBehavior set to true is processed AFTER the card EXCEPT for messages that pass through controls within the group. It can get very confusing. If you're going to use backgrounds I'd suggest you play around with it until you think you understand it before doing a lot of coding. There have been long discussions over the years about how each of us models this in our own heads. I've never heard of one that is simple but complete. With that said, one way to think of it is that a group with backgroundBehavior set to true is somewhat independent of any given card. You might even think of it as another card between the card and the stack. You can have more than one group as a background on a card and the order their scripts are processed in the message path depends on the groups number relative to the other controls on the CURRENT card. They could be in a different order on another card!! Definitely, it can be a little tricky to get your head around! This article by Richard Gaskin might be of some help getting started. http://www.fourthworld.com/embassy/articles/revolution_message_path.html Another option is to have a shared control that behaves like any other control on a card i.e. its script is processed like a control on the card not after the card and is not automatically placed on new cards. In this case, do NOT set the backgroundBehavior to true but instead just set SharedBehavior to true. Then, to use the group on multiple cards, go to the card where you want to use the group, select the "Object" menu and choose your group from the "Place Group" sub menu. Do NOT use copy and paste to put the group on multiple cards, you will be creating new unique controls. Any group placed on more than one card will have its SharedBehavior set to true regardless of the value of its backgroundBehavior property. Good luck! Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From bonnmike at gmail.com Wed Aug 8 09:11:43 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 8 Aug 2012 07:11:43 -0600 Subject: HTTP authentication configuration with on-rev In-Reply-To: <1344428488.9537.YahooMailNeo@web160903.mail.bf1.yahoo.com> References: <1344162181.65701.YahooMailNeo@web160906.mail.bf1.yahoo.com> <1344428488.9537.YahooMailNeo@web160903.mail.bf1.yahoo.com> Message-ID: You might do some tests (i'm sure you've already done so) setting up your .htaccess to allow digest auth and then check the error log in cpanel. It might provide enough hint to get you pointed the right direction. I don't know enough about digest authentication to suggest anything else yet. On Wed, Aug 8, 2012 at 6:21 AM, Jan Schenkel wrote: > Well, I have one part solved: cPanel allows configuration of Basic > authentication. > Can anyone help with the setup of Digest authentication? > > TIA, > > 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: Jan Schenkel > To: How to use LiveCode ; LiveCode develop > > Cc: > Sent: Sunday, August 5, 2012 12:23 PM > Subject: HTTP authentication configuration with on-rev > > Hi all, > > Can anyone give pointers on how to configure two directories with HTTP > Basic and Digest authentication with the on-rev servers? > I've been looking at various web pages describing what to put into > .htaccess files but can't get it to work properly. > My goal is to test my new HTTP library authentication support and provide > an online demo for it. > > Thanks in advance, > > Jan Schenkel. > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 8 09:53:29 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Aug 2012 09:53:29 -0400 Subject: [off]iPhone 5 Dimension Change? Message-ID: I presume that most of ye fellow mobile wonks have seen this already: http://9to5mac.com/2012/08/07/upcoming-ios-6-is-scalable-to-taller-640-x-1136-iphone-display-shows-possible-next-generation-device-user-interface/ -- 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 klaus at major.on-rev.com Wed Aug 8 10:00:48 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 8 Aug 2012 16:00:48 +0200 Subject: [off]iPhone 5 Dimension Change? In-Reply-To: References: Message-ID: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> Hi Mike, Am 08.08.2012 um 15:53 schrieb Mike Kerner : > I presume that most of ye fellow mobile wonks have seen this already: WONK? 8-) From the OS X dictionary: wonk |w??k| noun 1. N. Amer. , a studious or hard-working person: 2. Brit., an incompetent or inexperienced sailor, especially a naval cadet. So my question, are you british or american? :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From MikeKerner at roadrunner.com Wed Aug 8 10:08:19 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Aug 2012 10:08:19 -0400 Subject: [off]iPhone 5 Dimension Change? In-Reply-To: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> References: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> Message-ID: I am a colonist with a boat who doesn't appreciate the way the Brits misuse red and green in regard to port and starboard. Now that I have offended everyone in the room, I am going back to work. -- 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 toolbook at kestner.de Wed Aug 8 10:09:37 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Aug 2012 16:09:37 +0200 Subject: revAddXMLNode - how to specify a parent node if multiple? Message-ID: <003a01cd756f$72093c80$561bb580$@de> Hello, perhaps somebody with some XML experience can help me. I want to create a xml file where some parent nodes exist multiple times with different child contents. My problem is to add the child nodes to the correct (last) parent nodes. The file should look like this: 02 3000013121 03 9783000013126 After having closed the first parent node , I create the next parent . Up to here, everything is ok, it looks like this: 02 3000013121 But when adding the next child node, it appends to the first parent node and not sequential to the last one, so that the output looks like this: 02 3000013121 03 9783000013126 revAddXMLNode treeID, parentNode,nodeName,nodeContents, [location within the parent node] has no more parameters to control that. I can't work with attributes, because the content of the XML file is given. Where does LC appends a new child? Always to the first found parent? Do I have to fiddle around with revXMLNextSibling(treeID,siblingNode) or is there a more straightforward approach to this? Any experience welcome Tiemo From klaus at major.on-rev.com Wed Aug 8 10:12:05 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 8 Aug 2012 16:12:05 +0200 Subject: [off]iPhone 5 Dimension Change? In-Reply-To: References: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> Message-ID: Hello Sailor, Am 08.08.2012 um 16:08 schrieb Mike Kerner : > > I am a colonist with a boat who doesn't appreciate the way the Brits misuse > red and green in regard to port and starboard. > > > Now that I have offended everyone in the room, I am going back to work. :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From rdimola at evergreeninfo.net Wed Aug 8 10:45:59 2012 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 8 Aug 2012 10:45:59 -0400 Subject: [off]iPhone 5 Dimension Change? In-Reply-To: References: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> Message-ID: <008c01cd7574$86d207a0$947616e0$@net> As Jimmy Buffet would say "Keep it in between the navigational beacons". Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Wednesday, August 08, 2012 10:08 AM To: How to use LiveCode Subject: Re: [off]iPhone 5 Dimension Change? I am a colonist with a boat who doesn't appreciate the way the Brits misuse red and green in regard to port and starboard. Now that I have offended everyone in the room, I am going back to work. -- 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 janschenkel at yahoo.com Wed Aug 8 11:30:00 2012 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 8 Aug 2012 08:30:00 -0700 (PDT) Subject: revAddXMLNode - how to specify a parent node if multiple? In-Reply-To: <003a01cd756f$72093c80$561bb580$@de> References: <003a01cd756f$72093c80$561bb580$@de> Message-ID: <1344439800.89550.YahooMailNeo@web160903.mail.bf1.yahoo.com> You need to use brackets and indices in the path to the parent node. Here's a quick example to explain it: - create a new stack - drop a field onto it - drop a button onto it and set its script to ##on mouseUp ?? local tXMLText,tXMLTree ?? put "" & return & \ ???????? "" into tXMLText ?? put revCreateXMLTree(tXMLText,false,true,false) into tXMLTree ?? -- ?? local tRootNode, tCurrentNode ?? put revXMLRootNode(tXMLTree) into tRootNode ?? repeat with tIndex = 1 to 3 ????? revAddXMLNode tXMLTree, tRootNode, "productidentifier", empty, "after" ????? put tRootNode & "/productidentifier[" & tIndex & "]" into tCurrentNode ????? revAddXMLNode tXMLTree, tCurrentNode, "b221", tIndex ?? end repeat ?? -- ?? put revXMLText(tXMLTree, empty, true) into field 1 ?? revDeleteXMLTree tXMLTree end mouseUp ## Now click on the button and you should see the following text appear: ## ? 1 ? 2 ? 3 ## HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From MikeKerner at roadrunner.com Wed Aug 8 11:34:37 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 8 Aug 2012 11:34:37 -0400 Subject: [off]iPhone 5 Dimension Change? In-Reply-To: <008c01cd7574$86d207a0$947616e0$@net> References: <79116A42-928D-4156-BFA8-A49BFE2C01A1@major.on-rev.com> <008c01cd7574$86d207a0$947616e0$@net> Message-ID: I don't think he was referring to sailing. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Wed Aug 8 11:48:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Aug 2012 10:48:42 -0500 Subject: Creating a reusable object - Part 2 In-Reply-To: <1344430320248-4653520.post@n4.nabble.com> References: <1344430320248-4653520.post@n4.nabble.com> Message-ID: <50228A5A.1020409@hyperactivesw.com> On 8/8/12 7:52 AM, Mark Smith wrote: > I will try and simplify my question. > > If I want to create an object that responds to messages, but does not > automatically appear on each new card how would I do that? I'd insert a script into back. That will catch messages from anywhere and doesn't need to be attached to any card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 8 11:52:36 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Aug 2012 10:52:36 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> Message-ID: <50228B44.7010206@hyperactivesw.com> On 8/8/12 1:20 AM, Scott Morrow wrote: > I can't remember, was the image imported into LC or referenced from > disk? Could the file on disk be fine but some hiccup have happened > during the import? That could very well be. The image was imported into the stack but not via the File menu. I did it from the message box via a handler I've used for years. It just takes a file path and puts the image from disk into an existing image. It's one of the handiest shortcuts I have when I want to update an image without changing any of its properties, particularly its name and ID. I've never had it fail before but it may have this time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed Aug 8 12:09:39 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Aug 2012 09:09:39 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344390811478-4653502.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> I can answer as I purchased sqlYoga and have tested dbLib. The former allows multiple database connections. It allows you to save those connections to a button (puts info into custom prop) and then load them as you need, or you can simply work with them in memory. You can create other objects as well. There are query objects, table objects, etc. and working with them is simply a matter of calling functions and commands that set or get the parameters of those objects. dbLib works with one connection at a time. While you can save all the set conditions and restore them later, it is really designed to work with one database connection at a time, and one set of query parameters at a time. When you set conditions on an sqlYoga object, the conditions are persistent throughout multiple queries. dbLib however resets the conditions after each query. Frankly I find that approach a little odd, but it is workable, since you can save your conditions to an array. sqlYoga also has a lot of utility functions. For instance you can get the structure of a table with a simple function call, or get a list of tables in the database without knowing any SQL or the particular syntax for that flavor of SQL. Both do a fairly good job at insulating the developer from having to write his own queries, but complex queries like compound conditionals with mixed and's and or's however will have to be coded and both provide a way to pass complex queries. dbLib is much simpler to get started with. It doesn't bother about the connection itself. It expects you to handle that part. Once you do that, you pass the id to a function which stores it, and all calls after that are made with that id. sqlYoga requires that you create a database object, and then a connection object in memory at least before you can start working with your tables. sqlYoga has a bit of a learning curve to understand how to work with the custom "objects" that Trevor came up with. Once you get past that you begin to see the advantages of doing things that way. I have a method I use for accessing my database that is used throughout most of the app I am working on, but from time to time I find I need a quick query, and I don't want to have to reset the primary object's parameters and then restore them again. Having the ability to create and optionally save multiple named database objects with sqlYoga is really handy in those situations. Bob On Aug 7, 2012, at 6:53 PM, Alejandro Tejada wrote: > Andre Garzia-3 wrote >> >> The library is tested and targeted at SQLite databases but it works >> with any database supported by RevDB (with a sane SQL standard) >> > > How different is this library from SQLYoga? > > Al From toolbook at kestner.de Wed Aug 8 12:49:10 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 8 Aug 2012 18:49:10 +0200 Subject: AW: revAddXMLNode - how to specify a parent node if multiple? In-Reply-To: <1344439800.89550.YahooMailNeo@web160903.mail.bf1.yahoo.com> References: <003a01cd756f$72093c80$561bb580$@de> <1344439800.89550.YahooMailNeo@web160903.mail.bf1.yahoo.com> Message-ID: <004a01cd7585$bc426360$34c72a20$@de> Hi Jan, great! I knew, there must have been such a straight forward method :) Thanks again! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Jan Schenkel > Gesendet: Mittwoch, 8. August 2012 17:30 > An: How to use LiveCode > Betreff: Re: revAddXMLNode - how to specify a parent node if multiple? > > You need to use brackets and indices in the path to the parent node. > > Here's a quick example to explain it: > - create a new stack > - drop a field onto it > - drop a button onto it and set its script to ##on mouseUp > ?? local tXMLText,tXMLTree > ?? put "" & return & \ > ???????? "" into tXMLText > ?? put revCreateXMLTree(tXMLText,false,true,false) into tXMLTree > ?? -- > ?? local tRootNode, tCurrentNode > ?? put revXMLRootNode(tXMLTree) into tRootNode > ?? repeat with tIndex = 1 to 3 > ????? revAddXMLNode tXMLTree, tRootNode, "productidentifier", empty, > "after" > ????? put tRootNode & "/productidentifier[" & tIndex & "]" into > tCurrentNode > ????? revAddXMLNode tXMLTree, tCurrentNode, "b221", tIndex > ?? end repeat > ?? -- > ?? put revXMLText(tXMLTree, empty, true) into field 1 > ?? revDeleteXMLTree tXMLTree > end mouseUp > ## > > Now click on the button and you should see the following text appear: > ## > > > ? 1 > ? 2 > ? 3 > > > ## > > > HTH, > > > Jan Schenkel. > > > ===== > Quartam Reports & PDF Library for LiveCode www.quartam.com > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rodmccall491 at googlemail.com Wed Aug 8 13:16:14 2012 From: rodmccall491 at googlemail.com (Rod McCall) Date: Wed, 8 Aug 2012 19:16:14 +0200 Subject: Need beta testers for new database library In-Reply-To: <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> Message-ID: Dear Andre, Yes I may be interested in trying this out as we are doing a lot of work right now with SQLite, although I have to confess we are using a Python server for that right now. That said access via LiveCode in On 8 August 2012 18:09, Bob Sneidar wrote: > I can answer as I purchased sqlYoga and have tested dbLib. > > The former allows multiple database connections. It allows you to save those connections to a button (puts info into custom prop) and then load them as you need, or you can simply work with them in memory. You can create other objects as well. There are query objects, table objects, etc. and working with them is simply a matter of calling functions and commands that set or get the parameters of those objects. > > dbLib works with one connection at a time. While you can save all the set conditions and restore them later, it is really designed to work with one database connection at a time, and one set of query parameters at a time. > > When you set conditions on an sqlYoga object, the conditions are persistent throughout multiple queries. dbLib however resets the conditions after each query. Frankly I find that approach a little odd, but it is workable, since you can save your conditions to an array. > > sqlYoga also has a lot of utility functions. For instance you can get the structure of a table with a simple function call, or get a list of tables in the database without knowing any SQL or the particular syntax for that flavor of SQL. Both do a fairly good job at insulating the developer from having to write his own queries, but complex queries like compound conditionals with mixed and's and or's however will have to be coded and both provide a way to pass complex queries. > > dbLib is much simpler to get started with. It doesn't bother about the connection itself. It expects you to handle that part. Once you do that, you pass the id to a function which stores it, and all calls after that are made with that id. sqlYoga requires that you create a database object, and then a connection object in memory at least before you can start working with your tables. > > sqlYoga has a bit of a learning curve to understand how to work with the custom "objects" that Trevor came up with. Once you get past that you begin to see the advantages of doing things that way. I have a method I use for accessing my database that is used throughout most of the app I am working on, but from time to time I find I need a quick query, and I don't want to have to reset the primary object's parameters and then restore them again. Having the ability to create and optionally save multiple named database objects with sqlYoga is really handy in those situations. > > Bob > > > On Aug 7, 2012, at 6:53 PM, Alejandro Tejada wrote: > >> Andre Garzia-3 wrote >>> >>> The library is tested and targeted at SQLite databases but it works >>> with any database supported by RevDB (with a sane SQL standard) >>> >> >> How different is this library from SQLYoga? >> >> Al > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr Rod McCall Researcher in in-car, mixed reality technology and gaming Interdisciplinary Centre for Security, Reliability and Trust University of Luxembourg Blog: www.rodmc.com twitter:rodlux Publications and Information available on my blog From rodmccall491 at googlemail.com Wed Aug 8 13:20:10 2012 From: rodmccall491 at googlemail.com (Rod McCall) Date: Wed, 8 Aug 2012 19:20:10 +0200 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> Message-ID: Dear Andre, Oops, I am grappling with a new trackpad and an Azerty keyboard (having only just got used to Swiss German) and oddly managed to hit send too early, so here is my real reply.... Yes I may be interested in trying this out as we are doing a lot of work right now with SQLite, although I have to confess we are using a Python server for that right now. That said access via a nice wrapper in LiveCode would also be good. Drop me a line if you'd like me to test it out. Kind regards, rod On 8 August 2012 19:16, Rod McCall wrote: > Dear Andre, > > Yes I may be interested in trying this out as we are doing a lot of > work right now with SQLite, although I have to confess we are using a > Python server for that right now. That said access via LiveCode in > > On 8 August 2012 18:09, Bob Sneidar wrote: >> I can answer as I purchased sqlYoga and have tested dbLib. >> >> The former allows multiple database connections. It allows you to save those connections to a button (puts info into custom prop) and then load them as you need, or you can simply work with them in memory. You can create other objects as well. There are query objects, table objects, etc. and working with them is simply a matter of calling functions and commands that set or get the parameters of those objects. >> >> dbLib works with one connection at a time. While you can save all the set conditions and restore them later, it is really designed to work with one database connection at a time, and one set of query parameters at a time. >> >> When you set conditions on an sqlYoga object, the conditions are persistent throughout multiple queries. dbLib however resets the conditions after each query. Frankly I find that approach a little odd, but it is workable, since you can save your conditions to an array. >> >> sqlYoga also has a lot of utility functions. For instance you can get the structure of a table with a simple function call, or get a list of tables in the database without knowing any SQL or the particular syntax for that flavor of SQL. Both do a fairly good job at insulating the developer from having to write his own queries, but complex queries like compound conditionals with mixed and's and or's however will have to be coded and both provide a way to pass complex queries. >> >> dbLib is much simpler to get started with. It doesn't bother about the connection itself. It expects you to handle that part. Once you do that, you pass the id to a function which stores it, and all calls after that are made with that id. sqlYoga requires that you create a database object, and then a connection object in memory at least before you can start working with your tables. >> >> sqlYoga has a bit of a learning curve to understand how to work with the custom "objects" that Trevor came up with. Once you get past that you begin to see the advantages of doing things that way. I have a method I use for accessing my database that is used throughout most of the app I am working on, but from time to time I find I need a quick query, and I don't want to have to reset the primary object's parameters and then restore them again. Having the ability to create and optionally save multiple named database objects with sqlYoga is really handy in those situations. >> >> Bob >> >> >> On Aug 7, 2012, at 6:53 PM, Alejandro Tejada wrote: >> >>> Andre Garzia-3 wrote >>>> >>>> The library is tested and targeted at SQLite databases but it works >>>> with any database supported by RevDB (with a sane SQL standard) >>>> >>> >>> How different is this library from SQLYoga? >>> >>> Al >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Dr Rod McCall > Researcher in in-car, mixed reality technology and gaming > Interdisciplinary Centre for Security, Reliability and Trust > University of Luxembourg > Blog: www.rodmc.com twitter:rodlux > Publications and Information available on my blog -- Dr Rod McCall Researcher in in-car, mixed reality technology and gaming Interdisciplinary Centre for Security, Reliability and Trust University of Luxembourg Blog: www.rodmc.com twitter:rodlux Publications and Information available on my blog From andre at andregarzia.com Wed Aug 8 13:59:37 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Aug 2012 14:59:37 -0300 Subject: Need beta testers for new database library In-Reply-To: <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> Message-ID: Bob, Let me mix comments below. On Wed, Aug 8, 2012 at 1:09 PM, Bob Sneidar wrote: > I can answer as I purchased sqlYoga and have tested dbLib. > > The former allows multiple database connections. It allows you to save those connections to a button (puts info into custom prop) and then load them as you need, or you can simply work with them in memory. You can create other objects as well. There are query objects, table objects, etc. and working with them is simply a matter of calling functions and commands that set or get the parameters of those objects. > > dbLib works with one connection at a time. While you can save all the set conditions and restore them later, it is really designed to work with one database connection at a time, and one set of query parameters at a time. dbLib can work with multiple connections. It has a default connection that it uses if you don't specify a explicit connection id as a parameter. Its in the docs! =) So if you use something like dbGet("contacts") to get your contacts, you can use dbGet("contacts", myConnectionID) to use a connection that is not the default one. So YES dbLib supports multiple connections but it makes it easy to work with a default one. > > When you set conditions on an sqlYoga object, the conditions are persistent throughout multiple queries. dbLib however resets the conditions after each query. Frankly I find that approach a little odd, but it is workable, since you can save your conditions to an array. > The conditions that are reset but the connection is maintained. So if you do something like: dbWhere "country", "Brazil" put dbGet("contacts") into myBrazilianRecordsA put dbGet("contacts") into AllRecordsA Then the first dbGet call will return all brazilians because of the preceding dbWhere but the second dbGet call will return everyone because the where conditions are reset after each dbGet. The basic premise is that it makes it real easy to work with simple queries. For example: dbWhere "country", "Brazil" put dbGet("contacts") into myBrazilianRecordsA dbWhere "country", "USA" put dbGet("contacts") into myAmericanRecordsA The code above works because the conditions are reset at each dbGet. If they were persistent, you would need to keep reseting it yourself. There is no query object like SQLYoga. > sqlYoga also has a lot of utility functions. For instance you can get the structure of a table with a simple function call, or get a list of tables in the database without knowing any SQL or the particular syntax for that flavor of SQL. Both do a fairly good job at insulating the developer from having to write his own queries, but complex queries like compound conditionals with mixed and's and or's however will have to be coded and both provide a way to pass complex queries. > As you said SQLYoga has more features and I don't aim to write functions to create really complex queries full of booleans and joins. Those that know they need such queries can simply write their own SQL code and pass to the library. For complex queries it is better to write them yourself than to waste hours trying to debug why the complex query is generated wrong by the library. > dbLib is much simpler to get started with. It doesn't bother about the connection itself. It expects you to handle that part. Once you do that, you pass the id to a function which stores it, and all calls after that are made with that id. sqlYoga requires that you create a database object, and then a connection object in memory at least before you can start working with your tables. > As I said, dbLib can work with multiple connections. Opening a connection with revOpenDatabase is pretty simple, I saw no need to reinvent the wheel there. On the other hand SQLYoga has tons of features and it makes sense for it to use such objects and minimize the boilerplate that you need to build. > sqlYoga has a bit of a learning curve to understand how to work with the custom "objects" that Trevor came up with. Once you get past that you begin to see the advantages of doing things that way. I have a method I use for accessing my database that is used throughout most of the app I am working on, but from time to time I find I need a quick query, and I don't want to have to reset the primary object's parameters and then restore them again. Having the ability to create and optionally save multiple named database objects with sqlYoga is really handy in those situations. > In dbLib a method for accessing some records that you want to use over and over again without the risk of polluting the "query space" is done in the following way: function getBrazilianAdults put dbPreserveQueryParameters() into whateverIsSetAtTheMomentArray dbReset dbWhere "country", "Brazil" dbWhere "age >", "21" put dbGet("contacts") into myReturnValueArray dbRestoreQueryParameters whateverIsSetAtTheMomentArray return myReturnValueArray end getBrazilianAdults With that in place, you can call getBrazilianAdults() anywhere in your code without the risk of polluting other queries that are being set. This is a different mindset from SQLYoga and its objects. It is simpler. Why you need those preserve/restore/reset calls because without it, you can have bugs like: dbLimit "10" put getBrazilianAdults() into myAdults Without those preserve/restore calls, the dbLimit above the function call would be "active" during the getBrazilianAdults() execution time and then only 10 records would be returned from the inner dbGet inside the function. With those preserve/restore calls, you basically save the current query state, reset it, do your stuff and then restore it. This is much like preserving the defaultfolder. Some libraries need to change the defaultfolder to work but your stack may expect it not to be touched so these libraries will save the old defaultfolder to a variable, set it to the needed folder, work their magic and then restore the defaultfolder to the previous location. These calls provide you with the same thing. Instead of hunting for hidden bugs, you can simply preserve what was set before, do your stuff and restore it to its earlier state. An advantage of this approach is how easy it is to make filters. Suppose you have an interface with checkboxes to filter your datagrid, like those online shopping catalogs where when buying a laptop you can filter by CPU, brand, color, etc. With dbLib, each checkbox logic is pretty easy, its like: dbWhere "CPU", "core2duo" or dbWhere "Brand", "Apple" Those calls will all be active when the eventual refresh is done using dbGet(). Well, this is me just spilling the beans about the new library. It will be available shortly. I just need to solve some PayPal issues. (damn PayPal support) cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobs at twft.com Wed Aug 8 14:05:41 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Aug 2012 11:05:41 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344390811478-4653502.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: Hi Alejandro. I thought I would mention one other thing. Typically SQL databases have an idle time after which the connection is closed by the host. I have run into this a lot. When that happens, a new connection will need to be made and a new ID gotten. Attempting to use the old ID will result in an error. I am not sure your library will handle this. It would not be a problem for me as I am in the habit of connecting, doing my thing, and then closing the connection, so my methods already account for this, but novice developers whom your library seems to target might trip on this fact. If you decide to accommodate this, it might also be a good idea to have a function that gets the current database id, creating a new connection if necessary. This is the reason that sqlYoga handles the connection for you, but that may be beyond the scope of your library. Bob From bobs at twft.com Wed Aug 8 14:11:48 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Aug 2012 11:11:48 -0700 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <6746250D-0950-4832-AF6F-84824DDB284A@twft.com> Message-ID: <0EF26BB3-6F50-4ABE-B574-B9F437E7225E@twft.com> Oh thanks for the correction! Sorry for any confusion I may have caused. I am sure I will purchase this library too as it seems very well thought out. Bob On Aug 8, 2012, at 10:59 AM, Andre Garzia wrote: > dbLib can work with multiple connections. It has a default connection > that it uses if you don't specify a explicit connection id as a > parameter. Its in the docs! =) From andre at andregarzia.com Wed Aug 8 14:45:12 2012 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 8 Aug 2012 15:45:12 -0300 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: On Wed, Aug 8, 2012 at 3:05 PM, Bob Sneidar wrote: > Hi Alejandro. > > I thought I would mention one other thing. Typically SQL databases have an idle time after which the connection is closed by the host. I have run into this a lot. When that happens, a new connection will need to be made and a new ID gotten. Attempting to use the old ID will result in an error. I am not sure your library will handle this. > > It would not be a problem for me as I am in the habit of connecting, doing my thing, and then closing the connection, so my methods already account for this, but novice developers whom your library seems to target might trip on this fact. > > If you decide to accommodate this, it might also be a good idea to have a function that gets the current database id, creating a new connection if necessary. This is the reason that sqlYoga handles the connection for you, but that may be beyond the scope of your library. Yes I don't fiddle with the connection. My target is not remote databases but SQLite. That connection will not close. The library works with other databases as well but I don't have connection managing routines. I will research on that and see if it is something doable. I need a reliable way to detect when a database connection is no longer alive. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From bobs at twft.com Wed Aug 8 16:11:26 2012 From: bobs at twft.com (Bob Sneidar) Date: Wed, 8 Aug 2012 13:11:26 -0700 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: <55AB63B6-3A5B-4E2F-914F-1CAD09CE7969@twft.com> Put your database touching commands in a try catch loop. In the catch part, attempt a reconnect and update the id if successful, throw an error if not. Bob On Aug 8, 2012, at 11:45 AM, Andre Garzia wrote: > I will research on that and see if it is something > doable. I need a reliable way to detect when a database connection is > no longer alive. From capellan2000 at gmail.com Wed Aug 8 17:03:03 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 8 Aug 2012 14:03:03 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> Message-ID: <1344459783371-4653542.post@n4.nabble.com> Bob, Looks like every developer who uses databases have their own ideas and convictions about the way in which their databases should work. Honestly, I would not expect less. It seems that after a Developer starts working with databases, it's worth or value as a Developer starts depending on how well their databases run... :-D I want to see in LiveCode Journal, a special section devoted to the Mystic ,Magical and Wonderful world of Databases. [Notice: This is my personal point of view about this particular topic of computing] :-D Maybe Richard want to name this new section like: Love your Data[base] :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653542.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Aug 8 20:42:26 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 Aug 2012 17:42:26 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344459783371-4653542.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <1344459783371-4653542.post@n4.nabble.com> Message-ID: Alejandro, I would love to contribute the WOrld of Databases! Also, a quick comment on connections to sqlite. It's not normally necessary to have more than one connection. The most common way to access multiple databases is to open the "main" one, then use the ATTACH command to open the other dbs on the same connection. Only one connection to manage that way, plus you can JOIN tables across the main and attached db's. There'll always be exceptions of course, But I've always found that to be the best way to work. Pete lcSQL Software On Wed, Aug 8, 2012 at 2:03 PM, Alejandro Tejada wrote: > Bob, > > Looks like every developer who uses databases > have their own ideas and convictions about the > way in which their databases should work. > > Honestly, I would not expect less. It seems that > after a Developer starts working with databases, > it's worth or value as a Developer starts depending > on how well their databases run... :-D > > I want to see in LiveCode Journal, a special section > devoted to the Mystic ,Magical and Wonderful world > of Databases. [Notice: This is my personal point of > view about this particular topic of computing] :-D > > Maybe Richard want to name this new section like: > Love your Data[base] > > :-D > > Al > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653542.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Aug 8 20:42:26 2012 From: pete at lcsql.com (Peter Haworth) Date: Wed, 8 Aug 2012 17:42:26 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344459783371-4653542.post@n4.nabble.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <1344459783371-4653542.post@n4.nabble.com> Message-ID: Alejandro, I would love to contribute the WOrld of Databases! Also, a quick comment on connections to sqlite. It's not normally necessary to have more than one connection. The most common way to access multiple databases is to open the "main" one, then use the ATTACH command to open the other dbs on the same connection. Only one connection to manage that way, plus you can JOIN tables across the main and attached db's. There'll always be exceptions of course, But I've always found that to be the best way to work. Pete lcSQL Software On Wed, Aug 8, 2012 at 2:03 PM, Alejandro Tejada wrote: > Bob, > > Looks like every developer who uses databases > have their own ideas and convictions about the > way in which their databases should work. > > Honestly, I would not expect less. It seems that > after a Developer starts working with databases, > it's worth or value as a Developer starts depending > on how well their databases run... :-D > > I want to see in LiveCode Journal, a special section > devoted to the Mystic ,Magical and Wonderful world > of Databases. [Notice: This is my personal point of > view about this particular topic of computing] :-D > > Maybe Richard want to name this new section like: > Love your Data[base] > > :-D > > Al > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653542.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 mwieder at ahsoftware.net Wed Aug 8 21:38:20 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 8 Aug 2012 18:38:20 -0700 Subject: breakdown of my book In-Reply-To: <172433359062.20120727084500@ahsoftware.net> References: <119E70B9-0426-4E19-A63E-85C66456EB92@netrin.com> <39375869468.20120726164650@ahsoftware.net> <172433359062.20120727084500@ahsoftware.net> Message-ID: <1171038138906.20120808183820@ahsoftware.net> > The Packt/WorldPay situation gets worse. As an update, I ordered the eBook from Amazon (and for about half the price Packt wants). It's now happily installed on my computer. Anybody who wants to try playing Packt roulette is welcome to my 25% discount promotion code since I'm not going back there: CU25EBKS. -- -Mark Wieder mwieder at ahsoftware.net From Mark_Smith at cpe.umanitoba.ca Thu Aug 9 00:19:38 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 8 Aug 2012 21:19:38 -0700 (PDT) Subject: Creating a reusable object In-Reply-To: References: <1344400488227-4653514.post@n4.nabble.com> Message-ID: <1344485978981-4653545.post@n4.nabble.com> Timothy Bleiler wrote > > If you have a background group on multiple cards and want to remove it > from one card but not others, you must select the group, then under > the "Object" menu choose "Remove Group". > Whew. Thanks Tim, you saved my life on this one. Thank you also for the very thorough discussion of this issue. You should be writing a book on LC :) BTW, I do think there is a bug in there and I am going to report it on the dev list and see what others think. According to the demo Kevin gave at RRL, if you uncheck the "shared group" option it should not automatically put the group on subsequent cards. Obviously if you "place" the group on more than 1 card then it is going to be shared and then "shared group" is going to be checked, but with it unchecked my understanding is it shouldn't automatically show up. I went back to replay it and Kevins exact words when creating a background group were "We don't want to reuse this on multiple cards so I'm going to turn off the shared group property". Anyway, you got me over the hump. Thank you -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-tp4653514p4653545.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Thu Aug 9 00:29:42 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 9 Aug 2012 12:29:42 +0800 Subject: ANN: GLX2 3.0.10 In-Reply-To: <62962741984.20120807214144@ahsoftware.net> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: As I've followed this thread I've thought what an absolutely marvellous concept; the ability to Undo, not just multiple times, but even past previous saves! And not just script changes, but entire Object property states. But what about an even better feature, the ability to Undo past actual instances of starting and stopping LC! Impossible? It occurred to me that all this is nothing more than OS X's Versions. Admittedly Versions is far from perfect, BUT it does allow me to Undo not only beyond the last save, but beyond multiple days of shutting down my computer, right to the very doc's inception. Currently I start EVERY day of work with LC by duplicating the stack I'm working on and going from there. Some say Versions waste space, but I don't think I could waste any more space than what I do with LC, but I don't care, HD space is dirt cheap, and I need the safety net. As far as I can tell Versions is suppose to save just delta data. If RunRev were to correctly incorporate Versions into the LC IDE then: a) it would be more space efficient that what I currently do. b) it would provide all the Undo capability mentioned here. c) it would allow much more User control (drag n drop of objects + their scripts) than the normal sequential Undo - Redo. d) it would suggest a structure that 'could' make it possible to have 'communal' stacks I often hit the Delete key, thinking I'm in the script editor, only to find hours later that 1 of dozens of buttons or fields is missing. So I Quit LC, Start it again with yesterday's copy of the stack, copy the btn/fld, Quit LC, Start it again with today's version and Paste it back (a process necessary because both stacks have the same name AND hitting Undo never brings the btn/fld back because it happened a thousand keystrokes ago). How much nicer if I could just pull up Versions, flick back to the last version prior to the disappearance, and then drag the btn/fld back into place. Please don't stop working on GLX2 Multi-Undo, because I don't see Versions coming to LC anytime soon, it's just that I hope it does come because, when done properly, it will be so much better than what we have now. From Mark_Smith at cpe.umanitoba.ca Thu Aug 9 00:37:46 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 8 Aug 2012 21:37:46 -0700 (PDT) Subject: Creating a reusable object - Part 2 In-Reply-To: <50228A5A.1020409@hyperactivesw.com> References: <1344430320248-4653520.post@n4.nabble.com> <50228A5A.1020409@hyperactivesw.com> Message-ID: <1344487066689-4653547.post@n4.nabble.com> J. Landman Gay wrote > > I'd insert a script into back. That will catch messages from anywhere > and doesn't need to be attached to any card. > Thanks Jacky, I haven't played with back scripts so I'm not sure how I would get that working (or how different it would be from just having a stack script... but feel free to enlighten me... please!) What does work (see previous post and comments from Timothy Bleiler) is to 1. create the object, 2. group it, 3. add the scripts to the group 4. set it to a background group 5. turn off "shared group" (which looks like a pointless step because the next card you create has the group on it anyway) 6. finally, when it shows up again delete it with the Remove Group option on the Option menu. This leaves the original group/object intact to respond to (in this case resize) messages. I have to report this to Kevin because in the demo he gave at RRL he said, and I quote, "We are not going to reuse this on multiple cards so I am going to uncheck the shared group parameter". Thanks for chiming in. I was equal parts lost and frustrated on trying to solve the problem. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-Part-2-tp4653520p4653547.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Aug 9 00:42:19 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 08 Aug 2012 23:42:19 -0500 Subject: Visual effect in rect Message-ID: <50233FAB.4010505@hyperactivesw.com> I'm doing this: lock screen for visual effect in rect tRect unlock screen with visual effect push right very fast I expect to see the new content push the older content off screen. Instead I see the content change on the card immediately, and then a copy of the new content pushes the duplicate content off. I tried a few other effects and they behave the same way. Anyone else seeing that? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Thu Aug 9 00:57:02 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 8 Aug 2012 21:57:02 -0700 (PDT) Subject: Creating a reusable object - Part 2 In-Reply-To: <1344487066689-4653547.post@n4.nabble.com> References: <1344430320248-4653520.post@n4.nabble.com> <50228A5A.1020409@hyperactivesw.com> <1344487066689-4653547.post@n4.nabble.com> Message-ID: <1344488222233-4653549.post@n4.nabble.com> Oops, I misquoted Kevin, I should correct that (and I should know better than to trust my memory). His exact words were... "We don't want to reuse this on multiple cards so I'm going to turn off the shared group property". -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-Part-2-tp4653520p4653549.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacques.hausser at unil.ch Thu Aug 9 03:30:04 2012 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 9 Aug 2012 09:30:04 +0200 Subject: Visual effect in rect In-Reply-To: <50233FAB.4010505@hyperactivesw.com> References: <50233FAB.4010505@hyperactivesw.com> Message-ID: <86D75118-6C6E-452E-A4CE-D3A6925DC92D@unil.ch> Hi Jacque, I had the same problem and finally it worked with the following, but I don't remember exactly why. The trick was perhaps 'show image "Affiche" ' which was never hidden. If it is the case, you should perhaps group the things you are changing and 'show group' before unlocking ? lock screen for visual effect in rect (the rect of graphic "Fond") < change the file name of image "Affiche" and set its size> show image "Affiche" switch tsens case "left" unlock screen with visual effect push left break case "right" unlock screen with visual effect push right break case "fade" unlock screen with visual effect dissolve very slow end switch two additional remarks: 1) 'visual effect in rect' is not documented in the dictionary and 2) I was never able to use core effects with this command. Le 9 ao?t 2012 ? 06:42, J. Landman Gay a ?crit : > I'm doing this: > > lock screen for visual effect in rect tRect > > unlock screen with visual effect push right very fast > > I expect to see the new content push the older content off screen. Instead I see the content change on the card immediately, and then a copy of the new content pushes the duplicate content off. > > I tried a few other effects and they behave the same way. Anyone else seeing that? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From jacques.hausser at unil.ch Thu Aug 9 03:55:34 2012 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Thu, 9 Aug 2012 09:55:34 +0200 Subject: Visual effect in rect In-Reply-To: <50233FAB.4010505@hyperactivesw.com> References: <50233FAB.4010505@hyperactivesw.com> Message-ID: <744EF67E-72F3-425D-8A5A-F010AB8229FF@unil.ch> Afterthought (more likely): are you sure they are not "embedding" classical lock - unlock screen around your command ? If you have command mainStuff lock screen doChanges unlock screen end mainStuff command doChanges lock screen for visual effect in rect tRect unlock screen with visual effect push right very fast end doChanges The screen would be unlocked in mainstuff and only then what occurs in doChanges would show. J. ****************************************** 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 mikedoub at gmail.com Thu Aug 9 07:28:45 2012 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 9 Aug 2012 07:28:45 -0400 Subject: LiveCode Mobile Development by Colin Holgate Message-ID: My copy of LiveCode Mobile Development arrived in the mail yesterday from Amazon. Thanks Colin, I am looking forward to a great read. -= Mike From bleiler at buffalo.edu Thu Aug 9 09:54:06 2012 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 9 Aug 2012 09:54:06 -0400 Subject: Creating a reusable object - Part 2 In-Reply-To: <1344487066689-4653547.post@n4.nabble.com> References: <1344430320248-4653520.post@n4.nabble.com> <50228A5A.1020409@hyperactivesw.com> <1344487066689-4653547.post@n4.nabble.com> Message-ID: Hi Mark, Glad you found my previous suggestions helpful. Let me offer something else for you to think about. I agree with Jacqueline that if all you need to do is handle the resizeStack message, then the best approach is to catch the message at the stack level or the backscripts level. The backscripts level would be appropriate for handlers that you want to access from more than one stack. If you have a single stack design, then there would usually be no practical difference between placing a handler in the backscripts vs the stack level. Note that background groups and backscripts are very different. I think the similarity in their names often confuses people. One key difference is that backscripts do not need a specific current card control associated with them. The background and shared groups feature is usually the better choice for sharing actual controls across cards. Since you said that you don't want your resizeStack handler on some cards in your stack that indicates that you have a stack feature associated with resizing that varies with the cards in the stack. That probably is not the best design for a variety of reasons. You should consider placing the cards that need a special response to stack resizing in one stack and putting the other cards in one or more other stacks. I'm guessing they have some key functional differences that might also suggest a multistack design. Check the User Guide for the discussions on substacks. That might help you get a cleaner, easier to debug and maintain architecture. Finally, I just want to try and clarify the purpose of the SharedBehavior and BackgroundBehavior properties for you. The sharedBehavior property is a relatively recent addition that allows the sharing of groups of one or more controls across cards WITHOUT having the BackgroundBehavior set to true. Any group that is placed on multiple cards has SharedBehavior set to true and that's locked by the Livecode engine. It really doesn't do very much but allow the separation of the BackgroundBehavior features from shared groups. The BackgroundBehavior property has greater impact on your stacks because when it is true, the location of the group script in the message path is changed and the group is automatically placed on new cards. You can control the placement and removal of groups on cards in your scripts using the "place" and "remove" commands. Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo On Aug 9, 2012, at 12:37 AM, Mark Smith wrote: > This leaves the original group/object intact to respond to > (in this case resize) messages. From jacque at hyperactivesw.com Thu Aug 9 11:12:05 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 10:12:05 -0500 Subject: Visual effect in rect In-Reply-To: <744EF67E-72F3-425D-8A5A-F010AB8229FF@unil.ch> References: <50233FAB.4010505@hyperactivesw.com> <744EF67E-72F3-425D-8A5A-F010AB8229FF@unil.ch> Message-ID: <5023D345.5060307@hyperactivesw.com> On 8/9/12 2:55 AM, Jacques Hausser wrote: > Afterthought (more likely): are you sure they are not "embedding" classical lock - unlock screen around your command ? If you have > > command mainStuff > lock screen > > doChanges > unlock screen > end mainStuff > > command doChanges > lock screen for visual effect in rect tRect > > unlock screen with visual effect push right very fast > end doChanges > > The screen would be unlocked in mainstuff and only then what occurs in doChanges would show. I agree this would be the most likely reason. I searched the entire stack for "lock" messages. There is only one other set of locks and it happens at a different time in a different handler (i.e., it isn't nested.) But the behavior I see does look like there is a lock happening. I'll look again, it sounds like it's not a universal problem so it must be something in my stack. Thanks for confirming. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at me.com Thu Aug 9 11:29:51 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 09 Aug 2012 09:29:51 -0600 Subject: Visual effect in rect In-Reply-To: <50233FAB.4010505@hyperactivesw.com> References: <50233FAB.4010505@hyperactivesw.com> Message-ID: <135ACFF6-2A43-4C4A-8FC2-4C9311E1CD5B@me.com> Jacque, Is this for mobile by chance? And in particular for iOS? If so, are you using iphoneSetRedrawInterval somewhere? This can have negative effects on visual effects. If you're using this, trying setting it to 0 (zero) before locking the screen, then back to whatever value once the visual effect is done. If you're not using this, then I'm stumped. Sorry. :-) Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Aug 8, 2012, at 10:42 PM, J. Landman Gay wrote: > I'm doing this: > > lock screen for visual effect in rect tRect > > unlock screen with visual effect push right very fast > > I expect to see the new content push the older content off screen. Instead I see the content change on the card immediately, and then a copy of the new content pushes the duplicate content off. > > I tried a few other effects and they behave the same way. Anyone else seeing that? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Aug 9 11:40:42 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 10:40:42 -0500 Subject: Visual effect in rect In-Reply-To: <135ACFF6-2A43-4C4A-8FC2-4C9311E1CD5B@me.com> References: <50233FAB.4010505@hyperactivesw.com> <135ACFF6-2A43-4C4A-8FC2-4C9311E1CD5B@me.com> Message-ID: <5023D9FA.5030407@hyperactivesw.com> On 8/9/12 10:29 AM, Chris Sheffield wrote: > Jacque, > > Is this for mobile by chance? And in particular for iOS? If so, are > you using iphoneSetRedrawInterval somewhere? This can have negative > effects on visual effects. If you're using this, trying setting it to > 0 (zero) before locking the screen, then back to whatever value once > the visual effect is done. If you're not using this, then I'm > stumped. Sorry. :-) I'm not using it. But I just found the problem. Some idiot programmer was putting the new content into a field twice. Who'd be that stupid? Knowing it wasn't a universal problem helped, so thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Aug 9 11:54:57 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 08:54:57 -0700 Subject: Berkeley Cybersalon Welcomes Hypercard Team Message-ID: <1331089535109.20120809085457@ahsoftware.net> It's only been 25 years since Bill Atkinson and his elite Apple team created HyperCard -- the hypermedia system that made programs like Myst and You Don't Know Jack possible before the World Wide Web or the founder of Facebook were barely conceived. Here's your chance to meet Bill and survivors of his team at the Berkeley Cybersalon, Sunday, August 12, from 6 to 8 p.m. at the Hillside Club (www.hillsideclub.org), 2286 Cedar St., in Berkeley. Refreshments will be provided by Alacrity Software, maker of Infinite Canvas, an authoring app for the iPad inspired by HyperCard. Raines Cohen, co-founder of BMUG, will host, and we might have a few surprise guests join Bill on stage as well (not Steve Jobs, alas). -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Thu Aug 9 12:49:20 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Aug 2012 09:49:20 -0700 Subject: Need beta testers for new database library In-Reply-To: References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <1344459783371-4653542.post@n4.nabble.com> Message-ID: <153FD579-82D4-4ECD-BDC4-E9EA591E7B12@twft.com> Oh great tip Peter! I had no idea! Bob On Aug 8, 2012, at 5:42 PM, Peter Haworth wrote: > Alejandro, > I would love to contribute the WOrld of Databases! > > Also, a quick comment on connections to sqlite. It's not normally > necessary to have more than one connection. The most common way to access > multiple databases is to open the "main" one, then use the ATTACH command > to open the other dbs on the same connection. Only one connection to > manage that way, plus you can JOIN tables across the main and attached > db's. There'll always be exceptions of course, But I've always found that > to be the best way to work. > > Pete > lcSQL Software > > > > On Wed, Aug 8, 2012 at 2:03 PM, Alejandro Tejada wrote: > >> Bob, >> >> Looks like every developer who uses databases >> have their own ideas and convictions about the >> way in which their databases should work. >> >> Honestly, I would not expect less. It seems that >> after a Developer starts working with databases, >> it's worth or value as a Developer starts depending >> on how well their databases run... :-D >> >> I want to see in LiveCode Journal, a special section >> devoted to the Mystic ,Magical and Wonderful world >> of Databases. [Notice: This is my personal point of >> view about this particular topic of computing] :-D >> >> Maybe Richard want to name this new section like: >> Love your Data[base] >> >> :-D >> >> Al >> >> >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653542.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 bobs at twft.com Thu Aug 9 12:53:17 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Aug 2012 09:53:17 -0700 Subject: Visual effect in rect In-Reply-To: <5023D9FA.5030407@hyperactivesw.com> References: <50233FAB.4010505@hyperactivesw.com> <135ACFF6-2A43-4C4A-8FC2-4C9311E1CD5B@me.com> <5023D9FA.5030407@hyperactivesw.com> Message-ID: <2D7670E7-3211-4592-A07C-6EEA035824AD@twft.com> No one is that stupid. I blame Gremlins. ;-) Bob On Aug 9, 2012, at 8:40 AM, J. Landman Gay wrote: > I'm not using it. But I just found the problem. Some idiot programmer was putting the new content into a field twice. Who'd be that stupid? From charles at buchwald.ca Thu Aug 9 13:13:30 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Thu, 9 Aug 2012 12:13:30 -0500 Subject: Logging Device Tokens In-Reply-To: References: Message-ID: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> Hi Mike, I guess I've just never dug deep enough into databases... so they aren't quite "stupid-easy" for me, yet... If I have readily available hosting on a LAMP server, and some basic network communication skills, can you (or anyone else here) suggest a specific LC database library to help me get to the next steps with logging and/or push notifications? And thanks for the ideas about asynchronous methods... I wouldn't have thought about it that way. - Charles On 2012-08-07, at 12:32 PM, Mike Kerner wrote: > Databases are so stupid-easy that I am using a DB. I've tried both an > angry hard-core DBMS and LC connected to . Both work great. If > you are scared of/inexperienced with databases, then there are several LC > database libraries that will make that problem go away. > > I think you guys are overthinking this. You are right that the server side > is the hard part, but there are lots of ways to fix that: > a) Implement an HTML server - there are several examples, and somebody > (sorry, forgot who) has a LC Server hosting service, if you want to keep it > all in LC. > b) Think about it - the communication of the token and notification prefs > does not have to be real-time i.e. this very millisecond. That leaves you > with thousands of possibilities. For example, you could generate a file on > the mobile device, encrypt it, then use one of the dropbox externals to > upload it. Then your "server" can pull the file/data, decrypt it, and > update the database at your leisure, or half-a-second later, whichever > suits you better. > c) Pick some other asynchronous method to transmit the data from the > handheld. > > > HTH > Mike -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From charles at buchwald.ca Thu Aug 9 13:28:41 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Thu, 9 Aug 2012 12:28:41 -0500 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: Kay: It's been pointed out here before. (I'm sorry I don't remember by whom... was it you, Jacquie?) that you can use Dropbox in this way. Of course you need a net connection. If you keep your stacks in your Dropbox desktop folder, Dropbox will store 30 days worth of previous versions, or ALL past versions if you upgrade to their "Packrat" feature. Note that the versions don't count towards your storage total. It really keeps things simple. I started doing this after I read about it here, and it provides a lot of peace of mind. I haven't had to use it yet, but I have confirmed that past versions are easily accessible. Here's the help page on access: https://www.dropbox.com/help/11/en On 2012-08-08, at 11:29 PM, Kay C Lan wrote: > As I've followed this thread I've thought what an absolutely marvellous > concept; the ability to Undo, not just multiple times, but even past > previous saves! And not just script changes, but entire Object property > states. But what about an even better feature, the ability to Undo past > actual instances of starting and stopping LC! Impossible?... [snip] -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From MikeKerner at roadrunner.com Thu Aug 9 15:14:35 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Aug 2012 15:14:35 -0400 Subject: Logging Device Tokens In-Reply-To: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> References: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> Message-ID: If you've ever used an array or set up a background so that you can store records in a stack, you have used a database. I'm sure you already know that. If you've ever used a spreadsheet, you have used a database. If you have ever created a delimited file to store data, you have used a database. Databases are just means of storing data in an organized way. There are several really easy ways to get started. If you want to go cheap, then check the Resources button in LC and there will be example stacks that use any of the database back ends that LC supports. You could certainly store your data in cards in a LC stack, too. mySQL is a database library/engine that just uses tab-delimited files to store records, but uses SQL syntax to interact with them. If you are ok with spending some money to get a library that will put an extra layer between you and having to learn one of the many database languages, then check with Andre Garzia (on the list) about his DB Library, or in the RR store there is SQLYoga. Both of them will work for you. As for making PUSH happen, there has been an extensive discussion on this list about that very topic, including John Craig's APNSAssistant stack, that makes things simpler. HTH, and if you know how to find extra help when you need it. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Thu Aug 9 15:16:08 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 14:16:08 -0500 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: <50240C78.5090309@hyperactivesw.com> On 8/9/12 12:28 PM, Charles E Buchwald wrote: > Kay: It's been pointed out here before. (I'm sorry I don't remember > by whom... was it you, Jacquie?) that you can use Dropbox in this > way. Of course you need a net connection. If you keep your stacks in > your Dropbox desktop folder, Dropbox will store 30 days worth of > previous versions, or ALL past versions if you upgrade to their > "Packrat" feature. I don't think it was me, but I do use Dropbox that way. I don't work on the file directly from there, but once or twice a day I copy my current working stack to it. Very convenient, and I did have to retrieve a file once. It was fully intact. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Thu Aug 9 16:09:34 2012 From: john at splash21.com (John Craig) Date: Thu, 09 Aug 2012 21:09:34 +0100 Subject: Logging Device Tokens In-Reply-To: References: Message-ID: <502418FE.1030206@splash21.com> Hi, Dan. The following info will hopefully help, or at least give you some ideas. I wrote a 'draw something' style app at the beginning of the year and although it's never been released, it's delivered thousands of push notifications on the test service. The scripts run on an on-rev server. The links below are on another server that doesn't parse .lc scripts, so they should show up fine in your browser. Script that runs on LiveCode server and is successfully delivering push notifications in a test app; http://splash21.com/info/notify.lc I'm also using Mark Smith's libJson 1.0.1b (you'll see it referenced in the above); http://splash21.com/info/json.lc I've used this script since LC server's been around for MySQL - basic, but it does what I need it to do ;) http://splash21.com/info/mysql.lc Here's the MySQL structure of the table I use to record device info; http://splash21.com/info/devices.sql On 06/08/2012 22:29, Dan Friedman wrote: > Mike, > > THANK YOU for the information. I am wondering what you use to log the Tokens? Do you have the app fire a PHP script on your server that writes it down? What are you using to store the data? Flat files, like XML? Or a database? > > Thanks for the advise! > -Dan > > > >> Nope, you aren't crazy. There is a reason you have to do this - because >> you have to know who wants to receive push and who does not - and since >> different users may have different settings, you need to be able to >> customize those messages. >> >> Think about a weather app that uses push - the users are from all over. >> You need to be able to push custom alerts/forecasts/etc. >> >> It is a lot easier than you might think, and thousands/millions of records >> are just numbers. >> >> Yes, you need to have a server somewhere that you can talk to from your app >> to send the custom settings. >> >> You also need to check with APNS to make sure that user x is still on the >> push list, since they can manually disable push in the Notifications >> preferences, which you are then expected to respect (read the notes from >> Apple on this). >> >> It works great, and I just want to thank RR for implementing push/local >> notifications, and for John Craig for putting up the example that made >> coding it easier when I was still trying to make it work. >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Aug 9 16:09:39 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Aug 2012 16:09:39 -0400 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: Are we taking suggestions in this thread? If so: 1) The parser should, when colorizing and capitalizing control structures, include the IF keyword (THEN, ELSE and END are included) 2) Code collapse/hiding with disclosure triangles, and construct lines would be great. -- 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 livecode.list at gmail.com Thu Aug 9 16:17:55 2012 From: livecode.list at gmail.com (Chip Thomas) Date: Thu, 9 Aug 2012 13:17:55 -0700 Subject: RevZip issue Message-ID: *Hello, I have a zipped folder of components that our stack downloads and then unzips using revZip commands. I've noticed that some Windows systems seem to be removing certain components. Has this happened to anyone else? Anyone have any solutions? Thanks!* From jacque at hyperactivesw.com Thu Aug 9 16:37:29 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 15:37:29 -0500 Subject: Creating a reusable object - Part 2 In-Reply-To: <1344487066689-4653547.post@n4.nabble.com> References: <1344430320248-4653520.post@n4.nabble.com> <50228A5A.1020409@hyperactivesw.com> <1344487066689-4653547.post@n4.nabble.com> Message-ID: <50241F89.3060208@hyperactivesw.com> On 8/8/12 11:37 PM, Mark Smith wrote: > > I haven't played with back scripts so I'm not sure how I would > get that working (or how different it would be from just having a stack > script... but feel free to enlighten me... please!) Backscripts and frontscripts are just scripts in the message hierarchy that don't need to be attached to any object. They are stored in an object so they will be saved with the stackfile, but once inserted, the object isn't referenced at all. Frontscripts receive messages before your stack does. Backscripts receive messages after everything else (after the stack script.) Inserted scripts are global; that is, they will be in the message path of any stack. If your backscript is useful only for one particular stack, it's customary (and polite) to insert it when that stack opens and remove it when the stack closes. Since you're interested in the resizestack handler, you could create a button with a script that has a resizestack handler in it. At some point before it's needed a script should: insert script of btn x into back When the engine sends a resizeStack message, it will go through the message path normally and if there is no handler in the card or stack to catch it, the backscript will catch it and execute its commands. Since you want to respond only to certain cards, I'd mark those cards somehow, with a custom property probably, and have the handler check to see if it should act. Although in this situation your group method may actually be easier, since the handler will only fire on cards that have the group. I tend to avoid excess objects whenever possible so I'd probably go for the backscript, but that's mostly just a style preference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From charles at buchwald.ca Thu Aug 9 16:43:30 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Thu, 9 Aug 2012 15:43:30 -0500 Subject: Update to ResTool plugin Message-ID: <35C8AF2A-4D43-466B-BA7B-0A5E0AA06CE2@buchwald.ca> FYI, I've made a number of small updates and bug fixes to my ResTool plugin for working with stack dimensions. Significant stuff: . I've updated and added to the resolution and pixel density charts... no more missing info in the tables, and a few new devices listed. . I've included a "next iPhone?" size of 640 x 1136, since the few articles I've seen seem convincing, and it can't hurt to plan ahead.... . I've included status bar heights for known iOS and Android resolutions/sizes. Hope you find it useful! Download it here: http://buchwald.ca/lc/ResTool.livecode.zip Cheers, - Charles P.S. Any suggestions for improving or corrections appreciated. -- Charles E. Buchwald http://buchwald.ca Vancouver / Mexico City / NYC Member of the 02 Global Network for Sustainable Design ? Connect on LinkedIn ? Follow me on Twitter From m.schonewille at economy-x-talk.com Thu Aug 9 16:53:56 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 9 Aug 2012 22:53:56 +0200 Subject: [ANN] extIco2Png External Half the Price Message-ID: Hi everyone, I know that Windows developers are greatly underrepresented in the LiveCode community, but I hope that the following still appears to be useful for some of you. As you might know, Economy-x-Talk offers a Windows external (dll) to read icons from ico and exe files. Displaying the icon of an exe or ico file is really simple: local myPictureData extIconFromExe theFile,"myPictureData",kName,kPW set the text of img 1 to myPictureData where theFile contains a valid file path and kName and kPW are you license credentials. Currently, this external costs EUR 9.95. The next version, which is scheduled for release within a few weeks and contains important new features, will cost EUR 19.95, but we decided not to update the licensing system. If you buy the external now, you get effectively a 50% discount on the new version of the external! One of the new features in the new version will be the possibility to load icon sets the same way you can do with the revFont external for fonts. Go to http://qery.us/2f1 to get a demo of the old version of the exteral and send feedback here http://qery.us/du -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. From pete at lcsql.com Thu Aug 9 16:57:10 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 13:57:10 -0700 Subject: Logging Device Tokens In-Reply-To: References: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> Message-ID: Hmmm, I'm afraid I have to disagree with almost all of that :-) Arrays, cards, csv files, spreadsheets - none of them are databases other than in the sense that they store data. They have no structure, no data integrity enforcement, no inter table relatioships, no ACID compliance, nor any of the other fuctions provided by a real database. Not saying that they don't have their uses, but they ain't databases. Also, neither mySQL nor any other SQL compliant database uses tab delimited files to store data. It may come into lc that way but the internal file format is way more complicated than that. Pete On Aug 9, 2012 12:14 PM, "Mike Kerner" wrote: > If you've ever used an array or set up a background so that you can store > records in a stack, you have used a database. I'm sure you already know > that. If you've ever used a spreadsheet, you have used a database. If you > have ever created a delimited file to store data, you have used a database. > Databases are just means of storing data in an organized way. > > There are several really easy ways to get started. If you want to go > cheap, then check the Resources button in LC and there will be example > stacks that use any of the database back ends that LC supports. You could > certainly store your data in cards in a LC stack, too. > > mySQL is a database library/engine that just uses tab-delimited files to > store records, but uses SQL syntax to interact with them. If you are ok > with spending some money to get a library that will put an extra layer > between you and having to learn one of the many database languages, then > check with Andre Garzia (on the list) about his DB Library, or in the RR > store there is SQLYoga. Both of them will work for you. > > As for making PUSH happen, there has been an extensive discussion on this > list about that very topic, including John Craig's APNSAssistant stack, > that makes things simpler. > > HTH, and if you know how to find extra help when you need it. > -- > 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 Thu Aug 9 17:15:10 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 9 Aug 2012 17:15:10 -0400 Subject: Logging Device Tokens In-Reply-To: References: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> Message-ID: Peter, then you should probably stay away from any of the NoSQL engines, lol. Many of the features you mention are part of many modern DBMS's, but not all. I'm still nursing a DBMS that is well over 30 years old and it is most certainly not ACID compliant, and it does not provide for data integrity, or triggers, or stored procedures, yadda, yadda, yadda. I'm not referring to a DBMS in my comments. I'm suggesting that even the metaphor that was the inspiration for HC in the 80's is, really, a database. I may have completely forgotten that time (on purpose, even), but as I recall, DBASE at least at one time, was a very simple tab-delimited file structure. From pmbrig at gmail.com Thu Aug 9 17:27:28 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Thu, 9 Aug 2012 17:27:28 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: <50228B44.7010206@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> Message-ID: On Aug 8, 2012, at 11:52 AM, J. Landman Gay wrote: > On 8/8/12 1:20 AM, Scott Morrow wrote: >> I can't remember, was the image imported into LC or referenced from >> disk? Could the file on disk be fine but some hiccup have happened >> during the import? > > That could very well be. The image was imported into the stack but not via the File menu. I did it from the message box via a handler I've used for years. It just takes a file path and puts the image from disk into an existing image. It's one of the handiest shortcuts I have when I want to update an image without changing any of its properties, particularly its name and ID. I've never had it fail before but it may have this time. Could you post that utility handler? I guess I could figure it out, but I'm feeling lazy... -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Thu Aug 9 19:21:35 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 18:21:35 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> Message-ID: <502445FF.6050108@hyperactivesw.com> On 8/9/12 4:27 PM, Peter M. Brigham wrote: > On Aug 8, 2012, at 11:52 AM, J. Landman Gay wrote: > >> That could very well be. The image was imported into the stack but >> not via the File menu. I did it from the message box via a handler >> I've used for years. It just takes a file path and puts the image >> from disk into an existing image. It's one of the handiest >> shortcuts I have when I want to update an image without changing >> any of its properties, particularly its name and ID. I've never had >> it fail before but it may have this time. > > Could you post that utility handler? I guess I could figure it out, > but I'm feeling lazy... It's pretty simple. I keep it in my custom backscript. When I want to replace an image I type "getpaint" into the message box. The image you want to update must be selected with the pointer tool first. on getPaint -- replace an img's content; img must be selected if the selobj = "" then answer "Select an image first." exit getPaint end if answer file "Choose replacement image:" if it = "" then exit to top put url ("binfile:"&it) into the selobj end getPaint This is handy for an imported image that you want to update and you want to keep all its properties the same. In particular, you don't lose the ID so that button icons don't need to be reset. There's no error checking, since it's one of those personal tools. If the selected object isn't an image you may be in trouble. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Aug 9 20:07:49 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Aug 2012 17:07:49 -0700 Subject: [OT] Image Editing App Updated (and on sale?) Message-ID: Got this notice on another list... PixelMator -- a Photoshop-like app -- apparently just released a new version (and dropped the price?). It does a large amount of what Photoshop does at a fraction of the price: 15 bucks. It supports setting image resolution, though it seems to be lacking CMYK support, so for folks that do print work, it may not be optimal. But it generates all the standard image formats, suitable for LiveCode. Requires Snow Leopard or later. Warning: some people have stated that the recent update results in freezes. I have been using for about 30 min, no freezes so far. Your mileage may vary. Regards, Scott Rossi Creative Director Tactile Media, UX Design From coiin at verizon.net Thu Aug 9 20:25:52 2012 From: coiin at verizon.net (Colin Holgate) Date: Thu, 09 Aug 2012 20:25:52 -0400 Subject: [OT] Image Editing App Updated (and on sale?) In-Reply-To: References: Message-ID: <64B08D84-DF72-4C1D-B7A3-C3CB92F49433@verizon.net> At $15 it's worth having just to check out, and it's in the Mac App Store, so very easy to buy. I gave it a 150MB Photoshop file to open, and it opened it in about five seconds. Photoshop CS6 took seven seconds. Some of the filter effects didn't work, but generally things worked well. They made the program use the same keyboard shortcuts as Photoshop, even having control-command-click to see a pop-up menu of the layers in the document. One nice advantage over Photoshop is that once you have something selected you can immediately distort or rotate it, you don't have to go into a special mode for that, I like too how the currently selected tool icon is shown at a large size, not just a subtle highlighting of the box. The fact that the icons are colored is good too. From Mark_Smith at cpe.umanitoba.ca Thu Aug 9 20:28:44 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 9 Aug 2012 17:28:44 -0700 (PDT) Subject: Creating a reusable object - Part 2 In-Reply-To: <1344488222233-4653549.post@n4.nabble.com> References: <1344430320248-4653520.post@n4.nabble.com> <50228A5A.1020409@hyperactivesw.com> <1344487066689-4653547.post@n4.nabble.com> <1344488222233-4653549.post@n4.nabble.com> Message-ID: <1344558524086-4653576.post@n4.nabble.com> Thanks Jacque and Tim, its wonderful having you guys around to discuss these issues with. -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Creating-a-reusable-object-Part-2-tp4653520p4653576.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Thu Aug 9 20:35:44 2012 From: bobs at twft.com (Bob Sneidar) Date: Thu, 9 Aug 2012 17:35:44 -0700 Subject: Logging Device Tokens In-Reply-To: References: <09BEEA9D-54AB-40CD-A853-48E0BBC254CF@buchwald.ca> Message-ID: It was a fixed length file format. It had a header that ended in an eof, followed by lines that were in length the sum total of all the columns +1. The +1 was the deleted flag at the beginning of the record. There were no variable length columns. Everything was padded with spaces. Even numerical columns were stored as text. The header defined what the format of the column was. Very simple. If you knew what the structure of the database was (or had a blank copy of the structure lying around) you could recover the data pretty easily by stripping the header off, then reading each line into a text processor that deleted the first character and then saved it out to another file. That file could then be imported as a fixed length file format and voila! You had a recovered table! There were utilities that were able to read the header to get the structure, but ignore other info that was bad (which was usually what went wrong) and recover the table for you. Bob On Aug 9, 2012, at 2:15 PM, Mike Kerner wrote: > I may have completely forgotten that time (on purpose, even), but as I > recall, DBASE at least at one time, was a very simple tab-delimited file > structure. From pete at lcsql.com Thu Aug 9 20:43:55 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 17:43:55 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <502445FF.6050108@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> Message-ID: Which reminds me of a question I've been meaning to ask. Why does the Inspector allow only image IDs for button icons - object or file names would be so much easier for maintenance purposes. I know I can do "set the icon of button xyz to the ID of image abc" but would be easier do it in the inspector. Maybe this is why I see on the list that people use images instead of buttons? Pete lcSQL Software On Thu, Aug 9, 2012 at 4:21 PM, J. Landman Gay wrote: > This is handy for an imported image that you want to update and you want > to keep all its properties the same. In particular, you don't lose the ID > so that button icons don't need to be reset. From mwieder at ahsoftware.net Thu Aug 9 20:55:50 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 17:55:50 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: <1351121988734.20120809175550@ahsoftware.net> Mike- Thursday, August 9, 2012, 1:09:39 PM, you wrote: > Are we taking suggestions in this thread? If so: No, I don't want to pollute this list with suggestions and bug reports. Please file those as issues at the bitbucket site. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Aug 9 20:57:19 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 17:57:19 -0700 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: <1861122077421.20120809175719@ahsoftware.net> Charles- Thursday, August 9, 2012, 10:28:41 AM, you wrote: > I haven't had to use it yet, I have, several times. It's on my list of bacon-saving devices. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Aug 9 21:00:38 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 18:00:38 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: <1571122276890.20120809180038@ahsoftware.net> Kay- Wednesday, August 8, 2012, 9:29:42 PM, you wrote: > Please don't stop working on GLX2 Multi-Undo, because I don't see Versions > coming to LC anytime soon, it's just that I hope it does come because, when > done properly, it will be so much better than what we have now. Well, undo/redo in glx2 is already finished. And the generic mechanism has now been uploaded to revOnline. Glx2 does have auto-archiving, which pretty much does what you're describing: saves multiple versions with timestamps as you go along in an archive directory. You can then go back and recover previous versions from that directory as needed. It's not as nice as having it built into the IDE from the ground up, but it does the job. -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Thu Aug 9 21:09:38 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 9 Aug 2012 18:09:38 -0700 (PDT) Subject: ANN: GLX2 3.0.10 In-Reply-To: <1571122276890.20120809180038@ahsoftware.net> References: <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1571122276890.20120809180038@ahsoftware.net> Message-ID: <1344560978715-4653582.post@n4.nabble.com> Mark, Mark Wieder wrote > > Well, undo/redo in glx2 is already finished. And the generic mechanism > has now been uploaded to revOnline. Glx2 does have auto-archiving, > which pretty much does what you're describing: saves multiple versions > with timestamps as you go along in an archive directory. You can then > go back and recover previous versions from that directory as needed. > It's not as nice as having it built into the IDE from the ground up, > but it does the job. > Did Richard or RunRev contacted you to publish a review of your recent work in Glx2? I hope so. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-penTool-0-3-2h-with-scalable-gradients-tp4653241p4653582.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Thu Aug 9 21:39:44 2012 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 9 Aug 2012 22:39:44 -0300 Subject: Teaser video for my new database library Message-ID: Hey Folks, Since we've been talking lately about my new database library, I decided to share a video about it. https://vimeo.com/46918350 Feedback is welcome! Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From scott at tactilemedia.com Thu Aug 9 21:55:15 2012 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 09 Aug 2012 18:55:15 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: Message-ID: If you had two images of the same name, how would you (or the engine) determine which image to use? Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Peter Haworth wrote: > Which reminds me of a question I've been meaning to ask. Why does the > Inspector allow only image IDs for button icons - object or file names > would be so much easier for maintenance purposes. I know I can do "set the > icon of button xyz to the ID of image abc" but would be easier do it in the > inspector. > > Maybe this is why I see on the list that people use images instead of > buttons? > > Pete > lcSQL Software > > > > On Thu, Aug 9, 2012 at 4:21 PM, J. Landman Gay > wrote: > >> This is handy for an imported image that you want to update and you want >> to keep all its properties the same. In particular, you don't lose the ID >> so that button icons don't need to be reset. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 9 22:09:38 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 19:09:38 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: References: Message-ID: <1231126416218.20120809190938@ahsoftware.net> Scott- Thursday, August 9, 2012, 6:55:15 PM, you wrote: > If you had two images of the same name, how would you (or the engine) > determine which image to use? Same way the engine disambiguates everything else: lowest layer number wins. -- -Mark Wieder mwieder at ahsoftware.net From cmsheffield at me.com Thu Aug 9 22:18:09 2012 From: cmsheffield at me.com (Chris Sheffield) Date: Thu, 09 Aug 2012 20:18:09 -0600 Subject: [OT] Image Editing App Updated (and on sale?) In-Reply-To: <64B08D84-DF72-4C1D-B7A3-C3CB92F49433@verizon.net> References: <64B08D84-DF72-4C1D-B7A3-C3CB92F49433@verizon.net> Message-ID: <03235425-30A9-4C5F-B40F-060380C2B772@me.com> Some may be interested in knowing that you can download a fully functional 30-day trial from their web site. That's what I did a few days ago. But I am planning on buying a copy as well. Chris Sheffield On Aug 9, 2012, at 6:25 PM, Colin Holgate wrote: > At $15 it's worth having just to check out, and it's in the Mac App Store, so very easy to buy. I gave it a 150MB Photoshop file to open, and it opened it in about five seconds. Photoshop CS6 took seven seconds. Some of the filter effects didn't work, but generally things worked well. They made the program use the same keyboard shortcuts as Photoshop, even having control-command-click to see a pop-up menu of the layers in the document. > > One nice advantage over Photoshop is that once you have something selected you can immediately distort or rotate it, you don't have to go into a special mode for that, > > I like too how the currently selected tool icon is shown at a large size, not just a subtle highlighting of the box. The fact that the icons are colored is good 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 Thu Aug 9 23:21:17 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 22:21:17 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> Message-ID: <50247E2D.9040808@hyperactivesw.com> On 8/9/12 7:43 PM, Peter Haworth wrote: > Why does the > Inspector allow only image IDs for button icons - object or file names > would be so much easier for maintenance purposes. What Scott said. While Mark's right that "lowest layer wins" would be logical, I think it would introduce yet another level of new-user confusion. Anyway, it's possible already to choose an existing image as an icon via the property inspector. Click the little button next to the icon ID field, choose "This Stack" from the popdown list, and click on the image you want to use. > > Maybe this is why I see on the list that people use images instead of > buttons? If an image is static and only needs to respond to simple clicks or commands, I put a script in it. If I need scripted image changes (mouseovers, hiliting, state or status display, etc) I use a button. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Thu Aug 9 23:42:58 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Aug 2012 11:42:58 +0800 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: <1861122077421.20120809175719@ahsoftware.net> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1861122077421.20120809175719@ahsoftware.net> Message-ID: On Fri, Aug 10, 2012 at 8:57 AM, Mark Wieder wrote: > > I have, several times. It's on my list of bacon-saving devices. > Yes, and on my list as well, along with TimeMachine and Carbon Copy Cloner. But my comments were more a reflection of how complex, laborious and space wasting the current situation is, and in an 'ideal' world it could be vastly better. The current stack I am working on was 143KB at the end of day one (1Jun12). It is now 10.3MB and I know I've worked on it on 24 separate days. My copies of 'the end of day' work totals 90.8MB The GLX2 archive folder shows 101MB So, given that I have both a TimeMachine backup and a CCC clone of my HD, this one 10.3MB stack occupies: (10.3+90.8+101)*3 = 606.3MB of HD space. No big deal, as I've said, HD space is cheap. Then there is the process of retrieving lost data. You can't just open up any of these backups because they have exactly the same stack name as the stack you are working on. Oh how many time did I make that mistake and loose data. And clearly from comments here, I'm not the only one who uses belts, braces and tin plated britches when working with LC (more so than any other program I work with) My comments were simply a dream of an ideal world where an implementation of a 'Versions' like scheme, where only delta data is saved, and that these changes could be accessed whilst your current stack is open, PLUS not just some LIFO sequential Undo/Redo process but the ability to randomly take both text (scripts) and objects (btn/flds/img) of any previous Version, would be not just space saving, not just time saving, but? hmmm? whats the word I'm looking for? oh yes? Revolutionary :-) From jacque at hyperactivesw.com Thu Aug 9 23:50:54 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 09 Aug 2012 22:50:54 -0500 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1861122077421.20120809175719@ahsoftware.net> Message-ID: <5024851E.9070805@hyperactivesw.com> On 8/9/12 10:42 PM, Kay C Lan wrote: > Then there is the process of retrieving lost data. You can't just open up > any of these backups because they have exactly the same stack name as the > stack you are working on. It's not what you're looking for (which would be great, I agree) but on desperate occasions I have opened two stacks as text files in BBEdit and run "find differences" on them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Aug 10 00:26:03 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 21:26:03 -0700 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1861122077421.20120809175719@ahsoftware.net> Message-ID: The Unix diff command can compare two files and create a set of edit statements to recreate one from the other. I'm assuming GLX2 could make use of that when storing new versions of scripts. Moving from there to store edit statements to recreate a complete stack file would be possible but I imagine it would take a long time for stacks with lots of cards/objects. If the IDE had a dirty flag for ant changed objects, it would be more feasible. Pete lcSQL Software On Thu, Aug 9, 2012 at 8:42 PM, Kay C Lan wrote: > On Fri, Aug 10, 2012 at 8:57 AM, Mark Wieder > wrote: > > > > > I have, several times. It's on my list of bacon-saving devices. > > > > Yes, and on my list as well, along with TimeMachine and Carbon Copy Cloner. > > But my comments were more a reflection of how complex, laborious and space > wasting the current situation is, and in an 'ideal' world it could be > vastly better. > > The current stack I am working on was 143KB at the end of day one > (1Jun12). It is now 10.3MB and I know I've worked on it on 24 separate > days. > > My copies of 'the end of day' work totals 90.8MB > The GLX2 archive folder shows 101MB > > So, given that I have both a TimeMachine backup and a CCC clone of my HD, > this one 10.3MB stack occupies: > (10.3+90.8+101)*3 = 606.3MB of HD space. > > No big deal, as I've said, HD space is cheap. > > Then there is the process of retrieving lost data. You can't just open up > any of these backups because they have exactly the same stack name as the > stack you are working on. > > Oh how many time did I make that mistake and loose data. > > And clearly from comments here, I'm not the only one who uses belts, braces > and tin plated britches when working with LC (more so than any other > program I work with) > > My comments were simply a dream of an ideal world where an implementation > of a 'Versions' like scheme, where only delta data is saved, and that these > changes could be accessed whilst your current stack is open, PLUS not just > some LIFO sequential Undo/Redo process but the ability to randomly take > both text (scripts) and objects (btn/flds/img) of any previous Version, > would be not just space saving, not just time saving, but? hmmm? whats the > word I'm looking for? oh yes? Revolutionary :-) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Fri Aug 10 00:29:20 2012 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 10 Aug 2012 12:29:20 +0800 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: <5024851E.9070805@hyperactivesw.com> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1861122077421.20120809175719@ahsoftware.net> <5024851E.9070805@hyperactivesw.com> Message-ID: On Fri, Aug 10, 2012 at 11:50 AM, J. Landman Gay wrote: > > It's not what you're looking for (which would be great, I agree) but on > desperate occasions I have opened two stacks as text files in BBEdit and > run "find differences" on them. > Yep, when I know it's just script changes I'm looking for I've done the same. (So that makes it, Belts, Braces, tin plated Britches and BBEdit). But when it's a missing or changed object... From pete at lcsql.com Fri Aug 10 00:39:55 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 21:39:55 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50247E2D.9040808@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> Message-ID: Replying to all. In general: Patient to Doctor: "Doctor - it hurts when I do this" Doctor to Patient: "Well don't do that then." That's my feeling about objects with the same name. The engine allows duplicate names for objects (except stacks) so I'm not sure how allowing control names for button icons adds any more new user confusion. Jacque - I know about the button you mentioned but ti still results in an image ID. Here's the situation that caused me to ask the question. I had around 30 images I was using as button icons, some for the enabled state, some for the disabled state. I found a much better looking set of images to use, imported them with new IDs. Now I had to go through all my buttons and change their IDs to the new ones. Not a huge deal but if I had been able to set the button icons to image names, I would have had to do nothing. Plus Revolution makes a big deal about how English like and understandable the language is, and rightly so. Image IDs like 1004 tell you nothing about where the image is in the stack while 'img "OpenStack" of Stack "myImages" tells you exactly where to find it. I don;t expect anything to change of course, just saying IMHO at least an option to use image names would be more understandable and maintainable. Pete lcSQL Software On Thu, Aug 9, 2012 at 8:21 PM, J. Landman Gay wrote: > On 8/9/12 7:43 PM, Peter Haworth wrote: > >> Why does the >> Inspector allow only image IDs for button icons - object or file names >> would be so much easier for maintenance purposes. >> > > What Scott said. While Mark's right that "lowest layer wins" would be > logical, I think it would introduce yet another level of new-user > confusion. Anyway, it's possible already to choose an existing image as an > icon via the property inspector. Click the little button next to the icon > ID field, choose "This Stack" from the popdown list, and click on the image > you want to use. > > > >> Maybe this is why I see on the list that people use images instead of >> buttons? >> > > If an image is static and only needs to respond to simple clicks or > commands, I put a script in it. If I need scripted image changes > (mouseovers, hiliting, state or status display, etc) I use a 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 pete at lcsql.com Fri Aug 10 00:43:11 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 21:43:11 -0700 Subject: [OT] Image Editing App Updated (and on sale?) In-Reply-To: <03235425-30A9-4C5F-B40F-060380C2B772@me.com> References: <64B08D84-DF72-4C1D-B7A3-C3CB92F49433@verizon.net> <03235425-30A9-4C5F-B40F-060380C2B772@me.com> Message-ID: Being a cheapskate (plus not doing much in the way of image manipulation), I've started using Gimp on OS X (it's free). It's kinda weird looking but so far I've managed to do the simple things I need to do with it. Pete lcSQL Software On Thu, Aug 9, 2012 at 7:18 PM, Chris Sheffield wrote: > Some may be interested in knowing that you can download a fully functional > 30-day trial from their web site. That's what I did a few days ago. But I > am planning on buying a copy as well. > > Chris Sheffield > > > On Aug 9, 2012, at 6:25 PM, Colin Holgate wrote: > > > At $15 it's worth having just to check out, and it's in the Mac App > Store, so very easy to buy. I gave it a 150MB Photoshop file to open, and > it opened it in about five seconds. Photoshop CS6 took seven seconds. Some > of the filter effects didn't work, but generally things worked well. They > made the program use the same keyboard shortcuts as Photoshop, even having > control-command-click to see a pop-up menu of the layers in the document. > > > > One nice advantage over Photoshop is that once you have something > selected you can immediately distort or rotate it, you don't have to go > into a special mode for that, > > > > I like too how the currently selected tool icon is shown at a large > size, not just a subtle highlighting of the box. The fact that the icons > are colored is good 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 10 00:56:21 2012 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 09 Aug 2012 21:56:21 -0700 Subject: [ANN} Task List Plugin lcTaskList Released Message-ID: <6F0E73CB-293C-4F47-9617-DD0D4DD6E89D@mac.com> I'm pleased to announce that lcTaskList, the Task List Plugin for LiveCode Programmers, is now available for sale exclusively in the RunRev Marketplace Store. At only $10 it is affordable by everyone who writes software. This plug-in will help you create and manage a list of programming tasks by simply imbedding keywords into your script's comments and then automatically indexing them in a convenient window. Click on any entry in the Task List to immediately take you to that line of code in the Script Editor. Thank you to all of the beta testers who helped me squash bugs and suggest new features and ways to use it. Buy it at: http://revstudio.runrev.com/store/product/lcTaskList/ 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 capellan2000 at gmail.com Fri Aug 10 01:01:44 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 9 Aug 2012 22:01:44 -0700 (PDT) Subject: What was that thing with Photoshop images? In-Reply-To: <502445FF.6050108@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> Message-ID: <1344574904915-4653595.post@n4.nabble.com> Hi Jacque, J. Landman Gay wrote > > on getPaint -- replace an img's content; img must be selected > if the selobj = "" then > answer "Select an image first." > exit getPaint > end if > answer file "Choose replacement image:" > if it = "" then exit to top > put url ("binfile:"&it) into the selobj > end getPaint > This works could work too. Change this line for: put url ("binfile:"&it) into the selobj this line: set the text of the selobj to url ("binfile:"&it) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-was-that-thing-with-Photoshop-images-tp4653470p4653595.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Aug 10 01:09:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2012 00:09:12 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> Message-ID: <50249778.2030601@hyperactivesw.com> On 8/9/12 11:39 PM, Peter Haworth wrote: > Replying to all. > > In general: > > Patient to Doctor: "Doctor - it hurts when I do this" > Doctor to Patient: "Well don't do that then." > > That's my feeling about objects with the same name. There are some convenient uses for same-named objects. I use them on purpose sometimes. > Here's the situation that caused me to ask the question. I had > around 30 images I was using as button icons, some for the enabled state, > some for the disabled state. I found a much better looking set of images > to use, imported them with new IDs. Now I had to go through all my buttons > and change their IDs to the new ones. Not a huge deal but if I had been > able to set the button icons to image names, I would have had to do nothing. I wish I'd posted my "getpaint" handler sooner. I wrote it ten or twelve years ago when I had about 200 icons to change. They were all in a "resources" group, so I scripted a loop that selected each one, calculated a file name, and did a "getpaint" on it. It was so convenient that I altered the handler to ask me for a file name manually and I've been using it ever since. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Aug 10 01:15:51 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 9 Aug 2012 22:15:51 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50249778.2030601@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> Message-ID: <381137589281.20120809221551@ahsoftware.net> Jacque- Thursday, August 9, 2012, 10:09:12 PM, you wrote: >> That's my feeling about objects with the same name. > There are some convenient uses for same-named objects. I use them on > purpose sometimes. ? OK - I'll bite. Name one. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Aug 10 01:22:48 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2012 00:22:48 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <1344574904915-4653595.post@n4.nabble.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <1344574904915-4653595.post@n4.nabble.com> Message-ID: <50249AA8.5050900@hyperactivesw.com> On 8/10/12 12:01 AM, Alejandro Tejada wrote: > This works could work too. > Change this line for: > put url ("binfile:"&it) into the selobj > this line: > set the text of the selobj to url ("binfile:"&it) Yup. Two ways to do it. I have HyperCard habits. :) That's why the handler is called "getpaint" too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Fri Aug 10 01:31:42 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Aug 2012 02:31:42 -0300 Subject: [ANN} Task List Plugin lcTaskList Released In-Reply-To: <6F0E73CB-293C-4F47-9617-DD0D4DD6E89D@mac.com> References: <6F0E73CB-293C-4F47-9617-DD0D4DD6E89D@mac.com> Message-ID: congratulations on the release Bill!!! I am looking forward to buy it! =D On Fri, Aug 10, 2012 at 1:56 AM, Bill Vlahos wrote: > I'm pleased to announce that lcTaskList, the Task List Plugin for LiveCode Programmers, is now available for sale exclusively in the RunRev Marketplace Store. > At only $10 it is affordable by everyone who writes software. > > This plug-in will help you create and manage a list of programming tasks by simply imbedding keywords into your script's comments and then automatically indexing them in a convenient window. Click on any entry in the Task List to immediately take you to that line of code in the Script Editor. > > Thank you to all of the beta testers who helped me squash bugs and suggest new features and ways to use it. > > Buy it at: http://revstudio.runrev.com/store/product/lcTaskList/ > > 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 -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From pete at lcsql.com Fri Aug 10 02:11:53 2012 From: pete at lcsql.com (Peter Haworth) Date: Thu, 9 Aug 2012 23:11:53 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50249778.2030601@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> Message-ID: So do I! But it's the armory of useful utitliy scripts now. Pete lcSQL Software On Thu, Aug 9, 2012 at 10:09 PM, J. Landman Gay wrote: > I wish I'd posted my "getpaint" handler sooner. From chipp at chipp.com Fri Aug 10 03:51:01 2012 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Aug 2012 02:51:01 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <381137589281.20120809221551@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> Message-ID: on clearTempImgs repeat with x = the number of images down to 1 if the short name of img x is "temp" then delete img x end repeat end clearTempImgs On Fri, Aug 10, 2012 at 12:15 AM, Mark Wieder wrote: > > > > There are some convenient uses for same-named objects. I use them on > > purpose sometimes. > > ? OK - I'll bite. Name one. > > From chipp at chipp.com Fri Aug 10 04:10:19 2012 From: chipp at chipp.com (Chipp Walters) Date: Fri, 10 Aug 2012 03:10:19 -0500 Subject: Simple script doesn't work In-Reply-To: References: Message-ID: There could be several reasons. The IDE might be eating the messages on startup-- or getting in the way somehow. The engine might have a timing issue. There may be an error thrown and not trapped. There could be other code executing in your stack doing something else and getting in the way. There could be frontscripts, backscripts, libraries, revLibs, etc.. There IS a reason, it just could take the better part of a day to track it down sometimes. It might work in standalone mode and not the IDE. Really frustrating is trying to debug this sort of behavior on mobile devices! Most of us know the 'send in 0 seconds' trick Mark kindly shared. I guess we quit asking questions years ago ;-) On Mon, Aug 6, 2012 at 1:56 AM, Marek Niesiobedzki wrote: > But why it doesn't work without send? Could you explain it? > > From rodmccall491 at googlemail.com Fri Aug 10 05:54:45 2012 From: rodmccall491 at googlemail.com (Rod McCall) Date: Fri, 10 Aug 2012 11:54:45 +0200 Subject: [OT] Game Design Competition Message-ID: We are running a game design competition as part of an EC research project, if you are interested please check out the info and link below. Also there is a chance LiveCode will be used for the mobile apps, if you'd like that to be the case then why not come up with some cool design?:) The LiveCity project announces an open competition for the design of a mixed reality gaming experience that will connect the cities of Athens and Luxembourg! The aim is to bring the people in both cities closer together through the concept of serious gaming. The competition is open to anyone aged over 18 residing in any country and you can submit either individually or as a team. Groups of museum curators, students, game designers or just those with an interest are welcome to enter. The winner of the competition will be announced publicly and this is an ideal opportunity to raise your profile in the mixed reality, gaming and research communities. Competition Information: http://www.livecity-psp.eu/index.php?option=com_content&view=article&id=75&Itemid=76 Deadline: 1st September 2012 -- Dr Rod McCall Researcher in in-car, mixed reality technology and gaming Interdisciplinary Centre for Security, Reliability and Trust University of Luxembourg Blog: www.rodmc.com twitter:rodlux Publications and Information available on my blog From m.schonewille at economy-x-talk.com Fri Aug 10 07:08:49 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2012 13:08:49 +0200 Subject: Externals and COM objects Message-ID: Hi, We have made an external that uses COM objects. Now we get the following error when running the external: Failed to initialize COM library. Error code = 0x80010106 Does this look familiar to anyone? Is anyone aware of problems with COM components and LiveCode? Any solutions? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. From roger.e.eller at sealedair.com Fri Aug 10 08:00:21 2012 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 10 Aug 2012 08:00:21 -0400 Subject: [OT] Image Editing App Updated (and on sale?) In-Reply-To: References: <64B08D84-DF72-4C1D-B7A3-C3CB92F49433@verizon.net> <03235425-30A9-4C5F-B40F-060380C2B772@me.com> Message-ID: *Gimp Sources for **OS X (Tiger, Leopard, SnowLeo, Lion, Mtn. Lion):* http://gimp.lisanet.de/Website/Download.html *SumoPaint Alternative (if there is an internet connection):* http://www.sumopaint.com/ ~Roger On Fri, Aug 10, 2012 at 12:43 AM, Peter Haworth wrote: > Being a cheapskate (plus not doing much in the way of image manipulation), > I've started using Gimp on OS X (it's free). It's kinda weird looking but > so far I've managed to do the simple things I need to do with it. > Pete > lcSQL Software > From pmbrig at gmail.com Fri Aug 10 09:35:10 2012 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 10 Aug 2012 09:35:10 -0400 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> Message-ID: On Aug 10, 2012, at 12:39 AM, Peter Haworth wrote: > ?Jacque - I know about the button you mentioned but ti still results in an > image ID. Here's the situation that caused me to ask the question. I had > around 30 images I was using as button icons, some for the enabled state, > some for the disabled state. I found a much better looking set of images > to use, imported them with new IDs. Now I had to go through all my buttons > and change their IDs to the new ones. Not a huge deal but if I had been > able to set the button icons to image names, I would have had to do nothing. > > Plus Revolution makes a big deal about how English like and understandable > the language is, and rightly so. Image IDs like 1004 tell you nothing > about where the image is in the stack while 'img "OpenStack" of Stack > "myImages" tells you exactly where to find it. > > I don;t expect anything to change of course, just saying IMHO at least an > option to use image names would be more understandable and maintainable. It would be easy to write a handler that dose what you want. Something like this (untested): on assignBtnImage tName, tBtnLongID put the long id of the target into stackName set the itemdelimiter to "/" delete item 1 to -2 of stackName delete word 1 of stackName replace quote with empty in stackName repeat with n = 1 to the number of images of stack stackName if the short name of image n of stack stackName = tName then set the icon of tBtnLongID to the short id of image n of stack stackName end if end repeat end assignBtnImage Assuming images are all in the current stack -- and no duplicate image names, of course. I may have an error or two in this, but you see the basic idea?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bonnmike at gmail.com Fri Aug 10 10:31:20 2012 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 10 Aug 2012 08:31:20 -0600 Subject: Externals and COM objects In-Reply-To: References: Message-ID: Don't know much about this stuff but found some things that might apply. http://stackoverflow.com/questions/2979113/qcroreapplication-qapplication-with-wmi-- says that the error is due to the com already being initialized and provides more info. http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e1bc9fe4-d985-473a-88f7-ef2ed47f77b3/Says the same basic thing but has some code to "safely ignore the error" The documents also say it refers to the fact that a thread mode can't be changed after its set. From bobs at twft.com Fri Aug 10 11:01:29 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Aug 2012 08:01:29 -0700 Subject: Versioning ( was ANN: GLX2 3.0.10) In-Reply-To: <5024851E.9070805@hyperactivesw.com> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1861122077421.20120809175719@ahsoftware.net> <5024851E.9070805@hyperactivesw.com> Message-ID: <56C192FC-66D7-41D9-84AF-7E4DDE16148F@twft.com> Hey that is a great tip! I used to use an old OS 9 utility to do something similar between old and new code bases. Bob On Aug 9, 2012, at 8:50 PM, J. Landman Gay wrote: > On 8/9/12 10:42 PM, Kay C Lan wrote: > >> Then there is the process of retrieving lost data. You can't just open up >> any of these backups because they have exactly the same stack name as the >> stack you are working on. > > It's not what you're looking for (which would be great, I agree) but on desperate occasions I have opened two stacks as text files in BBEdit and run "find differences" on them. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Aug 10 11:10:09 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2012 17:10:09 +0200 Subject: Externals and COM objects In-Reply-To: References: Message-ID: Thanks, Mike. Safely ignoring the error might be a solution. We are looking into that 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 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 10 aug 2012, at 16:31, Mike Bonner wrote: > Don't know much about this stuff but found some things that might apply. > > > http://stackoverflow.com/questions/2979113/qcroreapplication-qapplication-with-wmi-- > says that the error is due to the com already being initialized and > provides more info. > > > http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e1bc9fe4-d985-473a-88f7-ef2ed47f77b3/Says > the same basic thing but has some code to "safely ignore the error" > > The documents also say it refers to the fact that a thread mode can't be > changed after its set. From mwieder at ahsoftware.net Fri Aug 10 11:24:59 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Aug 2012 08:24:59 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> Message-ID: <1191174137781.20120810082459@ahsoftware.net> Chipp- Friday, August 10, 2012, 12:51:01 AM, you wrote: > on clearTempImgs > repeat with x = the number of images down to 1 > if the short name of img x is "temp" then delete img x > end repeat > end clearTempImgs less confusing alternative: if the short name of img x begins with "temp" then... better yet, start with the images in a group. Then you just delete group "imageGroup" One line of code and no confusion about multiple controls with the same name. -- -Mark Wieder mwieder at ahsoftware.net From dsc at swcp.com Fri Aug 10 11:50:11 2012 From: dsc at swcp.com (Dar Scott) Date: Fri, 10 Aug 2012 09:50:11 -0600 Subject: Externals and COM objects In-Reply-To: References: Message-ID: It has been years. This might be due to the wrong mode for the thread you are on. Look at how you use SetApartmentState() and CoInitializeEx(). Yikes! I misspelled the first function and the spellchecker found it! Thread problems can be fickle, so just because something seems to work once does not mean it is reliable. There is probably a pun including these words: External, Apartment, Thread, ... Dar On Aug 10, 2012, at 5:08 AM, Mark Schonewille wrote: > Hi, > > We have made an external that uses COM objects. Now we get the following error when running the external: > > Failed to initialize COM library. Error code = 0x80010106 > > Does this look familiar to anyone? Is anyone aware of problems with COM components and LiveCode? Any solutions? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du > > The Economy-x-Talk office is closed from 30 August until 4 September 2012. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 10 11:51:33 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Aug 2012 08:51:33 -0700 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> Message-ID: <1661175731078.20120810085133@ahsoftware.net> Mike- Thursday, August 9, 2012, 1:09:39 PM, you wrote: > Are we taking suggestions in this thread? If so: > 1) The parser should, when colorizing and capitalizing control structures, > include the IF keyword (THEN, ELSE and END are included) > 2) Code collapse/hiding with disclosure triangles, and construct lines > would be great. Thanks for logging the issues on bitbucket. If you log in rather than doing it anonymously you can get notified when there are changes. In that case you would notice that 2) is already there and that 1) is working for me. We could take that offline and wouldn't have to use up space on this list. -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Fri Aug 10 11:54:35 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 10 Aug 2012 17:54:35 +0200 Subject: Externals and COM objects In-Reply-To: References: Message-ID: Thanks Dar. We'll try that. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 10 aug 2012, at 17:50, Dar Scott wrote: > It has been years. > > This might be due to the wrong mode for the thread you are on. Look at how you use SetApartmentState() and CoInitializeEx(). Yikes! I misspelled the first function and the spellchecker found it! > > Thread problems can be fickle, so just because something seems to work once does not mean it is reliable. > > There is probably a pun including these words: External, Apartment, Thread, ... > > Dar From lvhdgc7 at gmail.com Fri Aug 10 12:08:31 2012 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 10 Aug 2012 09:08:31 -0700 (PDT) Subject: LiveCode Mobile Development by Colin Holgate In-Reply-To: References: Message-ID: <1344614911570-4653614.post@n4.nabble.com> Just got the ebook. Looks great! Thanks Colin. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Mobile-Development-by-Colin-Holgate-tp4653552p4653614.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Fri Aug 10 12:10:17 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 10 Aug 2012 12:10:17 -0400 Subject: ANN: GLX2 3.0.10 In-Reply-To: <1661175731078.20120810085133@ahsoftware.net> References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1661175731078.20120810085133@ahsoftware.net> Message-ID: I was too lazy to create a profile, which is why I did it anonymously. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Fri Aug 10 12:17:23 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 Aug 2012 09:17:23 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50249778.2030601@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> Message-ID: I guess there are cases where I too use controls with the same name. The most obvious one is labels. 99% of the time, I never need to address labels in a script in any way so I let the default name of "Label" stand. I'm also OK with duplicate names for different types of controls (field, button, etc) or if the two controls are the same type but in different groups. In either case, the control can be identified uniquely by name. Pete lcSQL Software On Thu, Aug 9, 2012 at 10:09 PM, J. Landman Gay wrote: > In general: >> >> Patient to Doctor: "Doctor - it hurts when I do this" >> Doctor to Patient: "Well don't do that then." >> >> That's my feeling about objects with the same name. >> > > There are some convenient uses for same-named objects. I use them on > purpose sometimes. From MikeKerner at roadrunner.com Fri Aug 10 12:19:05 2012 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 10 Aug 2012 12:19:05 -0400 Subject: ANN: GLX2 3.0.10 In-Reply-To: References: <1344130885085-4653388.post@n4.nabble.com> <501E7E30.3070001@fourthworld.com> <1344203119400-4653412.post@n4.nabble.com> <501EECB3.8040708@fourthworld.com> <1344213315522-4653424.post@n4.nabble.com> <155778507875.20120805183109@ahsoftware.net> <1344272698862-4653433.post@n4.nabble.com> <1344293936635-4653462.post@n4.nabble.com> <14880324859.20120806224806@ahsoftware.net> <1344361498838-4653487.post@n4.nabble.com> <62962741984.20120807214144@ahsoftware.net> <1661175731078.20120810085133@ahsoftware.net> Message-ID: whoops - it looks like I do have a login #failMe From jacque at hyperactivesw.com Fri Aug 10 12:30:46 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2012 11:30:46 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <381137589281.20120809221551@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> Message-ID: <50253736.5040307@hyperactivesw.com> On 8/10/12 12:15 AM, Mark Wieder wrote: > Jacque- > > Thursday, August 9, 2012, 10:09:12 PM, you wrote: > >>> That's my feeling about objects with the same name. > >> There are some convenient uses for same-named objects. I use them on >> purpose sometimes. > > ? OK - I'll bite. Name one. > if there is a control "whatever" then... It lets me flag a card to take some action without polling every object or needing to keep track in a custom property, or do something else that requires upkeep. As long as that control exists, the handler runs. I don't have to remember to do anything else. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Aug 10 12:43:54 2012 From: pete at lcsql.com (Peter Haworth) Date: Fri, 10 Aug 2012 09:43:54 -0700 Subject: Problem with textshift Message-ID: I'm using the textshift property to align icons inserted by setting the imagesource of a character in a line of text. All the development work was done using 5.5 and all worked fine. Recently, I ran the application on 5.0 and setting the textshift had no effect. This is probably not a very commonnly used property but wondering if anyone else has seen this? Not sure if it's worth submitting a bug since it now works as of 5.5. The line of code in question is: ** *set the imagesource of char x+1 of line pline of field "Objects" totImageID * *set* the textshift of char x+1 of line pline of field "Objects" to 4 stepping through the code, the image appears after the first line is executed but does not move when the second line is executed. Pete lcSQL Software From bobs at twft.com Fri Aug 10 13:12:21 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Aug 2012 10:12:21 -0700 Subject: Problem with textshift In-Reply-To: References: Message-ID: <76E1EA18-9485-483D-BDF6-30857C57AA37@twft.com> Is textshift supported in 5.0? I suspect it is a property that was introduced after 5.0. Bob On Aug 10, 2012, at 9:43 AM, Peter Haworth wrote: > I'm using the textshift property to align icons inserted by setting the > imagesource of a character in a line of text. All the development work was > done using 5.5 and all worked fine. Recently, I ran the application on 5.0 > and setting the textshift had no effect. > > This is probably not a very commonnly used property but wondering if anyone > else has seen this? Not sure if it's worth submitting a bug since it now > works as of 5.5. > > The line of code in question is: > > ** > > *set the imagesource of char x+1 of line pline of field "Objects" totImageID > * > > *set* the textshift of char x+1 of line pline of field "Objects" to 4 > > > stepping through the code, the image appears after the first line is > executed but does not move when the second line is executed. > > > > > 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 ambassador at fourthworld.com Fri Aug 10 13:41:17 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 10 Aug 2012 10:41:17 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344459783371-4653542.post@n4.nabble.com> References: <1344459783371-4653542.post@n4.nabble.com> Message-ID: <502547BD.8060400@fourthworld.com> Alejandro Tejada wrote: > I want to see in LiveCode Journal, a special section > devoted to the Mystic ,Magical and Wonderful world > of Databases. [Notice: This is my personal point of > view about this particular topic of computing] :-D > > Maybe Richard want to name this new section like: > Love your Data[base] > > :-D Peter Haworth wrote: > Alejandro, > I would love to contribute the WOrld of Databases! You're both hired! :) I'd love to see that section as well. I have a few articles of my own in the works for various things, and it would be great if either or both of you would like to contribute articles for LiveCode Journal. I've always envisioned LCJ as a community-based effort, and would happily format and post anything you'd like to contribute. In fact, this is an open invitation for everyone here: LiveCode Journal is as useful as we make it. Anyone and everyone is welcome to submit articles, stacks, or other content that's helpful for the LiveCode community. Feel free to drop me a note any time at: ambassador at fourthworld.com -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From dixonja at hotmail.co.uk Fri Aug 10 13:41:34 2012 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 10 Aug 2012 18:41:34 +0100 Subject: Problem with textshift In-Reply-To: <76E1EA18-9485-483D-BDF6-30857C57AA37@twft.com> References: , <76E1EA18-9485-483D-BDF6-30857C57AA37@twft.com> Message-ID: 'textShift' has been around since version 1.0 > Is textshift supported in 5.0? I suspect it is a property that was introduced after 5.0. > > Bob From selander at tkf.att.ne.jp Fri Aug 10 13:58:45 2012 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 11 Aug 2012 02:58:45 +0900 Subject: Teaser video for my new database library In-Reply-To: References: Message-ID: <50254BD5.5040307@tkf.att.ne.jp> Andre, That was a very helpful video... and made me very interested in becoming a beta-tester, if you still have open slots! Does the library work with RevMedia 4.0? With Unicode? Tim Selander On 8/10/12 10:39 AM, Andre Garzia wrote: > Hey Folks, > > Since we've been talking lately about my new database library, I > decided to share a video about it. > > https://vimeo.com/46918350 > > Feedback is welcome! > > Cheers > andre > From andre at andregarzia.com Fri Aug 10 14:24:46 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Aug 2012 15:24:46 -0300 Subject: Teaser video for my new database library In-Reply-To: <50254BD5.5040307@tkf.att.ne.jp> References: <50254BD5.5040307@tkf.att.ne.jp> Message-ID: On Fri, Aug 10, 2012 at 2:58 PM, Tim Selander wrote: > Andre, > > That was a very helpful video... and made me very interested in becoming a > beta-tester, if you still have open slots! Does the library work with > RevMedia 4.0? With Unicode? > > Hi Tim, I am about to release it. I haven't tested it with RevMedia but I think it should work. It is targeted at SQLite. Unicode UTF-16 is the internal TEXT format for unicode so I expect that it should work. I don't do any translation. What you pass into the array, is what ends up in the database. Cheers andre > Tim Selander > > > On 8/10/12 10:39 AM, Andre Garzia wrote: > >> Hey Folks, >> >> Since we've been talking lately about my new database library, I >> decided to share a video about it. >> >> https://vimeo.com/46918350 >> >> Feedback is welcome! >> >> Cheers >> andre >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode 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 Fri Aug 10 14:28:22 2012 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 10 Aug 2012 15:28:22 -0300 Subject: Need beta testers for new database library In-Reply-To: <502547BD.8060400@fourthworld.com> References: <1344459783371-4653542.post@n4.nabble.com> <502547BD.8060400@fourthworld.com> Message-ID: Richard, Check out the video at: https://vimeo.com/46918350 If you're interested, I would like to contribute an article soon. =D Cheers andre From mwieder at ahsoftware.net Fri Aug 10 14:37:46 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Aug 2012 11:37:46 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50253736.5040307@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <50253736.5040307@hyperactivesw.com> Message-ID: <431185704468.20120810113746@ahsoftware.net> Jacque- Friday, August 10, 2012, 9:30:46 AM, you wrote: > if there is a control "whatever" then... > It lets me flag a card to take some action without polling every object > or needing to keep track in a custom property, or do something else that > requires upkeep. As long as that control exists, the handler runs. I > don't have to remember to do anything else. OK. Now *that's* pretty clever. As long as there's a "whatever" control on a card the action will be taken. But I still don't get why you would want multiple "whatever" controls on the same card... -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Fri Aug 10 14:39:14 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2012 13:39:14 -0500 Subject: Problem with textshift In-Reply-To: References: Message-ID: <50255552.8080003@hyperactivesw.com> On 8/10/12 11:43 AM, Peter Haworth wrote: > I'm using the textshift property to align icons inserted by setting the > imagesource of a character in a line of text. All the development work was > done using 5.5 and all worked fine. Recently, I ran the application on 5.0 > and setting the textshift had no effect. It's always worked okay for me, but the fixedlineheight of the field has to be true. Could it have changed? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 10 16:01:28 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 10 Aug 2012 15:01:28 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <431185704468.20120810113746@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <50253736.5040307@hyperactivesw.com> <431185704468.20120810113746@ahsoftware.net> Message-ID: <50256898.3060502@hyperactivesw.com> On 8/10/12 1:37 PM, Mark Wieder wrote: > Jacque- > > Friday, August 10, 2012, 9:30:46 AM, you wrote: > >> if there is a control "whatever" then... > >> It lets me flag a card to take some action without polling every object >> or needing to keep track in a custom property, or do something else that >> requires upkeep. As long as that control exists, the handler runs. I >> don't have to remember to do anything else. > > OK. Now *that's* pretty clever. As long as there's a "whatever" > control on a card the action will be taken. But I still don't get why > you would want multiple "whatever" controls on the same card... > There may or may not be multiples, but I was responding to why we'd want same-named controls in the stack. If we were able to assign icons by image name, we could only have one image of that name to be sure of an accurate ID. I used to use same-named buttons on a card actually, but that was a HyperCard holdover. I use labels or properties now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Fri Aug 10 18:45:12 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 10 Aug 2012 15:45:12 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: <50256898.3060502@hyperactivesw.com> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <50253736.5040307@hyperactivesw.com> <431185704468.20120810113746@ahsoftware.net> <50256898.3060502@hyperactivesw.com> Message-ID: <1001200550468.20120810154512@ahsoftware.net> Jacque- Friday, August 10, 2012, 1:01:28 PM, you wrote: > There may or may not be multiples, but I was responding to why we'd want > same-named controls in the stack. Ah... "in the stack". That's a different matter entirely. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Fri Aug 10 19:36:08 2012 From: bobs at twft.com (Bob Sneidar) Date: Fri, 10 Aug 2012 16:36:08 -0700 Subject: Serial Port Access Message-ID: <46729534-3D50-48E0-986F-6009CDE1101D@twft.com> Hi all. Has anyone written a serial port library? I would be happy to pay for it. What I want to do is replace our call accounting software with something I write. We don't need much, just departmentalized reports for charge backs, so I can do that pretty simply in LC, but I am not very hip on serial communications. I guess what I am looking for is something I can "turn on" and get the serial data coming in from a 9 pin coming from our phone system. I can parse the data as I get it. I just need a serial library that handles the connection and reads the data. Bob From stephenREVOLUTION2 at barncard.com Fri Aug 10 21:03:24 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 10 Aug 2012 18:03:24 -0700 Subject: Serial Port Access In-Reply-To: <46729534-3D50-48E0-986F-6009CDE1101D@twft.com> References: <46729534-3D50-48E0-986F-6009CDE1101D@twft.com> Message-ID: Sarah's serial stack go URL "http://www.troz.net/rev/stacks/SerialTest.rev" On Fri, Aug 10, 2012 at 4:36 PM, Bob Sneidar wrote: > Hi all. > > Has anyone written a serial port library? I would be happy to pay for it. > What I want to do is replace our call accounting software with something I > write. We don't need much, just departmentalized reports for charge backs, > so I can do that pretty simply in LC, but I am not very hip on serial > communications. > > I guess what I am looking for is something I can "turn on" and get the > serial data coming in from a 9 pin coming from our phone system. I can > parse the data as I get it. I just need a serial library that handles the > connection and reads the data. > > Bob > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From capellan2000 at gmail.com Fri Aug 10 21:26:20 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 10 Aug 2012 18:26:20 -0700 (PDT) Subject: Need beta testers for new database library In-Reply-To: <502547BD.8060400@fourthworld.com> References: <1344313614624-4653478.post@n4.nabble.com> <1344390811478-4653502.post@n4.nabble.com> <1344459783371-4653542.post@n4.nabble.com> <502547BD.8060400@fourthworld.com> Message-ID: <1344648380561-4653632.post@n4.nabble.com> Richard Gaskin wrote > > I'd love to see that section as well. I have a few articles of my own > in the works for various things, and it would be great if either or both > of you would like to contribute articles for LiveCode Journal. > > I've always envisioned LCJ as a community-based effort, and would > happily format and post anything you'd like to contribute. > > In fact, this is an open invitation for everyone here: LiveCode Journal > is as useful as we make it. Anyone and everyone is welcome to submit > articles, stacks, or other content that's helpful for the LiveCode > community. > > Feel free to drop me a note any time at: ambassador@ > My English is not good enough... :-( but thanks for the invitation. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-beta-testers-for-new-database-library-tp4653339p4653632.html Sent from the Revolution - User mailing list archive at Nabble.com. From bornstein at designeq.com Fri Aug 10 22:32:16 2012 From: bornstein at designeq.com (Howard Bornstein) Date: Fri, 10 Aug 2012 19:32:16 -0700 Subject: iOS - picking from a scrolling list In-Reply-To: References: <74DD9AD1-58E8-46AB-ACA9-E7476D0C3824@mac.com> <89A8D2FB-8C6F-44C0-9EC3-CB5658089B34@mac.com> Message-ID: Hi Tom, Sorry I didn't see your response until now. That, in fact, is what I did to deal with the situation. Thanks. On Mon, Jul 30, 2012 at 6:32 AM, Thomas McGrath III wrote: > Howard, > > I am running out right now so I won't be able to look deeper into this > just yet. But remember that with that code there are two scrolls going on. > One for use in the IDE and the other for use on the device. The IDE code > is: set the vScroll of group "InputScrollerGroup" to pOffsetY and the > mobile code is: iphoneControlSet sScrollerId, "vscroll", 0 > > If it is not going back to the top when coming back from another card then > try adding both of them in an open card handler like this: > > on openCard > iphoneControlSet sScrollerId, "vscroll", 0 > set the vScroll of group "InputScrollerGroup" to 0 > end openCard > > to tested but should work if the controls exist at that point. > > I'll look at it later. > > HTHs > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Jul 29, 2012, at 5:34 PM, Howard Bornstein wrote: > > > Hi Tom, > > > > Thank you for this code. It has been very helpful in getting me going on > > using an IOS scroller. It works fine except for the following situation, > > which is baffling me at this point. > > > > If I implement a scroller with your code, everything works they way I > would > > expect it to. However, if I scroll the list (say half-way down) and then > > leave the card, when I return back, the top of the scrollable field is > not > > at the top of the scroller group (which I would expect because of this > line > > of code: set the top of field "Counter" to the top of group > > "InputScrollerGroup") but is, in fact, half-way down the scroller group. > > Then, if I try to scroll the field up, it never gets to the bottom of the > > field, but instead "bounces" somewhere near the middle of the content. In > > other words, it looks like the entire field is offset down by some amount > > (probably a function of how much I had it scrolled before I left the > card). > > > > I can't figure out why this would happen since the CloseCard handler > > deletes the IOS scroll group and OpenCard should create it fresh each > time > > I go to the card. Somehow, the field position is getting stuck after I > > scroll it and then leave the card. > > > > Do you understand why this is happening? > > > > -- > > Regards, > > > > Howard Bornstein > > ----------------------- > > www.designeq.com > > > > On Thu, Apr 5, 2012 at 6:44 AM, Thomas McGrath III > wrote: > > > >> Graham, > >> > >> I don't use mobgui but instead I use tmControl for layout of iOS > elements. > >> There are two types of scrolling lists possible in LC. The first is > using > >> mobilePick by itself or use an option button (that uses the iOS > >> mobilePicker). The second is using either an LC field object or other > >> objects like the list field in tmControl but either of these needs to > be in > >> a group and the group can now have an iOS scroller applied to it. > >> > >> If you create a field that is very long and group it then select the > group > >> and make it shorter than that field it will scroll. I can't remember if > the > >> group needs locked or not. There are a couple of glitches to watch out > for. > >> > >> Here is parts of a script that controls a grouped field and an iOS > >> scroller. A mouseUp in the field can return the desired line etc. > >> > >> local sScrollerId > >> on scrollerDidScroll pOffsetX, pOffsetY > >> lock screen > >> set the hScroll of group "InputScrollerGroup" to pOffsetX > >> set the vScroll of group "InputScrollerGroup" to pOffsetY > >> unlock screen > >> end scrollerDidScroll > >> > >> on openCard > >> set the layerMode of group "InputScrollerGroup" of this card to > >> "scrolling" > >> > >> set the unboundedHScroll of group "InputScrollerGroup" to true > >> set the unboundedVScroll of group "InputScrollerGroup" to true > >> > >> -- add items to a field "Counter" and have it grow to fit the > contents > >> set the height of field "Counter" of this card to the formattedHeight > >> of field "Counter" > >> set the top of field "Counter" to the top of group > "InputScrollerGroup" > >> > >> set the threeDHilite of field "Lap Counter" to false > >> iphoneControlCreate "scroller", "InputScroller" > >> put the result into sScrollerId > >> put the rect of group "InputScrollerGroup" into tRect > >> iphoneControlSet sScrollerId, "rect", tRect > >> put the formattedHeight of field "Counter" into tHeight > >> iphoneControlSet sScrollerId, "contentRect", (0, 0, 0, tHeight) > >> iphoneControlSet sScrollerId, "indicatorInsets", (0,0,6,0) > >> iphoneControlSet sScrollerId, "visible", "true" > >> iphoneControlSet sScrollerId, "canBounce", true > >> > >> iphoneControlSet sScrollerId, "declerationRate", fast > >> iphoneControlSet sScrollerId, "scrollingEnabled", true > >> iphoneControlSet sScrollerId, "canScrollToTop", true > >> iphoneControlSet sScrollerId, "delayTouches", true > >> > >> iphoneControlSet sScrollerId, "vscroll", 0 > >> set the vScroll of group "InputScrollerGroup" to 0 > >> set the vScroll of field "Counter" to 0 > >> > >> focus on nothing > >> iphoneControlDo sScrollerId, "flashScrollIndicators" > >> end openCard > >> > >> on closeCard > >> iphoneControlDelete "InputScrollerGroup" > >> end closeCard > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> 3mcgrath at comcast.net > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From chipp at chipp.com Sat Aug 11 03:07:48 2012 From: chipp at chipp.com (Chipp Walters) Date: Sat, 11 Aug 2012 02:07:48 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <1191174137781.20120810082459@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <1191174137781.20120810082459@ahsoftware.net> Message-ID: Mark, ? You haven't any idea how or why this is used. How can you suggest something like: begins with "temp" over is "temp" ? How do you know how the images got there? Do you know they are in a group? I really don't understand your comment. You asked for a case where you can see the possible use of the same named control... On Fri, Aug 10, 2012 at 10:24 AM, Mark Wieder wrote: > Chipp- > > Friday, August 10, 2012, 12:51:01 AM, you wrote: > > > on clearTempImgs > > repeat with x = the number of images down to 1 > > if the short name of img x is "temp" then delete img x > > end repeat > > end clearTempImgs > > less confusing alternative: > > if the short name of img x begins with "temp" then... > > better yet, start with the images in a group. Then you just > > delete group "imageGroup" > > One line of code and no confusion about multiple controls with the > same name. > > -- > -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 > -- Chipp Walters CEO, Altuit, Inc. From Mark_Smith at cpe.umanitoba.ca Sat Aug 11 11:14:11 2012 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 11 Aug 2012 08:14:11 -0700 (PDT) Subject: Teaser video for my new database library In-Reply-To: References: Message-ID: <1344698051689-4653635.post@n4.nabble.com> Andre, brilliant little library. Thanks (PS will give it a test this evening and let you know if I can break it). Probably not, looks very solid. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Teaser-video-for-my-new-database-library-tp4653583p4653635.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Aug 11 11:28:00 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Aug 2012 08:28:00 -0700 Subject: What was that thing with Photoshop images? In-Reply-To: References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <1191174137781.20120810082459@ahsoftware.net> Message-ID: <1291260718484.20120811082800@ahsoftware.net> Chipp- Sorry - typing in a rush as I was heading out the door. I was trying to show alternate means of dealing with that situation without having to resort to the confusion of having multiple controls with identical names. What I meant to suggest was 1) instead of naming all the graphics "temp", name them "temp1", "temp2", "tempSomething"... and then you can delete all of them by the same method without having to give them duplicate names. 2. grouping the temporary controls you are going to want to delete. Then you can delete them all just by deleting the group itself. -- -Mark Wieder mwieder at ahsoftware.net From matthias_livecode_150811 at m-r-d.de Sat Aug 11 12:07:15 2012 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 11 Aug 2012 18:07:15 +0200 Subject: Teaser video for my new database library In-Reply-To: References: Message-ID: Andre, thanks for that video. I would love to test your library. I sent you an email already some days ago, but did not get an answer. Regards, Matthias Am 10.08.2012 um 03:39 schrieb Andre Garzia : > Hey Folks, > > Since we've been talking lately about my new database library, I > decided to share a video about it. > > https://vimeo.com/46918350 > > Feedback is welcome! > > 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 bvg at mac.com Sat Aug 11 12:08:34 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 11 Aug 2012 18:08:34 +0200 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: <50207E66.8080303@hyperactivesw.com> References: <50207E66.8080303@hyperactivesw.com> Message-ID: don't set the hilitepattern, set the backgroundpattern instead. On 07.08.2012, at 04:33, J. Landman Gay wrote: > I have a carefully sized gradient image that I use as a custom hilite pattern in a list field. It is exactly the height of the textheight. When the field is not scrolled it lines up perfectly with any selected line of the field. > > But if the scrollbar is dragged and stopped in between even lineheight increments, the pattern tiles in a very ugly way. It looks like the engine is just tiling the pattern all the way down the field and whatever line is currently selected just makes that area of the tiled image show through. > > I don't really want to mess with creating a patterned button to lay over the field as a fake selection rectangle. Does anyone know of a trick to prevent the inaccurate pattern when the field isn't scrolled to an even increment? > > I suppose another option is to script the field to snap to the next lineheight increment but if there's a better trick I'd prefer it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jacque at hyperactivesw.com Sat Aug 11 12:52:12 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Aug 2012 11:52:12 -0500 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: References: <50207E66.8080303@hyperactivesw.com> Message-ID: <50268DBC.7070204@hyperactivesw.com> On 8/11/12 11:08 AM, Bj?rnke von Gierke wrote: > don't set the hilitepattern, set the backgroundpattern instead. I want the field background color to be black. I want the hilited line in the list to be the custom gradient. I've used a script that moves a patterned button over the selected line. It works, but fast scrolling makes it jerky and you can see it adjusting. For now it seems that's the best I can do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Aug 11 13:06:41 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 Aug 2012 10:06:41 -0700 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: References: Message-ID: <50269121.7070107@fourthworld.com> J. Landman Gay wrote: > I have a carefully sized gradient image that I use as a custom > hilite pattern in a list field. It is exactly the height of the > textheight. When the field is not scrolled it lines up perfectly > with any selected line of the field. > > But if the scrollbar is dragged and stopped in between even > lineheight increments, the pattern tiles in a very ugly way. > It looks like the engine is just tiling the pattern all the way > down the field and whatever line is currently selected just > makes that area of the tiled image show through. I filed a feature request for this last year: Could hilitePattern in list fields account for scroll? -- 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 Sat Aug 11 13:58:24 2012 From: pete at lcsql.com (Peter Haworth) Date: Sat, 11 Aug 2012 10:58:24 -0700 Subject: Problem with textshift In-Reply-To: <50255552.8080003@hyperactivesw.com> References: <50255552.8080003@hyperactivesw.com> Message-ID: Checked out the fixedlineheight and it is true. I've now run this on the same computer (OS X Snow Leopard) same stack, same data using 5.0.2 and 5.5.1 and the different behavior still persists. If I step through the code in 5.5.1, I can see the image shift down when the line of code that sets the textshift executes. Stepping through with 5.0.2, the image doesn't move when the same line is executed. I've also had a tester report the same issue with and earlier version of LC (4.5) I guess some other property could be affecting the behavior but there's something different happening in 5.0 and 5.5. The text is Verdana 10 with a line height of 18. The images are 16x16. Any suggested areas of investigation most welcome, or even any alternative ways to do this. Thanks, Pete lcSQL Software On Fri, Aug 10, 2012 at 11:39 AM, J. Landman Gay wrote: > On 8/10/12 11:43 AM, Peter Haworth wrote: > >> I'm using the textshift property to align icons inserted by setting the >> imagesource of a character in a line of text. All the development work >> was >> done using 5.5 and all worked fine. Recently, I ran the application on >> 5.0 >> and setting the textshift had no effect. >> > > It's always worked okay for me, but the fixedlineheight of the field has > to be true. Could it have changed? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sat Aug 11 16:48:26 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 11 Aug 2012 13:48:26 -0700 (PDT) Subject: Smartphone apps that are transforming us Message-ID: <1344718106639-4653642.post@n4.nabble.com> Interesting article written by David H. Freeman http://www.theatlantic.com/magazine/archive/2012/06/the-perfected-self/8970/?single_page=true Dramatic introduction: "B. F. Skinner?s notorious theory of behavior modification was denounced by critics 50 years ago as a fascist, manipulative vehicle for government control. But Skinner?s ideas are making an unlikely comeback today, powered by smartphone apps that are transforming us into thinner, richer, all-around-better versions of ourselves. The only thing we have to give up? Free will." Interesting Facts: "studies in the late 1980s and early ?90s established that behavior analysis, unlike any other treatment, was effective in helping children with autism communicate, learn, and refrain from violent behavior, to the extent that some patients shed their diagnosis." And this is the reason why I posted this article in this mail list: "But technology is radically lowering that cost barrier. Today, for absolutely nothing, would-be weight-losers can download many of the key elements of a Skinnerian behavior-modification program directly to their phones and computers. One of the most popular options is Lose It, an app and Web site that allows users to pick a goal weight and a time line for reaching it, and then formulates a daily calorie count accordingly. Lose It then lets users track their eating and physical activity, which they can do by holding their phones up to a food package?s barcode, or by tapping the screen a few times at the start and end of a walk (the app offers a range of activity categories, including guitar strumming, household walking, and sex). Lose It uses this data to provide clear, graphic feedback on users? daily progress?you might see at a glance that having dessert will send your numbers into the red, but that if you walk for 20 minutes after dessert, you?ll go back into the green." In this platform, Kresten Bjerg wrote the application "Phenomenalog" http://forum.quantifiedself.com/thread-user-driven-development-of-a-freeware-citizen-diary http://www.phenomenalog.dk http://www.phenomenalog.wikispaces.com http://www.youtube.com/watch?v=RSSovAmShCk I see in this application the same life changing potential that the application described in this article. Kresten have asking for help to anyone interested in participate in the development of this application. If you could spare a moment these days, please download his application and give it a try. You will understand why I believe that, properly developed, this application will change for good the life of it's users. http://www.phenomenalog.dk/downloads.htm Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Smartphone-apps-that-are-transforming-us-tp4653642.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Aug 11 17:05:17 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 11 Aug 2012 14:05:17 -0700 Subject: sent message skipping card handler and going to stack Message-ID: I'm probably missing something simple here . . . A field does a bit on closeField, and then passes closeField. In the stack closeField, updMyVal is invoked. Rather than the card handler for updMyVal, it steps into the stack handler for updMyVal. What could be causing this? -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From m.schonewille at economy-x-talk.com Sat Aug 11 17:11:38 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 11 Aug 2012 23:11:38 +0200 Subject: sent message skipping card handler and going to stack In-Reply-To: References: Message-ID: <7E6BBE8F-830C-4DF6-AD84-3C6D1AAF8749@economy-x-talk.com> Hi, If your closeField handler is at stack level, then it will be able to call other handlers at stack level or higher only. If you want to call a handler lower in the message hierarchy, then you need to use the send command: send "updMyVal" to this cd. If this doesn't answer your question, then you might want to post the syntax that calls updMyVal. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 11 aug 2012, at 23:05, Dr. Hawkins wrote: > I'm probably missing something simple here . . . > > A field does a bit on closeField, and then passes closeField. > > In the stack closeField, updMyVal is invoked. > > Rather than the card handler for updMyVal, it steps into the stack > handler for updMyVal. > > What could be causing this? From jacque at hyperactivesw.com Sat Aug 11 17:32:36 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Aug 2012 16:32:36 -0500 Subject: sent message skipping card handler and going to stack In-Reply-To: References: Message-ID: <5026CF74.9080604@hyperactivesw.com> On 8/11/12 4:05 PM, Dr. Hawkins wrote: > I'm probably missing something simple here . . . > > A field does a bit on closeField, and then passes closeField. > > In the stack closeField, updMyVal is invoked. > > Rather than the card handler for updMyVal, it steps into the stack > handler for updMyVal. > > What could be causing this? > If the field is a background field, it gets messages after the card. A card field gets messages before the card. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 11 17:37:50 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Aug 2012 16:37:50 -0500 Subject: Mobile font sizes Message-ID: <5026D0AE.9030400@hyperactivesw.com> Has anyone got a list of default font sizes for various iOS devices? I.e., what's a good visible font size on iPhone, iPhone retina, iPad, iPad retina? I know these will vary depending on the app, but I'd like a ballpark target. It's hard to tell in the simulator what will look right. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 11 17:51:16 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 11 Aug 2012 16:51:16 -0500 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: <50269121.7070107@fourthworld.com> References: <50269121.7070107@fourthworld.com> Message-ID: <5026D3D4.4000703@hyperactivesw.com> On 8/11/12 12:06 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > > > I have a carefully sized gradient image that I use as a custom > > hilite pattern in a list field. It is exactly the height of the > > textheight. When the field is not scrolled it lines up perfectly > > with any selected line of the field. > > > > But if the scrollbar is dragged and stopped in between even > > lineheight increments, the pattern tiles in a very ugly way. > > It looks like the engine is just tiling the pattern all the way > > down the field and whatever line is currently selected just > > makes that area of the tiled image show through. > > I filed a feature request for this last year: > > Could hilitePattern in list fields account for scroll? > Thanks, I added my comment. I'd like to see it changed to a bug, since the feature is already implemented but doesn't work as expected. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sat Aug 11 18:18:22 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 11 Aug 2012 15:18:22 -0700 (PDT) Subject: [ANN] extIco2Png External Half the Price In-Reply-To: References: Message-ID: <1344723502236-4653648.post@n4.nabble.com> Hi Mark, How did other applications use this functionality? Displaying other application icon's could be useful for creating your own file selector dialogs, but besides this specific use, Which other uses could have this dll? Thanks in advance Al Mark Schonewille-3 wrote > > I know that Windows developers are greatly underrepresented in the > LiveCode community, but I hope that the following still appears to be > useful for some of you. > As you might know, Economy-x-Talk offers a Windows external (dll) to read > icons from ico and exe files. Displaying the icon of an exe or ico file is > really simple: > local myPictureData > extIconFromExe theFile,"myPictureData",kName,kPW > set the text of img 1 to myPictureData > where theFile contains a valid file path and kName and kPW are you license > credentials. > Currently, this external costs EUR 9.95. The next version, which is > scheduled for release within a few weeks and contains important new > features, will cost EUR 19.95, but we decided not to update the licensing > system. If you buy the external now, you get effectively a 50% discount on > the new version of the external! > One of the new features in the new version will be the possibility to load > icon sets the same way you can do with the revFont external for fonts. Go > to http://qery.us/2f1 to get a demo of the old version of the exteral and > send feedback here http://qery.us/du > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-extIco2Png-External-Half-the-Price-tp4653569p4653648.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Aug 11 18:18:49 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Aug 2012 15:18:49 -0700 Subject: Smartphone apps that are transforming us In-Reply-To: <1344718106639-4653642.post@n4.nabble.com> References: <1344718106639-4653642.post@n4.nabble.com> Message-ID: <1111285367187.20120811151849@ahsoftware.net> Alejandro- Saturday, August 11, 2012, 1:48:26 PM, you wrote: > eating and physical activity, which they can do by holding their phones > up to a food package?s barcode, or by tapping the screen a few times > at the start and end of a walk (the app offers a range of activity > categories, including guitar strumming, household walking, and sex). Guitar strumming as excercise? If those wankers would learn to play a real instrument (yes, I *am* talking about a bass) they'd find out what work really is... -- -Mark Wieder mwieder at ahsoftware.net From dochawk at gmail.com Sat Aug 11 18:20:41 2012 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 11 Aug 2012 15:20:41 -0700 Subject: sent message skipping card handler and going to stack In-Reply-To: <7E6BBE8F-830C-4DF6-AD84-3C6D1AAF8749@economy-x-talk.com> References: <7E6BBE8F-830C-4DF6-AD84-3C6D1AAF8749@economy-x-talk.com> Message-ID: On Sat, Aug 11, 2012 at 2:11 PM, Mark Schonewille wrote: > If your closeField handler is at stack level, then it will be able to call other handlers at stack level or higher only. If you want to call a handler lower in the message hierarchy, then you need to use the send command: send "updMyVal" to this cd. > > If this doesn't answer your question, then you might want to post the syntax that calls updMyVal. I considered that briefly, and rejected it. I would have sworn that I had similar behavior all over the place with this message . . .. Hmm, now that I think of it, this message is usually done as "send updMyVal to field foo", and I must have simply put an "updMyVal" in the script. thanks. -- The Hawkins Law Firm Richard E. Hawkins, Esq. (702) 508-8462 HawkinsLawFirm at gmail.com 3025 S. Maryland Parkway Suite A Las Vegas, NV 89109 From ambassador at fourthworld.com Sat Aug 11 18:32:46 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 11 Aug 2012 15:32:46 -0700 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: <5026D3D4.4000703@hyperactivesw.com> References: <5026D3D4.4000703@hyperactivesw.com> Message-ID: <5026DD8E.5070003@fourthworld.com> J. Landman Gay wrote: > On 8/11/12 12:06 PM, Richard Gaskin wrote: >> J. Landman Gay wrote: >> >> > I have a carefully sized gradient image that I use as a custom >> > hilite pattern in a list field. It is exactly the height of the >> > textheight. When the field is not scrolled it lines up perfectly >> > with any selected line of the field. >> > >> > But if the scrollbar is dragged and stopped in between even >> > lineheight increments, the pattern tiles in a very ugly way. >> > It looks like the engine is just tiling the pattern all the way >> > down the field and whatever line is currently selected just >> > makes that area of the tiled image show through. >> >> I filed a feature request for this last year: >> >> Could hilitePattern in list fields account for scroll? >> > > Thanks, I added my comment. I'd like to see it changed to a bug, since > the feature is already implemented but doesn't work as expected. Done. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From capellan2000 at gmail.com Sat Aug 11 18:49:23 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 11 Aug 2012 15:49:23 -0700 (PDT) Subject: Smartphone apps that are transforming us In-Reply-To: <1111285367187.20120811151849@ahsoftware.net> References: <1344718106639-4653642.post@n4.nabble.com> <1111285367187.20120811151849@ahsoftware.net> Message-ID: <1344725363440-4653652.post@n4.nabble.com> Mark, Mark Wieder wrote > > Guitar strumming as exercise? If those wankers would learn to play a > real instrument (yes, I *am* talking about a bass) they'd find out > what work really is... > An exercise better than Wii Fit. :-D But, now that phones have cameras, would not be easier to record their exercise sessions for their own personal records? And, I am talking about the kind of excessrcise that does not endanger your private and public life. :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Smartphone-apps-that-are-transforming-us-tp4653642p4653652.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Aug 11 20:09:52 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 11 Aug 2012 17:09:52 -0700 Subject: Smartphone apps that are transforming us In-Reply-To: <1344725363440-4653652.post@n4.nabble.com> References: <1344718106639-4653642.post@n4.nabble.com> <1111285367187.20120811151849@ahsoftware.net> <1344725363440-4653652.post@n4.nabble.com> Message-ID: <1761292030250.20120811170952@ahsoftware.net> Alejandro- Saturday, August 11, 2012, 3:49:23 PM, you wrote: > And, I am talking about the kind of excessrcise that > does not endanger your private and public life. :-D LOL -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Sat Aug 11 20:46:30 2012 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 12 Aug 2012 02:46:30 +0200 Subject: [ANN] extIco2Png External Half the Price In-Reply-To: <1344723502236-4653648.post@n4.nabble.com> References: <1344723502236-4653648.post@n4.nabble.com> Message-ID: Hi Al, There are lots of applications that need to display file icons, app icons, device icons, or just icons. If you know your way in the registry, you can find out the path to the icon for each file and the ID number of the right icon in that file. You can display a native folder icon in your user interface. You can use folder and file icons to display a file tree. There are many useful (native) icons in shell32.dll, which you can load directly with this external. There are lots of ico files available for download on the internet. The extIco2Png external allows you to import them directly, without having to convert them first. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Economy-x-Talk is looking for an amateur painter/cartoonist/poet etc. Contact me http://qery.us/du The Economy-x-Talk office is closed from 30 August until 4 September 2012. On 12 aug 2012, at 00:18, Alejandro Tejada wrote: > Hi Mark, > > How did other applications use this functionality? > > Displaying other application icon's could be useful > for creating your own file selector dialogs, but > besides this specific use, Which other uses could > have this dll? > > Thanks in advance > > Al > From brahma at hindu.org Sun Aug 12 00:57:31 2012 From: brahma at hindu.org (Brahmanathaswami) Date: Sat, 11 Aug 2012 18:57:31 -1000 Subject: Fast Way to get a Path to files in thumbnail folders Message-ID: <502737BB.3090806@hindu.org> I'm working on catalog delivery system in our new web site. one of the media types is "slideshow" and we have a path that we can programatically build from the database data that knows what year the photos were taken and has a file ID that match the folder on disk... After that we also know that the thumbnail/image we want for a gallery/catalog view is going to be in a folder call "preview" We also really don't care which thumbnail we use for the catalog, So of course we could do something like this on a repeat loop put "/media/slideshows/" & tYear & "/" & tFileID & "/preview" into tThumbsFolder set the defaultfolder to tThumbsFolder= put line 1 of the files into tGalleryThumb # then create small function to build the image tag: put format ("img src=\"" &tThumbsFolder & "/preview/" & tGalleryThumb & "\" />" into tGalleryImage and then push that in the table. That's pretty obvious But I've had trouble in the past with repeatedly with resetting the default folder on a loop like this and it seems like a lot of disk reading when we really don't care which file we use and we also a) know there will always be one and b) it always ends in *.jpg I am wondering if there is some reg-ex magic that I could use to just read the first file in say this folder: /media/slideshows/2008/2008-01-08_cambodia/preview/*.jpg where by I can avoid having to repeatedly reset the defaultfolder and get "the files" i suppose I could use a shell cmd but if you use something like "/media/slideshows/2008/2008-01-08_cambodia/preview/*.jpg" in a shell you will get all the files in the folder and not just the first one. Any ideas? Brahmanathaswami (new name of he who was formerly Sivakatirswami) From chipp at chipp.com Sun Aug 12 04:07:15 2012 From: chipp at chipp.com (Chipp Walters) Date: Sun, 12 Aug 2012 03:07:15 -0500 Subject: What was that thing with Photoshop images? In-Reply-To: <1291260718484.20120811082800@ahsoftware.net> References: <50208529.9090403@hyperactivesw.com> <50215928.1070801@hyperactivesw.com> <502200C5.1040408@hyperactivesw.com> <6CA305D4-4A81-4BBE-987A-F51445307578@elementarysoftware.com> <50228B44.7010206@hyperactivesw.com> <502445FF.6050108@hyperactivesw.com> <50247E2D.9040808@hyperactivesw.com> <50249778.2030601@hyperactivesw.com> <381137589281.20120809221551@ahsoftware.net> <1191174137781.20120810082459@ahsoftware.net> <1291260718484.20120811082800@ahsoftware.net> Message-ID: Ok, Still, why do I care to give them unique names (or group them) when I'm just going to delete them milliseconds later in the same handler? On Saturday, August 11, 2012, Mark Wieder wrote: > Chipp- > > Sorry - typing in a rush as I was heading out the door. I was trying > to show alternate means of dealing with that situation without having > to resort to the confusion of having multiple controls with identical > names. What I meant to suggest was > > 1) instead of naming all the graphics "temp", name them "temp1", > "temp2", "tempSomething"... and then you can delete all of them by > the same method without having to give them duplicate names. > > 2. grouping the temporary controls you are going to want to delete. > Then you can delete them all just by deleting the group itself. > > -- > -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 > -- Chipp Walters CEO, Altuit, Inc. From richmondmathewson at gmail.com Sun Aug 12 10:35:29 2012 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 12 Aug 2012 15:35:29 +0100 Subject: Old versions of RR/LC and old computers? Message-ID: <5027BF31.8000006@gmail.com> So, here I am in Britain for a visit with my Mum and Dad, and doing a spot of work on my Tray-loading G3 iMac running Mac OS 10.3.9; and it does just exactly all that I need!!!! However, this machine cannot be used with versions of RR/LC later than 4.0 [not really a big problem as far as I am concerned as I own RR 4.0], and I was wondering (again) why, whenever Runtime Revolution produce a new version of LC they stop making earlier versions available, and for sale. This may seem like a daft question until you reflect on several things: The world is swimming in old computers that are, supposedly outdated [as far as I know this G3 iMac was made about 14 years ago], that can be reused in all sorts of places [especially on the educational front] and for children at home to learn programming on. Currently I have a Pentium II running FreeDOS with the GEM GUI that I use for helping kids with PASCAL. I have another Pentium II running Damn Small Linux [the developer of DSL has "woken up" and is recommencing development after a 4 year break] that I am going to see about using with versions of RR/LC. Early versions of RR/LC, while not being as jazzy and capable as more current versions are very good for many types of in-house software development, as well as for teaching purposes. I belive that were RunRev to market early versions of RR/LC at cut-down prices they would make some money, not detract from their sales of up-to-date versions, and do a lot of people a good service. Richmond. From charles at buchwald.ca Sun Aug 12 11:54:13 2012 From: charles at buchwald.ca (Charles E Buchwald) Date: Sun, 12 Aug 2012 10:54:13 -0500 Subject: Fast Way to get a Path to files in thumbnail folders In-Reply-To: <502737BB.3090806@hindu.org> References: <502737BB.3090806@hindu.org> Message-ID: <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> How about setting the item delimiter to "/" and using chunk operations, instead of regex? (Not that it would be hard to use regex, but generally LC code is even easier....) On 2012-08-11, at 11:57 PM, Brahmanathaswami wrote: > I'm working on catalog delivery system in our new web site. > > one of the media types is "slideshow" and we have a path that we can programatically build from the database data that knows what year the photos were taken and has a file ID that match the folder on disk... After that we also know that the thumbnail/image we want for a gallery/catalog view is going to be in a folder call "preview" > > We also really don't care which thumbnail we use for the catalog, > > So of course we could do something like this > > on a repeat loop > > put "/media/slideshows/" & tYear & "/" & tFileID & "/preview" into tThumbsFolder > set the defaultfolder to tThumbsFolder= > put line 1 of the files into tGalleryThumb > > # then create small function to build the image tag: > > put format ("img src=\"" &tThumbsFolder & "/preview/" & tGalleryThumb & "\" />" into tGalleryImage > > and then push that in the table. That's pretty obvious > > But I've had trouble in the past with repeatedly with resetting the default folder on a loop like this and it seems like a lot of disk reading when we really don't care which file we use and we also a) know there will always be one and b) it always ends in *.jpg > > I am wondering if there is some reg-ex magic that I could use to just read the first file in say this folder: > > /media/slideshows/2008/2008-01-08_cambodia/preview/*.jpg > > where by I can avoid having to repeatedly reset the defaultfolder and get "the files" > > i suppose I could use a shell cmd but if you use something like > > "/media/slideshows/2008/2008-01-08_cambodia/preview/*.jpg" in a shell you will get all the files in the folder and not just the first one. > > Any ideas? > > Brahmanathaswami (new name of he who was formerly Sivakatirswami) > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Aug 12 12:03:20 2012 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 12 Aug 2012 12:03:20 -0400 (EDT) Subject: HC 25 years old today In-Reply-To: <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> Message-ID: <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> Someone on the HC list noted this. Hypercard's 25th anniversary. Craig From richmondmathewson at gmail.com Sun Aug 12 12:11:29 2012 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 12 Aug 2012 17:11:29 +0100 Subject: HC 25 years old today In-Reply-To: <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> Message-ID: <5027D5B1.1020006@gmail.com> dunbarx at aol.com wrote: > Someone on the HC list noted this. > > > Hypercard's 25th anniversary. > Well worth celebrating: When Nikita Khrushchev died he went to Hell, and the first things he saw was Hitler up to his neck in shit, and Stalin up to his waist in the stuff. So he asked the Devil why Stalin was only up to his waist in poo. To which the reply was that he was standing on Lenin's shoulders. All of us who use Runtime Revolution Livecode would be in deep trouble without Hypercard! Happy Birthday Hypercard; long may your love-child; Runtime Revolution Livecode, continue to keep alive your legacy!!!! > > Craig > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 12 12:35:35 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Aug 2012 09:35:35 -0700 Subject: Need beta testers for new database library In-Reply-To: <1344648380561-4653632.post@n4.nabble.com> References: <1344648380561-4653632.post@n4.nabble.com> Message-ID: <5027DB57.9000500@fourthworld.com> Alejandro Tejada wrote: > Richard Gaskin wrote >> >> I'd love to see that section as well. I have a few articles of my own >> in the works for various things, and it would be great if either or both >> of you would like to contribute articles for LiveCode Journal. >> >> I've always envisioned LCJ as a community-based effort, and would >> happily format and post anything you'd like to contribute. >> >> In fact, this is an open invitation for everyone here: LiveCode Journal >> is as useful as we make it. Anyone and everyone is welcome to submit >> articles, stacks, or other content that's helpful for the LiveCode >> community. >> >> Feel free to drop me a note any time at: ambassador@ >> > > My English is not good enough... :-( > but thanks for the invitation. On the contrary, one of the great things about the US is that our population has lowered the bar for English competency. ;) Your English is very good; your posts here are among the more enjoyable. If you have an interest in writing anything for LiveCode Journal, please don't let your confidence in your English hold you back. You write better than many professional journalists in the States. -- 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 Sun Aug 12 12:46:29 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Aug 2012 09:46:29 -0700 Subject: Need beta testers for new database library In-Reply-To: <5027DB57.9000500@fourthworld.com> References: <1344648380561-4653632.post@n4.nabble.com> <5027DB57.9000500@fourthworld.com> Message-ID: so true! Ever read the Huffington post? Not just the misspellings but the difficulties with Unicode in the text as well. On Sun, Aug 12, 2012 at 9:35 AM, Richard Gaskin wrote: > If you have an interest in writing anything for LiveCode Journal, please > don't let your confidence in your English hold you back. You write better > than many professional journalists in the States. -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Sun Aug 12 13:26:02 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Aug 2012 12:26:02 -0500 Subject: HC 25 years old today In-Reply-To: <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> Message-ID: <5027E72A.7030602@hyperactivesw.com> On 8/12/12 11:03 AM, dunbarx at aol.com wrote: > > > Someone on the HC list noted this. > > > Hypercard's 25th anniversary. This link was attached: http://www.tuaw.com/tag/hypercard There are some nice links back to RunRev. I admit I choked up a bit when I read the article. I wouldn't be here if it hadn't been for HyperCard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun Aug 12 13:43:01 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 12 Aug 2012 10:43:01 -0700 Subject: HC 25 years old today In-Reply-To: <5027E72A.7030602@hyperactivesw.com> References: <5027E72A.7030602@hyperactivesw.com> Message-ID: <5027EB25.30201@fourthworld.com> FWIW, this year is the 20th anniversary of LiveCode - while I don't have the specific release date, I believe MetaCard was first released in 1992. Happy birthday, LiveCode. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From rjb at robelko.com Sun Aug 12 13:52:09 2012 From: rjb at robelko.com (Robert Brenstein) Date: Sun, 12 Aug 2012 19:52:09 +0200 Subject: Server doesn't send response code In-Reply-To: <4F9CB6D9.4080800@hyperactivesw.com> References: <4F9CB6D9.4080800@hyperactivesw.com> Message-ID: On 28.04.2012 at 22:34 Uhr -0500 J. Landman Gay apparently wrote: >But PayPal's sandbox test tool consistently shows an error and >replies "IPN delivery failed. Unable to connect to the specified >URL. Please verify the URL and try again." Obviously it did find my >server and URL, because my script received the data and has >responded back to Paypal, which in turn has responded with a >validation. No idea how this works in terms of Paypal API but from using the online Paypal payments, I know that Paypal normally redirects back to seller's webpage, not necessarily the one started with. Is it possible that Paypal does not get this URL for post-processing the transaction from you and that is what it complains about? Robert From richmondmathewson at gmail.com Sun Aug 12 14:10:00 2012 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 12 Aug 2012 19:10:00 +0100 Subject: HC 25 years old today In-Reply-To: <5027EB25.30201@fourthworld.com> References: <5027E72A.7030602@hyperactivesw.com> <5027EB25.30201@fourthworld.com> Message-ID: <5027F178.6060209@gmail.com> Richard Gaskin wrote: > FWIW, this year is the 20th anniversary of LiveCode - while I don't > have the specific release date, I believe MetaCard was first released > in 1992. At the risk of seeming picky; surely it is the twentieth anniversary of Metacard? > > Happy birthday, LiveCode. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Aug 12 15:07:46 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 12 Aug 2012 14:07:46 -0500 Subject: Problem with textshift In-Reply-To: References: <50255552.8080003@hyperactivesw.com> Message-ID: <5027FF02.7050701@hyperactivesw.com> On 8/11/12 12:58 PM, Peter Haworth wrote: > Checked out the fixedlineheight and it is true. > > I've now run this on the same computer (OS X Snow Leopard) same stack, same > data using 5.0.2 and 5.5.1 and the different behavior still persists. If I > step through the code in 5.5.1, I can see the image shift down when the > line of code that sets the textshift executes. Stepping through with > 5.0.2, the image doesn't move when the same line is executed. I've also > had a tester report the same issue with and earlier version of LC (4.5) > > I guess some other property could be affecting the behavior but there's > something different happening in 5.0 and 5.5. The text is Verdana 10 with > a line height of 18. The images are 16x16. > > Any suggested areas of investigation most welcome, or even any alternative > ways to do this. I wonder if it's related to the field rewrite in 5.5. If the stack was made in 5.5 and saved in legacy format, the field may not be exactly the same as it would have been earlier. You might be able to test that by opening it in an earlier version and doing a "save as", which would rewrite the file in the earlier format. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sun Aug 12 15:13:03 2012 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 12 Aug 2012 12:13:03 -0700 Subject: HC 25 years old today In-Reply-To: <5027F178.6060209@gmail.com> References: <5027E72A.7030602@hyperactivesw.com> <5027EB25.30201@fourthworld.com> <5027F178.6060209@gmail.com> Message-ID: Kevin liked it so much he bought the company. (altered quote may only has relevance to those in the US who were watching tv in the 70s and 80s) On Sun, Aug 12, 2012 at 11:10 AM, Richmond Mathewson < richmondmathewson at gmail.com> wrote: > Richard Gaskin wrote: > >> FWIW, this year is the 20th anniversary of LiveCode - while I don't have >> the specific release date, I believe MetaCard was first released in 1992. >> > > At the risk of seeming picky; surely it is the twentieth anniversary of > Metacard? > > > >> Happy birthday, LiveCode. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> Follow me on Twitter: http://twitter.com/**FourthWorldSys >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Sun Aug 12 15:58:09 2012 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 12 Aug 2012 20:58:09 +0100 Subject: HC 25 years old today In-Reply-To: References: <5027E72A.7030602@hyperactivesw.com> <5027EB25.30201@fourthworld.com> <5027F178.6060209@gmail.com> Message-ID: <50280AD1.9040006@gmail.com> stephen barncard wrote: > Kevin liked it so much he bought the company. > > (altered quote may only has relevance to those in the US who were watching > tv in the 70s and 80s) > We were laughing ourselves at Victor Kiam in Britain as well. And, while I am here I would just like to say that Kevin makes me feel a whole lot more comfortable than Victor Kiam. http://en.wikipedia.org/wiki/Victor_Kiam > On Sun, Aug 12, 2012 at 11:10 AM, Richmond Mathewson < > richmondmathewson at gmail.com> wrote: > > >> Richard Gaskin wrote: >> >> >>> FWIW, this year is the 20th anniversary of LiveCode - while I don't have >>> the specific release date, I believe MetaCard was first released in 1992. >>> >>> >> At the risk of seeming picky; surely it is the twentieth anniversary of >> Metacard? >> >> >> >> >>> Happy birthday, LiveCode. >>> >>> -- >>> Richard Gaskin >>> Fourth World >>> LiveCode training and consulting: http://www.fourthworld.com >>> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >>> Follow me on Twitter: http://twitter.com/**FourthWorldSys >>> >>> ______________________________**_________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/**mailman/listinfo/use-livecode >>> >>> >>> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at 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 Aug 12 21:08:29 2012 From: pete at lcsql.com (Peter Haworth) Date: Sun, 12 Aug 2012 18:08:29 -0700 Subject: Problem with textshift In-Reply-To: <5027FF02.7050701@hyperactivesw.com> References: <50255552.8080003@hyperactivesw.com> <5027FF02.7050701@hyperactivesw.com> Message-ID: Good thought Jacque but unfortunately no joy. It was a stack saved in Legacy (2.7) format but opening it in 5.0, then Save As..., then opening the saved version in 5.0 didn't fix the problem. I'm wondering if I can work around whatever the problem is by putting a 4 pixel transparent border at the top of the icon and not setting the textshift. I think I should probably submit this as a bug since I can easily attach the stack. Seems like it works of other folks but obviously there's something in my stack that causes it to not work. Pete lcSQL Software On Sun, Aug 12, 2012 at 12:07 PM, J. Landman Gay wrote: > I wonder if it's related to the field rewrite in 5.5. If the stack was > made in 5.5 and saved in legacy format, the field may not be exactly the > same as it would have been earlier. You might be able to test that by > opening it in an earlier version and doing a "save as", which would rewrite > the file in the earlier format. From capellan2000 at gmail.com Sun Aug 12 22:16:38 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 12 Aug 2012 19:16:38 -0700 (PDT) Subject: The Story of Steve Jobs - An Inspiration or a Cautionary Tale Message-ID: <1344824198467-4653671.post@n4.nabble.com> Read and save this article about Steve Jobs. I could assure you that his "management style" will find many followers in the short place and near future. We should expect disastrous results in more than one case... http://www.wired.com/business/2012/07/ff_stevejobs/all/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-Story-of-Steve-Jobs-An-Inspiration-or-a-Cautionary-Tale-tp4653671.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Aug 12 22:36:53 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 12 Aug 2012 19:36:53 -0700 (PDT) Subject: Old versions of RR/LC and old computers? In-Reply-To: <5027BF31.8000006@gmail.com> References: <5027BF31.8000006@gmail.com> Message-ID: <1344825413884-4653672.post@n4.nabble.com> Richmond Mathewson-2 wrote > > I belive that were RunRev to market early versions of > RR/LC at cut-down prices they would make some money, > not detract from their sales of up-to-date versions, and > do a lot of people a good service. > Free software is not "free" for the companies that release them. Early versions could be useful if released as part of a book about programming for specific audiences. Ideally, these books should be printed on demand. In this way, they could be updated frecuently with new content and supported with a forum in the web. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Old-versions-of-RR-LC-and-old-computers-tp4653657p4653672.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Aug 12 22:52:20 2012 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 12 Aug 2012 19:52:20 -0700 (PDT) Subject: HC 25 years old today In-Reply-To: <5027E72A.7030602@hyperactivesw.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> Message-ID: <1344826340587-4653673.post@n4.nabble.com> J. Landman Gay wrote > > [snip] > I wouldn't be here if it hadn't been for HyperCard. > Me too! :-D Back then, I tried to build a "Spanish Translation Assistant" http://finance.groups.yahoo.com/group/HyperCard/message/2159 (Why the HyperCard group is stored among the Finance groups in yahoo???) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fast-Way-to-get-a-Path-to-files-in-thumbnail-folders-tp4653655p4653673.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Aug 13 01:42:37 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Aug 2012 22:42:37 -0700 Subject: HC 25 years old today In-Reply-To: <5027E72A.7030602@hyperactivesw.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> Message-ID: <2447853703.20120812224237@ahsoftware.net> Jacque- Sunday, August 12, 2012, 10:26:02 AM, you wrote: > I admit I choked up a bit when I read the article. I wouldn't be here if > it hadn't been for HyperCard. I seem to be playing straight man for you quite a bit lately, but... OK - where would you be? ...and there should be some kind of punchline about playing straight man for a woman named Gay, but luckily for everyone it eludes me at the moment... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Aug 13 01:45:17 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 12 Aug 2012 22:45:17 -0700 Subject: HC 25 years old today In-Reply-To: <5027E72A.7030602@hyperactivesw.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> Message-ID: <13748014359.20120812224517@ahsoftware.net> One of the interesting things Bill Atkinson said this evening is that the source code for HyperCard has been donated to the Computer Museum. You can download the code for MacPaint and MacDraw which were also donated, but the HC source code isn't yet downloadable. Bill was optimistically hoping that the 25th anniversary of HyperCard would be the impetus for them to make it available, but it hasn't happened yet. -- -Mark Wieder mwieder at ahsoftware.net From rene.micout at numericable.com Mon Aug 13 04:09:51 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 13 Aug 2012 10:09:51 +0200 Subject: HC 25 years old today In-Reply-To: <5027E72A.7030602@hyperactivesw.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> Message-ID: <36FBBF8E-DACF-44DD-9396-A9F824DC8147@numericable.com> Le 12 ao?t 2012 ? 19:26, J. Landman Gay a ?crit : > On 8/12/12 11:03 AM, dunbarx at aol.com wrote: >> >> >> Someone on the HC list noted this. >> >> >> Hypercard's 25th anniversary. > > This link was attached: > http://www.tuaw.com/tag/hypercard > > There are some nice links back to RunRev. > > I admit I choked up a bit when I read the article. I wouldn't be here if it hadn't been for HyperCard. For French people, another link : http://www.macgeneration.com/unes/voir/131882/hypercard-l-un-des-plus-beaux-concepts-d-apple From maarten.koopmans at gmail.com Mon Aug 13 04:54:01 2012 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 13 Aug 2012 10:54:01 +0200 Subject: ZD article on hypercard as well Message-ID: http://www.zdnet.com/could-the-ios-app-be-the-21st-century-hypercard-stack-7000002508/ I see a marketing opportunity, especially with Colin's book out as well (nice one Colin!) --Maarten From toolbook at kestner.de Mon Aug 13 06:24:10 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 13 Aug 2012 12:24:10 +0200 Subject: how to create an individual bg img per cd? Message-ID: <007901cd793d$c7d62ac0$57828040$@de> Hi, With fields in a bg I can have different field content on each cd. Setting the shared hilite of a bg button to false, the button can have different states on each cd. How can I have different images (filenames of the image) on a bg on each cd? I didn't found anything like "shared image". Any hint? Tiemo From klaus at major.on-rev.com Mon Aug 13 06:34:11 2012 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 13 Aug 2012 12:34:11 +0200 Subject: how to create an individual bg img per cd? In-Reply-To: <007901cd793d$c7d62ac0$57828040$@de> References: <007901cd793d$c7d62ac0$57828040$@de> Message-ID: <2DA87E8B-122B-4ED9-8FC1-E3CFF3EEC996@major.on-rev.com> Hi Tiemo, Am 13.08.2012 um 12:24 schrieb Tiemo Hollmann TB : > Hi, > > With fields in a bg I can have different field content on each cd. Setting > the shared hilite of a bg button to false, the button can have different > states on each cd. > > How can I have different images (filenames of the image) on a bg on each cd? > I didn't found anything like "shared image". Nothing like this available for images! You could use: 1. ONE bg and set the filename of its image on preopencard 2. you could use single grouped images and place them where needed. > Any hint? > > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Mon Aug 13 06:38:39 2012 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 13 Aug 2012 12:38:39 +0200 Subject: AW: how to create an individual bg img per cd? In-Reply-To: <2DA87E8B-122B-4ED9-8FC1-E3CFF3EEC996@major.on-rev.com> References: <007901cd793d$c7d62ac0$57828040$@de> <2DA87E8B-122B-4ED9-8FC1-E3CFF3EEC996@major.on-rev.com> Message-ID: <007e01cd793f$cdbc9080$6935b180$@de> Hi Klaus, yep, that's what I thought (feared), thanks for your helpful clarifying Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Montag, 13. August 2012 12:34 > An: How to use LiveCode > Betreff: Re: how to create an individual bg img per cd? > > Hi Tiemo, > > Am 13.08.2012 um 12:24 schrieb Tiemo Hollmann TB : > > > Hi, > > > > With fields in a bg I can have different field content on each cd. > > Setting the shared hilite of a bg button to false, the button can have > > different states on each cd. > > > > How can I have different images (filenames of the image) on a bg on each > cd? > > I didn't found anything like "shared image". > > Nothing like this available for images! > > You could use: > 1. ONE bg and set the filename of its image on preopencard 2. you could > use single grouped images and place them where needed. > > > Any hint? > > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Mon Aug 13 07:24:10 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 13 Aug 2012 13:24:10 +0200 Subject: Berkeley Cybersalon Welcomes Hypercard Team In-Reply-To: <1331089535109.20120809085457@ahsoftware.net> References: <1331089535109.20120809085457@ahsoftware.net> Message-ID: Did you go? how was it? On 09.08.2012, at 17:54, Mark Wieder wrote: > It's only been 25 years since Bill Atkinson and his elite Apple team > created HyperCard -- the hypermedia system that made programs like > Myst and You Don't Know Jack possible before the World Wide Web or > the founder of Facebook were barely conceived. Here's your chance to > meet Bill and survivors of his team at the Berkeley Cybersalon, > Sunday, August 12, from 6 to 8 p.m. at the Hillside Club > (www.hillsideclub.org), 2286 Cedar St., in Berkeley. Refreshments > will be provided by Alacrity Software, maker of Infinite Canvas, an > authoring app for the iPad inspired by HyperCard. Raines Cohen, > co-founder of BMUG, will host, and we might have a few surprise > guests join Bill on stage as well (not Steve Jobs, alas). > > -- > -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 an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Mon Aug 13 07:25:40 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 13 Aug 2012 13:25:40 +0200 Subject: RevZip issue In-Reply-To: References: Message-ID: <39274754-4475-4BB2-BAEE-C5B475600B61@mac.com> What is ommited. Assuming with components you actually mean files, is there a specific type of file? Maybe only big ones, or what? On 09.08.2012, at 22:17, Chip Thomas wrote: > *Hello, > > I have a zipped folder of components that our stack downloads and then > unzips using revZip commands. > > I've noticed that some Windows systems seem to be removing certain > components. > > Has this happened to anyone else? Anyone have any solutions? > > Thanks!* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Mon Aug 13 07:32:44 2012 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 13 Aug 2012 13:32:44 +0200 Subject: Hilite pattern in list field doesn't scroll correctly In-Reply-To: <50268DBC.7070204@hyperactivesw.com> References: <50207E66.8080303@hyperactivesw.com> <50268DBC.7070204@hyperactivesw.com> Message-ID: <2B9D2ADD-FAB2-45F0-93AC-231EE11FE1A7@mac.com> ah i missunderstood sorry. On 11.08.2012, at 18:52, J. Landman Gay wrote: > On 8/11/12 11:08 AM, Bj?rnke von Gierke wrote: >> don't set the hilitepattern, set the backgroundpattern instead. > > > I want the field background color to be black. I want the hilited line in the list to be the custom gradient. > > I've used a script that moves a patterned button over the selected line. It works, but fast scrolling makes it jerky and you can see it adjusting. For now it seems that's the best I can do. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From ambassador at fourthworld.com Mon Aug 13 08:41:48 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Aug 2012 05:41:48 -0700 Subject: HC 25 years old today In-Reply-To: <13748014359.20120812224517@ahsoftware.net> References: <13748014359.20120812224517@ahsoftware.net> Message-ID: <5028F60C.2090707@fourthworld.com> Mark Wieder wrote: > One of the interesting things Bill Atkinson said this evening is that > the source code for HyperCard has been donated to the Computer Museum. > You can download the code for MacPaint and MacDraw which were also > donated, but the HC source code isn't yet downloadable. Bill was > optimistically hoping that the 25th anniversary of HyperCard would be > the impetus for them to make it available, but it hasn't happened yet. At long last, the secrets of hint bits revealed! :) I suspect that's a lightweight form of bitmap index, but it'll be interesting to see how it's done. If any of you (Mr. Kriesel?) have implemented a bitmap index in an xtalk I'd be very interested to see how you did 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 coiin at verizon.net Mon Aug 13 09:19:45 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 Aug 2012 09:19:45 -0400 Subject: HC 25 years old today In-Reply-To: <5028F60C.2090707@fourthworld.com> References: <13748014359.20120812224517@ahsoftware.net> <5028F60C.2090707@fourthworld.com> Message-ID: When we were creating the Expanded Books series we had some challenges in fitting the longer books onto a floppy disk. We made the files as .SIT, that helped, but still longer books were a tight squeeze. One trick I did was to set the hint bits to zero, that alone would save enough space that a borderline book would then fit. It might mean that the first searches wouldn't be as fast as they could be, but our search method was pretty fast, so it was worth using that trick. On Aug 13, 2012, at 8:41 AM, Richard Gaskin wrote: > > >I suspect that's a lightweight form of bitmap index, but it'll be interesting to see how it's done. From ambassador at fourthworld.com Mon Aug 13 09:28:11 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Aug 2012 06:28:11 -0700 Subject: HC 25 years old today In-Reply-To: References: Message-ID: <502900EB.4060006@fourthworld.com> Colin Holgate wrote: > On Aug 13, 2012, at 8:41 AM, Richard Gaskin wrote: > >> >I suspect that's a lightweight form of bitmap index, but it'll be >> interesting to see how it's done. > > When we were creating the Expanded Books series we had some > challenges in fitting the longer books onto a floppy disk. We made > the files as .SIT, that helped, but still longer books were a tight > squeeze. One trick I did was to set the hint bits to zero, that alone > would save enough space that a borderline book would then fit. Interesting. I didn't know that was settable - what was the range of values one could use? Bitmap indices are often chosen because of their compact size relative to other methods, but I guess nothing's a free ride. I usually feel pretty good if the size of an index is no larger than half the size of the corpus, but I'm lazy that way. :) > It might mean that the first searches wouldn't be as fast as they > could be, but our search method was pretty fast, so it was worth > using that trick. Was it a brute-force free text search, or did you use an index? If the latter, are you at liberty to discuss your index structure? So much to learn about indexing, so many options.... -- 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 lfredricks at proactive-intl.com Mon Aug 13 10:46:06 2012 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 13 Aug 2012 07:46:06 -0700 Subject: ZD article on hypercard as well In-Reply-To: References: Message-ID: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> > http://www.zdnet.com/could-the-ios-app-be-the-21st-century-hyp > ercard-stack-7000002508/ Articles like this are opportunties. I hope everyone will have something to say about LiveCode and how it's the 21st century Hypercard (for iOS, Android, desktop, etc) in reply to articles like this. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From james at thehales.id.au Mon Aug 13 11:10:57 2012 From: james at thehales.id.au (James Hale) Date: Tue, 14 Aug 2012 01:10:57 +1000 Subject: Word chunk includes punctuation Message-ID: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> I haven't noticed this before but getting the word chunk of some text returns punctuation with the chunk. For example, consider the following string: "My this is a nice, albeit short test. But it will do." Now if I ask for word 4 I get "a" as expected. If is ask for word 5 I get "nice," which is not what I expected. Why have I got a comma included with the word. So if I ask for "the length of word 5" I get a 5 returned instead of the correct length, 4. I can't believe this is what is supposed to happen. I can't believe no one has commented on this before. Is this a bug? If not, has anyone got a workaround that doesn't require me testing for a punctuation character at the end of every word or replacing them all with spaces? James From mwieder at ahsoftware.net Mon Aug 13 11:27:42 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 13 Aug 2012 08:27:42 -0700 Subject: Berkeley Cybersalon Welcomes Hypercard Team In-Reply-To: References: <1331089535109.20120809085457@ahsoftware.net> Message-ID: <11982959656.20120813082742@ahsoftware.net> Bj?rnke- Monday, August 13, 2012, 4:24:10 AM, you wrote: > Did you go? how was it? The video of the evening (that's me in the first row wearing a runrev hat) will be posted soon to fora.tv. I'll try to remember to post the url when it goes up. On a personal level it was interesting to me for a couple of reasons. First reconnecting with former coworkers from the last couple of decades, all drawn together last night by the magic of HyperCard. Secondly because even being on the inside at the time there were still surprises, like the machinations of how Bill got Apple to release HyperCard for free. Good pizza and beer. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Mon Aug 13 11:28:33 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 13 Aug 2012 08:28:33 -0700 Subject: Word chunk includes punctuation In-Reply-To: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> References: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> Message-ID: <2783010125.20120813082833@ahsoftware.net> James- Monday, August 13, 2012, 8:10:57 AM, you wrote: > If not, has anyone got a workaround that doesn't require me > testing for a punctuation character at the end of every word or > replacing them all with spaces? Token 1 of word 5 of... -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Aug 13 11:47:49 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Aug 2012 10:47:49 -0500 Subject: HC 25 years old today In-Reply-To: <2447853703.20120812224237@ahsoftware.net> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> <2447853703.20120812224237@ahsoftware.net> Message-ID: <502921A5.3070105@hyperactivesw.com> On 8/13/12 12:42 AM, Mark Wieder wrote: > Jacque- > > Sunday, August 12, 2012, 10:26:02 AM, you wrote: > >> I admit I choked up a bit when I read the article. I wouldn't be here if >> it hadn't been for HyperCard. > > I seem to be playing straight man for you quite a bit lately, but... > OK - where would you be? Probably supporting Lenin in hell. It was a rough time. > ...and there should be some kind of punchline about playing straight > man for a woman named Gay, but luckily for everyone it eludes me at > the moment... > I think it didn't elude you for very long. :) But it's the perfect segue for one of my husband's best lines, which some may not have heard yet: "Our family has supported Gay marriage for generations. I don't see what the big deal is." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 13 11:49:31 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Aug 2012 10:49:31 -0500 Subject: HC 25 years old today In-Reply-To: <1344826340587-4653673.post@n4.nabble.com> References: <502737BB.3090806@hindu.org> <4768B8AD-408A-4BF4-AC46-192BBA076A0A@buchwald.ca> <8CF46BB209D605B-15B0-58FB8@webmail-d009.sysops.aol.com> <5027E72A.7030602@hyperactivesw.com> <1344826340587-4653673.post@n4.nabble.com> Message-ID: <5029220B.6090009@hyperactivesw.com> On 8/12/12 9:52 PM, Alejandro Tejada wrote: > http://finance.groups.yahoo.com/group/HyperCard/message/2159 > (Why the HyperCard group is stored among the Finance groups > in yahoo???) Good question. Paul (the list moderator) tried to get it changed for a long time but Yahoo never responded. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Mon Aug 13 12:01:31 2012 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Mon, 13 Aug 2012 18:01:31 +0200 Subject: ZD article on hypercard as well In-Reply-To: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> References: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> Message-ID: <12DAEEB0-91C0-4CE2-AB35-65A3F4BA803C@numericable.com> Done in France ! ;-) Le 13 ao?t 2012 ? 16:46, "Lynn Fredricks" a ?crit : >> http://www.zdnet.com/could-the-ios-app-be-the-21st-century-hyp >> ercard-stack-7000002508/ > > Articles like this are opportunties. I hope everyone will have something to > say about LiveCode and how it's the 21st century Hypercard (for iOS, > Android, desktop, etc) in reply to articles like this. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Mon Aug 13 12:13:28 2012 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 13 Aug 2012 12:13:28 -0400 Subject: Word chunk includes punctuation In-Reply-To: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> References: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> Message-ID: On Aug 13, 2012, at 11:10 AM, James Hale wrote: > Is this a bug? No, it's a 'convention'? it mimics the way that HyperCard recognized a "word"; as stated in the Dictionary under "word": "A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes. A single word can contain multiple characters and multiple items, but not multiple lines." > If not, has anyone got a workaround that doesn't require me testing for a punctuation character at the end of every word or replacing them all with spaces? As Mark pointed out, the use of "token" helps separate the wheat from the chaff (see the entry on "token" in the Dictionary for how a token is defined). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From chipp at chipp.com Mon Aug 13 12:25:43 2012 From: chipp at chipp.com (Chipp Walters) Date: Mon, 13 Aug 2012 11:25:43 -0500 Subject: The Story of Steve Jobs - An Inspiration or a Cautionary Tale In-Reply-To: <1344824198467-4653671.post@n4.nabble.com> References: <1344824198467-4653671.post@n4.nabble.com> Message-ID: Great article. Thanks! On Sun, Aug 12, 2012 at 9:16 PM, Alejandro Tejada wrote: > Read and save this article about Steve Jobs. > I could assure you that his "management style" > will find many followers in the short place and > near future. > > We should expect disastrous results in more > than one case... > > http://www.wired.com/business/2012/07/ff_stevejobs/all/ > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/The-Story-of-Steve-Jobs-An-Inspiration-or-a-Cautionary-Tale-tp4653671.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 > -- Chipp Walters CEO, Altuit, Inc. From bobs at twft.com Mon Aug 13 12:31:44 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Aug 2012 09:31:44 -0700 Subject: Need beta testers for new database library In-Reply-To: <5027DB57.9000500@fourthworld.com> References: <1344648380561-4653632.post@n4.nabble.com> <5027DB57.9000500@fourthworld.com> Message-ID: <831209AF-1DB1-458F-89AE-BA1B9B56D223@twft.com> True dat! LOL! Bob On Aug 12, 2012, at 9:35 AM, Richard Gaskin wrote: > On the contrary, one of the great things about the US is that our population has lowered the bar for English competency. ;) From coiin at verizon.net Mon Aug 13 12:35:23 2012 From: coiin at verizon.net (Colin Holgate) Date: Mon, 13 Aug 2012 12:35:23 -0400 Subject: HC 25 years old today In-Reply-To: <502900EB.4060006@fourthworld.com> References: <502900EB.4060006@fourthworld.com> Message-ID: <98B3707A-E5F7-47D2-B570-9D0BD3C980A0@verizon.net> I can't remember the exact values, this was 20 years ago I was doing that! You would type "debug hintbits" in the message box, with some values, then do a compact stack. Apparently it's described in the Dan Winkler/Scott Kamins HyperCard book. The text finding worked like this: unmark all cards mark cards by finding "whatever" Then the find routine would run around the marked cards to collect either just the page numbers, or to get the text and the words either side of it. On Aug 13, 2012, at 9:28 AM, Richard Gaskin wrote: > > Interesting. I didn't know that was settable - what was the range of values one could use? From bobs at twft.com Mon Aug 13 12:40:52 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Aug 2012 09:40:52 -0700 Subject: ZD article on hypercard as well In-Reply-To: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> References: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> Message-ID: <92B86445-F7F9-43DF-B6FC-D834D768BED8@twft.com> For some reason I cannot seem to comment on ZDNet articles, even when logged in. The Submit button does nothing. Bob On Aug 13, 2012, at 7:46 AM, Lynn Fredricks wrote: >> http://www.zdnet.com/could-the-ios-app-be-the-21st-century-hyp >> ercard-stack-7000002508/ > > Articles like this are opportunties. I hope everyone will have something to > say about LiveCode and how it's the 21st century Hypercard (for iOS, > Android, desktop, etc) in reply to articles like this. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Aug 13 12:43:38 2012 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 13 Aug 2012 11:43:38 -0500 Subject: ZD article on hypercard as well In-Reply-To: <92B86445-F7F9-43DF-B6FC-D834D768BED8@twft.com> References: <4228266E18F645BBBC4A636C87E430D1@GATEWAY> <92B86445-F7F9-43DF-B6FC-D834D768BED8@twft.com> Message-ID: <50292EBA.5000704@hyperactivesw.com> On 8/13/12 11:40 AM, Bob Sneidar wrote: > For some reason I cannot seem to comment on ZDNet articles, even when > logged in. The Submit button does nothing. That's farther than I got. I have a login but it wouldn't recognize it as valid. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Aug 13 12:43:49 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Aug 2012 09:43:49 -0700 Subject: Word chunk includes punctuation In-Reply-To: References: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> Message-ID: <82388D6D-1735-4F1D-8AEA-905D5CD504F3@twft.com> Wait, tab too? Odd since put word one of "test1" & tab & "test2" gives me "test1 test2" Bob On Aug 13, 2012, at 9:13 AM, Ken Ray wrote: > "A word is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes. A single word can contain multiple characters and multiple items, but not multiple lines." From mwieder at ahsoftware.net Mon Aug 13 12:51:24 2012 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 13 Aug 2012 16:51:24 +0000 (UTC) Subject: Word chunk includes punctuation References: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> <82388D6D-1735-4F1D-8AEA-905D5CD504F3@twft.com> Message-ID: Bob Sneidar writes: > > Wait, tab too? Odd since > put word one of "test1" & tab & "test2" > gives me > "test1 test2" LOL. Yes, it does. You're asking for (word one of "test1") & tab & "test2" -- Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Mon Aug 13 12:54:51 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Aug 2012 09:54:51 -0700 Subject: The Story of Steve Jobs - An Inspiration or a Cautionary Tale In-Reply-To: References: <1344824198467-4653671.post@n4.nabble.com> Message-ID: I have to think there is some kind of compromise. I work in a place where almost no one is watched or managed, and I can tell you that all but the very diligent and self motivated really do much. (I hope nobody who works here reads this!) Having spend 6 years in the Navy, I came to realize that there are differing classes of people when it comes to work ethic. Some are self motivating, partly because they have a strong moral ethic about it, some are good workers so long as someone is watching, or they think someone may be watching, some will only work hard when they are rebuked and/or disciplined, and some who you can hardly get to work at all. There are different methods for dealing with each of these kinds of workers, and applying any single method of management across the board can be disastrous. Put a self motivator on a short leash and you can expect he will be working for someone else within six months. Let everything fall out as it will as though everyone had a high work ethic, and you can expect widespread lethargy and an environment of strife and contention well within six months. Steve's problem was that he was critical (it seems by all reports) of everyone, including his best people. Maybe in the end he got the only people he could hang on to, that is people who only performed when he kicked their butts. Bob On Aug 13, 2012, at 9:25 AM, Chipp Walters wrote: > Read and save this article about Steve Jobs. > I could assure you that his "management style" > will find many followers in the short place and > near future. > > We should expect disastrous results in more > than one case... > > http://www.wired.com/business/2012/07/ff_stevejobs/all/ > > Al From bobs at twft.com Mon Aug 13 13:09:34 2012 From: bobs at twft.com (Bob Sneidar) Date: Mon, 13 Aug 2012 10:09:34 -0700 Subject: Word chunk includes punctuation In-Reply-To: References: <6C6A642F-9B36-4F72-9B46-DE92B084E9C4@thehales.id.au> <82388D6D-1735-4F1D-8AEA-905D5CD504F3@twft.com> Message-ID: Ahah! So concatenation is not a very high priority when evaluating statements. I learn something new every day! I can see though why it would be like that. I could also ask for: word 1 of "one two" & word 1 of "three four" and expect "one three". One more argument for grouping with parentheses even when it seems unnecessary. Bob On Aug 13, 2012, at 9:51 AM, Mark Wieder wrote: > Bob Sneidar writes: > >> >> Wait, tab too? Odd since >> put word one of "test1" & tab & "test2" >> gives me >> "test1 test2" > LOL. Yes, it does. You're asking for > > (word one of "test1") & tab & "test2" > > -- > Mark Wieder > mwieder at ahsoftware.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Aug 13 13:38:32 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Aug 2012 10:38:32 -0700 Subject: Word chunk includes punctuation In-Reply-To: References: Message-ID: <50293B98.3080900@fourthworld.com> Bob Sneidar wrote: > Ahah! So concatenation is not a very high priority when evaluating statements. I learn something new every day! I can see though why it would be like that. I could also ask for: > > word 1 of "one two" & word 1 of "three four" and expect "one three". > > One more argument for grouping with parentheses even when it seems unnecessary. Sometimes they're not necessary with compound expressions, but even then they're almost always useful for readability. I tend to use parens liberally for not only string concats but also for multi-conditional expressions, e.g.: if ( (word 1 of tMyVar = "Bob") AND (word 2 of tMyVar = "Sneidar") ) \ OR (tMyVar = "Andre Garzia") then DoSomething end if -- 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 michael-kristensen at dsa-net.dk Mon Aug 13 14:46:02 2012 From: michael-kristensen at dsa-net.dk (Michael Kristensen) Date: Mon, 13 Aug 2012 20:46:02 +0200 Subject: This handler does not work in 5.5.1 Message-ID: <80E047ED-56A0-4A8B-AEFE-7EF118473566@dsa-net.dk> Hi there This handler does not work in 5.5.1 on preOpenStack choose browse tool close stack revtools end preOpenStack Any idea? Thanks Michael From lc at pbh.on-rev.com Mon Aug 13 14:58:37 2012 From: lc at pbh.on-rev.com (Paul Hibbert) Date: Mon, 13 Aug 2012 11:58:37 -0700 Subject: This handler does not work in 5.5.1 In-Reply-To: <80E047ED-56A0-4A8B-AEFE-7EF118473566@dsa-net.dk> References: <80E047ED-56A0-4A8B-AEFE-7EF118473566@dsa-net.dk> Message-ID: <8F3D1A27-A3DF-47D7-815D-8A10FD3FFB8D@pbh.on-rev.com> Works OK for me? LC 5.5.1 - Mac Lion Paul On 2012-08-13, at 11:46 AM, Michael Kristensen wrote: > Hi there > > This handler does not work in 5.5.1 > > on preOpenStack > choose browse tool > close stack revtools > end preOpenStack > > > Any idea? > > Thanks Michael > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Aug 13 15:00:09 2012 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 13 Aug 2012 12:00:09 -0700 Subject: This handler does not work in 5.5.1 In-Reply-To: <80E047ED-56A0-4A8B-AEFE-7EF118473566@dsa-net.dk> References: <80E047ED-56A0-4A8B-AEFE-7EF118473566@dsa-net.dk> Message-ID: <50294EB9.7090609@fourthworld.com> Michael Kristensen wrote: > This handler does not work in 5.5.1 > > on preOpenStack > choose browse tool > close stack revtools > end preOpenStack > > > Any idea? The came up a few days ago - Mark Schonewille provided the tip to use a timer for that: That this has come up twice this month raises a question: Is there an RQCC request to have opening the Tools window by default settable as a preference so we can turn that off without having to write boot code? -- 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 pderocco at ix.netcom.com Mon Aug 13 15:03:22 2012 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 13 Aug 2012 12:03:22 -0700 Subject: Async input from externals, or MIDI input? Message-ID: <19214524F69942A8B2F21CBAA2E5FA88@PAULD> I'm still using Rev 3.5, partly because I've been holding out until LC includes direct support for MIDI. Has that happened yet? If not, did LC add (over Rev) any way for a separate thread (or an OS callback) in an external to cause a message to be sent within LC? One could never do this in Rev, but if one could, it would allow externals to properly support MIDI input. MIDI output is easy in an external, because it's synchronous. But the only way I was able to do MIDI input in Rev was to stuff it into a FIFO and then use a timer message to check the FIFO. That's adequate for non-real-time stuff, but not for receiving musical events. If there were a way for an external to send a message, or cause a message to be sent, then that would eliminate the need for polling. There is already a timer message facility, e.g., send [to ] in