Re: Why him does not use a natural language for programming?
The one that always makes me have to think twice is if the visible of field X is true then Why not: if field X is visible then I usually start out by writing the latter and then remember it has to be the former... On 24 Feb 2012, at 07:47, Jerry Jensen wrote: I think pseudo-natural language is as goofy as any other. What you expect when you type into the msg box: put me into it; put it How about: get me; put it At least that one is a bit reassuring... ?? ___ 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 -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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: Why him does not use a natural language for programming?
...indeed - gets me every time - why not 'the visibility of...' as a pseudonym Non-ambiguous syntax can still be made to seem a tad more naturalistic if the correct usage is grammatically correct. Best, Keith.. On 24 Feb 2012, at 08:19, Phil Jimmieson wrote: The one that always makes me have to think twice is if the visible of field X is true then Why not: if field X is visible then I usually start out by writing the latter and then remember it has to be the former... On 24 Feb 2012, at 07:47, Jerry Jensen wrote: I think pseudo-natural language is as goofy as any other. What you expect when you type into the msg box: put me into it; put it How about: get me; put it At least that one is a bit reassuring... ?? ___ 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 -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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
A simple question about LiveCode and iOS
I am about to upgrade to 5 from my old 4.5.3 copy ;-) As I got an iPad 2, I wondered if I could script for my iPad... It appears that I have to go by the App Store, even if I want to create only for my iPad, unwilling to sell my production... I find that the yearly $99 payment to Apple is a high price tag, only to use a couple stacks ;- Is there a mean, besides jail-beaking my iPad??? Medard ___ 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: [OT] LC's Fields of the Future
No improvements with regard to RTL languages. No unicode that just works :-( -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 24 feb 2012, at 03:34, Kay C Lan wrote: This bit in the latest Rev Newsletter about where Fields are headed looks extremely promising. http://www.runrev.com/newsletter/february/issue129/newsletter1.php?a=NWS129 I'm mangling/butchering/faking/ignoring two or three similar features for quite a while now, so I look forward to a simpler and faster solution. ___ 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: A simple question about LiveCode and iOS
If you want to use Livecode, no. You may register as an Apple Developer for free, but that only allows you to run code on the simulator. If you want to put it on the iPad, even if only yours, you must give Apple $100. That said, if you're truly just writing scripts for yourself, you could check out an app called Codea, which lets you write programs in Lua, and run them on your own device, and *only* your own device. The downside, of course, being that you're not supposed to be able to get them off the device in any way. Obviously, jail-breaking your iPad gives you more flexibility...but then you're running a non-sanctioned version of the OS, which means you're waiting on someone else to provide a (non-supported) updated version of the software. Gotta love Apple. (It says so in the T's C's.) -Ken On 24/02/2012 11:47, Medard wrote: I am about to upgrade to 5 from my old 4.5.3 copy ;-) As I got an iPad 2, I wondered if I could script for my iPad... It appears that I have to go by the App Store, even if I want to create only for my iPad, unwilling to sell my production... I find that the yearly $99 payment to Apple is a high price tag, only to use a couple stacks ;- Is there a mean, besides jail-beaking my iPad??? ___ 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
What's the right way to do modules under iOS
Hi All, I'm building a large set of applications in LiveCode that work together. There's the initial login module, and once logged in you're given access to the modules that user is elligible for. The login module is working more or less the way I want, but the other modules are currently in development. Once I get the first one working, I'll be developing the second. I've noticed that trying the code on the iPad is taking longer and longer between code transefer and test steps. It's taking long enough for me to want a different approach. Ideally only downloading the code that changes, so I don't have to shuffle the assets back and forth time and again. There are two separate problems: 1) How does this translate into LiveCode semantics? 2) How does this translate into LiveCode semantics under iOS? For #1, I'm envisioning being able to download each module as a separate standalone, and open it as a substack from within the Login module. Is that the way it should work, or is there a better way? For #2, doesn't this technically count as downloading executable code under iOS, which would make it a no-no? What's the principle of IAP when it's adding new functionality? I read the IAP tutorial on runrev's site, and it wasn't discussed. I can imagine a few ways to deal with it: 1) cross fingers, hope for the best, and design the app so that when new functionality is purchased it's downloaded. (Not great, because the risk is high from Apple's capricious app management team). 2) Always have all the smarts in the main standalone, and have it dynamically download the assets for any purchased modules. When a new module is released, the whole standalone is updated with the code for all modules, just without assets. Then when the user has paid for a given module they can download the assets for that module. (Not great, as the codetransfertest cycle gets longer the more I code. 3) Give up completely, and have each module in a separate app. If the user wants to switch between apps, the user must login afresh each time (PITA for the user), or I need to have long-lived cookies for login (security nightmare). Also, does this mean that all assets are stored on my servers or can the assets for the IAP modules be stored on Apple's servers? What's the right way if I'm going to be releasing on iOS? Is there a tutorial for adding substacks via IAP yet? Thanks, -Ken ___ 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: What's the right way to do modules under iOS
Hi Ken, if I understand well, your idea is to have a main module that download other executable modules (/livecode stacks/) ... ... if this is correct ... look into App Store Review Guidelines : 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch other executable code will be rejected ... so ... be careful !!! Guglielmo On 24.02.2012 13:13, Ken Corey wrote: Hi All, I'm building a large set of applications in LiveCode that work together. There's the initial login module, and once logged in you're given access to the modules that user is elligible for. The login module is working more or less the way I want, but the other modules are currently in development. Once I get the first one working, I'll be developing the second. I've noticed that trying the code on the iPad is taking longer and longer between code transefer and test steps. It's taking long enough for me to want a different approach. Ideally only downloading the code that changes, so I don't have to shuffle the assets back and forth time and again. There are two separate problems: 1) How does this translate into LiveCode semantics? 2) How does this translate into LiveCode semantics under iOS? For #1, I'm envisioning being able to download each module as a separate standalone, and open it as a substack from within the Login module. Is that the way it should work, or is there a better way? For #2, doesn't this technically count as downloading executable code under iOS, which would make it a no-no? What's the principle of IAP when it's adding new functionality? I read the IAP tutorial on runrev's site, and it wasn't discussed. I can imagine a few ways to deal with it: 1) cross fingers, hope for the best, and design the app so that when new functionality is purchased it's downloaded. (Not great, because the risk is high from Apple's capricious app management team). 2) Always have all the smarts in the main standalone, and have it dynamically download the assets for any purchased modules. When a new module is released, the whole standalone is updated with the code for all modules, just without assets. Then when the user has paid for a given module they can download the assets for that module. (Not great, as the codetransfertest cycle gets longer the more I code. 3) Give up completely, and have each module in a separate app. If the user wants to switch between apps, the user must login afresh each time (PITA for the user), or I need to have long-lived cookies for login (security nightmare). Also, does this mean that all assets are stored on my servers or can the assets for the IAP modules be stored on Apple's servers? What's the right way if I'm going to be releasing on iOS? Is there a tutorial for adding substacks via IAP yet? Thanks, -Ken ___ 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: A simple question about LiveCode and iOS
Ken Corey k...@kencorey.com wrote: Gotta love Apple. (It says so in the T's C's.) You said it ;- ___ 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: [OT] LC's Fields of the Future
Mark Schonewille wrote: On 24 feb 2012, at 03:34, Kay C Lan wrote: This bit in the latest Rev Newsletter about where Fields are headed looks extremely promising. http://www.runrev.com/newsletter/february/issue129/newsletter1.php?a=NWS129 I'm mangling/butchering/faking/ignoring two or three similar features for quite a while now, so I look forward to a simpler and faster solution. No improvements with regard to RTL languages. No unicode that just works :-( There's always a way to turn progress into a downer. ;) True, and there are many other requests in the RQCC that aren't completed in 5.5 as well. I'd like to see all of them included, but I don't think it's realistic to expect them all in one release. The 5.5 field revisions represent the single biggest leap forward for the field object we've seen yet. In many ways, this new architecture paves the way for other enhancements, like RTL, Unicode, independent column alignment, and others. But even if its 5.5 form may seem modest, it's really quite substantial in so many ways that will have a very positive impact on hundreds of projects. Kay's mention of workarounds mirrors my own experience in many ways, esp. with the need to embed arbitrary metadata in text runs. That alone would have me singing from the rooftops, but when we add paragraph-level formatting, independent style attributes, and the mind-bendingly flexible array access to field structures, this is a very exciting step forward for a great many developers. With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides -- 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: [OT] LC's Fields of the Future
Richard, The point is that all those extra features make very little sense as long as unicode doesn't just work, like it does in RealStudio. LiveCode really is very much behind the competition in this regard. It is impossible to make a decent word processor, since word processors must be fully compatible with unicode and RTL languages these days. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 24 feb 2012, at 15:36, Richard Gaskin wrote: There's always a way to turn progress into a downer. ;) True, and there are many other requests in the RQCC that aren't completed in 5.5 as well. I'd like to see all of them included, but I don't think it's realistic to expect them all in one release. The 5.5 field revisions represent the single biggest leap forward for the field object we've seen yet. In many ways, this new architecture paves the way for other enhancements, like RTL, Unicode, independent column alignment, and others. But even if its 5.5 form may seem modest, it's really quite substantial in so many ways that will have a very positive impact on hundreds of projects. Kay's mention of workarounds mirrors my own experience in many ways, esp. with the need to embed arbitrary metadata in text runs. That alone would have me singing from the rooftops, but when we add paragraph-level formatting, independent style attributes, and the mind-bendingly flexible array access to field structures, this is a very exciting step forward for a great many developers. With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides ___ 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: A simple question about LiveCode and iOS
If the overall goal is to be able to use your own stack on your iPad, another option would be to remote control your computer screen. If you use either Desktop Connect, or Remotix, it's amazing how well you can operate any applications on your computer. Remotix is far better than Desktop Connect for local use, but Desktop Connect can control your computer from across the world. ___ 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: [OT] LC's Fields of the Future
On 24.02.2012 at 13:03 Uhr +0100 Mark Schonewille apparently wrote: No improvements with regard to RTL languages. No unicode that just works :-( -- Best regards, Mark Schonewille Not yet, but this introduces a number of long requested and needed features and at least all the new features are unicode-aware. Robert ___ 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: [OT] LC's Fields of the Future
So... then we will be able to use these new features to their full capacitiies when unicode gets finally implemented correctly. I agree, that could be nice... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 24 feb 2012, at 15:44, Robert Brenstein wrote: Not yet, but this introduces a number of long requested and needed features and at least all the new features are unicode-aware. Robert ___ 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: [OT] LC's Fields of the Future
Hi Richard, Yes, LiveCode has features that RealStudio doesn't have, but I was talking about full unicode compliance only. I do have a license for RealStudio and like it a lot, but I still use LiveCode for many projects. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 24 feb 2012, at 16:06, Richard Gaskin wrote: They may not make sense to you, but they make sense to others. Yes, RealBASIC has features that LiveCode doesn't and vice versa. So it goes - if all RAD tools were the same there would be no need for more than one of them. I share your interest in seeing Unicode enhanced, esp. with regard to the semetic and other languages that use RTL. I understand RunRev shares this interest too and is actively working on it, but given how deeply RTL affects so many aspects of interaction and underlying data structures it's not surprising that those relatively few languages will take some additional time to support. In the meantime, while your needs may differ there are a good many of us who find tremendous value for a great many projects with the new field enhancements. If you prefer RealBASIC you can obtain a license here: http://www.realsoftware.com/ -- 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: A simple question about LiveCode and iOS
On Fri, Feb 24, 2012 at 9:58 AM, Colin Holgate wrote: If the overall goal is to be able to use your own stack on your iPad, another option would be to remote control your computer screen. If you use either Desktop Connect, or Remotix, it's amazing how well you can operate any applications on your computer. Remotix is far better than Desktop Connect for local use, but Desktop Connect can control your computer from across the world. Even remote access has its issues (mostly caused by Apple restrictions). When I need to use a computer via remote, I still want that desktop experience, with a real keyboard and mouse. Bluetooth is great for this, however Apple refused to allow a mouse to display an on-screen pointer (Aaaarrg!). It's not a technical impossibility, because a jailbroken/rooted iPad CAN do it. Sure, they want you to touch the screen because that is their idea of perfection, but sometimes I just want to use it old-school style. ~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: [OT] LC's Fields of the Future
On 24/02/2012 14:36, Richard Gaskin wrote: With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides A word processor!?!?! Aren't we straying a little far from the right-tool-for-the-job territory here? Especially with something with such religious overtones. I can't image anyone is ever going to make an editor that is cross platform and yet keeps the majority of people happy. Of course, if you accomplish it, world peace might seem simple...:^) -Ken ___ 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: [OT] LC's Fields of the Future
On Fri, Feb 24, 2012 at 10:31 AM, Ken Corey wrote: On 24/02/2012 14:36, Richard Gaskin wrote: With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides A word processor!?!?! Aren't we straying a little far from the right-tool-for-the-job territory here? -Ken The right tool for the job is subjective. I use LiveCode for everything I build. Perhaps replacing MS Word for everyone in the world be a bold challenge, but many people would opt for simplicity. An RTF based editor is still a word processor, and would definitely meet all of my text communications requirements. P.S. I hate MS Word. Feature overload. ~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: A simple question about LiveCode and iOS
The apps I referred to do show you the cursor, it's literally you looking at your computer screen, only using touch to operate things. I'm sending this message using Mail on my MacBook Air, but I'm typing on my iPad screen, using Remotix. ___ 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: [OT] LC's Fields of the Future
Ken Corey wrote: On 24/02/2012 14:36, Richard Gaskin wrote: With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides A word processor!?!?! Aren't we straying a little far from the right-tool-for-the-job territory here? Especially with something with such religious overtones. I can't image anyone is ever going to make an editor that is cross platform and yet keeps the majority of people happy. Of course, if you accomplish it, world peace might seem simple...:^) For many reasons, mostly market dominance of MS Word and OpenOffice, it would be foolish to make a word processor as a standalone product. With most projects of such ambitious scope, feature-completeness is largely a function of industrial capacity; that is, to make something as complete as OpenOffice will likely require the million or so programmer hours that went into making OpenOffice. RAD tools aren't well suited for those kinds of apps, which is why almost none of us make things like that and why none of those apps use RAD tools, instead accepting the tradeoffs of using lower-level languages to gain more control. But where RAD tools shine is in vertical-market opportunities, the millions of niches we LiveCoders do address, many of which have yet to be discovered. In such niche applications there may be a need for an embedded word processor, a way for the user to write and format styled text. This won't be a replacement for Word or OO, but instead is an integrated part of an app that serves a different, more specialized workflow. Similarly, many of us have built custom drawing environments in xTalks, and while none of these attempt to rival Adobe Illustrator, Visio, or even Inkscape, they're very useful for the goals they address. Here are two examples: Mark Schonewille's Strõm Flow Chart Software http://www3.economy-x-talk.com/file.php?node=str%259Bm Ken Ray's Stykz: http://www.stykz.net/ Just as those developers have used LC's graphics capabilities to deliver valuable tools for their users, the new field enhancements open up new possibilities for working with text as 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
Re: [OT] LC's Fields of the Future
Roger Eller wrote: The right tool for the job is subjective. I use LiveCode for everything I build. Perhaps replacing MS Word for everyone in the world be a bold challenge, but many people would opt for simplicity. An RTF based editor is still a word processor, and would definitely meet all of my text communications requirements. P.S. I hate MS Word. Feature overload. Well said. There's a recent thread in the Ubuntu forums about the need for a simpler writing environment than Open Office provides. OO has tons of great features, but sometimes less is more. The writing apps on this page have gotten a surprising amount of traction and press, legitimizing the notion that there are opportunities in having fewer features than we find in office suites: http://mac.appstorm.net/roundups/productivity-roundups/6-minimal-full-screen-writing-apps-for-mac/ -- 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: A simple question about LiveCode and iOS
On Fri, Feb 24, 2012 at 10:43 AM, Colin Holgate wrote: The apps I referred to do show you the cursor, it's literally you looking at your computer screen, only using touch to operate things. I'm sending this message using Mail on my MacBook Air, but I'm typing on my iPad screen, using Remotix. I am sure those apps are great. I've used similar apps, but sometimes, I don't want to ise a touch interface at all. So, to clarify my main gripe: When you remotely access a computer, and have available to you, a bluetooth keyboard and a bluetooth mouse, you can only use the keyboard. The mouse will not control the remote cursor. It will only highlight app icons and launch them at the iOS level. I want full mouse functionality like in this video (but without jailbreaking). http://www.youtube.com/watch?v=L2JHA3gPHjA ~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: Cheap Android Tablet
Hi All, Does exists a website that review Android devices from a developer standpoint, not from the consumer's point of view? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cheap-Android-Tablet-tp3808843p4417676.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: [OT] LC's Fields of the Future
On 24.02.2012 at 16:07 Uhr +0100 Mark Schonewille apparently wrote: So... then we will be able to use these new features to their full capacitiies when unicode gets finally implemented correctly. I agree, that could be nice... -- Best regards, Mark Schonewille Unicode is not required to use them and plenty of people will find them handy even without full unicode support. I can understand your disappointment, and I am sure anybody else's requiring full unicode support (I'd love to have it myself), but there is large enough crowd that gets by without full unicode for now and those improvements is a major leap for the text field. Robert ___ 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: A simple question about LiveCode and iOS
Colin Holgate co...@verizon.net wrote: If the overall goal is to be able to use your own stack on your iPad Thanks -- but the goal is to use a stack on the iPad, away from home ;-) Nonetheless, thank you for the pitch :-) I took a look at Codeo/Lua: seems interesting! Sigh... How about a light LiveCode.app running on iPad iOS? Saw also this: http://www.youtube.com/watch?v=kJ9ctI8UBLAfeature=related A clever use of Dropbox plus a remote app doing the work... ___ 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: Anomoly when storing empty values into SQLite integer fields
For basic things, using SQL to check for consistency is acceptable I suppose. But how would you use SQL to verify a phone number was properly formatted based upon whether or not it was international? How about a valid zip code depending on the country? How about a reservation, making sure it doesn't fall within the date and time range of another reservation for the same room? Given these examples, I don't think it can be said that all validations should happen in SQL, and if I am doing SOME in the application, my own feeling is that I may as well do them all and be sure all is well before the insert/update happens. Also, all doing the updates myself gives me control over which validations to apply to my data, and I have a validation system where I can turn things on and off for each field/column. I would have to modify the schema to do the same thing in SQL, even if I could do all validating there. Bob On Feb 23, 2012, at 6:35 PM, Pete wrote: Yes, some people do rely on a db's data checks to flag errors, and wise people they are. That's where data checks belong, not in your application code. Why duplicate the work the db already does for you? It probably does it more efficiently and most of the time it's easier to define. ___ 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: Why him does not use a natural language for programming?
On Feb 24, 2012, at 12:34 AM, Mark Wieder wrote: Jacque- Thursday, February 23, 2012, 7:20:40 PM, you wrote: set foreColor of fld myField to blue I'll double down on your rant. rant Since when is fld easier to read than field? You save typing two vowels and end up with a thing that's not a word in any language I know of. Same thing with btn, etc. That's a step away from either English-like or natural language processing - your brain has to do a cognitive dance from the vowelless thing (shades of H.P. Lovecraft) to a real word, and then can continue with the rest of the phrase to make sense of the statement. /rant I dnt knw wht yr tlkng abt. Sms prfctly ntrl to me. :) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Why him does not use a natural language for programming?
God save us from that. I think this underscores why the A in AI is a misnomer. The Intelligence behind how any computer behaves will always be a person, deciding what things a computer can do in response to input and when. That Intelligence is anything but artificial. Bob On Feb 23, 2012, at 6:23 PM, Kay C Lan wrote: Then again, I guess that might be the key to true AI, to introduce ambiguity into the mix, so when you turn on a computer it might let you check your emails or it might sulk because you haven't used it for a while. ___ 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: Why him does not use a natural language for programming?
Aye but he wanted shorthand. I always use THE where I can, even when referring to cursors :-). I even put it before most variables because into theFgColor is more readable to me. Bob On Feb 23, 2012, at 7:20 PM, J. Landman Gay wrote: On 2/23/12 6:46 PM, Bob Sneidar wrote: set foreColor of fld myField to blue I'm hijacking this thread to complain about my pet peeve. The above syntax makes me crazy. Lots and lots and lots (and maybe more) well established developers use it, it works, there's nothing wrong with it, it's fine. But the missing the makes me stumble every time I read a line like that. I think it bothers a certain engineer too because he once threatened to make the engine refuse to compile scripts if the the was missing. Fortunately he didn't follow through. It is inconsistent to allow omission of the for engine properties but require it for our own. Enforcing consistent use of the would help new LiveCoders avoid pitfalls. And as long as we're talking about natural language, the belongs in there. /rant Now that all that is over with, I'll confess that I simply cannot write set the cursor to... because it looks strange to me. I have to write set cursor to... But that's the only one. So I suggest the engine enforce all thes except for the single exception when referring to cursors. :P -- 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: Why him does not use a natural language for programming?
This takes us back to what I originally said, that writing compact code is at odds with the goals of Hypertext based languages. Language-like code has things like pronouns, determiners, prepositions etc. It is by nature verbose. If we had to write everything including the engine and the event management, write our own C or Java code to build fields, buttons, menus, windows etc, using the LC language, we would never get started. Too much typing. Bob On Feb 23, 2012, at 11:34 PM, Mark Wieder wrote: Jacque- Thursday, February 23, 2012, 7:20:40 PM, you wrote: set foreColor of fld myField to blue I'll double down on your rant. rant Since when is fld easier to read than field? You save typing two vowels and end up with a thing that's not a word in any language I know of. Same thing with btn, etc. That's a step away from either English-like or natural language processing - your brain has to do a cognitive dance from the vowelless thing (shades of H.P. Lovecraft) to a real word, and then can continue with the rest of the phrase to make sense of the statement. /rant -- -Mark Wieder mwie...@ahsoftware.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 ___ 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: Why him does not use a natural language for programming?
Bob- Friday, February 24, 2012, 8:23:47 AM, you wrote: I even put it before most variables because into theFgColor is more readable to me. I was with you up to that point. I find that using the the prefix is more error-prone that the shorthand form of t even though it's less immediately recognizable as readable language. With your example there probably wouldn't be a problem, but if you had said theForeColor you would run the risk of slipping up and typing the ForeColor somewhere in the script. There wouldn't be any compiler error, but your script wouldn't do what you expect and you'd have a merry time figuring out what was going on there. -- -Mark Wieder mwie...@ahsoftware.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: [OT] LC's Fields of the Future
LiveCode is for verticals, of which there are many to which it is greatly suited. The new field features support those and there is a much more flexibility in there now, not least the textChanged message allowing a great deal of custom control. However we would not recommend it for developing the next Word. There may not be full Unicode in 5.5 but we have made *significant* progress with the addition of Unicode chunks in fields and decoupling of the language from text font and styles. Those using Unicode are going to find it a whole lot easier. Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ LiveCode: Unleash Your Killer App On 24/02/2012 15:31, Ken Corey k...@kencorey.com wrote: On 24/02/2012 14:36, Richard Gaskin wrote: With 5.5 it's now possible to make a decent word processor, and a few hundred other things besides A word processor!?!?! Aren't we straying a little far from the right-tool-for-the-job territory here? Especially with something with such religious overtones. I can't image anyone is ever going to make an editor that is cross platform and yet keeps the majority of people happy. Of course, if you accomplish it, world peace might seem simple...:^) -Ken ___ 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: Why him does not use a natural language for programming?
Because a statement has to be true or not in order to proceed. This is the very point the instructor in the video was making about the ambiguity of natural languages and their inability to be properly implemented in a development language. Do you mean the field object itself, or do you mean the text in the field after you hit a bunch of non printing characters? Bob On Feb 24, 2012, at 12:19 AM, Phil Jimmieson wrote: The one that always makes me have to think twice is if the visible of field X is true then Why not: if field X is visible then I usually start out by writing the latter and then remember it has to be the former... On 24 Feb 2012, at 07:47, Jerry Jensen wrote: I think pseudo-natural language is as goofy as any other. What you expect when you type into the msg box: put me into it; put it How about: get me; put it At least that one is a bit reassuring... ?? ___ 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 -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ 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: [OT] LC's Fields of the Future
Kevin, Unicode chunks will definitely be useful. I'll have to test this feature, but if it works then it might be worth the €99 for a license update. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 24 feb 2012, at 17:36, Kevin Miller wrote: LiveCode is for verticals, of which there are many to which it is greatly suited. The new field features support those and there is a much more flexibility in there now, not least the textChanged message allowing a great deal of custom control. However we would not recommend it for developing the next Word. There may not be full Unicode in 5.5 but we have made *significant* progress with the addition of Unicode chunks in fields and decoupling of the language from text font and styles. Those using Unicode are going to find it a whole lot easier. Kind regards, Kevin ___ 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: [OT] LC's Fields of the Future
I long ago gave up using MsWord and, more recently, Open Office. Google Docs is my first choice for WP needs (and spreadsheets, presentations). I can see a lot of use for the new features, not in producing a full blown word processor, but definitely in embedding wp-like functionality where needed within an app. Pete On Fri, Feb 24, 2012 at 7:59 AM, Richard Gaskin ambassa...@fourthworld.comwrote: Roger Eller wrote: The right tool for the job is subjective. I use LiveCode for everything I build. Perhaps replacing MS Word for everyone in the world be a bold challenge, but many people would opt for simplicity. An RTF based editor is still a word processor, and would definitely meet all of my text communications requirements. P.S. I hate MS Word. Feature overload. Well said. There's a recent thread in the Ubuntu forums about the need for a simpler writing environment than Open Office provides. OO has tons of great features, but sometimes less is more. The writing apps on this page have gotten a surprising amount of traction and press, legitimizing the notion that there are opportunities in having fewer features than we find in office suites: http://mac.appstorm.net/**roundups/productivity-** roundups/6-minimal-full-**screen-writing-apps-for-mac/http://mac.appstorm.net/roundups/productivity-roundups/6-minimal-full-screen-writing-apps-for-mac/ -- 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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Why him does not use a natural language for programming?
Try looking at the younger generation's text messages some time! On Fri, Feb 24, 2012 at 8:16 AM, Devin Asay devin_a...@byu.edu wrote: On Feb 24, 2012, at 12:34 AM, Mark Wieder wrote: Jacque- Thursday, February 23, 2012, 7:20:40 PM, you wrote: set foreColor of fld myField to blue I'll double down on your rant. rant Since when is fld easier to read than field? You save typing two vowels and end up with a thing that's not a word in any language I know of. Same thing with btn, etc. That's a step away from either English-like or natural language processing - your brain has to do a cognitive dance from the vowelless thing (shades of H.P. Lovecraft) to a real word, and then can continue with the rest of the phrase to make sense of the statement. /rant I dnt knw wht yr tlkng abt. Sms prfctly ntrl to me. :) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Why him does not use a natural language for programming?
Point taken, but I think you are mistaken on one point. You cannot put anything into a property, you can only set a property. put the foreColor of me into the FgColor will cause the compiler to come to a screeching halt, as will set the foreColor to the fgColor, because I haven't supplied the object argument to the fgColor. But you are right in saying that it is easy to slip up and insert that space. I have trained my monkey brain to avoid that for the most part. Bob On Feb 24, 2012, at 8:30 AM, Mark Wieder wrote: Bob- Friday, February 24, 2012, 8:23:47 AM, you wrote: I even put it before most variables because into theFgColor is more readable to me. I was with you up to that point. I find that using the the prefix is more error-prone that the shorthand form of t even though it's less immediately recognizable as readable language. With your example there probably wouldn't be a problem, but if you had said theForeColor you would run the risk of slipping up and typing the ForeColor somewhere in the script. There wouldn't be any compiler error, but your script wouldn't do what you expect and you'd have a merry time figuring out what was going on there. -- -Mark Wieder mwie...@ahsoftware.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 ___ 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: A simple question about LiveCode and iOS
Wait didn't Jacque come up with a way to do this? Bob On Feb 24, 2012, at 4:06 AM, Ken Corey wrote: If you want to use Livecode, no. You may register as an Apple Developer for free, but that only allows you to run code on the simulator. If you want to put it on the iPad, even if only yours, you must give Apple $100. That said, if you're truly just writing scripts for yourself, you could check out an app called Codea, which lets you write programs in Lua, and run them on your own device, and *only* your own device. The downside, of course, being that you're not supposed to be able to get them off the device in any way. Obviously, jail-breaking your iPad gives you more flexibility...but then you're running a non-sanctioned version of the OS, which means you're waiting on someone else to provide a (non-supported) updated version of the software. Gotta love Apple. (It says so in the T's C's.) -Ken On 24/02/2012 11:47, Medard wrote: I am about to upgrade to 5 from my old 4.5.3 copy ;-) As I got an iPad 2, I wondered if I could script for my iPad... It appears that I have to go by the App Store, even if I want to create only for my iPad, unwilling to sell my production... I find that the yearly $99 payment to Apple is a high price tag, only to use a couple stacks ;- Is there a mean, besides jail-beaking my iPad??? ___ 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: copy-paste and Japanese text
Perhaps the data is put onto the clipboard in multiple styles. Perhaps the different applications look at different styles in different orders. The LiveCode clipboardData property might be useful in seeing what is actually put on the clipboard in a copy. If need be, you can use that to control your copy-to-clipboard. Dar Scott On Feb 23, 2012, at 9:13 PM, Nicolas Cueto wrote: Hello All, I have a standalone that spits out some tab-delimited Japanese text into a field. If I copy-paste that text into Microsoft Wordpad, no problems. But if I copy-paste into Notepad, the Japanese text will appear as expected but the tabs are replaced by an underscore char. What might be the explanation? Is there a way around it in my stack? Thanks. -- Nicolas Cueto ___ 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: Why him does not use a natural language for programming?
Excellent answer...very funny...made my day! jim schaubeck 714.321.4499 From: Devin Asay devin_a...@byu.edu To: How to use LiveCode use-livecode@lists.runrev.com Sent: Friday, February 24, 2012 8:16 AM Subject: Re: Why him does not use a natural language for programming? On Feb 24, 2012, at 12:34 AM, Mark Wieder wrote: Jacque- Thursday, February 23, 2012, 7:20:40 PM, you wrote: set foreColor of fld myField to blue I'll double down on your rant. rant Since when is fld easier to read than field? You save typing two vowels and end up with a thing that's not a word in any language I know of. Same thing with btn, etc. That's a step away from either English-like or natural language processing - your brain has to do a cognitive dance from the vowelless thing (shades of H.P. Lovecraft) to a real word, and then can continue with the rest of the phrase to make sense of the statement. /rant I dnt knw wht yr tlkng abt. Sms prfctly ntrl to me. :) Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: [OT] LC's Fields of the Future
On Fri, Feb 24, 2012 at 1:52 PM, Richard Gaskin ambassa...@fourthworld.comwrote: In such niche applications there may be a need for an embedded word processor, a way for the user to write and format styled text. This won't be a replacement for Word or OO, but instead is an integrated part of an app that serves a different, more specialized workflow. With the new features someone can make a dropable (droptools enabled) rich text editing group that is composed of a minimal toolbar and a multiline field. There are many places where this is useful. -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Cheap Android Tablet
Scott, I think that archos offers some iPod Touch like devices with Android. I checked their side and there are offerings from 2.8'' to 10'', you should be able to pick some resolution that you want. Since you mentioned the touchPad, I got one and I will never trade it for Android or iOS... but that is just me and my love for wonderful and dead technologies. Cheers andre On Fri, Feb 24, 2012 at 2:02 PM, Alejandro Tejada capellan2...@gmail.comwrote: Hi All, Does exists a website that review Android devices from a developer standpoint, not from the consumer's point of view? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cheap-Android-Tablet-tp3808843p4417676.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. http://fon.nu -- minimalist url shortening service. ___ 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: What's the right way to do modules under iOS
On 2/24/12 6:13 AM, Ken Corey wrote: For #1, I'm envisioning being able to download each module as a separate standalone, and open it as a substack from within the Login module. Is that the way it should work, or is there a better way? Well, you can't open standalones as substacks. The way to do this is to use the splash screen approach, where your mainstack is a compiled app and any modules you want to add are just stacks. The mainstack opens the document stacks with go to stack. The mainstack can (and should) contain all the common code that the document stacks need. The stack script is put in use automatically in a standalone so its scripts will be available globally to all open stacks. With this approach you only need to swap in the new stacks and the standalone can remain unchanged. For #2, doesn't this technically count as downloading executable code under iOS, which would make it a no-no? What's the principle of IAP when it's adding new functionality? I read the IAP tutorial on runrev's site, and it wasn't discussed. I think this would be a concern, but I don't know what Apple would say. I suppose it depends on what your modules do, but I'm not sure if Apple looks at add-ons based on behaviors, or whether they just reject anything scripted automatically. If your main compiled standalone can contain all the active code and your document stacks have almost no scripts at all, then maybe they'd accept it. I think this is something we'd all like to know. -- 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: Why him does not use a natural language for programming?
Bob Sneidar bobs@... writes: Point taken, but I think you are mistaken on one point. You cannot put anything into a property Yes, a more appropriate (and real-world) example would have been put theVersion into tVar vs put the Version into tVar I have trained my monkey brain to avoid that for the most part. Ahh. I want to sit at your feet and absorb those lessons. ...Those are not the spaces you want to insert... -- Mark Wieder ___ 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: A simple question about LiveCode and iOS
On 2/24/12 10:54 AM, Bob Sneidar wrote: Wait didn't Jacque come up with a way to do this? No. I came up with an easy way to move apps to a device from within LiveCode. But iOS will not allow uncertified apps to run, and because of that, LiveCode itself won't even compile an iOS standalone without a valid certificate. So you won't get very far without a developer account. LiveCode needs that certificate before you can even build. -- 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: Cheap Android Tablet
Hi Al, If you're searching for one to test your apps on, I would recommend either the Kindle Fire or the Nook Tablet. Both are $200 and provide good performance and full Android support (except phone stuff). From an off-brand point of view, EvoMax offers their 10.2 for $139, but it's resistive touch, so the experience will be a little less than spectacular. HTH, Tim On Feb 24, 2012, at 9:02 AM, Alejandro Tejada wrote: Hi All, Does exists a website that review Android devices from a developer standpoint, not from the consumer's point of view? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cheap-Android-Tablet-tp3808843p4417676.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 ___ 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 drop file on standalone, process, and quit
On 2/23/12 10:55 PM, ilsa wrote: Hi: Thanks. I was trying the below in my stack script, which I got from a Jacquie message on the list: global gFP on appleEvent pClass, pID if pClass is aevt and pID is odoc then -- the file path is in the appleEvent data request appleEvent data put it into gFP -- open the file here put gFP into field gFP of card 1 else pass appleEvent end if end appleEvent But the standalone I build doesn't respond, and the field doesn't get populated. I don't remember posting that, but I could have, it's a common handler that is used by a lot of people. I don't think you need the global variable though. The handler should work, you should see a file path appear in the field named gFP when you drop a file onto the app icon in the Dock or in the Finder. (It won't work if you are dropping files onto the open stack window.) You could add a temporary answer dialog to the else clause that would tell you if the event is being passed instead of handled. Or add an answer dialog before the if to see if the handler is running at all. -- 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
Stray Puts
Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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: Stray Puts
Bob, I think that Chipp had an altPlugin that would look everywhere on a stack and find those puts... =) On Fri, Feb 24, 2012 at 4:49 PM, Bob Sneidar b...@twft.com wrote: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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 -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Stray Puts
Cool! What about 'put something after message'? I sometimes make a long comment like '-- - !' after such lines. Sometimes, I make a command to log values that can be changed to output to the message box, stdout, the console, a file or a field and then comment out that body when I don't want to take time to find the 'log' line, or want to leave it in. And the name of the hander can be something easy to search for. Dar On Feb 24, 2012, at 11:49 AM, Bob Sneidar wrote: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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 ___ 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: Stray Puts
I've gotten in the habit of doing this: --TEST: put blah blah blah Then I can just do a search for --TEST and find the put and delete it. Not very high-tech, but it works for me. Marty K Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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: Stray Puts
In a word - YES. I'll give this a try - thanks ;) Sent from my iPhone On 24 Feb 2012, at 18:49, Bob Sneidar b...@twft.com wrote: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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 ___ 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: [OT] LC's Fields of the Future
There are many places where this is useful. Reporting for example. I bet Jan will love this :D Regarding Unicode. Live will get a lot easier with 5.5... A lot less jumping through hoops. The toughest part will be to remove the many (clockwise costy) workarounds. I think the future looks quite bright for the field object. I really like it. Cheers, 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: Stray Puts
Bob Sneidar bobs@... writes: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? Nice, but no, a while back I stopped putting put statements in and replaced them with put xyzzy cr after msg that way I just have to search for after msg. But your handler is very handy for those times when I have to look at someone else's code. And... er... you *are* aware that glx2 already has this in the Go menu, right? -- Mark Wieder ___ 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 drop file on standalone, process, and quit
Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre On Fri, Feb 24, 2012 at 4:24 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/23/12 10:55 PM, ilsa wrote: Hi: Thanks. I was trying the below in my stack script, which I got from a Jacquie message on the list: global gFP on appleEvent pClass, pID if pClass is aevt and pID is odoc then -- the file path is in the appleEvent data request appleEvent data put it into gFP -- open the file here put gFP into field gFP of card 1 else pass appleEvent end if end appleEvent But the standalone I build doesn't respond, and the field doesn't get populated. I don't remember posting that, but I could have, it's a common handler that is used by a lot of people. I don't think you need the global variable though. The handler should work, you should see a file path appear in the field named gFP when you drop a file onto the app icon in the Dock or in the Finder. (It won't work if you are dropping files onto the open stack window.) You could add a temporary answer dialog to the else clause that would tell you if the event is being passed instead of handled. Or add an answer dialog before the if to see if the handler is running at all. -- 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@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 drop file on standalone, process, and quit
On 2/24/12 1:44 PM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? I hadn't even thought of that. I bet you're right. I wonder if Automator will still ship with Mt Lion. -- 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: Mac drop file on standalone, process, and quit
Andre Garzia wrote: I think that AppleEvents are not authorized on the new Mac App Store rules right? I hope that any limitation with Apple events is limited to sending them; for many years apps have been required to receive and respond to the odoc event as the means of opening 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: Stray Puts
Good idea, Mark. But... Then you have to put 'put empty' at the top of the section tested. Easy to search for, though. Or clear the message box by hand. It would be nice to have a clear button on the message box. And a scroll bar. That way to you can accumulate several runs. You can put 'put empty' into the command line (or--I think--just 'empty' in earlier versions of LiveCode). (Oh, by the way, Mark, this old teletype programmer can never bring himself to use CR for the LiveCode newline.) Is GLX2 still available? I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. Dar On Feb 24, 2012, at 12:27 PM, Mark Wieder wrote: Bob Sneidar bobs@... writes: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? Nice, but no, a while back I stopped putting put statements in and replaced them with put xyzzy cr after msg that way I just have to search for after msg. But your handler is very handy for those times when I have to look at someone else's code. And... er... you *are* aware that glx2 already has this in the Go menu, right? -- Mark Wieder ___ 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: Stray Puts
I couldn't figure that one out for a Remo plugin I asked Jerry and he never responded. Thanks Bob! sqb On 24 February 2012 11:27, Mark Wieder mwie...@ahsoftware.net wrote: Bob Sneidar bobs@... writes: Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? Nice, but no, a while back I stopped putting put statements in and replaced them with put xyzzy cr after msg that way I just have to search for after msg. But your handler is very handy for those times when I have to look at someone else's code. And... er... you *are* aware that glx2 already has this in the Go menu, right? -- Mark Wieder ___ 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
Re: The Linux engine...
On 02/23/2012 11:20 AM, Malte Brill wrote: Thanks for the feedback so far guys. Andre: I also have that impression. Now, what can we do to get it up to speed? With Linux I am always unsure if I just forgot to install something that LC depends on. A simple example: Under UBUNTU an app of mine just looks like it should. No problem with the looks over there. However under OpenSuse, patterns just will not draw. No dice. I figured out so much that this is a GNOME (working) versus KDE (not working) thing. What really scares me is the exit on signal 11 issue. How does one debug that??? Pierre: I am happiely using LC Server. As long as there is no GUI involved, it really appears rock solid. Got a bit of a problem that there is no IBM system Z engine, however that is something I should have checked beforehand and indeed is rather exotic. Peter: Well, I could live with that (not for main development, but for deployment). Greatest concern is stability for larger scale applications. I miss Richard a little. He became some sort of a power Linux LC user recently, didn't he? Richard? Appreciate all penguins that care to chime in! 1. Running OK under MATE [Ubuntu 12.04 alpha] 1.1. Running OK under XFCE. 1.2. Running OK under GNOME 2 (Ubuntu 11.04), [SalineOS]. 1.3. Running OK under UNITY [Ubuntu 11.10]. 2. Linux PPC engine??? Does this really involve a lot of work on top of the Linux PC engine? I have inherited a slew of G3 iMacs that do a lot better with several Linux PPC distros than Mac OS anything; the only thing that stands in the way of my deploying them is the lack of a Linux PPC engine to rebuild standalones of my 75 app strong EFL family I use in my school. RunRev appear, always, to be targetting the high-end market; while claiming to offer something for the low-end and educational market (which, often enough, coincide). There are lakhs of mac PPCs out there using Linux PPC owing to licensing issues with Mac that are not being served by Livecode. 2.1. IBM system Z. I do think RunRev made a mistake dropping all the engines they used to offer; especially as there is a move away from the Windows/Macintosh duopoly to a more diverse universe. 3. Fonts under 'set the useUnicode to true' do not redraw so that they can be seen (GNOME, UNITY, MATE) [ 4.5 ] 4. Alcibiade's eyes: It's crap cross-platform, that the built-in documentation is made for people with 20-20 vision, and that there is not something like the CTRL + as per web-browsers that allows fonts to be resized. As someone who has only has spectacles for close-up (I'm long-sighted) for the last 18 months I appreciate Alcibiade's comments more than I did previously, and, as such, I owe him an apology. Praying daily for one of the RunRev team to get glasses . . . 5. KDE: really haven't tried that as the new KDE gives me the same creepy feeling, eye-candy-wise as Windows 7. Certainly RunRev need to take Linux a bit more seriously; and I find myself grinding my teeth a bit when I think of all the effort that they have put into development for mobile platforms at the expense of getting the Linux version up to spec. Richmond Mathewson. ___ 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: Stray Puts
On Fri, Feb 24, 2012 at 5:55 PM, Dar Scott d...@swcp.com wrote: Is GLX2 still available? https://bitbucket.org/mwieder/glx2/ Courtesy of Jerry and Mark =) -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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
Mobile - Can You Initiate A Call?
Maybe this was already asked before but can you initiate a phone call from LiveCode on mobile? Thanks 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: Mobile - Can You Initiate A Call?
For android you might try something like put tel: tPhoneNum into tUrl launch url tUrl (based on a web search, as well as the thread here.. http://forums.runrev.com/viewtopic.php?f=53t=10192hilit=make+a+call+mobile Don't know anything about IOS so ymmv. On Fri, Feb 24, 2012 at 1:44 PM, Scott Rossi sc...@tactilemedia.com wrote: Maybe this was already asked before but can you initiate a phone call from LiveCode on mobile? Thanks 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 ___ 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: Mobile - Can You Initiate A Call?
launch url tel: 555-555-1212 On Android a back button will get you back to your still running app. In iOS not so goodyour app is closed. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Scott Rossi Sent: Friday, February 24, 2012 3:45 PM To: LiveCode Mail List Subject: Mobile - Can You Initiate A Call? Maybe this was already asked before but can you initiate a phone call from LiveCode on mobile? Thanks 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 ___ 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: Mobile - Can You Initiate A Call?
On 2/24/12 2:44 PM, Scott Rossi wrote: Maybe this was already asked before but can you initiate a phone call from LiveCode on mobile? Use launch url with a tel: specifier. There's an example in the dictionary. -- 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: Stray Puts
On 2/24/12 1:55 PM, Dar Scott wrote: I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. I've started doing it the way someone else suggested. I use a handler: on log pMsg put pMsg end log Then in the scripts: LOG Message about script performance. When I want to stop logging, I just comment out the one-line body of the handler. If I really want to remove it all, I search for LOG (with space.) I don't know of any native LiveCode way to do it. -- 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: Stray Puts
Used the same technique in VB. Totally agree!! I add one option my logging routine. It opens up a file in the stack location named for the card that initiated the first logging request and it echoes the logging message with a time stamp. Very handy to see what happened and when after the fact. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, February 24, 2012 3:59 PM To: How to use LiveCode Subject: Re: Stray Puts On 2/24/12 1:55 PM, Dar Scott wrote: I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. I've started doing it the way someone else suggested. I use a handler: on log pMsg put pMsg end log Then in the scripts: LOG Message about script performance. When I want to stop logging, I just comment out the one-line body of the handler. If I really want to remove it all, I search for LOG (with space.) I don't know of any native LiveCode way to do it. -- 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: Stray Puts
Um... erm... yes well harumph why I DID know that. Bob On Feb 24, 2012, at 11:27 AM, Mark Wieder wrote: And... er... you *are* aware that glx2 already has this in the Go menu, right? -- Mark Wieder ___ 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: Stray Puts
Yup! It's open sourced (Thank you very much Jerry and Trevor!) and Mark Weider just updated it recently. Bob On Feb 24, 2012, at 11:55 AM, Dar Scott wrote: Is GLX2 still available? ___ 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 drop file on standalone, process, and quit
Well then screw the app store! I am starting to look sideways at Apple... Bob On Feb 24, 2012, at 11:44 AM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre ___ 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: Spell check for text fields
Seems under the Future Field modifications they are allowing the inline underlining of words I will be checking out this feature with interest. - -- Scott McDonald Components, Controls, Tools and Resources for LiveCode www.runrevplanet.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Spell-check-for-text-fields-tp4379716p4418672.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: Stray Puts
That may have been I who mentioned log. Don't forget the newline or tab in the log handler. The method also allows adding timestamps or delta seconds. Though I said log, I actually tend to use the word log for more permanent logging. The three letters can't be beat for shortness, though. Dar On Feb 24, 2012, at 1:58 PM, J. Landman Gay wrote: On 2/24/12 1:55 PM, Dar Scott wrote: I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. I've started doing it the way someone else suggested. I use a handler: on log pMsg put pMsg end log Then in the scripts: LOG Message about script performance. When I want to stop logging, I just comment out the one-line body of the handler. If I really want to remove it all, I search for LOG (with space.) I don't know of any native LiveCode way to do it. -- 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 --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: Stray Puts
Jacque, I use something like constant kDebug = true on log pText if kDebug is true then put pText end if end log The good thing is that if I want to change from debug to release, I just change the kDebug constant value and the puts are gone. Cheers andre On Fri, Feb 24, 2012 at 6:58 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/24/12 1:55 PM, Dar Scott wrote: I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. I've started doing it the way someone else suggested. I use a handler: on log pMsg put pMsg end log Then in the scripts: LOG Message about script performance. When I want to stop logging, I just comment out the one-line body of the handler. If I really want to remove it all, I search for LOG (with space.) I don't know of any native LiveCode way to do it. -- 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@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 drop file on standalone, process, and quit
On Fri, Feb 24, 2012 at 7:26 PM, Bob Sneidar b...@twft.com wrote: Well then screw the app store! I am starting to look sideways at Apple... There will be a day in the not so distant future when if you don't sell your software on mac apple store, the mac users will never discover it (unless you're doing vertical) Also the iCloud stuff only work for software from the Mac Apple Store. Bob On Feb 24, 2012, at 11:44 AM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre ___ 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. http://fon.nu -- minimalist url shortening service. ___ 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 drop file on standalone, process, and quit
I'll have to say negative to both of your assertions. There are a very broad number of applications that do not fit the model of the MAS and Apple knows this. As long as there are software stores, integration consultants, and non-home user customers, there will always be a normal channel for software. Also, you can add iCloud support to a non-MAS app. The only true limit is that it's only supported on 10.7.2+. Check the iCloud section at developer.apple.com Tim On Feb 24, 2012, at 2:43 PM, Andre Garzia wrote: On Fri, Feb 24, 2012 at 7:26 PM, Bob Sneidar b...@twft.com wrote: Well then screw the app store! I am starting to look sideways at Apple... There will be a day in the not so distant future when if you don't sell your software on mac apple store, the mac users will never discover it (unless you're doing vertical) Also the iCloud stuff only work for software from the Mac Apple Store. Bob On Feb 24, 2012, at 11:44 AM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre ___ 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. http://fon.nu -- minimalist url shortening service. ___ 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: Stray Puts
Is there any advantage of using a debug constant over commenting out the body of the log? And, to add to the confusion of output possibilities, if I want to minimize the time impact or have other constraints, I log to a variable and then do something with the variable. Dar On Feb 24, 2012, at 2:41 PM, Andre Garzia wrote: Jacque, I use something like constant kDebug = true on log pText if kDebug is true then put pText end if end log The good thing is that if I want to change from debug to release, I just change the kDebug constant value and the puts are gone. Cheers andre On Fri, Feb 24, 2012 at 6:58 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/24/12 1:55 PM, Dar Scott wrote: I suspect we are all doing this the wrong way. Maybe there are debugging features or compiler optimizations that allow for better ways to do this. I've started doing it the way someone else suggested. I use a handler: on log pMsg put pMsg end log Then in the scripts: LOG Message about script performance. When I want to stop logging, I just comment out the one-line body of the handler. If I really want to remove it all, I search for LOG (with space.) I don't know of any native LiveCode way to do it. -- 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode --- Dar Scott dba Dar Scott Consulting 8637 Horacio Place NE Albuquerque, NM 87111 Lab, home, office phone: +1 505 299 9497 For Skype and fax, please contact. d...@swcp.com Computer Programming and tinkering, often making LiveCode libraries and externals, sometimes writing associated microcontroller firmware. --- ___ 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: Why him does not use a natural language for programming?
I just want to point out that for an environment that emphasizes English-like phrases, they sure didn't bother to make there error messages fit that requirement. Just saying... :) On Fri, Feb 24, 2012 at 9:55 AM, Mark Wieder mwie...@ahsoftware.net wrote: Bob Sneidar bobs@... writes: Point taken, but I think you are mistaken on one point. You cannot put anything into a property Yes, a more appropriate (and real-world) example would have been put theVersion into tVar vs put the Version into tVar I have trained my monkey brain to avoid that for the most part. Ahh. I want to sit at your feet and absorb those lessons. ...Those are not the spaces you want to insert... -- Mark Wieder ___ 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 drop file on standalone, process, and quit
Thanks, but it still doesn't work. Do I have to enable dropability somewhere, or enter some special standalone settings? Thanks, ilsa On Fri, Feb 24, 2012 at 10:24 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 2/23/12 10:55 PM, ilsa wrote: Hi: Thanks. I was trying the below in my stack script, which I got from a Jacquie message on the list: global gFP on appleEvent pClass, pID if pClass is aevt and pID is odoc then -- the file path is in the appleEvent data request appleEvent data put it into gFP -- open the file here put gFP into field gFP of card 1 else pass appleEvent end if end appleEvent But the standalone I build doesn't respond, and the field doesn't get populated. I don't remember posting that, but I could have, it's a common handler that is used by a lot of people. I don't think you need the global variable though. The handler should work, you should see a file path appear in the field named gFP when you drop a file onto the app icon in the Dock or in the Finder. (It won't work if you are dropping files onto the open stack window.) You could add a temporary answer dialog to the else clause that would tell you if the event is being passed instead of handled. Or add an answer dialog before the if to see if the handler is running at all. -- 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: Mac drop file on standalone, process, and quit
Tim, Just checked the documentation at: https://developer.apple.com/library/mac/documentation/Miscellaneous/Reference/EntitlementKeyReference/AppSandboxTemporaryExceptionEntitlements/AppSandboxTemporaryExceptionEntitlements.html#//apple_ref/doc/uid/TP40011195-CH5-SW3 Yes you will be able to receive appleevents. =) On Fri, Feb 24, 2012 at 7:50 PM, Tim Jones tolis...@me.com wrote: I'll have to say negative to both of your assertions. There are a very broad number of applications that do not fit the model of the MAS and Apple knows this. As long as there are software stores, integration consultants, and non-home user customers, there will always be a normal channel for software. Also, you can add iCloud support to a non-MAS app. The only true limit is that it's only supported on 10.7.2+. Check the iCloud section at developer.apple.com Tim On Feb 24, 2012, at 2:43 PM, Andre Garzia wrote: On Fri, Feb 24, 2012 at 7:26 PM, Bob Sneidar b...@twft.com wrote: Well then screw the app store! I am starting to look sideways at Apple... There will be a day in the not so distant future when if you don't sell your software on mac apple store, the mac users will never discover it (unless you're doing vertical) Also the iCloud stuff only work for software from the Mac Apple Store. Bob On Feb 24, 2012, at 11:44 AM, Andre Garzia wrote: Folks, I think that AppleEvents are not authorized on the new Mac App Store rules right? Silly Apple... Andre ___ 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. http://fon.nu -- minimalist url shortening service. ___ 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. http://fon.nu -- minimalist url shortening service. ___ 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: Stray Puts
On Fri, Feb 24, 2012 at 7:55 PM, Dar Scott d...@swcp.com wrote: Is there any advantage of using a debug constant over commenting out the body of the log? no advantage at all... actually, the commented version will run faster because it does not execute the if statement to check for constant value. The thing about constants is that you can script your log function to behave differently depending on the constant value such as: constant kDebug = msg on log pText switch kDebug case msg put pText break case file put pText cr after url (file: the effective filename of this stack .log) break end switch end log Then you have added benefits... -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Why him does not use a natural language for programming?
On 2/24/12 4:05 PM, Michael Chean wrote: I just want to point out that for an environment that emphasizes English-like phrases, they sure didn't bother to make there error messages fit that requirement. Just saying... :) They're in English in the IDE but you have to look them up otherwise. Info on that is in the dictionary in the errorDialog entry, it's very easy. I have a little lookup plugin I use that I keep meaning to upload to RevOnline (i.e. User Samples in the toolbar) but there's a little glitch right now that prevents uploading. Eventually it will get there. Drop me a note privately if you want it sooner. -- 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: Stray Puts
On 2/24/12 3:39 PM, Dar Scott wrote: That may have been I who mentioned log. I'm sure it must have been, you have lots of little tricks like that. I just couldn't remember for sure. I've used Andre's method too, where you toggle a constant, but I didn't post it because, like you, I couldn't see any advantage over just commenting out the handler body. Now that I see you can change the output based on the constant (obvious in retrospect,) I might start doing that instead. That's pretty cool. -- 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: Mac drop file on standalone, process, and quit
On 2/24/12 4:08 PM, ilsa wrote: Thanks, but it still doesn't work. Do I have to enable dropability somewhere, or enter some special standalone settings? You shouldn't have to do anything special. Did you put in some answer dialogs to see if the handler actually runs at all? It sounds like nothing is triggered. -- 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: Stray Puts
On Fri, Feb 24, 2012 at 8:41 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/24/12 3:39 PM, Dar Scott wrote: That may have been I who mentioned log. I'm sure it must have been, you have lots of little tricks like that. I just couldn't remember for sure. I've used Andre's method too, where you toggle a constant, but I didn't post it because, like you, I couldn't see any advantage over just commenting out the handler body. Now that I see you can change the output based on the constant (obvious in retrospect,) I might start doing that instead. That's pretty cool. Just don't forget to change those to something usable for release once I forgot and a client asked me what was this debug.log on his desktop... -- 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ButtonGadget2
Hey guys, We're actually in the middle of removing/replacing all Altuit websites with WordPress versions. That's why many links aren't working right now. Thanks for you patience. -Chipp On Fri, Feb 24, 2012 at 1:36 AM, Mark Wieder mwie...@ahsoftware.net wrote: Mark- Thursday, February 23, 2012, 8:50:07 PM, you wrote: Mark, very cool application. The videos really show it off well. BTW, is it coded in LC? It was indeed. Chipp's a talented guy. -- -Mark Wieder mwie...@ahsoftware.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 -- Chipp Walters CEO, Altuit, 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: ButtonGadget2
A sure sign that Wordpress is finally stable and secure enough now... On 24 February 2012 14:52, Chipp Walters ch...@chipp.com wrote: Hey guys, We're actually in the middle of removing/replacing all Altuit websites with WordPress versions. That's why many links aren't working right now. Thanks for you patience. -Chipp On Fri, Feb 24, 2012 at 1:36 AM, Mark Wieder mwie...@ahsoftware.net wrote: Mark- Thursday, February 23, 2012, 8:50:07 PM, you wrote: Mark, very cool application. The videos really show it off well. BTW, is it coded in LC? It was indeed. Chipp's a talented guy. -- -Mark Wieder mwie...@ahsoftware.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 -- Chipp Walters CEO, Altuit, 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 -- 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
Re: Why him does not use a natural language for programming?
I'm good for now, but let us know when it gets uploaded. Thanks Mike On Fri, Feb 24, 2012 at 2:35 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 2/24/12 4:05 PM, Michael Chean wrote: I just want to point out that for an environment that emphasizes English-like phrases, they sure didn't bother to make there error messages fit that requirement. Just saying... :) They're in English in the IDE but you have to look them up otherwise. Info on that is in the dictionary in the errorDialog entry, it's very easy. I have a little lookup plugin I use that I keep meaning to upload to RevOnline (i.e. User Samples in the toolbar) but there's a little glitch right now that prevents uploading. Eventually it will get there. Drop me a note privately if you want it sooner. -- 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-livecodehttp://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 drop file on standalone, process, and quit
The app icon in the Dock doesn't hilite when I drag a jpg over it. When the app opens I get the oapp pID. ilsa On Fri, Feb 24, 2012 at 2:43 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 2/24/12 4:08 PM, ilsa wrote: Thanks, but it still doesn't work. Do I have to enable dropability somewhere, or enter some special standalone settings? You shouldn't have to do anything special. Did you put in some answer dialogs to see if the handler actually runs at all? It sounds like nothing is triggered. -- 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: Stray Puts
On Fri, Feb 24, 2012 at 10:21 PM, Mark Wieder mwie...@ahsoftware.netwrote: Andre- Friday, February 24, 2012, 2:22:47 PM, you wrote: Then you have added benefits... Also note that as of rev 2.9 put statments to the message box can be redirected to a file. I forget the details off the top of my head, but I think it's in the 2.9 release notes. you can set the messageboxredirect (or something similar) to change the destination of put calls. I do that on RevHTTPd to make CGI work. =) -- -Mark Wieder mwie...@ahsoftware.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 -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Cheap Android Tablet
On 24/02/2012 18:11, Tim Jones wrote: If you're searching for one to test your apps on, I would recommend either the Kindle Fire or the Nook Tablet. Both are $200 and provide good performance and full Android support (except phone stuff). From an off-brand point of view, EvoMax offers their 10.2 for $139, but it's resistive touch, so the experience will be a little less than spectacular. I'd recommend the Sumvision cyclone Astro (£97) and full capacitive multi-touch. Spectacular tablet, and let's you use multitouch. http://www.ebuyer.com -Ken ___ 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: Stray Puts
As long as we are sharing debugging techniques, let me share what I am doing for IOS development. I created a launcher app that has a Global LogData buffer. The launcher app has a display window and 3 buttons. One button goes to a file in my dropbox that contains a list of URLs to the other stacks available to load and lists them in the display window. A second button does a go stack URL to the selected line in the display window thus dynamically loading the stack from my dropbox. This allows for a quick edit/save/test cycle that people discussed on a separate thread. The third button copies the LogData into the display window. In my stacks I include the routines below for logging. I find the IOS environment pretty fragile so I set things up to bail out of the stack leaving the logData for examination. I push and pop the log so I can keep the memory foot print down and the current context readily available. There are 2 logging functions tlog and log. I replace tlog with --tlog after debugging or set the logTrace to false. The log, push and pop stay in place for when things go really bad. I tend make the tlog output documentation like so it is pretty easy to come back and figure out what in the world I was thinking about when I wrote this code. Enjoy! Mike -- Log Management Functions Global LogData Global logTrace Global Logindent on tlog x if (logTrace) then log (x) end tlog on log x repeat Logindent times put space after LogData end repeat put x return after LogData end log on Dump Log (== Dump Forced ==) close the defaultStack exit to top end Dump on clearlog x put 0 into Logindent put empty into LogData end clearlog on Pushlog x put x return after LogData add 3 to Logindent do x end Pushlog on Poplog repeat until LogData is empty put the last line of LogData into y if word 1 of y then delete the last line of LogData else delete the last line of LogData exit repeat end if end repeat subtract 3 from Logindent end Poplog On 02/24/2012, at 2:05 PM, Marty Knapp wrote: I've gotten in the habit of doing this: --TEST: put blah blah blah Then I can just do a search for --TEST and find the put and delete it. Not very high-tech, but it works for me. Marty K Anyone ever scripted a put to put something in the message box, and then forgot it was there and had a helluvatime finding it again? I give you: function findPut theScript filter theScript without * into * filter theScript without * before * filter theScript without * after * filter theScript with *put * return theScript end findPut I LOVE that filter command! 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 ___ 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: Stray Puts
Bob- Friday, February 24, 2012, 1:24:26 PM, you wrote: Yup! It's open sourced (Thank you very much Jerry and Trevor!) and Mark Weider just updated it recently. ...and (sigh) just updated again to 1.0.13 to further hack around the menubar problem. -- -Mark Wieder mwie...@ahsoftware.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: [OT] LC's Fields of the Future
On Fri, Feb 24, 2012 at 10:36 PM, Richard Gaskin ambassa...@fourthworld.com wrote: Kay's mention of workarounds mirrors my own experience in many ways, esp. with the need to embed arbitrary metadata in text runs. Hit the nail right on the head! And a response from Kevin... Who was it that posted something about a near religious... It's like a vist from the Pope ;-) ___ 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: Stray Puts
Dar- Friday, February 24, 2012, 11:55:00 AM, you wrote: (Oh, by the way, Mark, this old teletype programmer can never bring himself to use CR for the LiveCode newline.) Yeah, I mentally translate CR and LF to CRLF all the time. And I can't handle return as a synonym. put tText return makes me think it's gonna do something else. -- -Mark Wieder mwie...@ahsoftware.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: Mac drop file on standalone, process, and quit
On 2/24/12 6:15 PM, ilsa wrote: The app icon in the Dock doesn't hilite when I drag a jpg over it. When the app opens I get the oapp pID. I see, that's a whole different problem. You need to tell the OS that your app will accept jpgs, or any other file type you want to work with. You can do that by editing the plist file inside the app bundle. Or easier, do it before you build the app by entering the document extensions and types in the standalone builder, in the OS X pane. I think only the extensions are strictly required any more, so enter a list of comma-delimited extensions there, like jpg,jpeg,png,gif. If you know the old-style OS 9 types you can put those into the types field too. Jpgs have a type of JPEG for example (all capital letters.) That should give you the right plist entries, and the Finder will know your app should accept image files. -- 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: [OT] 100GB free cloud storage for Android
Mark- Thursday, February 23, 2012, 5:53:33 PM, you wrote: Right. Once you're used to Dropbox, you don't want to use Box anymore. The Box makes a convenient place to put rehearsal recordings to share with band members, as does MediaFire. Please refrain from telling me what I want. -- -Mark Wieder mwie...@ahsoftware.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: [OT] 100GB free cloud storage for Android
Yes, I agree, used it many times for the same purpose. I actually prefer Box over Dropbox, but maybe it's because of the things I need/want to do with this type of storage. Pete On Fri, Feb 24, 2012 at 7:07 PM, Mark Wieder mwie...@ahsoftware.net wrote: Mark- Thursday, February 23, 2012, 5:53:33 PM, you wrote: Right. Once you're used to Dropbox, you don't want to use Box anymore. The Box makes a convenient place to put rehearsal recordings to share with band members, as does MediaFire. Please refrain from telling me what I want. -- -Mark Wieder mwie...@ahsoftware.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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Stray Puts
Reminds of the labelling on fireworks back in the UK Light the blue touch paper and retire. Maybe that's a good one for the English like programming language disvussion. Pete On Fri, Feb 24, 2012 at 6:36 PM, Mark Wieder mwie...@ahsoftware.net wrote: Dar- Friday, February 24, 2012, 11:55:00 AM, you wrote: (Oh, by the way, Mark, this old teletype programmer can never bring himself to use CR for the LiveCode newline.) Yeah, I mentally translate CR and LF to CRLF all the time. And I can't handle return as a synonym. put tText return makes me think it's gonna do something else. -- -Mark Wieder mwie...@ahsoftware.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 -- Pete Molly's Revenge http://www.mollysrevenge.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: Mac drop file on standalone, process, and quit
It worked when I put those extensions in the standalone prefs! And when I drag several files the full paths of all get put into the test field as paragraphs. Perfect. I put JPEG into the Doc Types field too but when I dragged a .png onto it, it also showed up, so fantastic! I appreciate all the help, ilsa On Fri, Feb 24, 2012 at 6:46 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 2/24/12 6:15 PM, ilsa wrote: The app icon in the Dock doesn't hilite when I drag a jpg over it. When the app opens I get the oapp pID. I see, that's a whole different problem. You need to tell the OS that your app will accept jpgs, or any other file type you want to work with. You can do that by editing the plist file inside the app bundle. Or easier, do it before you build the app by entering the document extensions and types in the standalone builder, in the OS X pane. I think only the extensions are strictly required any more, so enter a list of comma-delimited extensions there, like jpg,jpeg,png,gif. If you know the old-style OS 9 types you can put those into the types field too. Jpgs have a type of JPEG for example (all capital letters.) That should give you the right plist entries, and the Finder will know your app should accept image files. -- 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: [OT] 100GB free cloud storage for Android
Pete- Friday, February 24, 2012, 7:24:09 PM, you wrote: Yes, I agree, used it many times for the same purpose. I actually prefer Box over Dropbox, but maybe it's because of the things I need/want to do with this type of storage. Depends. I've grown to rely on Dropbox. It solves problems for me that I didn't even know were problems. And saves me from copying files onto thumbdrives and carting them around. But there are situations where it doesn't fit - the need to install the client and account info on other machines makes sense for my computer at work and the machines at home, but might not fit other scenarios. You can share Dropbox folders, but I find it easier to use other file-sharing mechanisms for read-only situations, as I don't have to use otherwise-scarce storage space and I don't have to micromanage the sharing and deletion details quite as tightly. -- -Mark Wieder mwie...@ahsoftware.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: [OT] 100GB free cloud storage for Android
Folks, Box is pretty useful. Check out Box Apps at http://www.box.com/services and you will see integration with Desktop and lots of others services. Box API is very useful too. IIRC Box allow you to share a folder(s) and/or file(s) with third-party users with password even if they don't have a box.net account so it makes it easier to collaborate with clients. Dropbox can share folders but only with other dropbox users. I am still learning more about Box, I got 50GB as a freebie with my Touchpad... so far, I like box... I have 50GB on Dropbox as well (all my stuff is on dropbox). I think Box is useful as a tool to share things with clients. ___ 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