Re: Prevent openStack message
Mark, Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. Thanks, Bill On Mar 22, 2012, at 10:47 PM, Mark Wieder wrote: I'm writing a plugin for the LiveCode IDE that triggers when a stack is opened. In the case of my own stack I don't want to trigger it when all I'm doing is opening up a dialog box in my own plugin. Hmmm... can you catch openStack in a frontscript and check for the target there? ___ use-livecode mailing list use-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: datagrid in iOS scroller (improved questions)
On 22/03/2012 21:42, Ken Corey wrote: On 22/03/2012 20:02, Michael Doub wrote: I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? http://livecodejournal.com/forum/viewtopic.php?f=23t=54 Hi Michael, Thanks for writing. The symptom is that when I touch and drag to scroll the formatted area of the dataGris scrolls up too without revealing any more of the details of itself. Ah, that's better. After a night's sleep, I can (hopefully) express myself better. The symptom is that scroll events are used to set the hScroll and vScroll of the group, which moves the contents up. What I want to do is forward the scrollerDidScroll method on to the datagrid, and let the datagrid handle the scrolling instead of moving a group. Of course, the datagrid needs to be able to talk back to the scroller to tell it how big it is, where it is in the total height of its content, etc. Added wrinkle: The datagrid does not have fixed-height rows. They are variable. That means that if I'm at the top of a 50 element datagrid, and displaying 10, the size of the other 40 haven't been created yet, and so I don't know how big they'll be. I guess I could shoot for an average height, and just guess. So I guess my improved questions would be: 1) How do I send scrollerDidScroll events into a datagrid? 2) How do I tell the scroller how big the datagrid is? 3) BONUS: if I don't have fixed height rows in the datagrid, how can I figure out how tall the datagrid is in total? -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: Using Quicktime to record sounds in Livecode
On 03/22/2012 10:09 PM, Alejandro Tejada wrote: That's an old chestnut (will try to see about it this evening after work), but, while I am here this occurs to me: How can one record sounds in Livecode on Linux (can one?) ? If the answer to my question, Alejandro, is positive, maybe, just maybe, it might not be a bad idea to install some kind of Linux on another partition to XP, or get another machine running with Linux, and then use Livecode over there for sound recording. Hi All, Recently, I have been struggling in Windows XP with sound recording in LiveCode using QuickTime 7.7.1 When I start recording, I see that hard disk is writing but when I click the button Stop recording, there is no file written. This is the code that I am using, copied from a forum post. Please, test in your own setup and post your results using the development environment and the more recent version of StackRunner: http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm Thanks in advance! Al -- Button Record Sound: on mouseUp set the recordInput to dflt -- default -- other options are imic (internal microphone) emic (external microphone), etc set the recordRate to 48 put the platform into tPlatform if tPlatform is win32 then set the recordFormat to wave put .wav into tSuffix else set the recordFormat to aiff put .aif into tSuffix end if set the playLoudness to 100 record sound file (specialfolderpath(desktop) /SoundTest tSuffix) end mouseUp Button Stop Recording on mouseup stop recording end mouseup -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4496711.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: datagrid in iOS scroller (improved questions)
On 23/03/2012, at 5:34 PM, Ken Corey k...@kencorey.com wrote: On 22/03/2012 21:42, Ken Corey wrote: On 22/03/2012 20:02, Michael Doub wrote: I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? http://livecodejournal.com/forum/viewtopic.php?f=23t=54 Hi Michael, Thanks for writing. The symptom is that when I touch and drag to scroll the formatted area of the dataGris scrolls up too without revealing any more of the details of itself. Ah, that's better. After a night's sleep, I can (hopefully) express myself better. The symptom is that scroll events are used to set the hScroll and vScroll of the group, which moves the contents up. What I want to do is forward the scrollerDidScroll method on to the datagrid, and let the datagrid handle the scrolling instead of moving a group. Of course, the datagrid needs to be able to talk back to the scroller to tell it how big it is, where it is in the total height of its content, etc. Added wrinkle: The datagrid does not have fixed-height rows. They are variable. That means that if I'm at the top of a 50 element datagrid, and displaying 10, the size of the other 40 haven't been created yet, and so I don't know how big they'll be. I guess I could shoot for an average height, and just guess. So I guess my improved questions would be: 1) How do I send scrollerDidScroll events into a datagrid? 2) How do I tell the scroller how big the datagrid is? 3) BONUS: if I don't have fixed height rows in the datagrid, how can I figure out how tall the datagrid is in total? -Ken Hi Ken - don't know if it will help but what I usually do is put group the form datagrid inside of another group (with the datagrid as the only member) and then lock the 'parent' group to the required size. Then, each time I update the datagrid I set it's height to the maximum value of the height of the parent group and the dgFormattedHeight of the datagrid. I use this same value to set the scroller object's dimensions. Terry... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Using Quicktime to record sounds in Livecode
Come to think of things.. I will re-ask a question I posed about 3 or 4 years ago! Why has Livecode not, yet, developed an in-built sound recording facility that is truly cross-platform and does not depend on o0ther software being present on the end-user's machine? And, the answer is (I'm a great one for answering my own questions): Sound recording in Livecode is so low down the RunRev people's list of priorities it has dropped off the bottom; hence the Quicktime thing which has been there since very nearly the beginning. So. the probable answer to my question at the top is one of those that RunRev seem to be rather good at; an incredibly loud silence. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
How to get the user or his rights?
Hello, I have some configuration in my program which I would like to show only to the admin and not to a standard user. Is there a way to read the logged in user from the system or his permission level (win mac)? I didn't find anything in the docs. Or is there another approach to differentiate between users? Thanks Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] A couple of links about Gnome and usability
The first link is to a comprehensive review of Gnome 3, the whole thing being worth reading, but which culminates in the following: http://www.tomshardware.com/reviews/fedora-16-gnome-3-review,3155-16.html The implications for the Gnome-Ubuntu usability project are quite devastating. Basically this justifies all of Torvald's rants about interface authoritarianism Then we have Carla Shroder's review of Bodhi. Note in particular Hooglund's comments on the core issue: one size does not fit all people or all devices. https://www.linux.com/learn/tutorials/556594-bodhi-linux-the-beautiful-configurable-lightweight-linux The debate has turned from whether we like or dislike Gnome3 or KDE4, and has turned towards the core question: is there one thing we should be imposing on people at all? Finally, check out Linux Mint http://www.linuxjournal.com/content/linux-mint-12-offers-traditional-gnome-feel Finally, we have the ongoing revolt over the interface vandalism that KDE4 represented, and the forking of the Trinity environment as a response. http://www.dedoimedo.com/computers/trinity-kde.html Basically, the Linux desktop world in the last few years has been testing an hypothesis to destruction. This hypothesis was that there is such a thing as usability, with rules that can be discovered and implemented, and that if you do this, people will be grateful. This hypothesis has been decisively falsified, particularly the part about gratitude. In the course of testing this hypothesis what happened was that 'usability' ceased to have any relation to what real people actually do and want while using their machines, because actually the greatest usability feature is familiarity. Never mind if other people find it politically correct, if I am used to doing it a certain way, its usable for me. The predictable result was users are walking with their feet, first away from KDE4, and now away from Gnome3 and Unity, often towards xfce. The less predictable result has been that the whole question of whether usability is a useful concept at all has started to be debated. As Hooglund's remarks illustrate. Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2! Peter ___ use-livecode mailing list use-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: datagrid in iOS scroller (improved questions)
On 23/03/2012 06:48, Terry Judd wrote: Hi Ken - don't know if it will help but what I usually do is put group the form datagrid inside of another group (with the datagrid as the only member) and then lock the 'parent' group to the required size. Then, each time I update the datagrid I set it's height to the maximum value of the height of the parent group and the dgFormattedHeight of the datagrid. I use this same value to set the scroller object's dimensions. Yes, it all helps! The solution, for me, was to: 1) add this to my card where the group was: on scrollerDidScroll OffsetX, OffsetY set dgScrollbarDragV OffsetY to group group of datagrid set dgScrollbarDragH OffsetX to group group of datagrid end scrollerDidScroll 2) ensure that the rect and contentRect properties start correctly: iphoneControlSet sScrollerId, contentRect, (0,0,320,2500) iphoneControlSet sScrollerId, rect,0,0,320,460 3) Use your maximum tip to set the height of both the datagrid and the contentRect of the scroller. 4) I don't know what the effect was, but the datagrid's position was unlocked. I locked it. I was ready to decide it just couldn't be done in LiveCode when it was just a few lines away. Now on to figure out how to do it on Android. -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: LiveCode Player for 5.5
After giving this idea some further thought I wouldn't bet on it either. How would something like import snapshot be exported to HTML5? On Mar 22, 2012, at 3:44 PM, Richard Gaskin wrote: Ray Horsley wrote: I like the idea of HTML5 export, too. Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: LiveCode Player for 5.5
Hi, RealStudio did it. RunRev can do it too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 11:29, Ray Horsley wrote: After giving this idea some further thought I wouldn't bet on it either. How would something like import snapshot be exported to HTML5? On Mar 22, 2012, at 3:44 PM, Richard Gaskin wrote: Ray Horsley wrote: I like the idea of HTML5 export, too. Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on 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: LiveCode Player for 5.5
Thanks Richard for these thoughts. I believe I fall into a variant of the camp A which you've mentioned, working with organizations run by really dumb and most of all lazy IT staff. Not all of our clients are like this, but frequently we'll run into IT guys who are simply too lazy too download anything to all the machines in their schools. This is a sales block and my hope was that Rev's browser plugin would get us past that, even though that, too, must be downloaded. I couldn't agree more with the technical case you've made here but who was that shoe salesman in New York who made the famous comment Give the lady what she wants? We've got to make sales and if the client wants software that runs in a browser we can either argue with her or make the sale and move on. Obviously the latter of these is by far preferable. Ray Horsley LinkIt! Software On Mar 22, 2012, at 3:58 PM, Richard Gaskin wrote: Ray Horsley wrote: I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone. I had hoped it had been cleaned up since I last worked with it, not abandoned. If it's gone someone should let RunRev know: http://www.runrev.com/products/web/ From what I see the education industry is not the only area moving rapidly toward doing everything in a browser. Healthcare, finance, you name it, everybody spends most of the day in browsers today. Does this mean the majority of us Livecoders are doing nothing more than writing mobile apps? Ironically, a mobile app is very much like the most viable, flexible, and cost-effective alternative to RevWeb: net-savvy standalones. Whether the LiveCode engine is wrapped as a browser plugin or your own standalone, either way it'll need institutional buy-in to get your stacks distributed. Any org that will allow a third-party binary browser plugin should also allow a standalone. Like the browser plugin, a standalone can easily download stacks from a server, even compressed stacks for quick delivery. But unlike a browser you have far more options: Your users can enjoy the flexibility any desktop app has in terms of a UI dedicated for its workflow, along with local file access and other traditional app features, which can be used to provide an offline mode, smart caching, and more. And if needed, a standalone can be more secure than a browser: just turn on the secureMode as the first line in your startup handler, and your app will be prevented from many any changes at all on the local machine. I suspect that most of the laments from not being able to use RevWeb for deployment fall into two camps: a) Devs who've had to work with orgs run by dumb really dumb IT staff who somehow think that a proprietary binary executable that's called a browser plugin is somehow inherently safer than an application b) Devs who haven't really pursued such conversations with their clients seriously, so the issue is largely just theoretical for them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.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: LiveCode Player for 5.5
But I don't think RealStudio can build for mobile devices like iOS or Android. The two companies seem to be betting on different futures. I wasn't particularly interested in the mobile space myself, but seeing the astronomical growth in that area, I have to think I am wrong and RunRev were right. I recently saw a graph comparing the total sales to date of Macs versus iPhone and iPad. The latter two had within a few years overtaken 20 years of cumulative sales. I am still not a great user of mobile apps, but from what I observe with big brand companies, they mostly want their own device-specific app, rather than just a web app that will run on all devices. Whether HTML technology improves to the point that it can compete with native interfaces is another matter. If that turns out to be the case, then maybe RealStudios direction will prove sound. Bernard On Fri, Mar 23, 2012 at 9:47 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: RealStudio did it. RunRev can do it too. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Hi Bernard, HTML5 isn't for mobile devices only. HTML5 export would allow you to use LiveCode to create really cool websites that might even replace desktop apps in some cases. HTML5 is also great for creating web apps for mobile devices. Besides that, it is useful that we can use LiveCode to create apps that exist locally on mobile devices and that's an advantage RealStudio doesn't have (yet). Wake up: HTML5 already competes with what you call native interfaces. We have arrived there already and RunRev needs to catch up with its competitors (RealStudio, Adobe, and a few others). -- 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 23 mrt 2012, at 11:57, Bernard Devlin wrote: But I don't think RealStudio can build for mobile devices like iOS or Android. The two companies seem to be betting on different futures. I wasn't particularly interested in the mobile space myself, but seeing the astronomical growth in that area, I have to think I am wrong and RunRev were right. I recently saw a graph comparing the total sales to date of Macs versus iPhone and iPad. The latter two had within a few years overtaken 20 years of cumulative sales. I am still not a great user of mobile apps, but from what I observe with big brand companies, they mostly want their own device-specific app, rather than just a web app that will run on all devices. Whether HTML technology improves to the point that it can compete with native interfaces is another matter. If that turns out to be the case, then maybe RealStudios direction will prove sound. Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
OK. Thanks for that explanation. It sounds like tomorrow has arrived (although the emphasis is on might replace desktop apps). From your description both RealStudio and RunRev are facing in the wrong direction. But there are many people who have pivoted their careers about to learn Objective-C, a language which only 4 years ago seemed to be about as niche as one could get. One project I was involved in back then migrated to python because it was just too hard to get people who knew anything about Objective-C. Runrev and RealStudio will not be the only ones who might have chosen the wrong path ultimately. I will have to look into HTML5 further :) Bernard On Fri, Mar 23, 2012 at 11:10 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Bernard, HTML5 isn't for mobile devices only. HTML5 export would allow you to use LiveCode to create really cool websites that might even replace desktop apps in some cases. HTML5 is also great for creating web apps for mobile devices. Besides that, it is useful that we can use LiveCode to create apps that exist locally on mobile devices and that's an advantage RealStudio doesn't have (yet). Wake up: HTML5 already competes with what you call native interfaces. We have arrived there already and RunRev needs to catch up with its competitors (RealStudio, Adobe, and a few others). -- 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 23 mrt 2012, at 11:57, Bernard Devlin wrote: But I don't think RealStudio can build for mobile devices like iOS or Android. The two companies seem to be betting on different futures. I wasn't particularly interested in the mobile space myself, but seeing the astronomical growth in that area, I have to think I am wrong and RunRev were right. I recently saw a graph comparing the total sales to date of Macs versus iPhone and iPad. The latter two had within a few years overtaken 20 years of cumulative sales. I am still not a great user of mobile apps, but from what I observe with big brand companies, they mostly want their own device-specific app, rather than just a web app that will run on all devices. Whether HTML technology improves to the point that it can compete with native interfaces is another matter. If that turns out to be the case, then maybe RealStudios direction will prove sound. Bernard ___ use-livecode mailing list use-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: LiveCode Player for 5.5
Hi Bernard, Well, what makes it wrong? The IT world changed quickly. Today HTML5, tomorrow ABCD6. That doesn't mean that everyone who chose HTML5 today is wrong tomorrow. I'm not sure where I'm saying RealStudio made a bad choice? Nor am I saying that RunRev is going the wrong path, but it has to hurry making the next step. Objective-C is just the next stage in the evolution of C-languages. If you started learning C recently, then you probably started with C# or Objective-C and those will still be useful when the next C-generation appears. Your time hasn't been wasted on that. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 12:21, Bernard Devlin wrote: OK. Thanks for that explanation. It sounds like tomorrow has arrived (although the emphasis is on might replace desktop apps). From your description both RealStudio and RunRev are facing in the wrong direction. But there are many people who have pivoted their careers about to learn Objective-C, a language which only 4 years ago seemed to be about as niche as one could get. One project I was involved in back then migrated to python because it was just too hard to get people who knew anything about Objective-C. Runrev and RealStudio will not be the only ones who might have chosen the wrong path ultimately. I will have to look into HTML5 further :) Bernard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
On 23/03/2012 11:21, Bernard Devlin wrote: OK. Thanks for that explanation. It sounds like tomorrow has arrived (although the emphasis is on might replace desktop apps). From your description both RealStudio and RunRev are facing in the wrong direction. But there are many people who have pivoted their careers about to learn Objective-C, a language which only 4 years ago seemed to be about as niche as one could get. One project I was involved in back then migrated to python because it was just too hard to get people who knew anything about Objective-C. Runrev and RealStudio will not be the only ones who might have chosen the wrong path ultimately. I will have to look into HTML5 further :) Web apps (HTML/CSS/jQuery) are not a panacea. I speak as one who has written a large web app (desktop publishing, aimed at HR departments: docrobot.co.uk). When they work, they can provide outstanding qualities (no installation needed, quick to deploy, low maintenance, quick to update, etc). However, they are brittle, dependant upon fluctuating browser technology, firewall technology, always being online, rely on device/O.S. features being expressed in a browser, etc. There are cases where web apps make sense...and if you find a niche like that more power to you, but I cannot believe that native apps are going away any time soon. The iOS situation makes that abundantly clear. Web apps are significantly esier to write than native apps for many tasks. You can deploy them without Apple having a word to say about them. Thanks to Apple's WebKit efforts they look and work remarkably well...and yet... Apple says there are over 500,000 native apps (http://www.apple.com/iphone/built-in-apps/app-store.html), with over 10 billion downloads. How many folks are clamoring for web apps? -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: LiveCode Player for 5.5
Hi Ken, First of all, the definition of native isn't entirely clear to me. There are over 500,000 apps in the iTunes store, no matter whether they are called native. Second, a significant share of those 500,000 are HTML5 apps! It is difficult to say how many, but since there are approximately 3 apps on Phonegap Build and Build contains only a small part of all apps built while Phonegap takes account of only a part of all HTML5 apps, I'd say that more than 10% of the apps in the iTunes store are HTML5 apps. This is a very careful estimate. HTML5 isn't a panacea but definitely important and a great solution for me. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 23 mrt 2012, at 12:46, Ken Corey wrote: Web apps (HTML/CSS/jQuery) are not a panacea. I speak as one who has written a large web app (desktop publishing, aimed at HR departments: docrobot.co.uk). When they work, they can provide outstanding qualities (no installation needed, quick to deploy, low maintenance, quick to update, etc). However, they are brittle, dependant upon fluctuating browser technology, firewall technology, always being online, rely on device/O.S. features being expressed in a browser, etc. There are cases where web apps make sense...and if you find a niche like that more power to you, but I cannot believe that native apps are going away any time soon. The iOS situation makes that abundantly clear. Web apps are significantly esier to write than native apps for many tasks. You can deploy them without Apple having a word to say about them. Thanks to Apple's WebKit efforts they look and work remarkably well...and yet... Apple says there are over 500,000 native apps (http://www.apple.com/iphone/built-in-apps/app-store.html), with over 10 billion downloads. How many folks are clamoring for web apps? -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: Translation s'il vous plait/por favor :-)
Hi from Beautiful Brittany, Klaus, I would hate to be pedantic, but I can't miss adding my 2 cents. Dictionnaries exist to clearly define the meaning of a word or phrase in another language. But the translations, based upon the etymology of the terms in these languages are often betrayed by the personal interpretations of the users. If we can try and forget the environment of our computer translation (files, folders, disk drives, et tutti quanti), we can try to home in on best best translation available for a specific language. The French language (to my knowledge) lacks the precise equivalent of the English into (which means from the outside of ... to the inside of ...). So may we fall into the trap of personal interpretation ! The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. The French dans means in or at best inside, and has no implication of the 'into I show above. However, I find it a better solution than a. The French sur implies lying on top of and certainly does not imply inside. Much depends on the personal interpretation. As a long-standing nit-picker I would never use this. The French vers means in the direction of, which I find to be acceptable in the translation you request, because it simply skips over the notion inside, (but nevertheless implies it (The idea of copying a file to the outside of a folder would be nonsense !). But then again, this can be personal interpretation. These comments in no way undermine the scope of the French language, which can be so powerful in many areas. .. et a la fin de l'envoi, je touche .! (French Fencing term) -Francis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Le 23 mars 2012 à 11:57, Bernard Devlin a écrit : I wasn't particularly interested in the mobile space myself, but seeing the astronomical growth in that area, I have to think I am wrong and RunRev were right. RunRev was right and i went wrong ! ;-) -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la première solution saas open source et commerciale de développement sémantique préprogrammé ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Hi Mark, you might not have said that such decisions are wrong, but with finite resources, decisions must be made. Some decisions will turn out to be the wrong decisions. About 3 years ago RealBasic and Livecode looked like they were going in the same direction; they've now branched off in different directions. It may prove disastrous for either or both companies. If it does, then they will have made a mistake in evaluating where things are going and what technology/market will be best for their clients. We won't know that until some point in the future. But Runrev sure realised that mobile applications were far more important than I did. When Apple was first promoting applications for mobile devices, they promoted web apps as the right route. Either that was a delaying tactic, or they decided they'd made the wrong prediction. Because native apps became the most common form of app (despite that requiring re-tooling by many developers). As I haven't paid much attention to javascript since the whole Ajaxy thing was coined, I had a look at what RealStudio have to say about HTML5. http://www.realsoftwareblog.com/2011/09/rough-edges-of-html5.html http://www.infoworld.com/print/169665 I've seen companies in the arena of IDE-that-compiles-web-app struggle to survive (Morfik comes to mind). Considering what they were offering a few years ago, it doesn't seem to have been the runaway success that I expected it to be. Another instance where my expectations of the market seemed to be at variance with reality. I can understand you'd like Livecode to output a web app in addition to the other kinds of deployment target. So would I. With limited options for the encryption of local data, I view mobile phone apps as being thin-client apps. I've no idea what is required to make governments recognise the need for the encryption of data on devices. But that is one of the things that those 2 links from my visit to the RealStudio website highlight as a problem with HTML5 apps. It seems we take data security far less seriously now than 20 years ago. I've read reports of government and corporate employees being mandated NOT to take their mobile phones to foreign countries, because of the risks of the contents/devices being compromised. That's a 19th century solution to a 21st century problem. Some of the other risks (such as hacking of a local webapp) do not seem to me to be such a serious problem. Richard Gaskin argued persuasively IMO against a runrev browser plug-in. I really don't care if the plug-in dies. I don't see it offers any benefit other than users who live in a browser not having to start another application in order to do something. That seems to be a Bernard On Fri, Mar 23, 2012 at 11:33 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Bernard, Well, what makes it wrong? The IT world changed quickly. Today HTML5, tomorrow ABCD6. That doesn't mean that everyone who chose HTML5 today is wrong tomorrow. I'm not sure where I'm saying RealStudio made a bad choice? Nor am I saying that RunRev is going the wrong path, but it has to hurry making the next step. Objective-C is just the next stage in the evolution of C-languages. If you started learning C recently, then you probably started with C# or Objective-C and those will still be useful when the next C-generation appears. Your time hasn't been wasted on that. -- Best regards, Mark Schonewille ___ use-livecode mailing list use-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: Translation s'il vous plait/por favor :-)
Le 23 mars 2012 à 14:24, Francis Nugent Dixon a écrit : The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. Yes Francis ! But it is not a but à... a : avoir verbe à pronom ;-) ___ use-livecode mailing list use-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: Translation s'il vous plait/por favor :-)
Le 23 mars 2012 à 14:52, René Micout a écrit : Le 23 mars 2012 à 14:24, Francis Nugent Dixon a écrit : The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. Yes Francis ! But it is not a but à... a : avoir verbe à pronom ;-) Error (from myself !) à is not a pro nom it is a préposition ! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Hi Bernard, When two companies specialise in two different activities, it doesn't mean that one of them must be wrong. Also, the world changes and so does the path we follow. Perhaps Apple was right both times and I would be surprised if RealStudio doesn't come up with a locally running version for mobile devices eventually. -- 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 23 mrt 2012, at 14:46, Bernard Devlin wrote: Hi Mark, you might not have said that such decisions are wrong, but with finite resources, decisions must be made. Some decisions will turn out to be the wrong decisions. About 3 years ago RealBasic and Livecode looked like they were going in the same direction; they've now branched off in different directions. It may prove disastrous for either or both companies. If it does, then they will have made a mistake in evaluating where things are going and what technology/market will be best for their clients. We won't know that until some point in the future. But Runrev sure realised that mobile applications were far more important than I did. When Apple was first promoting applications for mobile devices, they promoted web apps as the right route. Either that was a delaying tactic, or they decided they'd made the wrong prediction. Because native apps became the most common form of app (despite that requiring re-tooling by many developers). As I haven't paid much attention to javascript since the whole Ajaxy thing was coined, I had a look at what RealStudio have to say about HTML5. http://www.realsoftwareblog.com/2011/09/rough-edges-of-html5.html http://www.infoworld.com/print/169665 I've seen companies in the arena of IDE-that-compiles-web-app struggle to survive (Morfik comes to mind). Considering what they were offering a few years ago, it doesn't seem to have been the runaway success that I expected it to be. Another instance where my expectations of the market seemed to be at variance with reality. I can understand you'd like Livecode to output a web app in addition to the other kinds of deployment target. So would I. With limited options for the encryption of local data, I view mobile phone apps as being thin-client apps. I've no idea what is required to make governments recognise the need for the encryption of data on devices. But that is one of the things that those 2 links from my visit to the RealStudio website highlight as a problem with HTML5 apps. It seems we take data security far less seriously now than 20 years ago. I've read reports of government and corporate employees being mandated NOT to take their mobile phones to foreign countries, because of the risks of the contents/devices being compromised. That's a 19th century solution to a 21st century problem. Some of the other risks (such as hacking of a local webapp) do not seem to me to be such a serious problem. Richard Gaskin argued persuasively IMO against a runrev browser plug-in. I really don't care if the plug-in dies. I don't see it offers any benefit other than users who live in a browser not having to start another application in order to do something. That seems to be a Bernard ___ use-livecode mailing list use-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] A couple of links about Gnome and usability
All very good points, Peter. I am also an XFCE and OpenWindows (OLVWM in Linux speak) fan. One important distinction to keep in mind here - GNOME is not GTK as KDE is not QT. So long as developers keep that in mind when creating software, the desktop paradigm should not be a concern in delivering your applications in the Linux market. Your GTK or QT based apps will run properly under any desktop manager so long as the GTK or QT libraries are installed. Also, you can elect to install other desktop managers under Ubuntu if you do a manual install. I always install FVWM and XFCE and then add BlackBox by building it from source and installing it. If you really want to guarantee compatibility, toss those and look to xt and xlib. Every other mid-level X11 framework has to start there. Tim On Mar 23, 2012, at 1:37 AM, Peter Alcibiades wrote: The first link is to a comprehensive review of Gnome 3, the whole thing being worth reading, but which culminates in the following: http://www.tomshardware.com/reviews/fedora-16-gnome-3-review,3155-16.html The implications for the Gnome-Ubuntu usability project are quite devastating. Basically this justifies all of Torvald's rants about interface authoritarianism Then we have Carla Shroder's review of Bodhi. Note in particular Hooglund's comments on the core issue: one size does not fit all people or all devices. https://www.linux.com/learn/tutorials/556594-bodhi-linux-the-beautiful-configurable-lightweight-linux The debate has turned from whether we like or dislike Gnome3 or KDE4, and has turned towards the core question: is there one thing we should be imposing on people at all? Finally, check out Linux Mint http://www.linuxjournal.com/content/linux-mint-12-offers-traditional-gnome-feel Finally, we have the ongoing revolt over the interface vandalism that KDE4 represented, and the forking of the Trinity environment as a response. http://www.dedoimedo.com/computers/trinity-kde.html Basically, the Linux desktop world in the last few years has been testing an hypothesis to destruction. This hypothesis was that there is such a thing as usability, with rules that can be discovered and implemented, and that if you do this, people will be grateful. This hypothesis has been decisively falsified, particularly the part about gratitude. In the course of testing this hypothesis what happened was that 'usability' ceased to have any relation to what real people actually do and want while using their machines, because actually the greatest usability feature is familiarity. Never mind if other people find it politically correct, if I am used to doing it a certain way, its usable for me. The predictable result was users are walking with their feet, first away from KDE4, and now away from Gnome3 and Unity, often towards xfce. The less predictable result has been that the whole question of whether usability is a useful concept at all has started to be debated. As Hooglund's remarks illustrate. Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2! Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Ray Horsley wrote: Thanks Richard for these thoughts. I believe I fall into a variant of the camp A which you've mentioned, working with organizations run by really dumb and most of all lazy IT staff. Not all of our clients are like this, but frequently we'll run into IT guys who are simply too lazy too download anything to all the machines in their schools. I've seen that too. And my brother, who's an IT admin at a hospital and he sees that all the time, his peers reusing requests from the stakeholders they're supposed to be servicing, using a wide range of irrational claims to justify inaction. It's (in)famous throughout the IT world, but stakeholders don't have the technical background to argue back, so IT rules the roost however they want. And it's even worse than you may imagine: I've worked with one very large institution (who shall remain nameless here) who is still standardized on IE6 to this day. Yes, even after Microsoft themselves has been spending millions trying to educate their customers to move on to any more recent version and get away from that bug-riddled security nightmare (see http://www.ie6countdown.com/ as one example of MS's attempts), this org's IT director refuses to budge, exposing all of their users to thousands of known exploits every day. I see stories like that all the time: doctors, educators, and members of many other orgs held back from getting the tools they need to improve organizational performance while being exposed to security risks along the way by IT staff who either don't understand their job or have other reasons to hinder the org from fulfilling its mission. A contractor like you or me is in a tough position in those environments: with a rational discussion of benefits and risk exposures it's possible to close a sale and deliver exactly what the client wants, but doing so may cost an IT person's job along the way. Such IT staff will fight it tooth and nail, and unless the org has a good CTO and that person is involved in the discussion, middle managers won't have the technical background to understand that their IT staffers are being irrational. IMNSHO, that's a sale worth losing: working for dysfunctional orgs just makes a long workday longer, and ultimately any project with them will become mired in other unnecessary difficulties. There are too many smart orgs to work for to waste time like that. The trend for orgs to add the position of CTO was originally merely fashionable, but in recent years as tech become both more diverse and more pervasive that role can be invaluable as a mediator between stakeholders and tech staff. When a CTO takes a hands-on role in vendor negotiations, I find many of these sorts of roadblocks disappear. But unfortunately, some orgs don't understand why they have a CTO position, and don't fully utilize that resource. I couldn't agree more with the technical case you've made here but who was that shoe salesman in New York who made the famous comment Give the lady what she wants? We've got to make sales and if the client wants software that runs in a browser we can either argue with her or make the sale and move on. Obviously the latter of these is by far preferable. The core question here is: What exactly does the client want? In many cases, when a vendor says We have a web deployment solution the customer hears native HTML and JavaScript, and they're not at all imagining needing to download and maintain a browser plugin. When the practical implications of a plugin are known to the client, many of these discussions stop right there. It's not really what they had in mind, and doesn't really solve the problem they were hoping to solve though the simplicity and ubiquity of native browser implementations. Some of those who hear that it's a plugin and still say they want it will become frustrated down the road when deployment actually happens. No blame there; they're just not technical people and have probably never used any plugin that wasn't pre-installed, so the implications of requiring that every machine in their org be set up to be user-modifiable to allow compiled executables like a browser plugin are unknown to them. So this leaves us with the relatively slender subset of potential users who fully understand what using a plugin means and still want it. For that small subset, a conversation about the benefits of other forms of executables can often get buy-in - provided they have a good hands-on CTO (see above). ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ambassa...@fourthworld.comhttp://www.FourthWorld.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your
Re: Translation s'il vous plait/por favor :-)
Hi from Beautiful Brittany, Rene (without an accent) I never put French accents in my mails ; 1 - Accents are a pane (almost as much as Windows !) For I have an English International keyboard 2 - French accents usually give us strange results when interpreted in forum lists (usually a ?). So my a was, of course an a (avec accent grave) Sincerement -Francis Ce qui se comprend bien s'enonce facilement ___ use-livecode mailing list use-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] A couple of links about Gnome and usability
Like Tim noted, any user of any current major distro who prefers Gnome 2 can install it and use it. Ubuntu goes so far as to make this a one-click option at login. And it's Linux: there are more than a hundred distros to choose from, most of them almost infinitely configurable, so any Linux user complaining that they can't get exactly what they want hasn't really tried. Anyone who used Mac at the turn of this century has already been through this sort of transition: many folks hated OS X, and I know a couple people who still prefer OS 9 to this day. What Apple did (and will likely do again when they merge OS X and iOS once ARM chips become strong enough to support that, or Intel's post-Medfield line does) is what Microsoft did with the transition from XP to Vista/7 and is doing again with the transition to Windows 8, is pretty much the same thing that Gnome is doing with Gnome 3 and Canonical is doing with Unity: moving their OS designs from a more homogeneous past into an increasingly diverse present. Times change, audiences change, and OS designs change along with them. Where Linux outshines the others is its diversity: there are plenty of options available for every taste. -- 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
Fields with negative top numbers visible?
Hi Everyone, Sometimes I don't know how I would manage if I didn't have this group to get advice from. My latest problem is I have a stack that seems messed up somehow. The top of most of the fields and buttons is a negative number. However, they are visible. I want them to be visible but I don't understand how their tops can have a negative number. What could be causing this? It is only happening on one of my stacks. I'm using version 4.6.4 if that matters. Thanks in advance. Joe in Orlando, Florida ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Android 4
Hi, Does anyone have (good) experience with LiveCode apps running on an Android 4 tablet? I thought I'd ask before upgrading my tablet. -- 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Mark Schonewille wrote: On 23 mrt 2012, at 11:29, Ray Horsley wrote: After giving this idea some further thought I wouldn't bet on it either. How would something like import snapshot be exported to HTML5? RealStudio did it. RunRev can do it too. Did they? I think it depends on what the definition of it is. Like LiveCode, RealBASIC can be used to make a nearly infinite variety of apps. From reading their forums, browsing their examples, and reviewing their docs, it seems that their web solution only supports a relatively narrow subset of all possible types of applications that can be made with the tool. For what it does, RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. Thus far I've seen no RB Web Edition examples of things like custom drawing apps, interactive multimedia CBTs, or even the tutorial they provide for building a word processor. If I've missed examples of these sorts of apps being automatically converted to web-ready HTML/JS with their Web Edition, please provide the URLs; I wouldn't at all mind being wrong on that, as it would represent a very powerful technology shift that would completely revolutionize web development, well worth knowing about. -- 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: Translation s'il vous plait/por favor :-)
Yes, I understand, but for this case it was about French translation and the à (à la place du a is a very important difference. I think... :-) Le 23 mars 2012 à 14:54, René Micout a écrit : Le 23 mars 2012 à 14:52, René Micout a écrit : Le 23 mars 2012 à 14:24, Francis Nugent Dixon a écrit : The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. Yes Francis ! But it is not a but à... a : avoir verbe à pronom ;-) Error (from myself !) à is not a pro nom it is a préposition ! ___ use-livecode mailing list use-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: iOS Caching?
Mark, Thank you for the suggestion! put decompress(url myFilePath ?= the millisecs) into tMyData This seems to resolve the problem. Do you think there could be a problem in that the cached urls could get piled up? Thanks! -Dan On Mar 22, 2012, at 9:46 AM, use-livecode-requ...@lists.runrev.com wrote: Hi Dan, Although the internet library is no included in the iOS version of LiveCode as far as I know, you could try to unload the url before loading it again. If that doesn't work, you could try to use a different url every time, e.g. put decompress(url myFilePath ?= the millisecs) into tMyData I'd expect to have a neat way to clear the cache but I don't know of that. -- Best regards, Mark Schonewille On 22 mrt 2012, at 17:26, Dan Friedman wrote: Greetings, I am experiencing an issue on my iPad with my LiveCode project that is puzzling me. It appears that my iOS app is caching data from a server. Once I read a file from my server in my app, that's the only version of the file that I get. For example, I read the file and I get the correct data. I then change the data on the server. I then read the data again on the iPad, and I get the original copy of the data! The same thing happens even if I alter the data on the server from the iPad its self! To read the data, I am using a simple put: put decompress(url myFilePath) into tMyData I can write to the server without issue. Using a simple put, I can write the data to the server without issue. I have verified this is working. However, re-reading the data returns the original version of the data! I don't think the issue is my server as the EXACT code is working perfectly on the desktop version of LC (and has been for years). Any thoughts or ideas of what could cause this?? ANY advice is appreciated as I have already pulled most of my hair out on this! -Dan ___ use-livecode mailing list use-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: revCopyFile
I posted it earlier. Here it is again. *on* shellCopyFile tSource,tTarget -- tSource and tTarget are both full paths *get* shell(cp quote tSource quote quote tTarget quote) *if* it is not empty *then* *-- handle errors here* *end* *if* *end* shellCopyFile On Thu, Mar 22, 2012 at 10:35 AM, Bob Sneidar b...@twft.com wrote: Could you share the shell script that does the copy? That would be useful to many I think. ___ use-livecode mailing list use-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: revCopyFile
No clue how it would work on Windows. Here it is again: *on* shellCopyFile tSource,tTarget -- full paths *get* shell(cp quote tSource quote quote tTarget quote) *if* it is not empty *then* *-- handle errors here* *end* *if* *end* shellCopyFile On Thu, Mar 22, 2012 at 11:46 AM, Pete p...@mollysrevenge.com wrote: Also, I assume the shell commands would be different on Windows and Mac. That's an inconvenience because it means extra coding, but not a show stopper. ___ use-livecode mailing list use-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: Prevent openStack message
I have run into a similar thing before, triggering an openStack handler when I did not want to. I think the only real solution to what you are doing here is to test conditionally in your frontScript openstack handler for your particular conditions, and pass openStack messages when your conditions are not met. I don't think stopping openStack in a frontScript is a very good idea. Bob On Mar 22, 2012, at 11:09 PM, Bill Vlahos wrote: Mark, Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. Thanks, Bill On Mar 22, 2012, at 10:47 PM, Mark Wieder wrote: I'm writing a plugin for the LiveCode IDE that triggers when a stack is opened. In the case of my own stack I don't want to trigger it when all I'm doing is opening up a dialog box in my own plugin. Hmmm... can you catch openStack in a frontscript and check for the target there? ___ use-livecode mailing list use-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: How to get the user or his rights?
Going to have to shell it I am sure. I don't know the specifics, but I know there are shell commands for the Mac. I came across this in a forum by googling it: ls -l /dev/console I got: crw--- 1 bobsneidar staff0, 0 Mar 14 09:43 /dev/console There is also env. This will display environment variables. You want the line that starts with user= What is odd here is that I am an admin, and this is showing that my primary group is staff, the unix equivalent of users. I will have to poke around some more. Bob On Mar 23, 2012, at 12:41 AM, Tiemo Hollmann TB wrote: Hello, I have some configuration in my program which I would like to show only to the admin and not to a standard user. Is there a way to read the logged in user from the system or his permission level (win mac)? I didn't find anything in the docs. Or is there another approach to differentiate between users? Thanks Tiemo ___ use-livecode mailing list use-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: How to get the user or his rights?
Okay so ID -G in OS X returns a space delimited list of groups the user belongs to. If 80 is in that list, then he is an admin. You can use the form ID -p and the results will be human readable, but you can't just look for admin because other groups may contain the string admin, like _lpadmin for example. I am not going to dig into how to do this on Windows. Bob On Mar 23, 2012, at 12:41 AM, Tiemo Hollmann TB wrote: Hello, I have some configuration in my program which I would like to show only to the admin and not to a standard user. Is there a way to read the logged in user from the system or his permission level (win mac)? I didn't find anything in the docs. Or is there another approach to differentiate between users? Thanks Tiemo ___ use-livecode mailing list use-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: Fields with negative top numbers visible?
Hmmm... Are you in OS X and do you have a custom menu in the stack? Bob On Mar 23, 2012, at 8:22 AM, lunchnme...@aol.com wrote: Hi Everyone, Sometimes I don't know how I would manage if I didn't have this group to get advice from. My latest problem is I have a stack that seems messed up somehow. The top of most of the fields and buttons is a negative number. However, they are visible. I want them to be visible but I don't understand how their tops can have a negative number. What could be causing this? It is only happening on one of my stacks. I'm using version 4.6.4 if that matters. Thanks in advance. Joe in Orlando, Florida ___ use-livecode mailing list use-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: Need an example of how to use try and catch
Mark, Yes! I agree with you about throw. Do you, or dose anyone, have an example that shows the use of the throw command in conjunction with the try-catch structure? Jim Message: 4 Date: Thu, 22 Mar 2012 22:33:42 -0700 From: Mark Wieder mwie...@ahsoftware.net To: use-livecode@lists.runrev.com Subject: Re: Need an example of how to use try and catch Message-ID: 33780499187.2012033...@ahsoftware.net Content-Type: text/plain; charset=us-ascii Jacque- Thursday, March 22, 2012, 10:19:59 PM, you wrote: P.S. There really ought to be an illustration of the try-catch syntax in the dictionary. I just looked, and I'm amazed there isn't. Myabe you could add a user note. Yeah - the throw command should be mentioned there as well. -- -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: Translation s'il vous plait/por favor :-)
Looking back at the original request, it was to translate the phrase Copy file XXX to your Applications folder, no mention of into. Pete On Fri, Mar 23, 2012 at 6:24 AM, Francis Nugent Dixon effe...@wanadoo.frwrote: Hi from Beautiful Brittany, Klaus, I would hate to be pedantic, but I can't miss adding my 2 cents. Dictionnaries exist to clearly define the meaning of a word or phrase in another language. But the translations, based upon the etymology of the terms in these languages are often betrayed by the personal interpretations of the users. If we can try and forget the environment of our computer translation (files, folders, disk drives, et tutti quanti), we can try to home in on best best translation available for a specific language. The French language (to my knowledge) lacks the precise equivalent of the English into (which means from the outside of ... to the inside of ...). So may we fall into the trap of personal interpretation ! The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. The French dans means in or at best inside, and has no implication of the 'into I show above. However, I find it a better solution than a. The French sur implies lying on top of and certainly does not imply inside. Much depends on the personal interpretation. As a long-standing nit-picker I would never use this. The French vers means in the direction of, which I find to be acceptable in the translation you request, because it simply skips over the notion inside, (but nevertheless implies it (The idea of copying a file to the outside of a folder would be nonsense !). But then again, this can be personal interpretation. These comments in no way undermine the scope of the French language, which can be so powerful in many areas. .. et a la fin de l'envoi, je touche .! (French Fencing term) -Francis __**_ use-livecode mailing list 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: LiveCode Player for 5.5
I am an IT guy, and for me the pendulum has swung the other way. The upper management think they know best what to deploy and how to use it, but from where I sit they are just about as dumb as a post, and no argument I can make will move them. As an example, I pushed for years to get an electronic PO system and get off paper PO's because you could not search for something you purchased in the past at all. The gal who filed everything did it by date, so you couldn't even look it up by vendor. You had to know exactly what date you purchased it, and then flip through all the PO's in that bundle of dates. Eventually, when someone was put in the CTO role, he said, What we need here is an electronic PO system! Everyone applauded and got behind him. sigh But he let everyone who wanted the system to run like the old paper system (?) dictate how things would be done. As a result, what is being purchased is put in a tiny little unsearchable comment field, and the line item (only one is used per PO) is used for things like the GL code and miscellaneous info that the accounting girls wanted. As a result, the PO system is completely worthless in terms of finding a past purchase by part number or description. Maybe the trick is to find an IT guy who really knows his stuff, and then let him rule his little bit of the roost? Fat chance here though. :-) Bob On Mar 23, 2012, at 7:55 AM, Richard Gaskin wrote: Ray Horsley wrote: Thanks Richard for these thoughts. I believe I fall into a variant of the camp A which you've mentioned, working with organizations run by really dumb and most of all lazy IT staff. Not all of our clients are like this, but frequently we'll run into IT guys who are simply too lazy too download anything to all the machines in their schools. I've seen that too. And my brother, who's an IT admin at a hospital and he sees that all the time, his peers reusing requests from the stakeholders they're supposed to be servicing, using a wide range of irrational claims to justify inaction. It's (in)famous throughout the IT world, but stakeholders don't have the technical background to argue back, so IT rules the roost however they want. ___ use-livecode mailing list use-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: Translation s'il vous plait/por favor :-)
In the words of Google, Telle est la langue. Bob On Mar 23, 2012, at 6:24 AM, Francis Nugent Dixon wrote: Hi from Beautiful Brittany, Klaus, I would hate to be pedantic, but I can't miss adding my 2 cents. Dictionnaries exist to clearly define the meaning of a word or phrase in another language. But the translations, based upon the etymology of the terms in these languages are often betrayed by the personal interpretations of the users. If we can try and forget the environment of our computer translation (files, folders, disk drives, et tutti quanti), we can try to home in on best best translation available for a specific language. The French language (to my knowledge) lacks the precise equivalent of the English into (which means from the outside of ... to the inside of ...). So may we fall into the trap of personal interpretation ! The French a denotes location only, but gives little information concerning the direction, and even less about the subtleties of inside or outside. I find it to be the worst possible translation. The French dans means in or at best inside, and has no implication of the 'into I show above. However, I find it a better solution than a. The French sur implies lying on top of and certainly does not imply inside. Much depends on the personal interpretation. As a long-standing nit-picker I would never use this. The French vers means in the direction of, which I find to be acceptable in the translation you request, because it simply skips over the notion inside, (but nevertheless implies it (The idea of copying a file to the outside of a folder would be nonsense !). But then again, this can be personal interpretation. These comments in no way undermine the scope of the French language, which can be so powerful in many areas. .. et a la fin de l'envoi, je touche .! (French Fencing term) -Francis ___ use-livecode mailing list use-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: LiveCode Player for 5.5
Hi Richard, I believe RealStudio WE does everything we can reasonably expect from an HTML5 app. So, yes, I'd say they did it. It is funny that you consider HTML5 traditional already, but I do tend to agree. -- 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 23 mrt 2012, at 16:32, Richard Gaskin wrote: Mark Schonewille wrote: On 23 mrt 2012, at 11:29, Ray Horsley wrote: After giving this idea some further thought I wouldn't bet on it either. How would something like import snapshot be exported to HTML5? RealStudio did it. RunRev can do it too. Did they? I think it depends on what the definition of it is. Like LiveCode, RealBASIC can be used to make a nearly infinite variety of apps. From reading their forums, browsing their examples, and reviewing their docs, it seems that their web solution only supports a relatively narrow subset of all possible types of applications that can be made with the tool. For what it does, RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. Thus far I've seen no RB Web Edition examples of things like custom drawing apps, interactive multimedia CBTs, or even the tutorial they provide for building a word processor. If I've missed examples of these sorts of apps being automatically converted to web-ready HTML/JS with their Web Edition, please provide the URLs; I wouldn't at all mind being wrong on that, as it would represent a very powerful technology shift that would completely revolutionize web development, well worth knowing about. -- 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: Prevent openStack message
On 3/23/12 1:09 AM, Bill Vlahos wrote: Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. Trap the openStack message and see if the target is a stack that belongs to your plugin. Then pass it or not, depending. I wouldn't try to stop the message, I'd just deal with 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: [OT] A couple of links about Gnome and usability
Richard Gaskin wrote Like Tim noted, any user of any current major distro who prefers Gnome 2 can install it and use it. Ubuntu goes so far as to make this a one-click option at login. Richard, I wish that were true, I would simply do it. But its vanishing from the repositories. I am on Debian Wheezy, and neither gnome2 nor the old version of gdm are options. You have to compile from source to get it. What we have lost in gdm now is as serious as what has gone missing from gnome3 - we have lost the ability to set up xdmcp on the host. We still have the ability to do remote connect from the client, but not to set it up in the painless way we used to have on the target. We've lost gdm-setup. I read on the blogs that gnome2 is vanishing from ubuntu repositories also. I haven't checked the latest Fedora releases. You can get back a lot of the gnome2 functionality in gnome3, the window control buttons for instance, and the desktop controls, but by all accounts you have to work at it, and for much functionality you are now reduced to editing text files. Actually, its even worse. It may not be terribly good practice to log on to a gui as root, but it can be very convenient sometimes. Well, gdm allowed you to configure it to allow that. gdm2 its not an option. There is probably some way to do it by editing custom.conf. But if you had it, why take it away? This stuff turns too readily into a peevish complaint about gnome or kde. But the point that strikes me as being of much wider interest is that the gnome project always has been motivated by a vision of usability and ease of use, naturalness in method. They really worked at that. So something very interesting has happened when the result of trying very hard to deliver that vision is in fact less usability for a substantial proportion of users. And it has happened not only to gnome, but to kde as well. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-A-couple-of-links-about-Gnome-and-usability-tp4498147p4499556.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: Need an example of how to use try and catch
Bob, Maybe I'm missing something but you seem to be saying there are some database errors that can only be detected by using try/catch, not by checking the result or the revdberr string. Taking your example of a database going away, I just created a small db, opened it in LC, then deleted the db file. Any further accesses to the db in LC came back with an error without using try/catch, so I'm not understanding why a try/catch is necessary. Not saying try/catch might not be necessary, just trying to understand if I need to start using that approach. My test was done using sqlite so maybe other SQL variants is where try/catch is needed or perhaps it's due to your use of SQLYoga. Pete On Thu, Mar 22, 2012 at 4:10 PM, Bob Sneidar b...@twft.com wrote: When you are in a standalone, a runtime error that would halt execution might be fatal. Try/Catch allows you to handle the error gracefully without presenting the user with an ugly dialog and a QTD afterwards. You can politely inform the user that something has gone wrong and you have to exit the application, after tidying things up a bit if necessary. Databases can just go away sometimes, like the IT guy deciding it's time to update the servers and restart them while the user is working late on an important project. Setting a repeat loop around a try/catch construct allows you to attempt a reconnect a certain number of times, or present the user with a Retry/Cancel dialog, allowing you to clean up and exit gracefully if necessary. As a case in point, I was having a problem with a low level broadcast storm which was causing the uplinks on our switches to reset (they are designed to do that). Anyone who uses Microsoft SQL knows this can be fatal, depending on how the software is written. Our accounting software was not very well written, and as a result, the end user was subject to a never ending stream of error dialogs allowing a cancel, retry or abort! None of them exited gracefully. ICK!! Had the developer accounted for the possibility that the user could be disconnected from the database, and provided a graceful exit, my reputation would not now be so tarnished, because they all blamed me of course. :-) To the accounting girl's credit however, they did make me brownies when I found the source of the broadcast storm and fixed it. Bob On Mar 22, 2012, at 3:31 PM, Pete wrote: Sorry to keep this thread going but I'm trying to figure out if I should be using try/catch more, particularly for database calls. As far as I know, you can tell if any of the standard rev db calls fail by checking their returned value or the result. Are there circumstances where that's not the case or does SQLYoga silent about errors? I have experienced silent datagrid problems that were only revealed by enclosing the datagrid access statements in try/catch. Pete ___ use-livecode mailing list use-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
Android Keyboard
Does anyone know how to have a numeric keyboard with an enter key on Android? When you select the numeric keyboard with mobileSetKeyboardType numeric You do in fact get a numeric keyboard but there is only a done key that just closes the keyboard and the returninfield message is not sent. I have seen numeric keyboards on the Android with an enter key so I know it can be done. Also every time you do a mobileSetKeyboardType numeric a rouge space is inserted into the field every time it gets focus. If you use the default keyboard and select the numeric keyboard you can enter one number and the keyboard reverts back to alphabetic. This was submitted as a bug report back in September but it still unconfirmed. I still have the problem, so I can confirm it at this time. There are other oddities like go from a numeric to a alpha keyboard field an you get a rouge space in the alpha keyboard field. I have not pursued this as I thought this bug would be an major issue and be fixed. As I am now getting close to releasing an app in May this is getting to be a major issue. I don't have any way to have the user enter a zip code into a field. Report #9746 mobileSetKeyboardType inserts rogue space. No enter/return key Last Modified: 2011-09-22 09:15:09 Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.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: LiveCode Player for 5.5
Mark Schonewille wrote: I believe RealStudio WE does everything we can reasonably expect from an HTML5 app. Qualified with reasonably expect in terms of automated translation, I would agree. Here's a nifty HTML5 app that's the sort of thing one can also make in RB for the desktop (and similar in some ways to your nice flowchart app made with LC), but I don't see anything in their WE which would automate such translation for the web: http://pipes.yahoo.com/pipes/ Here's one that's reflective of the sort of multimedia techniques used in CBTs - easy to do in RB, but not translatable in WE: http://vlog.it/ Here's a painting program, similar to some I've seen made with LC and RB but again I've seen nothing on the BR WE which would suggest that can be automatically translated: http://mugtug.com/sketchpad/ So I agree that it's not reasonable to expect an automated translation solution to offer much more than simple list and form views. But I don't think that's going to suffice for the sort of stuff LiveCoders want from a one-click web solution. It is funny that you consider HTML5 traditional already, but I do tend to agree. What I wrote was: ...RealBASIC's Web Edition seems like a very useful thing. But it assumes that you want to make a fairly traditional client-server database app comprised of list and form views. I didn't use the word traditional to describe any specific version of HTML, nor even HTML itself. I was referring to the useful but fairly narrowly focused range of UIs the RB WE can produce. -- 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
Tools for creating a help file
I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? Thanks for any guidance, -- 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: [OT] A couple of links about Gnome and usability
Peter Alcibiades wrote: Richard Gaskin wrote Like Tim noted, any user of any current major distro who prefers Gnome 2 can install it and use it. Ubuntu goes so far as to make this a one-click option at login. Richard, I wish that were true, I would simply do it. But its vanishing from the repositories. I am on Debian Wheezy, and neither gnome2 nor the old version of gdm are options. Then switch to Ubuntu, where it's an option at login. Ironically, for all the flak Shuttleworth gets he seems to be doing more for Gnome2 than the Gnome project. You have to compile from source to get it. How badly do you want it? ;) I read on the blogs that gnome2 is vanishing from ubuntu repositories also. Maybe, but it's there now. The bottom line with old things like Gnome2 is that it's all open source: it can never die except for lack of interest. If enough people want it, it'll be around forever. If it's not around, not enough people wanted it. -- 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: Need an example of how to use try and catch
The syntax is there at the top but it's not formatted -- tabs or space-runs between the lines instead of cr's. Looks like a problem in the dictionary stack with displaying the text from the customprop. If it were displayed properly you could see the structure, and then the commentary would explain things pretty well. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 23, 2012, at 1:19 AM, J. Landman Gay wrote: On 3/22/12 11:59 PM, Jim Hurley wrote: LC is an English muffin. So many nooks and crannies. I like that. :) P.S. There really ought to be an illustration of the try-catch syntax in the dictionary. I just looked, and I'm amazed there isn't. Myabe you could add a user note. -- 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: LiveCode Player for 5.5
Bob Sneidar wrote: Maybe the trick is to find an IT guy who really knows his stuff, and then let him rule his little bit of the roost? Ideally that would be the CTO. But I also recognize that not enough companies understand why they added CTO to their org chart. :) -- 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: Tools for creating a help file
Hi Pete, Am 23.03.2012 um 19:17 schrieb Pete: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? you could use a Browser Object to display the PDFs! Works on the Mac and will surely do on Windows if Acrobat Reader is installed. Thanks for any guidance, -- Pete Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Different row templates for a datagrid?
Hi All, I'm starting to think about the possibility of using my app on a Retina iOS device. The central feature of my app is a datagrid that was originally designed for the older iOS screens. I could just let it pixel double, but that just doesn't seem right, somehow. After reading the datagrid documentation, it seems to me thta the right way to handle multiple resolutions is to have another, hidden, datagrid that has the right row template for a retina-class device, and if I detect that I'm on such a device, I'll use that template instead of mine. Does that sound about right? -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: Fields with negative top numbers visible?
On Mar 23, 2012, at 1:06:12 PM, Bob Sneidar b...@twft.com wrote: From: Bob Sneidar b...@twft.com Subject:Re: Fields with negative top numbers visible? Date: March 23, 2012 1:06:12 PM EDT To: How to use LiveCode use-livecode@lists.runrev.com Hmmm... Are you in OS X and do you have a custom menu in the stack? Bob Hi Bob, Yes I am using Mac OSX. And Yes, the menu group was set incorrectly. Thanks. I really appreciate it. Joe ___ use-livecode mailing list use-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: Tools for creating a help file
Pete wrote: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? I enjoy typing in LiveCode fields myself, but I'm funny that way. :) If you like using Word you'll love Curry Kenworthy's WordLib for importing content from Word and OpenOffice/Libre Office into LiveCode: http://www.runrev.com/store/product/word-lib-1-3-0/ He's done an amazingly thorough job of recreating every element in doc, docx, and odt files that can be represented in LiveCode fields. And he's hard at work on a new version that takes full advantage of LC 5.5's new field object capabilities. For professional devs he also offers an option to acquire limited rights to the source for an additional fee. This is a must-have for myself and my clients, and pretty much every other pro dev who need to consider code base longevity, and his source fee was more than reasonable. Curry's support has been exemplary, and his willingness to work with suggestions for new features and enhancements is an inspiration for all of us tools vendors. -- 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: Tools for creating a help file
Check out Blue Mango's Screensteps. Bob On Mar 23, 2012, at 11:17 AM, Pete wrote: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? Thanks for any guidance, -- 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 ___ use-livecode mailing list use-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] A couple of links about Gnome and usability
On 03/23/2012 10:37 AM, Peter Alcibiades wrote: snip Me, I have moved to Fluxbox, because it gets out of the way and stays out. Everyone I support will be moving to xfce over the next few months. With any luck, they will not notice its not Gnome2! snip Since XFCE allowed transparencies and icons on the desktop it really is 95% GNOME 2 (the only beef I have is that I cannot get the desktop icons to sort themselves into some sort of order). What annoys me is not GNOME 3 or UNITY or KDE 4.5 (even though I don't like any of them), but that they have been pushed at the expense of GNOME 2 and the earlier versions of KDE. What should have been done, is that GNOME 2 and KDE 3.x were retained so that people could choose. What seems to be happening in the Linux world (well, the Linux Desktop world at least) is remarkably similar to what has been the case with commercial OSes since the year dot; a real case of Henry Ford (black, black or black); increasing restriction of choice, not for those in the know who are happy to mess around with the dear old command line and install Fluxbox, LXDE, Icebox and so on, but for people like my Dad, who bunged an Ubuntu disk in his Laptop and suddenly (at the age of 79) had to learn a new paradigm, something he could well do without . . . . . . or, put it another way; thanks to effing UNITY (United we stand, United we fall - the latter being all too often the case), my Dad and I spent far too long hunched over his laptop last New Year when we could have spent the time on something more rewarding (such as chewing over Zeno's paradox, ha, ha)! While my example may seem banal and trivial, ultimately completely rejigging a GUI without: 1. Let end-users know that they are suddenly going to get a rude awakening, and 2. Giving them a choice to revert (Ha, flaming-well ha, have you seen the GNOME fallback thing - a sort of castrated GNOME 2 obviously designed to make people go Oh, F*** and get on with learning how to manage with either GNOME 3 or UNITY???) to what they have got used to. And my Father, far from being the exception, is fairly middle-of-the-road for desktop users who have, at least, managed to be seduced away from Windows XP (which, face it, is almost the same as GNOME 2). -- Tried MATE; not what it seems at all; but then why on earth should anybody expect it to be anything at all; it is an (admittedly brave) attempt to produce a GNOME 2 clone in no time flat; unsurprisingly it doesn't really cut the mustard. Tried Cinnamon; ditto. But, then, these clones shouldn't be necessary; it is ONLY because the Linux Gods (who, increasingly can be seen to have feet of clay; or, maybe, feet that are inclined to dance the way of fashion) have removed GNOME 2 from the repositories that they were thought to be in the first place. -- Why is Richmond taking up so much space on a Use-List that is not, quite frankly, aimed at people fussed about the Linux desktop? Good question. BECAUSE, ultimately, we all are involved to some extent or another, with producing software that people will have to use on all sorts of GUIs; and choice made about stuff such as UNITY and Windows 8 affect our work and decisions we will make about our interface design. I am well aware that many of the people who read this Use-List are going to snort a bit and say something rather like Oh, there's nutty Richmond, Peter and no-quite-so-nutty Richard again: but they would do better to follow this discussion because, to misquote a certain throaty-voiced singer of the sixties The interfaces they are a-changing. 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: Using Quicktime to record sounds in Livecode
Hi Richmond, Richmond Mathewson-2 wrote [snip] Sound recording in Livecode is so low down the RunRev people's list of priorities it has dropped off the bottom; hence the Quicktime thing which has been there since very nearly the beginning. I will use the Enhanced QuickTime external of Trevor Devore and report back. Anyway, Apple itself is abandoning QuickTime so VLC is a viable cross platform option: http://www.videolan.org/press/lgpl.html This change of license was an initiative started by some of VLC's main developers and will be a change from the current license (GPLv2 or later) to the LGPLv2.1 or later license. http://www.gnu.org/licenses/lgpl-2.1.html This change was motivated to match the evolution of the video industry and to spread the VLC engine as a multi-platform open-source multimedia engine and library. The VideoLAN non-profit organisation and the École Centrale Paris approve this initiative. Runrev have spend wisely their resources. The popularity of iOS and Android platforms shows this. Clearly, Multimedia is not the main interest of developers in this platform and I understand this perfectly. Hopefully this would change in a near future. When you test these scripts in your setup, please report your results and if possible, post a working example stack. :-) Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4499784.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: Tools for creating a help file
Thanks Richard, that sounds like a possibility. I'm using iPages to create the help text but I think it is capable of saving a file in Word format although not sure how good a job it does. I guess I'll give it a whirl with WordLib (hopefully there's a trial available) and see what happens. I'm not against typing into LC fields, just finding that there's less work involved in using a word processor that is built to deal with formatting, spell checking and inserting graphics that doing all that in native LC. Pete On Fri, Mar 23, 2012 at 11:30 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Pete wrote: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? I enjoy typing in LiveCode fields myself, but I'm funny that way. :) If you like using Word you'll love Curry Kenworthy's WordLib for importing content from Word and OpenOffice/Libre Office into LiveCode: http://www.runrev.com/store/**product/word-lib-1-3-0/http://www.runrev.com/store/product/word-lib-1-3-0/ He's done an amazingly thorough job of recreating every element in doc, docx, and odt files that can be represented in LiveCode fields. And he's hard at work on a new version that takes full advantage of LC 5.5's new field object capabilities. For professional devs he also offers an option to acquire limited rights to the source for an additional fee. This is a must-have for myself and my clients, and pretty much every other pro dev who need to consider code base longevity, and his source fee was more than reasonable. Curry's support has been exemplary, and his willingness to work with suggestions for new features and enhancements is an inspiration for all of us tools vendors. -- 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
Reverting to 5.0.2
I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? Thanks, Ray Horsley LinkIt! Software ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Bug in custom fonts on iOS?
Hi All, I was wanting to add a little nicety to my iOS app, so I used three fonts: Myriad Pro Regular.ttf Myriad Pro Bold condensed.ttf Myriad Pro Italic.ttf So, I duly copied the files into the Copy Files pane of the Standalone Settings dialog, and then tried to run on the simulator. No joy. Only one of the fonts would appear. After a bit of searching, I found David William's lesson about fonts on the runrev web site. When I downloaded it, installed the fonts, and ran it on the iPad simulator, sure enough, only one of the fonts was listed: Myriad Pro (though Myriad Pro Cond was displayed in the window). Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) -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: Reverting to 5.0.2
It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? In Ray's case, I think that 2.7 is the format used by 5.0.2. Please correct me if I am mistaken -= Mike On Mar 23, 2012, at 4:27 PM, Ray Horsley wrote: I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? Thanks, Ray Horsley LinkIt! Software ___ use-livecode mailing list use-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: Reverting to 5.0.2
On 3/23/12 3:27 PM, Ray Horsley wrote: I've saved a stack in 5.5 but now I'd like to open it in 5.0.2 which doesn't recognize it as a stack. I can open it in 5.5 and save it in legacy but that takes me all the way back to 2.7 with an unknown number of feature losses. Any suggestions? Version 2.7 is the last time the file format changed, and is what LiveCode 5.0.2 uses. So choose that. Then in Preferences, select the checkbox in the general pane that saves all stacks in their original format. That way it will always save your 5.x stacks in 2.7 file format. The only features you will lose are any of the new field commands you may have added, since 5.0 doesn't have the new field object. -- 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: Bug in custom fonts on iOS?
Those are all the same font. You select them by using the bold or Italic option on the text formatting tab in the inspector. If you did not have say... the bold font loaded and you select the bold face the engine should do a best guess mathematical bolding that never looks as good a the real bold face. So... If you see the one font you should be good-to-go. What face does it show? It should be Myriad Pro without any face although the condensed versions of a font are usually a totally separate font, but not always. As a printer I have been in Font-Hell many times and still am from time to time. I still can't figure out why in 2012 font names in the various OSs(and even various programs) are still not consistent and predictable. Welcome to my world 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 Ken Corey Sent: Friday, March 23, 2012 3:38 PM To: How to use LiveCode Subject: Bug in custom fonts on iOS? Hi All, I was wanting to add a little nicety to my iOS app, so I used three fonts: Myriad Pro Regular.ttf Myriad Pro Bold condensed.ttf Myriad Pro Italic.ttf So, I duly copied the files into the Copy Files pane of the Standalone Settings dialog, and then tried to run on the simulator. No joy. Only one of the fonts would appear. After a bit of searching, I found David William's lesson about fonts on the runrev web site. When I downloaded it, installed the fonts, and ran it on the iPad simulator, sure enough, only one of the fonts was listed: Myriad Pro (though Myriad Pro Cond was displayed in the window). Doing a 'Get Info' for those fonts, they all come up with names like this: Myriad Pro-Cond Myriad Pro-Bold Myriad Pro-Italic etc... Using my calibrated eye, the hyphen between 'Myriad Pro' and 'Cond' looks like an em-dash. Could that break things? Has anyone else seen this problem? (bonus: anyone have a work around?) -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: Reverting to 5.0.2
Hi, You're right. 2.7 is the format used since 2.7 (which was finally released as 3.0 IIRC) and now the new format is 5.5. Before 2.7 it was 2.4. I don't remember being unable to open a 2.4 stack with any version between 2.0 and 2.4. -- 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 23 mrt 2012, at 20:41, Michael Doub wrote: It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? In Ray's case, I think that 2.7 is the format used by 5.0.2. Please correct me if I am mistaken -= Mike ___ use-livecode mailing list use-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: Reverting to 5.0.2
Many thanks guys! On Mar 23, 2012, at 3:01 PM, Mark Schonewille wrote: Hi, You're right. 2.7 is the format used since 2.7 (which was finally released as 3.0 IIRC) and now the new format is 5.5. Before 2.7 it was 2.4. I don't remember being unable to open a 2.4 stack with any version between 2.0 and 2.4. -- 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 23 mrt 2012, at 20:41, Michael Doub wrote: It would be helpful if there is a mapping between stack file revisions (2.7.2.4, current) and the live code revisions. Is this documented anywhere? What is the stack revision number for 5.5? In Ray's case, I think that 2.7 is the format used by 5.0.2. Please correct me if I am mistaken -= Mike ___ use-livecode mailing list use-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: Tools for creating a help file
Hi Pete, I use a squeaky wheel approach to user docs. Instead of creating volumes of info that only I will read, I use ScreenSteps to create very visual how to web pages on issues where users ask questions. The apps I build for my clients all use the same Help Topics plugin that appears in the app's Help menu. When users open it, they see a list of the How-To pages available for that app which are stored on the client's web server. If they click an item in the list, their web browser opens with the info displayed. There's nothing like having the Help info right there when where you need it! Best - Phil Davis On 3/23/12 12:25 PM, Pete wrote: Thanks Richard, that sounds like a possibility. I'm using iPages to create the help text but I think it is capable of saving a file in Word format although not sure how good a job it does. I guess I'll give it a whirl with WordLib (hopefully there's a trial available) and see what happens. I'm not against typing into LC fields, just finding that there's less work involved in using a word processor that is built to deal with formatting, spell checking and inserting graphics that doing all that in native LC. Pete On Fri, Mar 23, 2012 at 11:30 AM, Richard Gaskinambassa...@fourthworld.com wrote: Pete wrote: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? I enjoy typing in LiveCode fields myself, but I'm funny that way. :) If you like using Word you'll love Curry Kenworthy's WordLib for importing content from Word and OpenOffice/Libre Office into LiveCode: http://www.runrev.com/store/**product/word-lib-1-3-0/http://www.runrev.com/store/product/word-lib-1-3-0/ He's done an amazingly thorough job of recreating every element in doc, docx, and odt files that can be represented in LiveCode fields. And he's hard at work on a new version that takes full advantage of LC 5.5's new field object capabilities. For professional devs he also offers an option to acquire limited rights to the source for an additional fee. This is a must-have for myself and my clients, and pretty much every other pro dev who need to consider code base longevity, and his source fee was more than reasonable. Curry's support has been exemplary, and his willingness to work with suggestions for new features and enhancements is an inspiration for all of us tools vendors. -- 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 -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tools for creating a help file
You should look at ScreenSteps: http://www.bluemangolearning.com/screensteps/ In addition to being a very good way to prepare documentation, the tool was created with LiveCode. It can export to Word, PDF, and HTML. With PDF you can use a LiveCode player object and set the filename of the player to the path to the PDF, and then set the currenttime of the player to go forward and backward through the pages. ___ use-livecode mailing list use-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: Tools for creating a help file
There was a video I watched recently about using screen steps in exactly this way. Users would request help, and the response would be a either a new or existing article on how to do what the user needed to do. In this way, the help system was a living document to quote an oft misused phrase. Neat idea. Bob On Mar 23, 2012, at 1:39 PM, Phil Davis wrote: Hi Pete, I use a squeaky wheel approach to user docs. Instead of creating volumes of info that only I will read, I use ScreenSteps to create very visual how to web pages on issues where users ask questions. The apps I build for my clients all use the same Help Topics plugin that appears in the app's Help menu. When users open it, they see a list of the How-To pages available for that app which are stored on the client's web server. If they click an item in the list, their web browser opens with the info displayed. There's nothing like having the Help info right there when where you need it! Best - Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
load url and iOS Issue
Is anybody trying to use load url with iOS? I'm having an issue where I don't ever seem to get the cachedURLs populated and the URLStatus is never updated, but my callback message is fired. If I use a get url things seem to work. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Fermented Livecode
For those of you who care about this sort of thing: Livecode 4.5 for Windows installs and runs successfully under WINE 1.5.0: http://www.winehq.org/announce/1.5.0 However, if any of you are caring, you might want to either: Stop caring, or Start badgering the WINE people about PNG implementation as icon rendering in the Tools stack and the MenuBar is totally useless. [This is part of a long-running, open-ended competition to see who can do the most redundant thing with Livecode on a Friday night - no prizes, beyond a red face, are on offer] ___ use-livecode mailing list use-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: Tools for creating a help file
Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely take a look. Pete On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate co...@verizon.net wrote: You should look at ScreenSteps: http://www.bluemangolearning.com/screensteps/ In addition to being a very good way to prepare documentation, the tool was created with LiveCode. It can export to Word, PDF, and HTML. With PDF you can use a LiveCode player object and set the filename of the player to the path to the PDF, and then set the currenttime of the player to go forward and backward through the pages. ___ use-livecode mailing list use-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: load url and iOS Issue
On 3/23/12 3:58 PM, Mike Kerner wrote: Is anybody trying to use load url with iOS? I'm having an issue where I don't ever seem to get the cachedURLs populated and the URLStatus is never updated, but my callback message is fired. If I use a get url things seem to work. See page 19 in the iOS release notes. It doesn't look like the cachedURLs is supported. You should be getting progress messages though in urlProgress. -- 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: revCopyFile
It is stunning to me that this is faster than using a shell command. I did the same test as before (about thirty files, about 70k each) and copying them by using binary reads/writes took about one-third the time of using the shell command. I thought it might be overhead with calling shell, but I ran it on a single 50MB file, and the binary read/write method was better than twice as fast there as well. What *possible* overhead could there be in a shell command that would make it better than twice as slow as reading/writing the file 16kb at a time? On Thu, Mar 22, 2012 at 6:11 PM, Maarten Koopmans maarten.koopm...@gmail.com wrote: I scripted this using the read as binary etc. using 16KB buffers some time ago in pure LC. Much faster, and cross-platform. Idon'thave the code here at hand, but it is really straightforward: Open the source file for read binary Open the destination file for write binary Read 16KB or whatever is left if it's less from the source into a buffer Append the buffer to the destination Loop until done Close the files Faster then revCopyFile (in fact, why doesn't itdo it this way) and no hassle with shells or external processes where you need to check if they actually did what you asked. HTH, Maarten On Thursday, March 22, 2012, Pete p...@mollysrevenge.com wrote: Hi Geoff, Thanks for the speed test info. I'm not very familiar with shell commands so maybe you could let me know the command to use? What I need to do is copy a file to a different folder with a different file name. The lack of a progress bar might be a problem, but if the speed differences are as much as you found, there may not be a need for a progress bar at all. Also, I assume the shell commands would be different on Windows and Mac. That's an inconvenience because it means extra coding, but not a show stopper. Thanks, Pete On Wed, Mar 21, 2012 at 11:25 PM, Geoff Canyon gcan...@gmail.com wrote: The advantages derive from the fact that LiveCode isn't doing the actual copying with revCopyFile -- the Finder is. For completeness, the same advantage applies to using a shell command. You don't get a progress dialog though. Okay, I just did a quick one-off test with interface sounds off. For thirty files that were each about 70kb, using a shell command was about 3x faster than using revCopyFile. That's without taking advantage of the ability to move and rename in one step with a shell command. If that's what you're doing, the advantage would be even greater. On Wed, Mar 21, 2012 at 3:04 PM, Pete p...@mollysrevenge.com wrote: Thanks all for the input. Sounds like Stephen's approach is the only way to get rid of it. Seems like that setting will apply to other sounds as well, but I'm OK with that. As far as using AppleScript, I'm using revCopyFile because the dictionary claims there are certain advantages to using it over put URL or any other method, amongst which is that it does not require reading the file into memory, and since some of these files could be pretty large, that's significant. On a Mac, it also displays a progress bar which I don;t think would be possible if I used put URL. Pete On Wed, Mar 21, 2012 at 11:35 AM, Geoff Canyon gcan...@gmail.com wrote: I went straight to the shell command, so I don't know for sure, but this sounds reasonable. There's also the overhead of spinning up AppleScript in the first place. If Apple is doing that badly, that might also cause problems I suppose. On Wed, Mar 21, 2012 at 1:24 PM, stephen barncard stephenrevoluti...@barncard.com wrote: That was probably a big reason why multiple file transfers would take more time - loading and unloading the sound - and perhaps the reason why it failed after memory was exceeded. ___ use-livecode mailing list use-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 ___ use-livecode mailing list use-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-liv ___ use-livecode mailing
Re: revCopyFile
Write verification? Maybe LC's low level file functions do not verify, whereas the shell command does. Bob On Mar 23, 2012, at 3:24 PM, Geoff Canyon wrote: It is stunning to me that this is faster than using a shell command. I did the same test as before (about thirty files, about 70k each) and copying them by using binary reads/writes took about one-third the time of using the shell command. I thought it might be overhead with calling shell, but I ran it on a single 50MB file, and the binary read/write method was better than twice as fast there as well. What *possible* overhead could there be in a shell command that would make it better than twice as slow as reading/writing the file 16kb at a time? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tools for creating a help file
Folks, Still playing around with different formats for this. One possible format is the one used by the Datagrid reference manual. It's a pdf file including a navigation pane on the left with expandable/collapsible entries; clicking on an entry goes directly to the associated page. Pretty sure this is a built in feature of pdf files, but wondering if there is a way to create that type of format from a standard word processing program as opposed to purchasing Acrobat. Thanks, Pete On Fri, Mar 23, 2012 at 2:11 PM, Pete p...@mollysrevenge.com wrote: Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely take a look. Pete On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate co...@verizon.net wrote: You should look at ScreenSteps: http://www.bluemangolearning.com/screensteps/ In addition to being a very good way to prepare documentation, the tool was created with LiveCode. It can export to Word, PDF, and HTML. With PDF you can use a LiveCode player object and set the filename of the player to the path to the PDF, and then set the currenttime of the player to go forward and backward through the pages. ___ use-livecode mailing list use-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 -- 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: Tools for creating a help file
http://www.ehow.com/how_5946398_create-training-manual-word.html On Mar 23, 2012, at 4:07 PM, Pete wrote: Folks, Still playing around with different formats for this. One possible format is the one used by the Datagrid reference manual. It's a pdf file including a navigation pane on the left with expandable/collapsible entries; clicking on an entry goes directly to the associated page. Pretty sure this is a built in feature of pdf files, but wondering if there is a way to create that type of format from a standard word processing program as opposed to purchasing Acrobat. Thanks, Pete On Fri, Mar 23, 2012 at 2:11 PM, Pete p...@mollysrevenge.com wrote: Thanks Colin and Phil for the ScreenSteps recommendation. I'll definitely take a look. Pete On Fri, Mar 23, 2012 at 1:47 PM, Colin Holgate co...@verizon.net wrote: You should look at ScreenSteps: http://www.bluemangolearning.com/screensteps/ In addition to being a very good way to prepare documentation, the tool was created with LiveCode. It can export to Word, PDF, and HTML. With PDF you can use a LiveCode player object and set the filename of the player to the path to the PDF, and then set the currenttime of the player to go forward and backward through the pages. ___ use-livecode mailing list use-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 -- 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
htmltext mis-encodings
Hello All, set the htmlText of field has odd results sometimes. Here's the one's I've caught so far: replace ’ with ' in tResult replace ‘ with ' in tResult replace — with — in tResult replace … with … in tResult replace £ with £ in tResult replace ½ with ½ in tResult replace ¼ with ¼ in tResult Problem is, there's sure to be (many?) more of these. Is there a way to handle this problem once and for all? (Besides bugging LC about a bug. This is a trivial bug, I think. And, besides, I already reported 2-days ago a different htmlText problem, which LC fixed within 24 hours-- wow!) Cheers. -- 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
Source of corruption
I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, it could not be reopened in the same session. The stacks showed no reference to it at all soemtimes, though at other times it was indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. It turns out that the stack had inexplicably had its mainstack reference changed to another stack. Resetting this back to itself (there is only one stack in the file) seems to have fixed everything. Anyone have any experience with this sort of thing? It might be a useful tidbit. I was beginning to think there was a stability issue with LC itself, though none of my other stacks have any problems. Craig Newman ___ use-livecode mailing list use-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: Tools for creating a help file
Hi Klaus, Haven't used revBrowser before but I got the example from runrev's web site at http://lessons.runrev.com/s/lessons/m/4071/l/15963-how-do-i-display-a-pdf-in-rev However, nothing displays in the browser image no matter what pdf file I select. Also tried it with a straightforward http:// url and nothing displayed. Any tips on how to get this to work? Pete On Fri, Mar 23, 2012 at 11:24 AM, Klaus on-rev kl...@major.on-rev.comwrote: Hi Pete, Am 23.03.2012 um 19:17 schrieb Pete: I'm trying to decide how to supply the help text for an application and wondering what tools people are using to creat help files. I'm finding that it is much easier to use a word processor to write the help text and graphics than trying to do it within the confines of LC text fields. I can't leave the help text as a separate file because that would require the user to have the same wp program I used to create it. I can create a pdf version of it to get round that but I'm wondering if there is some way of importing the help text into LC, retaining all the formatting and graphics. Is it possible to open a pdf file and display within an LC application without starting a separate pdf viewer program? you could use a Browser Object to display the PDFs! Works on the Mac and will surely do on Windows if Acrobat Reader is installed. Thanks for any guidance, -- Pete Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- 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
[ANN] RevZilla 2.5 Available For Download
With the change in file format for 5.5 and the fact that RevZilla hadn't been touched in over two years, I thought it would be good to bring the program up to date. Version 2.5 has an updated interface using data grids, plus a better look and feel for Linux, plus a handful of bug fixes. You can download it at: http://www.sonsothunder.com/devres/livecode/downloads/RevZilla2.htm If you encounter any bugs or have any issues with the stack, please let me know… Enjoy! Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Source of corruption
dunbarx wrote: I had posted earlier about a stack I use that became neurotic. If launched in a new session from the finder, no problem. But if closed, it could not be reopened in the same session. The stacks showed no reference to it at all soemtimes, though at other times it was indeed listed, albeit still not visible. In those cases I could get and set its loc and other properties, I just could not see it. Lately it had become intermittantly corruptible, with a dialog telling me so, and recomending using a back-up copy. In those cases it would not even open with a fresh start, and I had to trash it and start over with a backup. Thank you, Mozy. It turns out that the stack had inexplicably had its mainstack reference changed to another stack. How were you able to determine that, and fix it, if it was unopenable? -- 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: Using Quicktime to record sounds in Livecode
Hi All, Finally, recording sounds is working fine in Windows using mci, but I don't know if mci recording is available anymore in Windows 7 or 8. Please, answer to this message if you could test this Sound Recorder stack in these Windows versions. I am using the scripts of the stack MCI recorder published by Tom McCarthy. Although I could not find online this stack, you could test a similar script published in this message: http://lists.runrev.com/pipermail/use-livecode/2005-March/054343.html Thanks in advance for your help to test this stack, Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Using-Quicktime-to-record-sounds-in-Livecode-tp4496711p4500665.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
max length of array key
What is the maximum size of a string used as a key of an array? I can't find it in the documentation. 256 sticks in my mind. ??? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [ANN] RevZilla 2.5 Available For Download
Ken- Friday, March 23, 2012, 7:24:09 PM, you wrote: With the change in file format for 5.5 and the fact that RevZilla hadn't been touched in over two years, I thought it would be good to bring the program up to date. Version 2.5 has an updated interface using data grids, plus a better look and feel for Linux, plus a handful of bug fixes. Yay! Thanks. It looks and works great! I'm running out of exclamation points here, but I really can't say enough good things about RevZilla. -- -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: Source of corruption
On 3/23/12 7:26 PM, dunb...@aol.com wrote: It turns out that the stack had inexplicably had its mainstack reference changed to another stack. Resetting this back to itself (there is only one stack in the file) seems to have fixed everything. Anyone have any experience with this sort of thing? Usually that sort of thing happens to me when I'm setting properties from the message box and I reference this stack. Sometimes this stack isn't the one you think it is and you end up changing the wrong one. I locked myself out of a stack once by setting a random password on this stack from the message box. Let's hear it for Time Machine. Now I try to use only stack names in the message box, even though I can see the current default stack there. I don't trust myself. Then yesterday I set up all the panes in Standalone Settings and was about to do a build when I realized I'd set up my (invisible) custom utility stack instead of my project stack. This stack is slippery. -- 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