Re: Countdown HH:MM:SS
On Jul 19, 2011, at 10:00 PM, dunb...@aol.com wrote: Hi. Shorter? It already can be pretty short. MUCH shorter? Where's Colin? Here's the fastest way I know: on mouseUp DisplayTime end mouseUp on DisplayTime put the long time into tTime convert tTime to dateItems split tTime by , put format(%02d:%02d:%02d,tTime[4],tTime[5],tTime[6]) into fld Time send DisplayTime to me in 1 second end DisplayTime Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
iPhone + Arduino
I just saw this: http://www.tuaw.com/2011/07/19/cord-from-iphone-to-arduino-now-available/ Redpark (maker of the cable) has a Serial SDK for app dev with the cable. I assume it could be made into an external for mobile dev (?), but their licensing is for private use only. Bummer. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
Pete, Ken, SparkOut, Bill, Thank you very much for your attention and your answers. This morning, I am going to change my handler in order to get windows accepting it!! I will let you know my result Wonderful list ;-)) André Le 20 juil. 2011 à 01:24, Bill Vlahos a écrit : The problem is the epoch date in Windows is 1970 and LiveCode can't deal with dates earlier than that in Windows. You will need to use a VBScript. Here is what I use in InfoWallet which handles Windows, Mac, and Linux correctly which was based on code provided by folks on this list. on calcAge tDate,asOf -- returns the current age based on a DOB of tDate -- as of the date asOf, or if asOf = empty, as of today if tDate = empty then return empty if the platform is WIn32 then isADate tDate if the result then put sdate = quote tDate quote into vFive put return result = DateDiff( quote d quote ,sdate,Date) after vFive put return trueage = result / 365 after vFive put return result = Left(trueage,2) after vFive do vFive as vbscript return the result else return empty end if else if tDate is not a date then return empty if asOf = empty then put the date into asOf end if set the itemdelimiter to / put item -1 of the short date into nowYr set the centurycutoff to nowYr+1 set the itemdelimiter to comma convert tDate to dateItems convert asOf to dateitems put item 1 of asOf - item 1 of tDate - 1 into tAge put item 1 of asOf into item 1 of tDate convert tDate to seconds convert asOf to seconds if tDate = asOf then add 1 to tAge return tAge end if end calcAge Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jul 19, 2011, at 9:23 AM, André Bisseret wrote: Bonjour, I am a Mac user but I recently bought a PC (windows 7) in order to test my standalones for windows more quickly. I am fighting for hours now with the following problem : In an app., I have a handler that calculates the age from the short birth date (thanks to Jim Ault who gave it on the list). The birth date is jj/mm/ or jj/mm/AA as well. This handler works fine on Mac, but not on windows. On windows, the age is invariably 100 if the birth year 1970. (with JJ/MM/AA or JJ/MM/ (as bad ;-( If the birth year = 1970 then the age is correct. I tried to play with the centuryCutOff but without any success (on windows). I am not familiar with Windows : what am I missing ? Is it a matter of computer setting or should I program differently for windows than for mac !? Thanks a lot in advance for any help Best regards from Grenoble André P.S. By the way, I used to use a search engine (if I well remember, it was in the help menu of livecode) I do not find it any more; has it been suppressed ? (or here again, I am missing something !) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
As well as changing your handler, which is unfortunately necessary at the moment, if you have access to the QCC you could vote for bug #4941 and/or message support and bring awareness back to this. It's not that Livecode can't determine pre epoch dates on Windows - it's just that the implementation needs to be changed in order for it to happen. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/age-calculation-on-Windows-vs-Mac-tp3678552p3680176.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Output error in standalone
Hi Charles, You might want to check out this http://qery.us/v9 blog post. Are you sure that the Mac OS X binaries are still inside the Runtime folder of your Revolution application folder? Is any Mac OS X item at all created by the standalone builder? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 19 jul 2011, at 19:35, Charles Szasz wrote: I am using Rev 4.0 Build 950. I just finishing working on a project. It consists of a splash stack and an app stack. I set up my Standalone Applications settings to create builds for Mac OS X (Universal) and Windows. When I tried to compile my app I got the following error message: There was was an error while saving the standalone application. Build failed for MacOSX: could not open output file. When I unchecked making a Mac OS X Universal and just made a windows build, I did not get this error and the windows app was created. I have not yet tried the windows build to see if it is okay. I have never gotten this error message before when compiling. Anybody have any suggestions on how I can correct this problem? Thanks for your time! Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: ANN: LiveCodeErrors for iPhone
I just can't recall the circumstances, but I had some of these error messages just with codes in the last years and was happy about Marks web interface to decode them. My 2 cents Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] Im Auftrag von Mark Schonewille Gesendet: Mittwoch, 20. Juli 2011 01:26 An: How to use LiveCode Betreff: Re: ANN: LiveCodeErrors for iPhone Sure, Richard, it is clear that you won't buy that app. Others will, already did, and I'm glad I was able to provide them with something useful. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 20 jul 2011, at 01:21, Richard Gaskin wrote: Mark Schonewille wrote: Hi Chipp, Weird. I would expect all pros to know about it. I'd say, give it a try. execute the following script on foo try executeNonExistingHandler catch myErr put myErr end try end foo I doubt many pros would need a lookup to figure out that a non-existent handler would result in a can't find handler error. ;) But seriously, most devs using try/catch setups won't be executing random code, they'll be working on things that are somewhat well defined, and use their own error messages to report to the user. I don't know of any dev who report RunRev's messages to their users; they just don't provide enough guidance for the user. Those so inclined can just use the same list everything else in the LiveCode world uses, the one RunRev provides for us in their revErrorDisplay stack: get line (item 1 of tErr) of the cErrorsList of cd 1 \ of stack revErrorDisplay into tList Section 10.4 (Custom Error handling) of the LiveCode User Guide covers this well. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
Le 20 juil. 2011 à 09:49, SparkOut a écrit : As well as changing your handler, which is unfortunately necessary at the moment, it is a pity indeed ; I am wasting a lot of time :-(( if you have access to the QCC you could vote for bug #4941 and/or message support and bring awareness back to this OK I am doing that today . It's not that Livecode can't determine pre epoch dates on Windows - it's just that the implementation needs to be changed in order for it to happen. OK I thank you very much SpartOut André ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
On Wed, Jul 20, 2011 at 2:12 AM, Ken Ray wrote: On Jul 19, 2011, at 10:00 PM, dunb...@aol.com wrote: Hi. Shorter? It already can be pretty short. MUCH shorter? Where's Colin? Here's the fastest way I know: on mouseUp DisplayTime end mouseUp on DisplayTime put the long time into tTime convert tTime to dateItems split tTime by , put format(%02d:%02d:%02d,tTime[4],tTime[5],tTime[6]) into fld Time send DisplayTime to me in 1 second end DisplayTime Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ Using the dateItems is definitely the right direction, but my objective is to count backwards from for example; 2 hours, 45 minutes, and 59 seconds while updating the display field every second. When the countdown reaches 00:00:00, I would play a sound of do other actions. ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
Le 20 juil. 2011 à 09:49, SparkOut a écrit : As well as changing your handler, which is unfortunately necessary at the moment, if you have access to the QCC you could vote for bug #4941 Done; in fact, I discovered that I had already put 5 votes for this bug, quite a long time ago ;-)) and/or message support and bring awareness back to this. Done Best André It's not that Livecode can't determine pre epoch dates on Windows - it's just that the implementation needs to be changed in order for it to happen. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Whilst I don't have a use for this incarnation of Mark's app (I'm avoiding the new Apple ecosystem as much as possible), I've used his web service for looking up such errors, and I bought a copy of his library errorLib years ago for the same purpose. It's kind of weird that some of us should get such errors on an almost daily basis, yet others never get them. Just goes to show, different folks have different programming practices. I would think that after a decade of using Livecode I too count as a pro, and I am very grateful for the existence of Mark's work in this area. Such bizarre error codes do manifest themselves, and they do not just happen through the contrived example that Mark provided -- and even then, without being able to lookup the meaning of the error codes, one would not necessarily know that a non-existent handler is where the error lies in the specific example that Mark gives (it could be that the executeNoneExistingHandler had a misspelling). Yesterday I had a problem occur in a far more prosaic scenario. A loop's end condition was controlled by the value in a field. The field was only 1 line high, and inadvertently two numbers were entered in the field, thus the code was failing as the loop end condition failed (it was no longer a number but two lines of numbers). Because this occured within a try/catch, I received only the obscure error numbers. (This was not in a production app, just something I was working on within the IDE, hence no real attempt at type-checking the data.) There was nothing immediately obvious to me that was wrong with the loop, and I hadn't noticed the tiny little magnifiying glass in the IDE variables pane that should have indicated to me that there was more to the variable containing the loop end condition than a mere integer (a quick glance at the variables pane showed that the loop end condition was a number). A quick shot to Mark's online service, and I got the meaning of the error code and could immediately see where the problem was. I am certain Mark is providing his library, his web service, and now his iPhone app in good faith. Like you, Mark has invested a huge portion of his professional career in Hypertext/Livecode. You are both people who set about trying to spread the love of Livecode, and I'm exceedingly grateful to both of you. Bernard On Wed, Jul 20, 2011 at 12:21 AM, Richard Gaskin ambassa...@fourthworld.com wrote: on foo try executeNonExistingHandler catch myErr put myErr end try end foo I doubt many pros would need a lookup to figure out that a non-existent handler would result in a can't find handler error. ;) But seriously, most devs using try/catch setups won't be executing random code, they'll be working on things that are somewhat well defined, and use their own error messages to report to the user. I don't know of any dev who report RunRev's messages to their users; they just don't provide enough guidance for the user. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Mark, Thanks for your generous offer, but frankly, since I don't recall seeing those errors, I'm sure Richard's technique and your web application will suffice for now. I suspect I may have actually run across them, but instantly know what the problem is- or have just gotten used to ignoring them. That said, I can't recall ever having a customer send me a bug report with mention of them in it. Best, Chipp On Tue, Jul 19, 2011 at 5:35 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Chipp, Weird. I would expect all pros to know about it. I'd say, give it a try. execute the following script on foo try executeNonExistingHandler catch myErr put myErr end try end foo The first item in the message box will be a number. Download my app from http://qery.us/v4 and enter the number in the app. It'll tell you that the handler executeNonExistingHandler could not be found. If you contact me off-list, I'll send you a promo code. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 19 jul 2011, at 18:58, Chipp Walters wrote: Interesting. I have to say, in the past 10 years or so since I've been programming commercial applications for my clients and our company, I do not recall seeing such an error. In fact, this is the first time I've even heard of them. I, too, would like to know under what circumstances they are fired. It seems like a bug to me in LC's error handling code if they continually pop up. I suspect Richard knew about this from all his work with the MetaCard IDE. ___ use-livecode mailing list use-livecode@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, Shafer Walters Group, Inc. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Chipp, True, your customer won't and shouldn't see those errors, unless you display them on purpose. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 20 jul 2011, at 16:02, Chipp Walters wrote: Mark, Thanks for your generous offer, but frankly, since I don't recall seeing those errors, I'm sure Richard's technique and your web application will suffice for now. I suspect I may have actually run across them, but instantly know what the problem is- or have just gotten used to ignoring them. That said, I can't recall ever having a customer send me a bug report with mention of them in it. Best, Chipp ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
True, your customer won't and shouldn't see those errors, unless you display them on purpose. Which I frankly do quite often. :-) (Not that my software ever has errors... mwahahaha) Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Release and On-Rev
Heather says On-Rev users will be upgraded to the new livecode server in a few days. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Server-Release-and-On-Rev-tp3679789p3680996.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
Bonjour, After following the quoted adv!ces from SparkOut, I found a handler given in 2006 by Peter Brigham on nabble; it is running well on PC (it avoid the 1970 barrier!) Thank you Peter ;-)) When age 4 (baby), I need to get it in month so I keep the handler from Jim Ault (thank you Jim ;-)) So that I have something like : set the itemDelimiter to slash if item 3 of birthdate 1970 then -- Peter' handler else --Jim' handler end if my stack script is beginning to be like une usine à gaz as we say in french (a gas factory? don't know the english equivalent ;-)) Hope some changes in LC, so that it be possible to get it more simple! Thanks again to those who replied to my first post on this topic Best to all André Le 20 juil. 2011 à 09:49, SparkOut a écrit : As well as changing your handler, which is unfortunately necessary at the moment, if you have access to the QCC you could vote for bug #4941 and/or message support and bring awareness back to this. It's not that Livecode can't determine pre epoch dates on Windows - it's just that the implementation needs to be changed in order for it to happen. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Hi Jacque, I really believe you should write people off-list, when you accuse them. I still believe I made a useful app, since I use it myself. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 20 jul 2011, at 16:59, J. Landman Gay wrote: I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
On Wed, Jul 20, 2011 at 10:59 AM, J. Landman Gay wrote: I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com This is an awesome community, and a generous community when it comes to sharing knowledge to help each other along. Your statement is well said Jacque! Bravo! ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
I think it is really mean what you guys are doing. I have taken all free LiveCode utilities and libraries off-line. From now on, you will have to pay if you want to use something. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 20 jul 2011, at 17:13, Roger Eller wrote: On Wed, Jul 20, 2011 at 10:59 AM, J. Landman Gay wrote: I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com This is an awesome community, and a generous community when it comes to sharing knowledge to help each other along. Your statement is well said Jacque! Bravo! ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Roger Is this what you are looking for? on mouseUp set itemdel to : put the long time into tTime put char 1 to -4 of tTime into field 1 convert tTime to dateItems set the hms of me to tTime countDown end mouseUp on countDown put the hms of me into temp subtract 1 from item -2 of temp --The dateItems will take care of the negative seconds convert temp to dateItems set the hms of me to temp put temp into tDisplayTIme put item -4 to -2 of tDisplayTIme into temp2 replace , with : in temp2 put temp2 into field 1 send countDown to me in 1 sec --Change the 1 sec to 1 Minute when you are sure it works for you. end countDown Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
irgh, Hey Guys, Is it friday 13th here? What is happening? Mark made an mobile application that he likes and some other people find useful, props to him. Others don't see the need, that is ok. Mark is not forcing anyone to buy anything, actually, for someone to want his app, this person needs to know more than day-1 livecode, it needs to know about LiveCode error codes. I see the utility in his application. In some stuff I did, I allow exceptions to bubble up in the following manner: I try to figure out what is happening and if it is recoverable, if it is not, then, I present my own error message followed by the error codes. Also if you are doing LiveCode Server, sometimes, the engine will spit out error codes, I don't have a recipe but it happened to me before. I know enough LiveCode to have my own systems to deal with it but none of my systems work on mobile. I can see someone not in front of his machine, using this. I don't think it is fair to accuse Mark of exploring the naivete of people. He is just offering a mobile app for some bucks. For someone that does not have a RevMobile license and thus can't recreate those two lines, this might be useful. I think there is a terrible miscommunication going on here. Richard wanted to know if there was any standard case where the errordialog from LiveCode would fail to display human readable errors. He wanted that because he wanted to file a QA report at the quality center since LiveCode own dialogbox should handle everything. Mark created an application for the cases where the error codes are not passing thru LiveCode dialogboxes (maybe their are caught in a try/catch block) and the developer did not pick the errors from the list. There is no harm here guys. For errors people always had options: * Let livecode error dialog translate them * use one of the web front ends available (Mark had one, Jacque had one) * rolll your own * don't care, panic, rollback and recover (-- my personal tools are like this) Now what started at as a very good thread where one developer launched a product and another developer asked if there was a case where the built-in tools failed, derailed into a very bad thread that will soon be locked because the internet is not meant for arguments but for discussions. come on guys, we just launched 4.6.3. The new LiveCode Server is around the corner and many scripts need to be patched. Mobile is growing and 2012 is the Year of the LiveCode RevLet! (I Want To Believe). We have better things to do then to keep this thread on. Products are like standards, when you don't like them, you just don't use them. Can we go back to a normal sunny day in Rio? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Hi, although i understand what you mean. I cannot completely agree. Nobody is forced to buy it. Mark made an iOS tool which can be used offline on the iOS devices. He spent time and effort into it. So why not selling? Everyone is free to use the free webInterfaces. But if one wants to buy, just let him/her without talking him/her out of it. Just my 2cents. Regards, Matthias Am 20.07.2011 um 16:59 schrieb J. Landman Gay: I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Roger, I forgot the stop clause. Maybe: if field 1 is 0:0:0 then --or whatever --Do your business else send countDown to me in 1 sec end if Roger Is this what you are looking for? on mouseUp set itemdel to : put the long time into tTime put char 1 to -4 of tTime into field 1 convert tTime to dateItems set the hms of me to tTime countDown end mouseUp on countDown put the hms of me into temp subtract 1 from item -2 of temp --The dateItems will take care of the negative seconds convert temp to dateItems set the hms of me to temp put temp into tDisplayTIme put item -4 to -2 of tDisplayTIme into temp2 replace , with : in temp2 put temp2 into field 1 send countDown to me in 1 sec --Change the 1 sec to 1 Minute when you are sure it works for you. end countDown Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
I've followed this thread with some interest as it is something I intended to purchase once my vacation here in Florida is done. What amazes, no, horrifies me is the pure vitriol and outright personal nastiness that has greeted this nice product. Sure, the rest of you Titans could figure out this stuff pretty easily. Every time I get one of those things I just throw up my hands and give up. Because I have neither the time nor the inclination to go looking 4,000 different places to find out why something doesn't work/what's the way to make it work/ is it a bucket, a mop, a lesson, a tutorial, a blog posting, something mentioned in passing somewhere in 10+ years of use-list postings, on the forums that are always asking for some other password I can never remember, etc. etc. etc. It's not taking advantage of people's naivete to put arcane stuff together in once place for a reasonable price. It's what's called a SERVICE. Why not just tell all the beginners/non-programmers to blow off and go use HyperStudio? IS THAT WHAT YOU ALL REALLY WANT? Because that's what you're doing. You don't need it? Don't buy it. All kinds of people don't need Scott Rossi's stuff either or any number of other people who sell stuff to the community, but nobody ever craps all over those people. All of you people doing the complaining -- how many sessions have YOU done for Livecode.tv? I'm betting zero. How many have you organized? How many have you troubleshot? Zero and zero. How surprising. :-( Judy On Wed, 20 Jul 2011, J. Landman Gay wrote: I also have a free web interface for error lookup. But what bothers me is that everyone who has LiveCode already has a copy of the error list, extracting it to a field takes one line of script in the message box, and the lookup script is two lines of code. Even the most basic newcomer could do this without much trouble. Charging money for something that is already free and available appears to take advantage of the naivete of new users who don't know that. While that's pretty common in the general public, in our community it isn't. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Well spoken, Andre ! Am 20.07.2011 um 17:45 schrieb Andre Garzia: irgh, Hey Guys, Is it friday 13th here? What is happening? Mark made an mobile application that he likes and some other people find useful, props to him. Others don't see the need, that is ok. Mark is not forcing anyone to buy anything, actually, for someone to want his app, this person needs to know more than day-1 livecode, it needs to know about LiveCode error codes. I see the utility in his application. In some stuff I did, I allow exceptions to bubble up in the following manner: I try to figure out what is happening and if it is recoverable, if it is not, then, I present my own error message followed by the error codes. Also if you are doing LiveCode Server, sometimes, the engine will spit out error codes, I don't have a recipe but it happened to me before. I know enough LiveCode to have my own systems to deal with it but none of my systems work on mobile. I can see someone not in front of his machine, using this. I don't think it is fair to accuse Mark of exploring the naivete of people. He is just offering a mobile app for some bucks. For someone that does not have a RevMobile license and thus can't recreate those two lines, this might be useful. I think there is a terrible miscommunication going on here. Richard wanted to know if there was any standard case where the errordialog from LiveCode would fail to display human readable errors. He wanted that because he wanted to file a QA report at the quality center since LiveCode own dialogbox should handle everything. Mark created an application for the cases where the error codes are not passing thru LiveCode dialogboxes (maybe their are caught in a try/catch block) and the developer did not pick the errors from the list. There is no harm here guys. For errors people always had options: * Let livecode error dialog translate them * use one of the web front ends available (Mark had one, Jacque had one) * rolll your own * don't care, panic, rollback and recover (-- my personal tools are like this) Now what started at as a very good thread where one developer launched a product and another developer asked if there was a case where the built-in tools failed, derailed into a very bad thread that will soon be locked because the internet is not meant for arguments but for discussions. come on guys, we just launched 4.6.3. The new LiveCode Server is around the corner and many scripts need to be patched. Mobile is growing and 2012 is the Year of the LiveCode RevLet! (I Want To Believe). We have better things to do then to keep this thread on. Products are like standards, when you don't like them, you just don't use them. Can we go back to a normal sunny day in Rio? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
I apologize for the public posting. I agree that anyone can sell anything they like, and anyone can buy anything they like. End of thread for me. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Hi folks, I have every confidence in the free market to determine whether or not people find this tool useful. I'm certainly not going to make a judgement either way and I know that we have so many different types of people using LC these days. Lets drop this thread now, please. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode: Compile-free coding, the faster path to better apps ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
Thank you, Jacque. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 20 jul 2011, at 18:02, J. Landman Gay wrote: I apologize for the public posting. I agree that anyone can sell anything they like, and anyone can buy anything they like. End of thread for me. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: externals error under linux
No but I LOVE the word wimplicit!! I am going to have to work that into a sentence soon. Bob On Jul 19, 2011, at 8:35 PM, Andre Garzia wrote: Folks, Anyone seen this: warning: implicit declaration of function ‘getXtable’ [-Wimplicit-function-declaration] It is related to some macro error I think, or the linker is not linking against the correct stuff... any clue? -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
I purchased Infowallet, (it's awesome) and so feel it's alright to scavenge your bit of code. :-) Bob On Jul 19, 2011, at 4:24 PM, Bill Vlahos wrote: The problem is the epoch date in Windows is 1970 and LiveCode can't deal with dates earlier than that in Windows. You will need to use a VBScript. Here is what I use in InfoWallet which handles Windows, Mac, and Linux correctly which was based on code provided by folks on this list. on calcAge tDate,asOf -- returns the current age based on a DOB of tDate -- as of the date asOf, or if asOf = empty, as of today if tDate = empty then return empty if the platform is WIn32 then isADate tDate if the result then put sdate = quote tDate quote into vFive put return result = DateDiff( quote d quote ,sdate,Date) after vFive put return trueage = result / 365 after vFive put return result = Left(trueage,2) after vFive do vFive as vbscript return the result else return empty end if else if tDate is not a date then return empty if asOf = empty then put the date into asOf end if set the itemdelimiter to / put item -1 of the short date into nowYr set the centurycutoff to nowYr+1 set the itemdelimiter to comma convert tDate to dateItems convert asOf to dateitems put item 1 of asOf - item 1 of tDate - 1 into tAge put item 1 of asOf into item 1 of tDate convert tDate to seconds convert asOf to seconds if tDate = asOf then add 1 to tAge return tAge end if end calcAge Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jul 19, 2011, at 9:23 AM, André Bisseret wrote: Bonjour, I am a Mac user but I recently bought a PC (windows 7) in order to test my standalones for windows more quickly. I am fighting for hours now with the following problem : In an app., I have a handler that calculates the age from the short birth date (thanks to Jim Ault who gave it on the list). The birth date is jj/mm/ or jj/mm/AA as well. This handler works fine on Mac, but not on windows. On windows, the age is invariably 100 if the birth year 1970. (with JJ/MM/AA or JJ/MM/ (as bad ;-( If the birth year = 1970 then the age is correct. I tried to play with the centuryCutOff but without any success (on windows). I am not familiar with Windows : what am I missing ? Is it a matter of computer setting or should I program differently for windows than for mac !? Thanks a lot in advance for any help Best regards from Grenoble André P.S. By the way, I used to use a search engine (if I well remember, it was in the help menu of livecode) I do not find it any more; has it been suppressed ? (or here again, I am missing something !) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Hey as long as we are talking about dates and times, I am going to need soon a method to determine if a block of time intersects with another. Specifically I will need to do this in an SQL query. I suppose the best way would be to store all dates in julian format, then have a query that, given savedStartDate and savedEndDate are columns in a table, goes something like : select * where (startDate savedStartDate and startDate savedEndDate) or (endDate savedStartDate and endDate savedEndDate) Is that about right? Any other ideas? Bob On Jul 20, 2011, at 8:29 AM, James Hurley wrote: Roger Is this what you are looking for? on mouseUp set itemdel to : put the long time into tTime put char 1 to -4 of tTime into field 1 convert tTime to dateItems set the hms of me to tTime countDown end mouseUp on countDown put the hms of me into temp subtract 1 from item -2 of temp --The dateItems will take care of the negative seconds convert temp to dateItems set the hms of me to temp put temp into tDisplayTIme put item -4 to -2 of tDisplayTIme into temp2 replace , with : in temp2 put temp2 into field 1 send countDown to me in 1 sec --Change the 1 sec to 1 Minute when you are sure it works for you. end countDown Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: externals error under linux
Andre, This is the compiler warning you that it can't find a header prototype for the getXtable function. In this case the function (which used to be in XCmdGlue.c) will serve as the declaration and you can remove the warning by changing the compiler flag -Wimplicit-function-declaration to -Wno-implicit. In the past there were a number of ifdefs in the XCmdGlue headers that were controlling the inclusion of the different function prototypes. I haven't looked into the headers recently to make sure this is still the same. You might check them to see if you're missing a platform or language definition that is causing this warning to be thrown. -- cb On Tue, Jul 19, 2011 at 10:35 PM, Andre Garzia an...@andregarzia.comwrote: Folks, Anyone seen this: warning: implicit declaration of function ‘getXtable’ [-Wimplicit-function-declaration] It is related to some macro error I think, or the linker is not linking against the correct stuff... any clue? -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: externals error under linux
Chris, Thank you very much! I will look into that. :-) The Linux Externals SDK is not used much, so I guess there might be bugs. :-) On Wed, Jul 20, 2011 at 1:36 PM, Chris Bohnert ch...@altuit.com wrote: Andre, This is the compiler warning you that it can't find a header prototype for the getXtable function. In this case the function (which used to be in XCmdGlue.c) will serve as the declaration and you can remove the warning by changing the compiler flag -Wimplicit-function-declaration to -Wno-implicit. In the past there were a number of ifdefs in the XCmdGlue headers that were controlling the inclusion of the different function prototypes. I haven't looked into the headers recently to make sure this is still the same. You might check them to see if you're missing a platform or language definition that is causing this warning to be thrown. -- cb On Tue, Jul 19, 2011 at 10:35 PM, Andre Garzia an...@andregarzia.com wrote: Folks, Anyone seen this: warning: implicit declaration of function ‘getXtable’ [-Wimplicit-function-declaration] It is related to some macro error I think, or the linker is not linking against the correct stuff... any clue? -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Release and On-Rev
On Jul 20, 2011, at 9:36 AM, Andrew Kluthe wrote: Heather says On-Rev users will be upgraded to the new livecode server in a few days. That's great to hear, but should I assume that current .irev files won't be affected by the upgrade? I just want to know if I need to change anything before the upgrade since I have some clients that are dependent on the .irev files working as usual. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Your Icon Requests for Android and iOS Development
Hello all, A partner of mine makes the icons for IconPeople - many of you have the Valerian icon set, either purchased individually or received in a bundle. Since we now have iOS and Android deployment for LiveCode, we've been thinking about what icons would be useful to extend Valerian for use on these devices. That way, at least a modest UX experience can be had between your apps running on the desktop and the devices. I believe that both devices already handle the roundedness and glossiness aspects of icon rendering. Can you correct me if I am wrong about that? Also, I think there are good lists of supporting sizes. Are there any specific icons you'd like to see included? Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iPhone + Arduino
I emailed Redpark and heard back from them: Apple policy established the private use only approach. This was not defined by Redpark. So there you have it. Phil On 7/19/11 11:47 PM, Phil Davis wrote: I just saw this: http://www.tuaw.com/2011/07/19/cord-from-iphone-to-arduino-now-available/ Redpark (maker of the cable) has a Serial SDK for app dev with the cable. I assume it could be made into an external for mobile dev (?), but their licensing is for private use only. Bummer. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Using the dateItems is definitely the right direction, but my objective is to count backwards from for example; 2 hours, 45 minutes, and 59 seconds while updating the display field every second. When the countdown reaches 00:00:00, I would play a sound of do other actions. Sorry about that... this will work if you just want to count down from a fixed amount of time: on mouseUp DoCountDown 2:45:59 end mouseUp on DoCountDown pTime convert pTime to seconds subtract 1 from pTime convert pTime to dateItems split pTime by , put format(%02d:%02d:%02d,pTime[4],pTime[5],pTime[6]) into tNewTime put tNewTime into fld Time if tNewTime = 00:00:00 then TimesUp else send DoCountDown tNewTime to me in 1 second end if end DoCountDown on TimesUp answer Done end TimesUp Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: LiveCodeErrors for iPhone
On Wed, Jul 20, 2011 at 12:02 PM, J. Landman Gay wrote: I apologize for the public posting. I agree that anyone can sell anything they like, and anyone can buy anything they like. End of thread for me. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Me too. I hope Mark and every LiveCode user here becomes very prosperous with their products. The End. ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Server Release and On-Rev
There is a way to have both RevServer and the new LiveCode Server installed side by side with no interference. You can bind one to .lc and the other to .irev. I don't know how RunRev will install things on the On-Rev server, but this can be done. On Wed, Jul 20, 2011 at 1:46 PM, Ken Ray k...@sonsothunder.com wrote: On Jul 20, 2011, at 9:36 AM, Andrew Kluthe wrote: Heather says On-Rev users will be upgraded to the new livecode server in a few days. That's great to hear, but should I assume that current .irev files won't be affected by the upgrade? I just want to know if I need to change anything before the upgrade since I have some clients that are dependent on the .irev files working as usual. Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mac OS X Lion
Hello Mac addict(s) ! First impression after installing Mac OS X Lion on my Macintosh... LiveCode 4.6.3 run well... New buttons, new radio buttons... A little problem: the scroll bar have the two aspect, the last one (borders) ans the new one (grey bar moving)... Tomorrow morning a more complete review of the new environment... Good evening from Paris René ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Bonsoir René, Am 20.07.2011 um 19:34 schrieb René Micout: Hello Mac addict(s) ! First impression after installing Mac OS X Lion on my Macintosh... LiveCode 4.6.3 run well... New buttons, new radio buttons... A little problem: the scroll bar have the two aspect, the last one (borders) ans the new one (grey bar moving)... Tomorrow morning a more complete review of the new environment... thanks for the info! Sounds good! I think I will update tomorrow :-) Good evening from Paris René Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Hi Bob, Depending on your requirements, your tests might ned to be = and =. Also, SQL has a BETWEEN operator that would make your code a little more readable: SELECT * FROM xyz WHERE startDate BETWEEN savedStartDate AND savedEndDate I don't think you need to store your dates in julian format. The standard SQL storage format of -MM-DD should work for your comparisons as long as startdate is in that format also (I think). If not, SQL (at least sqlite) has date conversion expressions you can use to convert the dates to Julian before the comparison: SELECT * FROM xyz WHERE strftime(%J,startDate) BETWEEN strftime(%J,savedStartDate) AND strftime(%J,savedEndDate)... mySQL does not have a Julian day conversion expression, but it does have a TO_DAYS function so, as long as your dates are not before 1582 (!!!): SELECT * FROM xyz WHERE TO_DAYS(startDate) BETWEEN TO_DAYS(savedStartDate) AND TO_DAYS(SavedEndDate)... For a system that is supposed to adhere to a standard, SQL has a remarkable number of variations in its various implementations! Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 9:32 AM, Bob Sneidar b...@twft.com wrote: Hey as long as we are talking about dates and times, I am going to need soon a method to determine if a block of time intersects with another. Specifically I will need to do this in an SQL query. I suppose the best way would be to store all dates in julian format, then have a query that, given savedStartDate and savedEndDate are columns in a table, goes something like : select * where (startDate savedStartDate and startDate savedEndDate) or (endDate savedStartDate and endDate savedEndDate) Is that about right? Any other ideas? Bob On Jul 20, 2011, at 8:29 AM, James Hurley wrote: Roger Is this what you are looking for? on mouseUp set itemdel to : put the long time into tTime put char 1 to -4 of tTime into field 1 convert tTime to dateItems set the hms of me to tTime countDown end mouseUp on countDown put the hms of me into temp subtract 1 from item -2 of temp --The dateItems will take care of the negative seconds convert temp to dateItems set the hms of me to temp put temp into tDisplayTIme put item -4 to -2 of tDisplayTIme into temp2 replace , with : in temp2 put temp2 into field 1 send countDown to me in 1 sec --Change the 1 sec to 1 Minute when you are sure it works for you. end countDown Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
I don't like lion or the new scrollbars... :-( will stay with snow leopard for a while :-) On Wed, Jul 20, 2011 at 2:42 PM, Klaus on-rev kl...@major.on-rev.comwrote: Bonsoir René, Am 20.07.2011 um 19:34 schrieb René Micout: Hello Mac addict(s) ! First impression after installing Mac OS X Lion on my Macintosh... LiveCode 4.6.3 run well... New buttons, new radio buttons... A little problem: the scroll bar have the two aspect, the last one (borders) ans the new one (grey bar moving)... Tomorrow morning a more complete review of the new environment... thanks for the info! Sounds good! I think I will update tomorrow :-) Good evening from Paris René Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/blog.irv?pid=1307545265.586975 What concerns me more about Lion is how auto-save is supposed to work with our apps -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: revmpossible?
Cool. A video would be great. It's not entirely clear to me yet what revimpossible could *not* do that a plugin could do, but that indicates my lack of understanding. Thanks, Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revmpossible-tp3677225p3681693.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
revIgniter
I do not quite understand what is revigniter? Is it locally installed with WampServer? ps: I am beginner and French with a deplorable level of English so please write slowly ;-) Cordialement, Olivier Dussutour olivierdussut...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Ah! Very useful thank you! Bob On Jul 20, 2011, at 10:50 AM, Pete wrote: Hi Bob, Depending on your requirements, your tests might ned to be = and =. Also, SQL has a BETWEEN operator that would make your code a little more readable: SELECT * FROM xyz WHERE startDate BETWEEN savedStartDate AND savedEndDate I don't think you need to store your dates in julian format. The standard SQL storage format of -MM-DD should work for your comparisons as long as startdate is in that format also (I think). If not, SQL (at least sqlite) has date conversion expressions you can use to convert the dates to Julian before the comparison: SELECT * FROM xyz WHERE strftime(%J,startDate) BETWEEN strftime(%J,savedStartDate) AND strftime(%J,savedEndDate)... mySQL does not have a Julian day conversion expression, but it does have a TO_DAYS function so, as long as your dates are not before 1582 (!!!): SELECT * FROM xyz WHERE TO_DAYS(startDate) BETWEEN TO_DAYS(savedStartDate) AND TO_DAYS(SavedEndDate)... For a system that is supposed to adhere to a standard, SQL has a remarkable number of variations in its various implementations! Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 9:32 AM, Bob Sneidar b...@twft.com wrote: Hey as long as we are talking about dates and times, I am going to need soon a method to determine if a block of time intersects with another. Specifically I will need to do this in an SQL query. I suppose the best way would be to store all dates in julian format, then have a query that, given savedStartDate and savedEndDate are columns in a table, goes something like : select * where (startDate savedStartDate and startDate savedEndDate) or (endDate savedStartDate and endDate savedEndDate) Is that about right? Any other ideas? Bob On Jul 20, 2011, at 8:29 AM, James Hurley wrote: Roger Is this what you are looking for? on mouseUp set itemdel to : put the long time into tTime put char 1 to -4 of tTime into field 1 convert tTime to dateItems set the hms of me to tTime countDown end mouseUp on countDown put the hms of me into temp subtract 1 from item -2 of temp --The dateItems will take care of the negative seconds convert temp to dateItems set the hms of me to temp put temp into tDisplayTIme put item -4 to -2 of tDisplayTIme into temp2 replace , with : in temp2 put temp2 into field 1 send countDown to me in 1 sec --Change the 1 sec to 1 Minute when you are sure it works for you. end countDown Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On Wednesday, July 20, 2011 01:11:55 PM Richard Gaskin wrote: For better or worse, it seems those scrollbars are the wave of the future: Stevie was really enthuastic about his drawers, too. For a while. Warren ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Not wishing to appear catty or anything . . . But, surely, from the point of view of the average RunRev/Livecode developer unless one has a desperate urge to leverage any new capabilities in 'Lion' it is just business as usual? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mac OS X Lion
http://www.apple.com/macosx/whats-new/ well; I don't know what to say, but on the basis of that webpage there seems to be nothing much more than eye-candy. The only thing that seems vaguely new is the set of finger-twiddles one can perform on one's trackpad: just thinking about them makes me reach for my mouse and Belkin Nostromo. For those who are excited about multi-touch guestures, they can get these working with Touchegg in Linux for a few minutes work, rather than rushing out to buy 'Lion'. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
On Wed, Jul 20, 2011 at 1:06 PM, Ken Ray wrote: Using the dateItems is definitely the right direction, but my objective is to count backwards from for example; 2 hours, 45 minutes, and 59 seconds while updating the display field every second. When the countdown reaches 00:00:00, I would play a sound of do other actions. Sorry about that... this will work if you just want to count down from a fixed amount of time: on mouseUp DoCountDown 2:45:59 end mouseUp on DoCountDown pTime convert pTime to seconds subtract 1 from pTime convert pTime to dateItems split pTime by , put format(%02d:%02d:%02d,pTime[4],pTime[5],pTime[6]) into tNewTime put tNewTime into fld Time if tNewTime = 00:00:00 then TimesUp else send DoCountDown tNewTime to me in 1 second end if end DoCountDown on TimesUp answer Done end TimesUp Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ With only a few tweaks like handling a cancel/reset request, this script does what I need. James' was almost the one, but the time wasn't starting from a pre-set amount of time such as 1 hour, etc. Thanks to everyone that contributed! ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On Wed, Jul 20, 2011 at 3:30 PM, Warren Samples war...@warrensweb.uswrote: On Wednesday, July 20, 2011 01:11:55 PM Richard Gaskin wrote: For better or worse, it seems those scrollbars are the wave of the future: Stevie was really enthuastic about his drawers, too. For a while. I like drawers :-) Warren ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irvhttp://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
You mean besides the new pricing which is WAAAY more affordable than prior version? Or besides the new Remote Access that allows me to have a session which does not disturb the current local session? Or the fact that Remote Access Server is no longer $500 unlimited, but somewhere in the area of $80? Or the fact that Xsan Client is built in and Xsan Controller is also insanely cheaper? (I could go on). Aside from all of that, I don't think we will be doing a wholesale upgrade just yet. There are applications that will certainly break (I ran the first gold RC) and upgrading Lion also means, for some upgrading their software too. Bob On Jul 20, 2011, at 12:14 PM, Richmond Mathewson wrote: http://www.apple.com/macosx/whats-new/ well; I don't know what to say, but on the basis of that webpage there seems to be nothing much more than eye-candy. The only thing that seems vaguely new is the set of finger-twiddles one can perform on one's trackpad: just thinking about them makes me reach for my mouse and Belkin Nostromo. For those who are excited about multi-touch guestures, they can get these working with Touchegg in Linux for a few minutes work, rather than rushing out to buy 'Lion'. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On 07/20/2011 10:41 PM, Bob Sneidar wrote: You mean besides the new pricing which is WAAAY more affordable than prior version? Or besides the new Remote Access that allows me to have a session which does not disturb the current local session? Or the fact that Remote Access Server is no longer $500 unlimited, but somewhere in the area of $80? Or the fact that Xsan Client is built in and Xsan Controller is also insanely cheaper? (I could go on). I was writing about interface advances; not about money. Certainly Remote access and so forth are, just a bit, cheaper with Linux, so there have to be other reasons for sticking with Mac. From what I can see, should I splurge on one of the new Mac-Minis, the first thing I would do is install Leopard (10.5) on the thing. Aside from all of that, I don't think we will be doing a wholesale upgrade just yet. There are applications that will certainly break (I ran the first gold RC) and upgrading Lion also means, for some upgrading their software too. Bob On Jul 20, 2011, at 12:14 PM, Richmond Mathewson wrote: http://www.apple.com/macosx/whats-new/ well; I don't know what to say, but on the basis of that webpage there seems to be nothing much more than eye-candy. The only thing that seems vaguely new is the set of finger-twiddles one can perform on one's trackpad: just thinking about them makes me reach for my mouse and Belkin Nostromo. For those who are excited about multi-touch guestures, they can get these working with Touchegg in Linux for a few minutes work, rather than rushing out to buy 'Lion'. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
The last Lion DP was pretty bad on my machine. I am going to wait for a long time... On Wed, Jul 20, 2011 at 4:41 PM, Bob Sneidar b...@twft.com wrote: You mean besides the new pricing which is WAAAY more affordable than prior version? Or besides the new Remote Access that allows me to have a session which does not disturb the current local session? Or the fact that Remote Access Server is no longer $500 unlimited, but somewhere in the area of $80? Or the fact that Xsan Client is built in and Xsan Controller is also insanely cheaper? (I could go on). Aside from all of that, I don't think we will be doing a wholesale upgrade just yet. There are applications that will certainly break (I ran the first gold RC) and upgrading Lion also means, for some upgrading their software too. Bob On Jul 20, 2011, at 12:14 PM, Richmond Mathewson wrote: http://www.apple.com/macosx/whats-new/ well; I don't know what to say, but on the basis of that webpage there seems to be nothing much more than eye-candy. The only thing that seems vaguely new is the set of finger-twiddles one can perform on one's trackpad: just thinking about them makes me reach for my mouse and Belkin Nostromo. For those who are excited about multi-touch guestures, they can get these working with Touchegg in Linux for a few minutes work, rather than rushing out to buy 'Lion'. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
I wouldn't rely on the send in time structure to actually fire every second. It's going to slip over time as the computer takes periodic spikes of use. If you want New Years Eve accuracy of the final countdown, you should probably re-calculate the delta based on the current time continuously. Here's the code from a quick test stack's single button. There are also three fields. on mouseup put the internet date into fld 1 -- display the current time get fld 2 -- get the target time convert it to seconds set the targetTime of me to it UpdateCountdown end mouseup on UpdateCountdown get the targetTime of me put CountdownCalc( it ) into fld 3 -- display the countdown -- always best to make sure this timer loop hasn't already been started if UpdateDountdown is not in the pendingmessages then send UpdateCountdown to me in 1 second end UpdateCountdown function CountdownCalc targetTime -- in seconds put targetTime - the seconds into deltaTime put trunc(deltaTime / 3600) into h -- hours put trunc((deltaTime - (h * 3600)) / 60) into m -- minutes put deltaTime - (h * 3600) - (m * 60) into s -- seconds put format( %i:%02i:%02i, h, m, s ) into countdown return countdown end CountdownCalc Pretty much the same as the other samples, but more accurate over the long haul in those final seconds. ~ Chris Innanen ~ Nonsanity On Wed, Jul 20, 2011 at 3:19 PM, Roger Eller roger.e.el...@sealedair.comwrote: On Wed, Jul 20, 2011 at 1:06 PM, Ken Ray wrote: Using the dateItems is definitely the right direction, but my objective is to count backwards from for example; 2 hours, 45 minutes, and 59 seconds while updating the display field every second. When the countdown reaches 00:00:00, I would play a sound of do other actions. Sorry about that... this will work if you just want to count down from a fixed amount of time: on mouseUp DoCountDown 2:45:59 end mouseUp on DoCountDown pTime convert pTime to seconds subtract 1 from pTime convert pTime to dateItems split pTime by , put format(%02d:%02d:%02d,pTime[4],pTime[5],pTime[6]) into tNewTime put tNewTime into fld Time if tNewTime = 00:00:00 then TimesUp else send DoCountDown tNewTime to me in 1 second end if end DoCountDown on TimesUp answer Done end TimesUp Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ With only a few tweaks like handling a cancel/reset request, this script does what I need. James' was almost the one, but the time wasn't starting from a pre-set amount of time such as 1 hour, etc. Thanks to everyone that contributed! ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
It's Drawer Implementation and Maintenance that always had me stumped. Where should I install them? Should they always be implemented? There are different schools of thought on the subject. I believe in European circles, some don't see the need for drawers at all. I'm not sure I would go that far. The older I get, the more I use I have for drawers. ;-) Bob On Jul 20, 2011, at 12:47 PM, Warren Samples wrote: On Wednesday, July 20, 2011 02:37:08 PM Andre Garzia wrote: I like drawers :-) Drawers are indispensible for certain purposes. I have many and use them every day, but hated them on my computer ;) Warren ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On 07/20/2011 10:57 PM, Bob Sneidar wrote: It's Drawer Implementation and Maintenance that always had me stumped. Where should I install them? Should they always be implemented? There are different schools of thought on the subject. I believe in European circles, That is because drawers are long and baggy; not circular. some don't see the need for drawers at all. I'm not sure I would go that far. The older I get, the more I use I have for drawers. ;-) Certainly, as it is 40 degs Celsius here in Plovdiv, Bulgaria, I wish I could wear a kilt without people chucking bricks at me. It seems that with trousers one keeps one's drawers close to oneself, and with a kilt, other things are drawn to one. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 12:38 PM, Andre Garzia an...@andregarzia.comwrote: On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975 http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv http://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
On Wed, Jul 20, 2011 at 5:13 PM, Pete p...@mollysrevenge.com wrote: There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? LC is Carbon and has a lot of emulated stuff to make is cross-platform, this is a very hard race to win... :-) Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 12:38 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975 http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv http://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: revIgniter
It is a web app framework for revServer (Now named LiveCode Server). It is very much like CodeIgniter for PHP. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-revIgniter-v1-4b-tp3678359p3681975.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: revIgniter
On Wed, Jul 20, 2011 at 5:30 PM, Andrew Kluthe and...@rjdfarm.com wrote: It is a web app framework for revServer (Now named LiveCode Server). It is very much like CodeIgniter for PHP. let me correct that for you dear Sir, It is a *BEST* web app framework for revServer (Now named LiveCode Server). It is very much like CodeIgniter for PHP. thanks you, carry on, keep calm and stay with snow leopard. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-revIgniter-v1-4b-tp3678359p3681975.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Or with the other features you mentioned: on mouseup -- start 1 hour timer button get the seconds put it into now convert now to internet date put now into fld 1 -- display the current time add 3600 to it -- one hour from now set the targetTime of me to it convert it to internet date put it into fld 2 -- display the target time UpdateCountdown end mouseup on UpdateCountdown get the targetTime of me if it is empty then exit UpdateCountdown put CountdownCalc( it ) into res if char 1 of res is - or res = 0:00:00 then -- timer ended set the targetTime of me to empty put 0:00:00 into res end if put res into fld 3 -- display the countdown -- always best to make sure this timer loop hasn't already been started if UpdateDountdown is not in the pendingmessages then send UpdateCountdown to me in 1 second end UpdateCountdown function CountdownCalc targetTime -- in seconds put targetTime - the seconds into deltaTime put trunc(deltaTime / 3600) into h -- hours put trunc((deltaTime - (h * 3600)) / 60) into m -- minutes put deltaTime - (h * 3600) - (m * 60) into s -- seconds put format( %01i:%02i:%02i, h, m, s ) into countdown return countdown end CountdownCalc on MouseUp -- cancel button set the targetTime of me to empty end MouseUp ~ Chris Innanen ~ Nonsanity On Wed, Jul 20, 2011 at 3:19 PM, Roger Eller roger.e.el...@sealedair.comwrote: With only a few tweaks like handling a cancel/reset request, this script does what I need. James' was almost the one, but the time wasn't starting from a pre-set amount of time such as 1 hour, etc. Thanks to everyone that contributed! ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
I agree and look forward seeing the results of the work that some LC developers are doing on making the missing controls available. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 1:19 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 5:13 PM, Pete p...@mollysrevenge.com wrote: There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? LC is Carbon and has a lot of emulated stuff to make is cross-platform, this is a very hard race to win... :-) Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 12:38 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975 http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv http://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
I was just told the following about Lion: 1) It will only install correctly if you are on the very latest version of Snow Leopard (10.6.8) 2) Apple have discontinued Snow Leopard If that is true and you don't already have Snow Leopard installed, seems like you're screwed. Can anyone confirm this? Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 1:50 PM, Pete p...@mollysrevenge.com wrote: I agree and look forward seeing the results of the work that some LC developers are doing on making the missing controls available. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 1:19 PM, Andre Garzia an...@andregarzia.comwrote: On Wed, Jul 20, 2011 at 5:13 PM, Pete p...@mollysrevenge.com wrote: There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? LC is Carbon and has a lot of emulated stuff to make is cross-platform, this is a very hard race to win... :-) Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 12:38 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975 http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv http://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Apple would not discontinue snow leopard, they support OSes for a long time... On Wed, Jul 20, 2011 at 6:31 PM, Pete p...@mollysrevenge.com wrote: I was just told the following about Lion: 1) It will only install correctly if you are on the very latest version of Snow Leopard (10.6.8) 2) Apple have discontinued Snow Leopard If that is true and you don't already have Snow Leopard installed, seems like you're screwed. Can anyone confirm this? Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 1:50 PM, Pete p...@mollysrevenge.com wrote: I agree and look forward seeing the results of the work that some LC developers are doing on making the missing controls available. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 1:19 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 5:13 PM, Pete p...@mollysrevenge.com wrote: There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? LC is Carbon and has a lot of emulated stuff to make is cross-platform, this is a very hard race to win... :-) Pete Molly's Revenge http://www.mollysrevenge.com On Wed, Jul 20, 2011 at 12:38 PM, Andre Garzia an...@andregarzia.com wrote: On Wed, Jul 20, 2011 at 3:11 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/**blog.irv?pid=1307545265.586975 http://livecodejournal.com/blog.irv?pid=1307545265.586975 ** What concerns me more about Lion is how auto-save is supposed to work with our apps I have no clue either... The new APIs are so Objective-C/Cocoa specific, using delegates and whatnot that I think it will be a tad hard for our little carbon engine to leverage on them. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv http://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@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 -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@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. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[ANN] New plugin AAG|Workspaces
Folks, I've just launched a little plugin. I've used it since forever, hope you guys find it useful. Check out at http://andregarzia.com/page/aagworkspaces Basically it allows you to create workspaces. Each workspace is a collection of URLs and Files (that can be stacks) that are open when you are in that workspace, so when you switch projects, instead of loosing a lot of time reopening pages and files, you can simply select the workspace in there and all the files and URLs will open. It sounds silly but it is handy. :-) -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Le 20 juil. 2011 à 23:45, Andre Garzia a écrit : Apple would not discontinue snow leopard, they support OSes for a long time... when I learned that Lion requires snow leopard (which I do not have on all of my machines) I cautiously ordered a copy of snow. Hardest to find is System 7.x for my powermac 8500 ;) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
When I try to test an iOS standalone I get an error message: Unknow deployment platform. Any ideas? Gerry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
Recently, Nonsanity wrote: I wouldn't rely on the send in time structure to actually fire every second. It's going to slip over time as the computer takes periodic spikes of use. If you want New Years Eve accuracy of the final countdown, you should probably re-calculate the delta based on the current time continuously. Agreed. A few years back, Geoff Canyon came up with the following which has been reliable for me: send someMsg to someObj in (1 - (the long seconds mod 1)) seconds Regards, Scott Rossi Creative Director Tactile Media, UX Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
I think the info I got meant they stopped selling it, not supporting it. It seemed strange to me also, that's why I was asking if anyone had run into this. I'm already on Snow Leopard so not a problem for me. Pete On Wed, Jul 20, 2011 at 2:45 PM, Andre Garzia an...@andregarzia.com wrote: Apple would not discontinue snow leopard, they support OSes for a long time... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
Richard, I believe auto-save only works on applications that specifically support the new API. Bill Vlahos Sent from my iPhone On Jul 20, 2011, at 11:11 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Andre wrote: I don't like lion or the new scrollbars... :-( For better or worse, it seems those scrollbars are the wave of the future: http://livecodejournal.com/blog.irv?pid=1307545265.586975 What concerns me more about Lion is how auto-save is supposed to work with our apps -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
I just checked the Apple Store (online) and Snow Leopard is still for sale there. I think they mean that new computers will not ship with Snow Leopard any longer. The Snow Leopard in the store is an upgrade from Leopard, which is the way it has always been unless you bought the more expensive Box Set that would install SL from scratch. A point of interest is that the Box Set version will NOT install on my recent MBP - must use the DVD that came with it (which will not install on older MBPs). I also saw that soon, next month I think, Apple will offer Lion on a USB flash stick. --Jerry Jensen On Jul 20, 2011, at 3:22 PM, Pete Haworth wrote: I think the info I got meant they stopped selling it, not supporting it. It seemed strange to me also, that's why I was asking if anyone had run into this. I'm already on Snow Leopard so not a problem for me. Pete On Wed, Jul 20, 2011 at 2:45 PM, Andre Garzia an...@andregarzia.com wrote: Apple would not discontinue snow leopard, they support OSes for a long time... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Mac OS X Lion
There's been recent discussion of just how many OSX controls are not natively available in LC and Lion just seems to add to that list. Will LC ever catch up? Probably not.. Seems they will not touch anything that is not cross platform.. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
On Wed, Jul 20, 2011 at 6:20 PM, Scott Rossi wrote: Recently, Nonsanity wrote: I wouldn't rely on the send in time structure to actually fire every second. It's going to slip over time as the computer takes periodic spikes of use. If you want New Years Eve accuracy of the final countdown, you should probably re-calculate the delta based on the current time continuously. Agreed. A few years back, Geoff Canyon came up with the following which has been reliable for me: send someMsg to someObj in (1 - (the long seconds mod 1)) seconds Regards, Scott Rossi Creative Director Tactile Media, UX Design The variety of flavors in script methods to achieve a countdown timer are obviously many. The first place I looked for such was in revOnline (user samples). Would those of you in this thread that contributed a version of a solution (Ken, Chris, James, others) be ok with me compiling these into a stack and posting it there? Of course credits would be given to each scriptor for their contribution. I'm thinking this would be useful to both new and seasoned devs. Thanks guys! ˜Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Countdown HH:MM:SS
The variety of flavors in script methods to achieve a countdown timer are obviously many. The first place I looked for such was in revOnline (user samples). Would those of you in this thread that contributed a version of a solution (Ken, Chris, James, others) be ok with me compiling these into a stack and posting it there? Of course credits would be given to each scriptor for their contribution. I'm thinking this would be useful to both new and seasoned devs. Thanks guys! Fine by me! Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] New plugin AAG|Workspaces
Thanks Andre - I've wanted this since I moved over to using what is now called Remo. Now everyone can have it. sqb On 20 July 2011 16:47, Andre Garzia an...@andregarzia.com wrote: Folks, I've just launched a little plugin. I've used it since forever, hope you guys find it useful. Check out at http://andregarzia.com/page/aagworkspaces Basically it allows you to create workspaces. Each workspace is a collection of URLs and Files (that can be stacks) that are open when you are in that workspace, so when you switch projects, instead of loosing a lot of time reopening pages and files, you can simply select the workspace in there and all the files and URLs will open. It sounds silly but it is handy. :-) -- http://www.andregarzia.com All We Do Is Code. ___ use-livecode mailing list use-livecode@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 http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Lion Xcode 3.2.6
Hi there, Is anyone experiencing this same problem with Lion? I cannot save a stack as a standalone for iOS anymore since upgrading to Lion. When I go to the preferences and go under Mobile Support and choose 'Location of developer root for iOS 3.2 and above', it says '/Developer' like it should. When I browse to reselect it, it says: 'The chosen folder is not a valid iOS SDK for 3.2 and later. It must be the one that ships with XCode 3.2.4 or later.' I also tried installing Xcode 4.1 for Lion, which is the preferred version for Lion, but that is not supported by RunRev (yet). I'm on Developer Preview 4 of Lion. I wanted to upgrade yesterday, but I couldn't, because it is 'Already installed' according to the App Store. So I will download it at work and bring it here on an USB stick. Hopefully this resolves these issues. Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Lion Xcode 3.2.6
On Wednesday, July 20, 2011 11:45:58 PM Terry Vogelaar wrote: I wanted to upgrade yesterday, but I couldn't, because it is 'Already installed' according to the App Store. Not to make light of the problems you personally are having, Terry, but would this be the same we provide a seamless path to software installation and upgrade, for the ultimate user experience Apple App Store that so many people are so excited about? Lordy! Warren ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: age calculation on Windows vs Mac
Bob, I'm glad you like InfoWallet. Thanks for the kind words. This code originally came from this awesome list. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jul 20, 2011, at 9:21 AM, Bob Sneidar wrote: I purchased Infowallet, (it's awesome) and so feel it's alright to scavenge your bit of code. :-) Bob On Jul 19, 2011, at 4:24 PM, Bill Vlahos wrote: The problem is the epoch date in Windows is 1970 and LiveCode can't deal with dates earlier than that in Windows. You will need to use a VBScript. Here is what I use in InfoWallet which handles Windows, Mac, and Linux correctly which was based on code provided by folks on this list. on calcAge tDate,asOf -- returns the current age based on a DOB of tDate -- as of the date asOf, or if asOf = empty, as of today if tDate = empty then return empty if the platform is WIn32 then isADate tDate if the result then put sdate = quote tDate quote into vFive put return result = DateDiff( quote d quote ,sdate,Date) after vFive put return trueage = result / 365 after vFive put return result = Left(trueage,2) after vFive do vFive as vbscript return the result else return empty end if else if tDate is not a date then return empty if asOf = empty then put the date into asOf end if set the itemdelimiter to / put item -1 of the short date into nowYr set the centurycutoff to nowYr+1 set the itemdelimiter to comma convert tDate to dateItems convert asOf to dateitems put item 1 of asOf - item 1 of tDate - 1 into tAge put item 1 of asOf into item 1 of tDate convert tDate to seconds convert asOf to seconds if tDate = asOf then add 1 to tAge return tAge end if end calcAge Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Jul 19, 2011, at 9:23 AM, André Bisseret wrote: Bonjour, I am a Mac user but I recently bought a PC (windows 7) in order to test my standalones for windows more quickly. I am fighting for hours now with the following problem : In an app., I have a handler that calculates the age from the short birth date (thanks to Jim Ault who gave it on the list). The birth date is jj/mm/ or jj/mm/AA as well. This handler works fine on Mac, but not on windows. On windows, the age is invariably 100 if the birth year 1970. (with JJ/MM/AA or JJ/MM/ (as bad ;-( If the birth year = 1970 then the age is correct. I tried to play with the centuryCutOff but without any success (on windows). I am not familiar with Windows : what am I missing ? Is it a matter of computer setting or should I program differently for windows than for mac !? Thanks a lot in advance for any help Best regards from Grenoble André P.S. By the way, I used to use a search engine (if I well remember, it was in the help menu of livecode) I do not find it any more; has it been suppressed ? (or here again, I am missing something !) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode