Re: revsecurtity.dll
Hi Al, Am 28.03.2012 um 06:32 schrieb Alejandro Tejada: Hi Klaus, Could you use a virtualization application like Cameyo, Evalaze, Xenocode or ThinApp? These applications produce a single executable that package many applications and all their associated files. Looks good, will give it a try! I am sure that in this maillist there are developers with more practical experience than me in this particular area, so if you want to test this recommendation, I suggest to ask them about the performance of virtualized applications in a new thread. Good Luck! Thank you! Al Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
On Mar 27, 2012, at 2:11 PM, Judy Perry wrote: And, yupp, iPads are the shiny new toys... that will suck budgetary funds out of nurses and teacher's aids and lunches for nothing (remember when having laptops in the classroom was the new shiny toy that accomplished what exactly??? and before that having a desktop computer in the classroom?). I've seen very good work done with first graders, high school kids, and autistic kids in our district. The iPad is a fantastic tool with great potential if you know what to do with it. My wife teaches 2nd grade and whenever she brings the iPads in, the students love them. A good teacher can translate that enthusiasm into learning. A bad teacher will let the kids play on the technology and grade papers. Too often technology gets blamed for bad teaching. I agree that LiveCode presents a fantastic opportunity for students and I've never heard of a classroom actually using it. I taught 5th grade a lng time ago, and I had my kids programming in HyperCard. A few of those kids are now working in computer science. That makes me feel pretty awesome. Course they were using a Desktop Computer in my classroom, which you just bashed. :) Richard MacLemale ___ use-livecode mailing list use-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: May be OT: where is iOS 5.1 SDK and how can I deploy it?
Tom thanks - The charm of living in Europe and getting the LiveCode digest is that you wake up in the morning and someone has answered your question! Sadly though in this case it doesn't work: when I do exactly what you suggest, LC pops up a dialog box which says: The chosen folder is not a valid iOS SDK for 5.0 or later. It must be one that ships with XCode 4.2 or later. Actually it does it the first time, but after that it seems to accept it, but on trying to do 'Test' (i.e. run the Simulator), I get: unknown development platform This despite this version of XCode reporting itself as 4.3.2 and containing (as I suppose is normal) a folder called 'Contents' which itself many folders including one called 'Developer'. So I tried to copy all of this contents to a new folder in my Developer folder (how the heck this got populated in the previous version I can't remember, and I can't imagine why it doesn't just get updated during the download). This didn't work either, because LC wouldn't accept any of the stuff within the new folder or the new folder itself (it just wanted to keep on opening the folders without allowing me to choose one). If I left the thing pointing at my old 'Developer' folder, all I got was the previous stuff. I am still totally puzzled. I was thinking of either downloading 4.3.2 again (although frankly I don't see what that would do) or writing to support - I have just composed a note to them as I have run out of ideas. If the reply is of general interest I will post it to the list. Meanwhile I will just carry on with iOS 5.0. There must obviously be a difference between your setup and mine. Thanks anyway for replying Graham On Tue, 27 Mar 2012 17:35:08 -0400, Thomas McGrath III mcgra...@mac.com wrote: Graham, Just point the top button in device preferences to the xCode.app in you applications folder. That's it. It will find it itself. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 27, 2012, at 3:39 PM, Graham Samuel wrote: As I have LC5.5, I downloaded Xcode 4.3.2 from Apple. It shows up in my Applications folder and I can run it, but it doesn't seem to have altered my Developer folder at all - all the file dates seem to be earlier, and there is no sign of the 5.1 SDK. The simulator there also seems to be 5.0. When I open the LC mobile preferences, I am asked what version of XCode I'm running. If I answer 4.3 I am asked to point LC at the 4.3 App Bundle (this is the same as location of developer root for iOS 5.0 and above I think), but I can't find it. I thought it might be in the actual XCode app itself (of course this is really a folder), which naturally enough is in the Applications folder, but all I can point to is /Applications/Xcode.app/Contents/Developer which results in unknown deployment platform when I try to test an app. If I actually look at the contents of the XCode application folder with the Finder, it does seem to have everything I need, including a new SDK and a new simulator, but I don't know what to do to tell LC to look for it (I suppose I could copy everything which has the same name as the stuff in my current Developer folder so as to replace it, but I am not keen to try this). I am totally at sea and so far have not found any documentation to help me. Can anyone point me in the right direction. I'd be more than grateful. Confused Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
LC5.5/Xcode 4.3.2 - App does not show up in the 5.1 simulator
Hi, maybe i am doing something wrong. I am trying to run an app in the iOS 5.1 Simulator. But for whatever reason this does not work. In the standalone settings i chose iOS 5.0 and above. There is no option for 5.1. Is this correct? When i press test then the 5.0 Simulator opens and the app shows up. When i then change in the Simulator under hardware the version from 5.0 to 5.1 then the simulator restarts but my app is not shown up and i even cannot find it among the icons on the simulator screen. Did i miss something? Regards, Matthias ___ use-livecode mailing list use-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: CalendarWidget
For instance, in your stack, or in your field script: start using stack calendarWidget100 -- d = date, in dateitems format put altAnswerDate(item 1 of d,item 2 of d,item 3 of d) into theDate stop using stack calendarWidget100 if theDate = then exit to top put item 2 of theDate / item 3 of theDate / char 3 to 4 \ of item 1 of theDate into theDate put theDate into fld myField -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 27, 2012, at 11:53 AM, Bob Sneidar wrote: What I do is I put the dates I want to start with into the dialogData and then call the calendar stack as modal or as sheet (which is modal by nature). When I return from the calendar stack I get the dialogData, checking for empty in case the user cancelled. I let the calling stack handle what to do with the date. For instance, what if the user selected a date earlier than today, and your stack was scheduling a lodging reservation? That would clearly be an error. However you might be working with a to-do list in which case pre dating an event would be conceivable. The Calendar stack couldn't possibly know the difference, so I would not have the calendar stack populate anything if I were you. Bob On Mar 26, 2012, at 7:21 PM, Charles Szasz wrote: on mouseUp if dialogdata is not empty then put item 2 of dialogdata into t put / after t put item 3 of dialogdata after t put / after t put item 1 of dialogdata into s delete character 1 to 2 of s put s after t put t into field date1 of stack My app else put the uMonth of group calendarWidget of card id 1002 into t put / after t put the uMonth of group calendarWidget of card id 1002 after t put / after t put the uYear of group calendarWidget of card id 1002 into s delete character 1 to 2 of s put s after t put t into field date1 of stack My app end if close this stack end mouseUp What changes do I need to make so calendarWidget 101 can insert dates in other fields? Charles Szasz csz...@mac.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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
Valentina 5 Server Sneak Peek
Hello all, We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin a-server Folks who purchase the Omegabundle this year will get a free upgrade (in fact, 12 months of updates) Valentina Server Unlimited. Valentina Server Unlimited normally costs $1499, but its included with Omegabundle for LiveCode 2012, which costs $399. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Launching several applications via shell...
I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. button Traffic Generator on mouseUp get shell(trafficgen) end mouseUp button pEditor on mouseUp get shell(editor) end mouseUp etc Q: is there something that should be added to the shell syntax or another way of doing this? thanks, Glen ___ use-livecode mailing list use-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: Launching several applications via shell...
2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry ___ use-livecode mailing list use-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: Launching several applications via shell...
Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez th.do...@gmail.com wrote: 2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN and OT: Calling All SETI Enthusiasts
Sigh . . . if only a mere 10% of this discussion could have been relevant to the technical merits of my SETIproblem stack. I feel like my thread has been hijacked! Thanks and cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Clean Plugins
You're asking me about something I haven't touched in about ten years. ;-) I don't think I did anything in particular other than prefix the stack name with rev so it wouldn't show up in stack lists unless the show rev stacks item in the preferences was set. Other than that, as Richard said, it's the mode of the stack. On Tue, Mar 27, 2012 at 2:19 PM, Bill Vlahos bvla...@mac.com wrote: I'm about to release a new plugin. Plugins are basically stacks but I noticed that revNavigator and GoRevNet are not editable stacks. In fact you can't even get to any of the items in the Objects menu as they are all dimmed so you can't get to their properties or scripts. How did you guys do that? It is very clean. Bill Vlahos ___ use-livecode mailing list use-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: Launching several applications via shell...
2012/3/28 Glen Bojsza gboj...@gmail.com Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. and about this one ? get shell(trafficgen disown ) get shell(editor disown ) Sorry, just suggest out of memory, and as my age is growing... :) Thierry ___ use-livecode mailing list use-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: use-livecode Digest, Vol 102, Issue 56
Thanks for your great post, Richard. Just one clarification if I may. Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: http://wilstar.com/theories.htm Cheers, Roger On Mar 27, 2012, at 5:43 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 12 Date: Tue, 27 Mar 2012 12:22:20 -0700 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: 4f72136c.6060...@fourthworld.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Snip . . . . snip And Einstein's Theory is just that, a theory. It's not yet a law, and for good reason. Every few years we hear from another quantum physicist suggesting that they may be on the edge of something that disproves it. Wouldn't be the first time a new discovery completed shattered our understanding of how things work. snip . . . snip -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ___ use-livecode mailing list use-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: Launching several applications via shell...
2012/3/28 Thierry Douez th.do...@gmail.com 2012/3/28 Glen Bojsza gboj...@gmail.com Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. and about this one ? get shell(trafficgen disown ) get shell(editor disown ) and another one to try out : get shell(nohup editor) or get shell(nohup editor ) Thierry ___ use-livecode mailing list use-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: Launching several applications via shell...
launch path/to/app should work right? or open process path/to/app for neither maybe? Or the other way as mentioned by theirry I think if you do it like so get shell(mycommand ; disown) so that disown is on its own it might work. (with no arguments it acts on the current job which in this case is the one that has just been backgrounded) Not sure though that this will allow the shell itself to end which would be a cause of blocking. Think the first 2 options might be better choices for this. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez th.do...@gmail.com wrote: 2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry ___ use-livecode mailing list use-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: Launching several applications via shell...
I found that this will work get shell(trafficgen /dev/null 21 ) According to Linux it places it as a background process. thanks, Glen On Wed, Mar 28, 2012 at 10:04 AM, Mike Bonner bonnm...@gmail.com wrote: launch path/to/app should work right? or open process path/to/app for neither maybe? Or the other way as mentioned by theirry I think if you do it like so get shell(mycommand ; disown) so that disown is on its own it might work. (with no arguments it acts on the current job which in this case is the one that has just been backgrounded) Not sure though that this will allow the shell itself to end which would be a cause of blocking. Think the first 2 options might be better choices for this. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez th.do...@gmail.com wrote: 2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Launching several applications via shell...
2012/3/28 Glen Bojsza gboj...@gmail.com I found that this will work get shell(trafficgen /dev/null 21 ) According to Linux it places it as a background process. thanks, Glen Hi Glen, Out of curiosity, if you start an interactive process, i.e an editor; does your solution still works ? I mean can you read/write within your editor ? Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Windows: Programm Compatibility Assistent
Hi friends, I have a strange problem with my windows app(s) on Win7. 1. I created a runtime XYZ.exe, UAC Execution Level - Default 2. I created an installer Install XYT.exe with UAC Execution Level - ADMNISTRATOR, Its an installer :-) Everythings gets installed fine in general on XP and Win7, but when I quit either of the apps on Win7 I get the Windows dialog here... English: http://major-k.de/temp/win7compatibilityerror_en.gif German: http://major-k.de/temp/win7compatibilityerror.jpg Waht is puzzling me is the fact that this is an installer!, that one will load from the internet, run it once and then trash it, so it is not being installed in any way at all!? Know what I mean? I thought that the UAC would take care of this? Is there any way to get rid of that diaolog with the means of Livecode? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Clean Plugins
Also have a look at the cantModify property of the stack + cantSelect for single controls. Hth, Malte ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
CSV Files
OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- 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: CSV Files
I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty cells at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. Bob On Mar 28, 2012, at 9:55 AM, Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- 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: CSV Files
...that seems to be the same for Google sheets, too - though I've not dug into whether there is an obvious end-of-line character. Best, Keith.. On 28 Mar 2012, at 18:03, Bob Sneidar wrote: I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty cells at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. Bob On Mar 28, 2012, at 9:55 AM, Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
File path to image on iOS?
Hi All... Is it possible to save an image from the iOS camera in a folder other than camera Roll? And is it possible for the iOS camera command to save the image in a folder within the app and then use those images by saving their path and then setting the filename of image object in app to something like, defaultFolder/images/imagnename.jpg? Thank you! John Patten SUSD ___ use-livecode mailing list use-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: CSV Files
Now that I think about it, a properly formatted CSV file will quote string values but not numerical values, the obvious reason being, a value may actually contain commas, so they should be quoted to prevent false terminations. Excel will not do that. Maybe that is a good thing, so long as your values do not contain commas. Bob On Mar 28, 2012, at 10:09 AM, Keith Clarke wrote: ...that seems to be the same for Google sheets, too - though I've not dug into whether there is an obvious end-of-line character. Best, Keith.. On 28 Mar 2012, at 18:03, Bob Sneidar wrote: I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty cells at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. Bob On Mar 28, 2012, at 9:55 AM, Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- 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 ___ use-livecode mailing list use-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: CSV Files
The csv files are created by an export from a database, not from a spreadsheet so I don't think I need to worry about the Excel/Google issue (thankfully). Non-numeric strings will be in quotes, and the data between the quotes can contain commas and returns, escaped quotes, just about any visible ASCII character in fact. Pete On Wed, Mar 28, 2012 at 10:09 AM, Keith Clarke keith.cla...@clarkeandclarke.co.uk wrote: ...that seems to be the same for Google sheets, too - though I've not dug into whether there is an obvious end-of-line character. Best, Keith.. On 28 Mar 2012, at 18:03, Bob Sneidar wrote: I have noticed that csv exports from Excel will stop short of including all the columns in any given row if there is no more data, so you will get rows with varying numbers of columns if you have any empty cells at the end of a row. That has tripped me up a few times with other software that expects data to be there, even if it's an empty value. Bob On Mar 28, 2012, at 9:55 AM, Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. Thanks, -- 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 ___ use-livecode mailing list use-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: Launching several applications via shell...
Using this shell method any of the applications launched run as if they were launched natively from Linux Menus so I guess the answer is yes. On Wed, Mar 28, 2012 at 10:22 AM, Thierry Douez th.do...@gmail.com wrote: 2012/3/28 Glen Bojsza gboj...@gmail.com I found that this will work get shell(trafficgen /dev/null 21 ) According to Linux it places it as a background process. thanks, Glen Hi Glen, Out of curiosity, if you start an interactive process, i.e an editor; does your solution still works ? I mean can you read/write within your editor ? Thierry ___ use-livecode mailing list use-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
ANN: ScaleMatic
Hi all, Here is a small utility for making scales/rulers for your stacks: http://web.me.com/irog/Roger_Guay/Downloads.html Scroll down to lower left. Sure would be nice to get RevOnLine back!! Cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN and OT: Calling All SETI Enthusiasts
Well, Roger, since you hijacked your own thread ... So 20th century! Speculation may not be scientific, but neither is this is the world (as opposed to this is the world as scientists presently know it). See the difference; it is apparently a point of great confusion on this thread (and others). Bob's logistics is, as Rick Santorum said day before yesterday, bullshlt. It assumes logistics based on current pre-speculation knowledge, but is inapplicable in the context of what may or may not happen in the future. Hypothesis, Theory and Law are fine, great even, but they also have very limited application in discussing what may be the case in the future. That said, thank you for your stack and thank you, Richard for your post. Be well all, - Mick Date: Wed, 28 Mar 2012 09:51:45 -0600 From: Roger Guay i...@mac.com To: use-livecode@lists.runrev.com Subject: Re: use-livecode Digest, Vol 102, Issue 56 Message-ID: f4abe6cc-d6a3-4258-8956-25b7172fb...@mac.com Content-Type: text/plain; CHARSET=US-ASCII Thanks for your great post, Richard. Just one clarification if I may. Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: http://wilstar.com/theories.htm Cheers, Roger On Mar 27, 2012, at 5:43 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 12 Date: Tue, 27 Mar 2012 12:22:20 -0700 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: 4f72136c.6060...@fourthworld.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Snip . . . . snip And Einstein's Theory is just that, a theory. It's not yet a law, and for good reason. Every few years we hear from another quantum physicist suggesting that they may be on the edge of something that disproves it. Wouldn't be the first time a new discovery completed shattered our understanding of how things work. snip . . . snip -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ___ use-livecode mailing list use-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 and OT: Calling All SETI Enthusiasts
Roger and RIchard, Two more distinctions: 1) Theories that supersede vs. theories that overturn The General theory of relativity superseded Newton's theory of gravity and QM superseded Newtonian dynamics. In each case, the second is the classical limit of the first. On the other hand, Newtonian theory of gravity overturned Aristotelian theory of gravity. 2) Theories of such weight, of such abundance and breadth of confirmation, vs. Theories of the lesser weight Regarding this distinction, the current rhubarb over experimental evidence purporting to find neutrinos that traveled at a speed greater than light, some die hard theoretical physicists have recalled Sir Arthur Eddington (renowned British astrophysicist) facetiously saying Experiments should not be believed until they have been confirmed by theory. The neutrino played a similar roll many years ago. In a certain collision of elementary particle the evidence of the tracks in the cloud chamber were such that energy was not conserved in the reaction. Rather than admit a violation of such an entrenched fundamental physical law, it was assumed that there was some, as yet unknown, particle that was invisible in the cloud chamber that had carried away the missing energy. Later that particle was found; it was the neutrino. Jim Message: 21 Date: Wed, 28 Mar 2012 09:51:45 -0600 From: Roger Guay i...@mac.com To: use-livecode@lists.runrev.com Subject: Re: use-livecode Digest, Vol 102, Issue 56 Message-ID: f4abe6cc-d6a3-4258-8956-25b7172fb...@mac.com Content-Type: text/plain; CHARSET=US-ASCII Thanks for your great post, Richard. Just one clarification if I may. Hypothesis, Theory and Law have different connotations in science. A good explanation is found at: http://wilstar.com/theories.htm Cheers, Roger On Mar 27, 2012, at 5:43 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 12 Date: Tue, 27 Mar 2012 12:22:20 -0700 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: 4f72136c.6060...@fourthworld.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Snip . . . . snip And Einstein's Theory is just that, a theory. It's not yet a law, and for good reason. Every few years we hear from another quantum physicist suggesting that they may be on the edge of something that disproves it. Wouldn't be the first time a new discovery completed shattered our understanding of how things work. snip . . . snip -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ___ use-livecode mailing list use-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 and OT: Calling All SETI Enthusiasts
A bit further off topic... I used to donate my spare clock cycles to seti at home. Fun at first. I stopped for two reasons. One -- If anyone finds ET's phone number, it will cause global pandemonium. The human race isn't ready for this discovery. Two -- If I find ET's phone number and I become known as the discoverer, it's very likely that some misguided person will assassinate me. Cheers, Tim On Mar 27, 2012, at 4:06 PM, Bob Sneidar wrote: Good point Richard. I guess in my mind any species would be faced with the same kind of problems, but it gets the point across better if I put humans in the alien's shoes for a bit. :-) (That is another good point: Do aliens wear shoes?) Bob On Mar 27, 2012, at 3:46 PM, Richard Gaskin wrote: ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Launching several applications via shell...
Have a go at: launch url urlToLaunch Summary: Launches a url in the appropriate manner for the current system. Example: launch url http://www.runrev.com; launch url file:/Users/ben/Desktop/test.pdf launch url tel:44 7818 8822 - maybe Launch app A that launches app A1, A2, A3 Then close app A ? hth -- Message: 16 Date: Wed, 28 Mar 2012 17:21:29 +0200 From: Thierry Douez th.do...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Launching several applications via shell... Message-ID: CAO8ucO7YaV_CHnBKeCB=EmvpP8kaM_C=ng+-73xbmnaoqqo...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry -- Message: 17 Date: Wed, 28 Mar 2012 09:34:30 -0600 From: Glen Bojsza gboj...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Launching several applications via shell... Message-ID: CACW8NbCWd_WydYONamqAz2aeKZ8+6PzFVbVOdJAR045NE=b...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hi Thierry, I just tried your idea but with the same problem... unless I close the first application that has been opened the other won't open. On Wed, Mar 28, 2012 at 9:21 AM, Thierry Douez th.do...@gmail.com wrote: 2012/3/28 Glen Bojsza gboj...@gmail.com I am trying to have a simple application launcher (on Linux) where the user can launch different applications but a clicking the associated button. The problem is that once the user has launched one application none of the others will launch until they close the application they just opened. I would like to allow all applications to remain open even if the Livecode application closes... is this possible. So far all I am using is the shell command in each button for an individual application. thanks, Glen Did you try this one: get shell(trafficgen disown ) get shell(editor disown) HTH, Thierry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN and OT: Calling All SETI Enthusiasts
Rick Santorum is a Livecode programmer?? heh heh. But seriously, try actually coming up with some suggestions at least about how to overcome the obstacles. Otherwise, I declare your cry of bullshit to be the true bullshit that all who have no answers cry when they are confronted with the difficulties of their assertions. Bob On Mar 28, 2012, at 11:21 AM, Mick Collins wrote: Bob's logistics is, as Rick Santorum said day before yesterday, bullshlt. ___ use-livecode mailing list use-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
Hahahaha! Well, in my own defense, it WAS fake, therefore it can't be, well, you know ;-) On Tue, 27 Mar 2012, Scott Morrow wrote: Judy, Do you think it is alright to mention even fake cheese? : ) ___ use-livecode mailing list use-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: ScaleMatic
Very nice. Of course, an option to set the text color would be nice if you choose a dark ruler color. Also, the units (feet, km, lyrs, etc.) doesn't appear on the vertical ruler, only the horizontal one. On 3/28/2012 2:10 PM, Roger Guay wrote: Hi all, Here is a small utility for making scales/rulers for your stacks: http://web.me.com/irog/Roger_Guay/Downloads.html Scroll down to lower left. Sure would be nice to get RevOnLine back!! Cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Apple just seeded about $800,000 worth of iPads to my one state university campus alone; most instructors privately concede that they just gave them to their kids to play with. The problem isn't with the hardware; it's usually the software and curricular integration end (or largely lack thereof) where it ends up being a monumental waste of money... Here's another funny anecdote: the instructional designers of one of these new wing-ding websites (and the teachers adopting its usage) thought it would be a grand idea to expect a bunch of 10-year olds to correctly copy a 16 digit alpha-numeric code to get into the website onto a piece of paper and be able to read it and correctly enter it at home. REALLY??? I have adults who can't login with a login that consists of firstInitialLastName... Oh, and another website with a bunch of drill and kills, at the end, had a logout button, so my 10 year old son logged out. Lost all his work because he wasn't prompted to save before logging out. Why would you assume a 10 year old would know to do that and not catch his error? Mind you, this is NOT a ghetto school O_o FWIW, I'm considering volunteering to do an after-school club for 6th grade next year showing them how to make goofy games in LC if I can get the school to agree to it. Judy On Wed, 28 Mar 2012, Richard MacLemale wrote: I've seen very good work done with first graders, high school kids, and autistic kids in our district. The iPad is a fantastic tool with great potential if you know what to do with it. My wife teaches 2nd grade and whenever she brings the iPads in, the students love them. A good teacher can translate that enthusiasm into learning. A bad teacher will let the kids play on the technology and grade papers. Too often technology gets blamed for bad teaching. I agree that LiveCode presents a fantastic opportunity for students and I've never heard of a classroom actually using it. I taught 5th grade a lng time ago, and I had my kids programming in HyperCard. A few of those kids are now working in computer science. That makes me feel pretty awesome. Course they were using a Desktop Computer in my classroom, which you just bashed. :) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
EdMedia 2012 FINAL Call for Presentations: April 12 (fwd)
For everyone who thinks I'm a monumental misguided grump, here's your opportunity to prove me wrong :-D -- Forwarded message -- Date: Wed, 28 Mar 2012 08:16:40 -0400 (EDT) From: AACE upda...@aace.org To: Subject: EdMedia 2012 FINAL Call for Presentations: April 12 For Web E-mail Version Click Here http://campaign.r20.constantcontact.com/render?llr=kvjx7fdabv=001iPF_ovG5vaqhiw1jg731tIVqrsguChuW3VeiqmaEvq-maNhln7NB5ZePeV5bN29WC2gyBFKDa8tol1JfIn2M-jRiVdnXObsu_cNTpAVmZzkZlmyf5wG0YA%3D%3D EdMedia 2012 Logo [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] June 25 - 29, 2012 Denver, Colorado FINAL Call for Presentations: April 12, 2012 aace.org/conf/edmedia [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] Wesch and Kay [http://aace.org/conf/edmedia/speakers] Final Call for Participation [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTvJPudiIs2Zb6bkdUk0bjXI28TTqiewkCLfsgj3CMVMdyyyo_F-ytWW_y6qzUt0LlltHQFNKB8E2PYiVwYgqtW0tBc9SDudBNHJpC1KyNyhj0z6jyJRi2u9pkliXg3NBDuYoIECBSYEA==] Proposals Due: April 12, 2012 June 25 - 29 ? Denver, Colorado [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTHya2O2o4OVg0Lespp-S5oX4QBtRXBKsq4t1rWkJoqvHB_fWyVwb7DT8P1GKLpzp0HMtzqxqIImJ8hEXV8ET0JFz5-NTt6ml2tSglzrhNItRKABMpypDLbZYvnGNxSp1k=] Grand Hyatt Denver Denver CO [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBT22QVZGtOJ9CaVUcK6lJuqi494uN5YHOMYqraBDNOEEnctCh38NXQPtE3K17pVNqBVAFom4QHL7HZMFlZY28qN1YfaIPGd6H9w9jhKSnKr7ir6e2D7Qe9f9QxWP_P4jO8=] EdMedia [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBQjYTvNcVBIUKOhGyu09NCUc0ul98HO5QAM9qj9pTwNUsfduxNDKVPf7rYAhFCSWsgEpwCRuDpbJ80ex9jl-LJUo236JWkxzsGLKkPWutYRoG8ouOGvEWAR] is an international conference, organized by the Association for the Advancement of Computing in Education (AACE [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTYjKPaOsxF-q72i-HYloDCjwHvJkgnMh6sV7WG7-oTnY5jpwsfdx5-LHzEQjg4weEsCckWluWVzJlRuT1YBxnfOkEdCWxCbB8=]). This annual international conference serves as a multi-disciplinary forum for the discussion and exchange of information on the research, development, and applications on all topics related to multimedia, hypermedia and telecommunications/distance education. EdMedia attracts more than 1,500 leaders in the field from over 70 countries. We invite you to attend EdMedia and submit proposals for papers, panels, roundtables, tutorials, workshops, posters/demonstrations, corporate showcases/demos, and discussions. Click here for Color Poster PDF to Print Distribute [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTLnoMs-tseyDbRzToZromzm2MNzHdqAK6XY-Ny6OYFLvEQSh5fOYNa6Omq0-vXbWS4WkTd9krhXSbl6PtIthBqOGVPFIrHveEjdrpBbkbffWLUsWG4R7pUvbQ7tdeGp6XVBO8hyAg0DA==] Major Topics Presentation Categories Major Topics: [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBSigWf4ZKbhD7YkXz6ViulXS8N_vG95kGG9BPA1DEdLdjF3lMeHBasFCabQ-Gm-DpRZdieJYQUt27vxaI_bxZITeR5bMaCwdW9hY3WfPT3ZBlFvt0VAwl2yzBu829gpe0U=] * Infrastructure * Tools Content-oriented Applications * New Roles of the Instructor Learner * Human-computer Interaction (HCI/CHI) * Cases Projects * Universal Web Accessibility * Indigenous Peoples Technology Presentation Categories [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBRZlvs5qW7iRBq_tw1oADZ5lNxd_7_oYdoPBYlX9uI2xAoxJ7Wo3dKJZOIsOPxaa0JeW7cW0QW0kFOKvItG-EXwHl7EQZwDhBMmLl5nd7w3Xng6XNC4i6QbNS32IhsnuKHdq4gWKwvr0g==] Virtual Participation [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTuRrQ_Qek1rh9N4Rm8srapc-7_mPJgrzlYmm4csmH0dwgw9sHOPUt2jtumA4pO5n6rLWCEVDZIzoFLgqRO90u91JhXGABIzxef0lzbDB5rC4SepAtLjYzxHgQQCnkVQaA=] has been added to the program with the same validity (publication, certification, etc.) as the face-to-face (F2F) conference and with the capability to interact with session participants. Registration Social Event Information Old Colorado Train Tour Dinner [http://r20.rs6.net/tn.jsp?et=1109635174118s=61542e=001egjLHrcXDBTvuqLAHbH6k43OrBAn-bEK681Gaga3MjDms3IOB8832017VHg99qvFn8UyVACLre93CjNGQxRuOgd4zGiAkaaGZvzU5snW5ANNGYGGZEI4Nv7cGcEgV2jf38R4bEK5zQ0=] Journey to another time with your EdMedia colleagues, friends and family for the EdMedia 2012 Social Event, Thursday evening! Depart in a luxury motor coach for the Georgetown Loop Railroad adventure, experience the thrill of gold panning
Re: LiveCode Player for 5.5
What do you think of Khan academy? My nephew is in the Glendale Unified S.D. and they are making use of it. Mike On Wed, Mar 28, 2012 at 12:06 PM, Judy Perry jper...@ecs.fullerton.eduwrote: Hahahaha! Well, in my own defense, it WAS fake, therefore it can't be, well, you know ;-) On Tue, 27 Mar 2012, Scott Morrow wrote: Judy, Do you think it is alright to mention even fake cheese? : ) __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Valentina 5 Server Sneak Peek
If we buy that excellent bundle does it include both windows and mac os installs as part of the price? I'm thinking of making a windows development machine also just to make things easier on me. On Wed, Mar 28, 2012 at 11:01 AM, Lynn Fredricks lfredri...@proactive-intl.com wrote: Hello all, We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin a-server Folks who purchase the Omegabundle this year will get a free upgrade (in fact, 12 months of updates) Valentina Server Unlimited. Valentina Server Unlimited normally costs $1499, but its included with Omegabundle for LiveCode 2012, which costs $399. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Android play sounds
Thanks for the locations of the native android sounds I have been looking for that. I worked around my problem by testing for no sound support and just playing the sound a second time and it works reliably. On Mar 27, 2012, at 8:53 PM, Barry G. Sumpter wrote: Yep, a timer to sound an alarm and 1 minute intervals. I forgot how complex/different Android sounds are from win32 sounds. Perhaps the first time the play sound is attempted The file doesn't exist -- yes it exists Or the folder doesn't exist - yes it exists Or the actual sound file won't play on android yes it plays the second time As my sound file on android are .ogg I'm selecting the sounds from the existing sound files on my Android device. Using the following paths /system/media/audio/ alarms notifications ringtones ui The storing the path n file name into a preferences file and on an Interval or Finish button as a custom property on mouseUp -- show the path and file name of the sound put Playing: the cSoundPathAndFileName of button btnSoundsInterval into field lblPlayingSound -- now actually play the sound Play the cSoundPathAndFileName of button btnSoundsInterval end mouseUp lblPlayingSound field: /system/media/audio/notifications/Aldebaran.ogg or /system/media/audio/ui/Dock.ogg Just tested again on LC 5.5 build 1479 - all working OK Tested on two HD2s. If I might be so bold to suggest a test button with a sound file that you know its exact path to. If it plays then try the exact same play command/script line right where the other sound is NOT playing. on mouseUp play /system/media/audio/ui/Dock.ogg end mouseUp hth Message: 9 Date: Tue, 27 Mar 2012 15:18:16 -0400 From: Michael Doub miked...@gmail.com To: LiveCode Developer List livecode-...@lists.runrev.com, How To use LiveCode use LiveCode use-livecode@lists.runrev.com Subject: Android play sounds Message-ID: 202365a5-e4ce-43d4-a1a7-c69368921...@gmail.com Content-Type: text/plain; charset=us-ascii I am building a android timer application. The sound file AC.mp3 is located in a folder Data. Within the standalone builder I added the Data folder under the copy files tab which now displays: Data/*. All of this seems to work just fine, however the sound file is not played on the first play call. The sound is successfully played on all subsequent calls. The result returned on the first play call is no sound support which is different from what is specified in the Android release notes. So I think we have a documentation error at the very least. Is there any sound initialization step that I am missing? Here is the alarm code: On alarm if the environment is mobile then put specialFolderPath(engine) slash Data slash AC.mp3 into tSound play tSound else beep end if end alarm ___ use-livecode mailing list use-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 all, I have read the messages in this thread and please, correct me if I understand wrong: 1) Too many students and teachers are too inexperienced (not dumb) to use the available computer educational tools in their institution. 2) Most of the digital educational applications aim to teach using only the lower (or lowest) skills available to all participants. Surely, I am interpreting all this information in the wrong way because my conclusion is that education (as described here) is effectively dumbing down all the participants (teachers and students alike). How many of you are aware that you could run Livecode (including all externals and Quicktime) from a Portable device as a USB pendrive or Secure Digital Card or even from media as a Rewritable CD or DVD? No plugin or installation. Just click and run: http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 In this computer lab: http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396type=3 the IT manager used Metacard Free Starter Kit to create exams that students run from a CD. He opened the exam (a stack), take out the CD and repeat the procedure in each machine. In this way, the exams only runs in RAM and the students could not copy or save to the computer. It works fine for him for many years... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.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: Warning Re: 'DAZ3D is giving away three 3D-Apps for free'
just to say it seems to have been fixed in livecode 5.5: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. filter tGlobalsRaw without *(x86) filter tGlobalsRaw without */* filter tGlobalsRaw without *-* replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames in revdebugger.rev in the livecode 5.5 bundle (on my mac) Best François Le 11 févr. 2012 à 23:25, Ken Ray a écrit : If you take advantage of downloading the DAZ3D software for Mac 64-bit computers, you need to be aware of a gotcha: It turns out that after installing the 64-bit versions of DAZ3D on my Mac that LiveCode can't open a script editor window anymore. This turned out to be because it inserted two bad environment variables: ($DAZSTUDIOVERSION_4-64 and $DAZSTUDIO_4-64) which LC would error out on when trying to work with global variables. The - in these globals is what did it… So if you've installed these and find yourself in a situation trying to open a script window and seeing nothing but revNewScriptEditor 1 in the Windows menu, you'll need to either (a) wait until RunRev fixes it, (b) find another copy of LC on another machine or install the MetaCard IDE and then edit the revDebugger.rev file (in Contents/Tools/Toolset), go to the revDebuggerValidGlobalNames function and change it to add: filter tGlobalsRaw without *-* It should look like this: function revDebuggerValidGlobalNames local tGlobalsRaw put the globals into tGlobalsRaw replace comma with return in tGlobalsRaw # For now we just filter out the Vista 64 bit ones. Really we should remove anything that is not a valid Rev identifier # according to lextable.cpp, but that can easily be added in later as this is the only place in the IDE this is done. filter tGlobalsRaw without *(x86) filter tGlobalsRaw without */* filter tGlobalsRaw without *-* replace return with comma in tGlobalsRaw return tGlobalsRaw end revDebuggerValidGlobalNames I'm sure RunRev will add this line in soon, but in the meantime it's a gotcha you should be aware of… 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: Android play sounds
This is very late in the startup sequence. The point of the app is a timer for BBQing so we are talking a minute or two before the first alarm depending on what is cooking. ;-) I am thinking that it is a timing related bug in the engine. I ended up testing for no sound support and issuing a second play command. I gathered statistics and it is only ever failing on the first play attempt. I am wondering if it is related to the sound being included in the apk package and in the engine folder rather than being in the documents folder. (from the image performance discussion) -= Mike On Mar 27, 2012, at 5:29 PM, J. Landman Gay wrote: On 3/27/12 2:18 PM, Michael Doub wrote: I am building a android timer application. The sound file AC.mp3 is located in a folder Data. Within the standalone builder I added the Data folder under the copy files tab which now displays: Data/*. All of this seems to work just fine, however the sound file is not played on the first play call. The sound is successfully played on all subsequent calls. The result returned on the first play call is no sound support which is different from what is specified in the Android release notes. So I think we have a documentation error at the very least. When in the startup sequence is the first sound played? Is it before the stack finishes loading? It may be that sound support isn't initialized yet when the first play happens. -- 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
Hi Alejandro, I've been in computer labs where computers wouldn't have an (accessible) CD-rom drive or USB port. Computers in offices may not allow limited users to start an exe that's not installed in the programmes folder on the network. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6 On 28 mrt 2012, at 22:55, Alejandro Tejada wrote: Hi all, I have read the messages in this thread and please, correct me if I understand wrong: 1) Too many students and teachers are too inexperienced (not dumb) to use the available computer educational tools in their institution. 2) Most of the digital educational applications aim to teach using only the lower (or lowest) skills available to all participants. Surely, I am interpreting all this information in the wrong way because my conclusion is that education (as described here) is effectively dumbing down all the participants (teachers and students alike). How many of you are aware that you could run Livecode (including all externals and Quicktime) from a Portable device as a USB pendrive or Secure Digital Card or even from media as a Rewritable CD or DVD? No plugin or installation. Just click and run: http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 In this computer lab: http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396type=3 the IT manager used Metacard Free Starter Kit to create exams that students run from a CD. He opened the exam (a stack), take out the CD and repeat the procedure in each machine. In this way, the exams only runs in RAM and the students could not copy or save to the computer. It works fine for him for many years... Al ___ use-livecode mailing list use-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: CSV Files
Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. The article here outlines some of the many oddities about CSV, and includes a handler from Alex Tweedly which thus far has been the most efficient solution I've found: CSV Must Die A Plea to Introduce Sanity to the Software Development World by Pledging to Never Write CSV Exporters http://www.fourthworld.com/embassy/articles/csv-must-die.html -- 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: Android play sounds
On 3/28/12 4:07 PM, Michael Doub wrote: I am thinking that it is a timing related bug in the engine. I ended up testing for no sound support and issuing a second play command. I gathered statistics and it is only ever failing on the first play attempt. I am wondering if it is related to the sound being included in the apk package and in the engine folder rather than being in the documents folder. (from the image performance discussion) I think it must be something else. I do exactly the same thing but my first sound always plays. The sounds are stored in the apk package like yours, and I use the generic play command. I wonder if it is device-related. On my Archos tablet, sounds shorter than one second would not play at all. It turns out this was a known issue with Archos. Your problem is not the same, but I wonder if you'd get different results if you test on a different device. That may be too much trouble since you've got a workaround now. -- 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: Android play sounds
On 3/28/12 3:45 PM, Michael Doub wrote: Thanks for the locations of the native android sounds Are these paths universal to all Android systems? I vaguely recall that vendors can store system sounds wherever they wanted, but I'm fuzzy about that. Anyone know for sure? Using the following paths /system/media/audio/ alarms notifications ringtones ui -- 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: Valentina 5 Server Sneak Peek
Can the Valentina Office Server be installed in an On-Rev account? Roger Roger B. Marks ro...@consensii.com Consensii LLC http://consensii.com Hello all, We've posted a Valentina 5 Server Sneak Peek on the Omegabundle site: http://www.omegabundle.com/valentina-5-sneak-peek-5-new-features-in-valentin a-server Folks who purchase the Omegabundle this year will get a free upgrade (in fact, 12 months of updates) Valentina Server Unlimited. Valentina Server Unlimited normally costs $1499, but its included with Omegabundle for LiveCode 2012, which costs $399. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Read from process
The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-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: Android play sounds
You are correct it could be device related. Unfortunately I only have a HTC Inspire. -= Mike On Mar 28, 2012, at 5:30 PM, J. Landman Gay wrote: On 3/28/12 4:07 PM, Michael Doub wrote: I am thinking that it is a timing related bug in the engine. I ended up testing for no sound support and issuing a second play command. I gathered statistics and it is only ever failing on the first play attempt. I am wondering if it is related to the sound being included in the apk package and in the engine folder rather than being in the documents folder. (from the image performance discussion) I think it must be something else. I do exactly the same thing but my first sound always plays. The sounds are stored in the apk package like yours, and I use the generic play command. I wonder if it is device-related. On my Archos tablet, sounds shorter than one second would not play at all. It turns out this was a known issue with Archos. Your problem is not the same, but I wonder if you'd get different results if you test on a different device. That may be too much trouble since you've got a workaround now. -- 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: Read from process
Could do a send in time to do the read loop, and I believe the form of read you use will determine how blocking it is. if you read till end, eof, number of bytes etc I believe it will block until the criteria is met. Haven't done this much though so not positive. When I do, I tend to use the until empty form. This way if theres nothing in the buffer it moves right along and loops again and since its a send in time loop you can give enough breathing space for the other stuff to happen. On Wed, Mar 28, 2012 at 3:39 PM, Glen Bojsza gboj...@gmail.com wrote: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-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: Read from process
Right now I am trying combinations of a number of lines in x amount of time... My first test is actually running right now and I can compare the output to what is done in a terminal window. The send in time could be promising do you have a small sample? thanks, Glen On Wed, Mar 28, 2012 at 3:47 PM, Mike Bonner bonnm...@gmail.com wrote: Could do a send in time to do the read loop, and I believe the form of read you use will determine how blocking it is. if you read till end, eof, number of bytes etc I believe it will block until the criteria is met. Haven't done this much though so not positive. When I do, I tend to use the until empty form. This way if theres nothing in the buffer it moves right along and loops again and since its a send in time loop you can give enough breathing space for the other stuff to happen. On Wed, Mar 28, 2012 at 3:39 PM, Glen Bojsza gboj...@gmail.com wrote: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Read from process
One method I have heard of is to redirect output to a text file, then open the file for read and read from the file every so often in a repeat loop. You still need to know when the process has ended so you can break out of the loop. Bob On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: ANN: ScaleMatic
Excellent points, Paul. Your suggestions have been made. Thanks, Roger On Mar 28, 2012, at 3:10 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 14 Date: Wed, 28 Mar 2012 15:15:31 -0400 From: Paul Dupuis p...@researchware.com To: use-livecode@lists.runrev.com Subject: Re: ANN: ScaleMatic Message-ID: 4f736353.7090...@researchware.com Content-Type: text/plain; charset=ISO-8859-1 Very nice. Of course, an option to set the text color would be nice if you choose a dark ruler color. Also, the units (feet, km, lyrs, etc.) doesn't appear on the vertical ruler, only the horizontal one. On 3/28/2012 2:10 PM, Roger Guay wrote: Hi all, Here is a small utility for making scales/rulers for your stacks: http://web.me.com/irog/Roger_Guay/Downloads.html Scroll down to lower left. Sure would be nice to get RevOnLine back!! Cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Read from process
My first test has come back fairly well. I missed some of the initial lines of output but got all the remaining lines. I broke out of the loop no problem with the unique output line... when it was seen in the output I exited the repeat. So the first issue I would like to solve is either have the scrolling field show the latest output ... how can you have the field show the last ten lines? Optionally, try to figure out a send in time and see if it frees the user... if it does then this would be the better solution. Glen On Wed, Mar 28, 2012 at 4:08 PM, Bob Sneidar b...@twft.com wrote: One method I have heard of is to redirect output to a text file, then open the file for read and read from the file every so often in a repeat loop. You still need to know when the process has ended so you can break out of the loop. Bob On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Mobile App Development Challenge for STEM education [was Re: LiveCode Player for 5.5]
DOD Launches Mobile App Development Challenge: http://www.defense.gov/releases/release.aspx?releaseid=15142 This is in line with recent discussions, because there is no money to encourage development. Recognition is the only reward. The focus is tools for STEM education in grades 9-12. Roger Roger B. Marks ro...@consensii.com Consensii LLC http://consensii.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: CSV Files
Thanks Richard. I'm happy to say my handler parsed the extended test csv lines with flying colors. I'll try it along Alex's with some large datasets to see if there's any significant performance difference. By conicidence, I want the output form my handler to an array and I see Alex's does createw an array at one point so there may well be some benfits to switching over to his routine. Pete On Wed, Mar 28, 2012 at 2:10 PM, Richard Gaskin ambassa...@fourthworld.comwrote: Pete wrote: OK, so I know CSV files are not everyone's favorite subject but sometimes you have no control over how data reaches you! I have a handler in place that deals with the vagaries of CSV files, like returns, commas, and quotes in the data (did I miss any?) but it relies on a repeat loop looking at every character in the csv file. It seems to work just fine but I'm wondering if the collective knowledge of this list gas already come up with a more efficient solution. The article here outlines some of the many oddities about CSV, and includes a handler from Alex Tweedly which thus far has been the most efficient solution I've found: CSV Must Die A Plea to Introduce Sanity to the Software Development World by Pledging to Never Write CSV Exporters http://www.fourthworld.com/**embassy/articles/csv-must-die.**htmlhttp://www.fourthworld.com/embassy/articles/csv-must-die.html -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/**blog.irvhttp://LiveCodejournal.com/blog.irv __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- Pete Molly's Revenge http://www.mollysrevenge.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Hi Alejandro, I think the discussion of whether education brings everyone down to the lowest common denominator is a different topic! I guess my original point, perhaps not well enough explained, was that, according to the study in my local paper here in California, using iPads to replace text books costs about 4 times more than using the hard copy text books. Personally, I can't find any justification for California schools spending that extra money when there's hardly any evidence that using iPads improves the quality of eduction at all, never mind 4-fold. I don't know enough about it to judge whether the problem is hardware, software, good vs bad teachers, lack of teacher training , or any other cause. But I'm not a teacher and I tend to view these things more simplistically than perhaps I should. Pete On Wed, Mar 28, 2012 at 1:55 PM, Alejandro Tejada capellan2...@gmail.comwrote: Hi all, I have read the messages in this thread and please, correct me if I understand wrong: 1) Too many students and teachers are too inexperienced (not dumb) to use the available computer educational tools in their institution. 2) Most of the digital educational applications aim to teach using only the lower (or lowest) skills available to all participants. Surely, I am interpreting all this information in the wrong way because my conclusion is that education (as described here) is effectively dumbing down all the participants (teachers and students alike). How many of you are aware that you could run Livecode (including all externals and Quicktime) from a Portable device as a USB pendrive or Secure Digital Card or even from media as a Rewritable CD or DVD? No plugin or installation. Just click and run: http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 In this computer lab: http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396type=3 the IT manager used Metacard Free Starter Kit to create exams that students run from a CD. He opened the exam (a stack), take out the CD and repeat the procedure in each machine. In this way, the exams only runs in RAM and the students could not copy or save to the computer. It works fine for him for many years... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.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 -- 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 have noticed in talking to people about funding education that there is an almost irresistible tendency to presume that if you spend more money doing something, the results are bound to improve, even if only a little bit. This is of course, absurd. Some of the greatest minds we know in the last 2 centuries were raised and educated in what we would consider today in California to be completely unacceptable conditions. I was educated in the third richest county in the nation, and I am little more than an idiot. ;-) Bob On Mar 28, 2012, at 3:56 PM, Pete wrote: Hi Alejandro, I think the discussion of whether education brings everyone down to the lowest common denominator is a different topic! I guess my original point, perhaps not well enough explained, was that, according to the study in my local paper here in California, using iPads to replace text books costs about 4 times more than using the hard copy text books. Personally, I can't find any justification for California schools spending that extra money when there's hardly any evidence that using iPads improves the quality of eduction at all, never mind 4-fold. I don't know enough about it to judge whether the problem is hardware, software, good vs bad teachers, lack of teacher training , or any other cause. But I'm not a teacher and I tend to view these things more simplistically than perhaps I should. Pete On Wed, Mar 28, 2012 at 1:55 PM, Alejandro Tejada capellan2...@gmail.comwrote: Hi all, I have read the messages in this thread and please, correct me if I understand wrong: 1) Too many students and teachers are too inexperienced (not dumb) to use the available computer educational tools in their institution. 2) Most of the digital educational applications aim to teach using only the lower (or lowest) skills available to all participants. Surely, I am interpreting all this information in the wrong way because my conclusion is that education (as described here) is effectively dumbing down all the participants (teachers and students alike). How many of you are aware that you could run Livecode (including all externals and Quicktime) from a Portable device as a USB pendrive or Secure Digital Card or even from media as a Rewritable CD or DVD? No plugin or installation. Just click and run: http://runtime-revolution.278305.n4.nabble.com/Running-LiveCode-and-Quicktime-as-virtual-applications-td4411011.html#a4430008 In this computer lab: http://www.facebook.com/media/set/?set=a.2733273854751.2150939.1344437396type=3 the IT manager used Metacard Free Starter Kit to create exams that students run from a CD. He opened the exam (a stack), take out the CD and repeat the procedure in each machine. In this way, the exams only runs in RAM and the students could not copy or save to the computer. It works fine for him for many years... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4513669.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 -- 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: Read from process
Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop On Wed, Mar 28, 2012 at 4:19 PM, Glen Bojsza gboj...@gmail.com wrote: My first test has come back fairly well. I missed some of the initial lines of output but got all the remaining lines. I broke out of the loop no problem with the unique output line... when it was seen in the output I exited the repeat. So the first issue I would like to solve is either have the scrolling field show the latest output ... how can you have the field show the last ten lines? Optionally, try to figure out a send in time and see if it frees the user... if it does then this would be the better solution. Glen On Wed, Mar 28, 2012 at 4:08 PM, Bob Sneidar b...@twft.com wrote: One method I have heard of is to redirect output to a text file, then open the file for read and read from the file every so often in a repeat loop. You still need to know when the process has ended so you can break out of the loop. Bob On Mar 28, 2012, at 2:39 PM, Glen Bojsza wrote: The documentation seems slightly confusing (to me). On Linux I want to open a process for update, then write the command to be executed and then read from the process and fill the output to a field. The command takes anywhere from 1 minute to 8 minutes to execute and while it is running it outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I assume that this should be done inside a repeat forever loop where you can trap the mouseclick to exit or check for the unique output line from the read process to exit. I can't seem to any output from the read statement? Finally, is there a way to make this non blocking (ie let it run and update the field while the user moves on to something else)? thanks, Glen ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
On Wed, Mar 28, 2012 at 6:56 PM, Pete wrote: I guess my original point, perhaps not well enough explained, was that, according to the study in my local paper here in California, using iPads to replace text books costs about 4 times more than using the hard copy text books. Personally, I can't find any justification for California schools spending that extra money when there's hardly any evidence that using iPads improves the quality of eduction at all, never mind 4-fold. Pete My first thought on the matter of TECHstBOOKS (haha, I just made that up) in class is, Why must it be an iPad when there are already other affordable, and capable reading devices?. There are $150 to $200 capacitive multi-touch Android tablets which aren't limited to just running the OS ROM that shipped with it. With a portion of the education budget, the wonderful developers who create CyanogenMod ROMs (for free) for every popular tablet known to man could create an education-centric ROM with proper security in place. This would turn it back into an educational tool without the distraction of games on the app store. I know alot of people just want iPads to be used everywhere because they are so cool. I'd rather see them use moderately priced equipment that still offers an effective learning environment. I think the best thing about digital textbooks is how little they weigh. This could kill the book-bag industry! ;-) ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Read from process
Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if send readloop to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner bonnm...@gmail.com wrote: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop ___ use-livecode mailing list use-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: Read from process
Interesting. Not sure whats up then because read until empty should grab whatever happens to be in the buffer at the time. Whether its read for 10, or whatever all the same data passes through the buffer. Meaning the data is the data and the method used to read shouldn't make a difference as far as the content so I freely admit to being flummoxed. On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza gboj...@gmail.com wrote: Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if send readloop to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner bonnm...@gmail.com wrote: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop ___ use-livecode mailing list use-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: Read from process
Maybe its time to go with the Bob method? On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner bonnm...@gmail.com wrote: Interesting. Not sure whats up then because read until empty should grab whatever happens to be in the buffer at the time. Whether its read for 10, or whatever all the same data passes through the buffer. Meaning the data is the data and the method used to read shouldn't make a difference as far as the content so I freely admit to being flummoxed. On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza gboj...@gmail.com wrote: Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if send readloop to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner bonnm...@gmail.com wrote: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop ___ use-livecode mailing list use-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: Read from process
Well I appreciate the input. This area needs more examples since the potential is huge (IMHO). Worst case I lock the user down until the process completes but give a nice Be patient message. regards, Glen On Wed, Mar 28, 2012 at 7:14 PM, Mike Bonner bonnm...@gmail.com wrote: Maybe its time to go with the Bob method? On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner bonnm...@gmail.com wrote: Interesting. Not sure whats up then because read until empty should grab whatever happens to be in the buffer at the time. Whether its read for 10, or whatever all the same data passes through the buffer. Meaning the data is the data and the method used to read shouldn't make a difference as far as the content so I freely admit to being flummoxed. On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza gboj...@gmail.com wrote: Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if send readloop to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner bonnm...@gmail.com wrote: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Read from process
Solved... it is where the end if's were placed! local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM until empty if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace end if if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if end if send readloop to me in 1 tick end readloop On Wed, Mar 28, 2012 at 7:21 PM, Glen Bojsza gboj...@gmail.com wrote: Well I appreciate the input. This area needs more examples since the potential is huge (IMHO). Worst case I lock the user down until the process completes but give a nice Be patient message. regards, Glen On Wed, Mar 28, 2012 at 7:14 PM, Mike Bonner bonnm...@gmail.com wrote: Maybe its time to go with the Bob method? On Wed, Mar 28, 2012 at 7:13 PM, Mike Bonner bonnm...@gmail.com wrote: Interesting. Not sure whats up then because read until empty should grab whatever happens to be in the buffer at the time. Whether its read for 10, or whatever all the same data passes through the buffer. Meaning the data is the data and the method used to read shouldn't make a difference as far as the content so I freely admit to being flummoxed. On Wed, Mar 28, 2012 at 7:01 PM, Glen Bojsza gboj...@gmail.com wrote: Hi Mike, Well using your code I get the expected result at the end of the process but the interim output that I try to capture shows nothing? So good news - using your method I get the end result and the user is free to do other things ; / bad news - I can't show the interim output for feedback. If I use the following code I get the opposite effect - user cannot do anything until the process completes but the interim output updates to the field. In both cases the process completes with the final results. So it has to do with the timing of the send and the reading of the process (I also tried reading lines and have the same result as reading characters as shown below) local nM on mouseUp startProcess end mouseUp command startProcess put fld dbPathList into nM open process nM for update set the cRunning of this card to true readloop end startProcess command readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contains dblink disconnecting then set the cRunning of this card to false close process nM exit to top end if send readloop to me in 1 tick end if end if end readloop On Wed, Mar 28, 2012 at 5:35 PM, Mike Bonner bonnm...@gmail.com wrote: Sorry for posting and falling off the earth. A bit sick today but will try and give the gist of a send in time loop. This is just off the top of my head and as always there are probably better ways to do this (also as I mentioned before, not sure which forms of read will block and which won't so your mileage may vary depending on need) command startProcess ## code to connect to the process open process myprocess for update ## check for errors opening the process, if no errors then set the cRunning of this card to true -- a method to break the loop, set to false to stop the loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process myProcess until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of this card to false end if send readloop to me in 1 tick end if end readloop ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription
Re: Read from process
Very cool! I kept staring at the code you sent but i'm just too fuzzy today to make much sense of things. Glad its working for you! ___ use-livecode mailing list use-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 and OT: Calling All SETI Enthusiasts
Argue for your limitations and, indeed, they are yours. What obstacles, Bob? You show me true obstacles, not just bullshit, and I'll show you how they might be overcome. Date: Wed, 28 Mar 2012 11:53:08 -0700 From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: ANN and OT: Calling All SETI Enthusiasts Message-ID: 8b8ff4b1-1554-4813-9f68-47b55ee83...@twft.com Content-Type: text/plain; charset=us-ascii Rick Santorum is a Livecode programmer?? heh heh. But seriously, try actually coming up with some suggestions at least about how to overcome the obstacles. Otherwise, I declare your cry of bullshit to be the true bullshit that all who have no answers cry when they are confronted with the difficulties of their assertions. Bob On Mar 28, 2012, at 11:21 AM, Mick Collins wrote: Bob's logistics is, as Rick Santorum said day before yesterday, bullshlt. ___ use-livecode mailing list use-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: ScaleMatic
Roger, I was able to post to RevOnLine this morning. Jim Message: 7 Date: Wed, 28 Mar 2012 12:10:41 -0600 From: Roger Guay i...@mac.com To: use-livecode@lists.runrev.com Subject: ANN: ScaleMatic Message-ID: 1116b76a-8c30-4aff-a1cf-b2601961c...@mac.com Content-Type: text/plain; CHARSET=US-ASCII Hi all, Here is a small utility for making scales/rulers for your stacks: http://web.me.com/irog/Roger_Guay/Downloads.html Scroll down to lower left. Sure would be nice to get RevOnLine back!! Cheers, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: File path to image on iOS?
John, Yes that is possible in LC to use the mobilePickPhoto to grab a photo and then save it to an images folder in you apps sandbox and or your apps documents folder. Then you can use those images in your app by using the image path to your images folder. What you can't do is have the iOS camera app save to your app or its folders (except as previously stated by using mobilePickPhoto). something like this: set the name of the templateImage to FooBar -- the mobilePickPhoto uses the template image so you can set up all attributes here mobilePickPhoto front camera, 250, 250 -- call up the camera from within LC put image FooBar into URL (file: specialFolderPath(documents) / Foobar.png) -- this puts the image into a file in your documents folder delete image FooBar -- if needed delete image from stack LATER: put image (specialFolderPath(Documents) / FooBar.png) into image AnotherImage -- This puts the image into another image from the file -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 28, 2012, at 1:14 PM, John Patten wrote: Hi All... Is it possible to save an image from the iOS camera in a folder other than camera Roll? And is it possible for the iOS camera command to save the image in a folder within the app and then use those images by saving their path and then setting the filename of image object in app to something like, defaultFolder/images/imagnename.jpg? Thank you! John Patten SUSD ___ use-livecode mailing list use-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
Regular expression escape characters
I am building a regular expression to find a set of question marks and exclamation points. For example ??? or !!!. These are special characters so they mean something to a regular expression. How do I find them in the text? If I want to find a word such as Bill I can matchText with (\bBill\b) but I can't do (\b!!!\b) and if I do (\b???\b) I get an error. I've looked on the web for escaping characters and they suggest using a slash before. However, when I try (\b\!\!\!\b) it doesn't work. I've also found references to \Q…\E to have everything between a literal but (\b\Q!!!\E\b) doesn't work either. Any ideas? Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
PaintCode LiveCode
PaintCode is a new drawing program for the Mac that generates Objective C code to draw visual objects. Can it be use with LC? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LiveCode Player for 5.5
Hi Mark, Mark Schonewille-3 wrote I've been in computer labs where computers wouldn't have an (accessible) CD-rom drive or USB port. Computers in offices may not allow limited users to start an exe that's not installed in the programmes folder on the network. Well, maybe (just maybe) the safest computers are not connected to the internet and neither are accesible physically by anyone. :-D I have noticed that, in this country, many computer laboratories have software similar to Deep Freeze that effectively erase all unauthorized changes in the operating system: http://alternativeto.net/software/deep-freeze/? Maybe this explain why IT managers are more receptive in these recennt days to allow running portable applications from USB, SD Cards and Optical Media. You could read the sign in the wall: Turn off the computer when you have finished... I wrote in this mail list some time ago: To attract teachers and students Livecode needs... 1) An interface similar to Office programs, with similar functions and usability. 2) scripting should be disclosed gradually to new users. Jackeline have wrote about the convenience of offering many prebuilt (and droppable) scripts for simple tasks. Actually, teachers and students could do a lot using just a few elements of Livecode: For Navigation: Go Next/Back/ to Card [number][id] For display: Show/Hide with visual effect ... Other commands and functions: Put/Get/Set... 3) Ideally, RunRev should convince those that have the power to make decision, to USE Livecode in their district or institutions. After enough evidence of positive results is produced, the platform will gain more traction in education. Remember that every long journey, starts with a single step... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-More-Resolutions-On-The-Way-tp4495780p4514388.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: PaintCode LiveCode
You would have to include the code in an external. On 29/03/2012, at 2:35 PM, Charles Szasz wrote: PaintCode is a new drawing program for the Mac that generates Objective C code to draw visual objects. Can it be use with LC? Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] ACer A100 Tablet
Anyone got one of the above and willing to share thoughts on it? -- 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