Re: [mobile:Android] mobileSetAllowedOrientations gives error

2011-06-07 Thread Roger Eller
On Tue, Jun 7, 2011 at 12:34 AM, J. Landman Gay wrote: On 6/6/11 7:30 PM, Roger Eller wrote: It was previously reported on May 13, 2011, and flagged as 'Fixed' on June 1, 2011. http://quality.runrev.com/show_bug.cgi?id=9540 I added my comment that it is STILL upside-down, but the QCC

process data in steps of 50 lines

2011-06-07 Thread Matthias Rebbe
Hi, i have a variable which contains data with unspecified number of lines. It can be 3 but it can also be 9000 or whatever. I need to do some calculations with each line of that data, but want to do it in steps of e.g. 50 lines. I thought i would do that with 2 repeat loops ( one within the

Re: process data in steps of 50 lines

2011-06-07 Thread Mark Schonewille
Hi Matthias, Since the data is already in memory, there is no reason to process it in steps of 50. Also, using repear with x =... is very slow. Use repear for each with a counter instead: put 0 into myCounter repeat for each line myLine in DATA add 1 to myCounter // do something with

Re: SMIL and QuickTime

2011-06-07 Thread Bernard Devlin
I looked into SMIL/QT a couple of years back, but never did much with it. Could it be simply that the URL in the xmlns:qt is returning a 404? Maybe there was a real document there before. If that is the problem, then maybe you can put the appropriate document up on a webserver of your own and

Re: SMIL and QuickTime

2011-06-07 Thread Klaus on-rev
Hi Bernard, Am 07.06.2011 um 15:38 schrieb Bernard Devlin: I looked into SMIL/QT a couple of years back, but never did much with it. Could it be simply that the URL in the xmlns:qt is returning a 404? Maybe there was a real document there before. If that is the problem, then maybe you can

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Mark Schonewille
if folder path to folder exists then it is obvious else please end if -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Andrew Kluthe
if there is a folder folderpath then and for files if there is a file filepath then You can also use if there is not a folder folderpath i think. -- View this message in context:

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Klaus on-rev
Hi Keith, Am 07.06.2011 um 16:16 schrieb Keith Clarke: Hi folks, I've tried to check if a folder 'is empty' or 'is not true' but I'm obviously missing the magic word - and I know it's not 'please', as LiveCode ignores all my pleading! ;-) Why do I get the feeling it's another one of those

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Colin Holgate
Look up there is in the dictionary. There is a few choices about how you phrase the question. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Robert Brenstein
On 07.06.2011 at 15:16 Uhr +0100 Keith Clarke apparently wrote: Hi folks, I've tried to check if a folder 'is empty' or 'is not true' but I'm obviously missing the magic word - and I know it's not 'please', as LiveCode ignores all my pleading! ;-) Why do I get the feeling it's another one of

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Mark Schonewille
Damn... I mixed up exists and there is :-( Exists is for objects only, there is can be used with objects and files and folders. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Keith Clarke
Great, thanks to all who responded! Blindingly obvious once viewed with hindsight - and as Colin rightly suggests, it seems 'there is' still much I need to learn about the subtleties of the LiveCode syntax! ;-) I went for a matching pair of one-liners, which worked very nicely: if there is

Re: SMIL and QuickTime

2011-06-07 Thread Richard Gaskin
Bernard Devlin wrote: I looked into SMIL/QT a couple of years back, but never did much with it. Could it be simply that the URL in the xmlns:qt is returning a 404? Maybe there was a real document there before. If that is the problem, then maybe you can put the appropriate document up on a

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Björnke von Gierke
You got lots of responses about wether a folder exists, but to check if a folder does not contain files (is empty) one has to do a rather complex script: function folderIsEmpty theValidPath set the defaultFolder to theValidPath put the files into theList filter theList without .* if the

Re: How do you build the tabs like in the script editor

2011-06-07 Thread Bob Sneidar
I think the difference is that you expect an option button to work that way. Menus are something different. Even if a user made a choice before, you wouldn't want to prevent him from making the same choice again. Is there a way with a tab object to have no selection, that is have none of the

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Ken Ray
I went for a matching pair of one-liners, which worked very nicely: if there is not a folder this_folder then create folder this_folder if there is not a folder this_folder/that_subfolder then create folder this_folder/that_subfolder Just a reminder - don't forget to check the result after

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Jim Ault
On Jun 7, 2011, at 7:37 AM, Keith Clarke wrote: Great, thanks to all who responded! Blindingly obvious once viewed with hindsight - and as Colin rightly suggests, it seems 'there is' still much I need to learn about the subtleties of the LiveCode syntax! ;-) I went for a matching pair of

Re: process data in steps of 50 lines

2011-06-07 Thread Bob Sneidar
If you are not planning to change anything in the data itself, then you can use the repeat for each line theLine of theData form in your inner loop. But I do not see the advantage of doing it in blocks of 50, unless there is something about the data that requires it. Bob On Jun 7, 2011, at

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Bob Sneidar
You can say there is not?? Well I'll be damned! Bob On Jun 7, 2011, at 7:37 AM, Keith Clarke wrote: Great, thanks to all who responded! Blindingly obvious once viewed with hindsight - and as Colin rightly suggests, it seems 'there is' still much I need to learn about the subtleties of

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Richard Gaskin
Ken Ray wrote: I went for a matching pair of one-liners, which worked very nicely: if there is not a folder this_folder then create folder this_folder if there is not a folder this_folder/that_subfolder then create folder this_folder/that_subfolder Just a reminder - don't forget to check the

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Richard Gaskin
Bob Sneidar wrote: You can say there is not?? Well I'll be damned! And don't forget the most important request in the RQCC, Jeanne's suggestion for adding an aint operator: http://quality.runrev.com/show_bug.cgi?id=3157 :) -- Richard Gaskin Fourth World LiveCode training and

Will iOS 5 Beta break usage of LiveCode App testing?

2011-06-07 Thread Terry Vogelaar
Hi all, I would like to try iOS 5 beta on my iPod Touch, and I can because I am a registered iOS developer. But I also use the iPod for testing apps I make in LiveCode. So I wonder, will installation break that ability? Terry ___ use-livecode mailing

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Bob Sneidar
will it support double negative expletives like ain't no damned folder? Bob On Jun 7, 2011, at 8:55 AM, Richard Gaskin wrote: Bob Sneidar wrote: You can say there is not?? Well I'll be damned! And don't forget the most important request in the RQCC, Jeanne's suggestion for adding an

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Peter Brigham MD
Sure -- what you get instead of true or false is damn right there ain't no damn folder! or of course the damn folder exists, stupid! -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jun 7, 2011, at 12:06 PM, Bob Sneidar wrote: will it support double negative

Re: [mobile:Android] mobileSetAllowedOrientations gives error

2011-06-07 Thread J. Landman Gay
On 6/7/11 5:58 AM, Roger Eller wrote: On Tue, Jun 7, 2011 at 12:34 AM, J. Landman Gay wrote: On 6/6/11 7:30 PM, Roger Eller wrote: It was previously reported on May 13, 2011, and flagged as 'Fixed' on June 1, 2011. http://quality.runrev.com/show_bug.cgi?id=9540 I added my comment that it

Re: Will iOS 5 Beta break usage of LiveCode App testing?

2011-06-07 Thread Colin Holgate
I'll be able to tell in a while. The existing Xcode won't set your iOS 5 device for development, so I'm having to download the new Xcode, then I'll know and will report back. On Jun 7, 2011, at 12:04 PM, Terry Vogelaar wrote: I would like to try iOS 5 beta on my iPod Touch, and I can because

Re: Will iOS 5 Beta break usage of LiveCode App testing?

2011-06-07 Thread Andre Garzia
folks, just a word of warning, Lion installation failed on my machine it is a macbook pro with intel C2D... be sure to pass the disk utility and repair your HD before installing, if Lion install finds anything wrong with your HD it will fail installation. Andre On Tue, Jun 7, 2011 at 2:08

Re: Software Order Processing Service?

2011-06-07 Thread Andrew Kluthe
Trying to setup a paypal subscription system that works with my revIgniter app. Anyone hooked up revServer and paypal ipn? Have any info you can share or goodies I can buy? -- View this message in context:

Re: process data in steps of 50 lines

2011-06-07 Thread Mark Talluto
On Jun 7, 2011, at 6:27 AM, Mark Schonewille wrote: Since the data is already in memory, there is no reason to process it in steps of 50. Also, using repear with x =... is very slow. Use repear for each with a counter instead: I believe there is a major speed benefit to chunking the data

Re: Will iOS 5 Beta break usage of LiveCode App testing?

2011-06-07 Thread Colin Holgate
With the latest Xcode I could set my iPad for development, and also copy on an LC app. It ran, but when dragging images around the background image blacked out. As I dragged the foreground image around the card the background would heal itself. Not sure if that's an iOS 5 beta issue, but

How do you build the tabs like in the script editor

2011-06-07 Thread Mark Stuart
on Mon Jun 6 23:31:53 CDT 2011, J. Landman Gay wrote: If you view UI elements in lists, the group Script Tabs is in revSETemplate on card Main. Thanx for the heads up on this Jacqueline. I noticed the Script Tabs group is using a behavior button - several lines of code. The objects (buttons)

Windows? [OT]

2011-06-07 Thread Richmond Mathewson
Running Livecode on ReactOS [Why? Because its there!] 1. Running ReactOS in Oracle VM VirtualBox on Ubuntu-Linux 11.04 (Host has 1 GB RAM, VBox 512). 2. The pre-configured VBox image on the ReactOS site froze fairly quickly. 3. Downloaded an SVN 0.4 build and installed from the ISO image.

Re: process data in steps of 50 lines

2011-06-07 Thread Matthias Rebbe
Hi Bob, in my case data contains sql update commands in each line. I want to open the DB connection, send 50 (maybe more if that works) sql commands one after one and then close the db connection. And want to repeat that with the other lines. I just want to avoid that there are timeouts, if i

Re: process data in steps of 50 lines

2011-06-07 Thread Matthias Rebbe
Hi Mark, could you please explain how you did that. How you chunk the data into groups? That is not clear for me. Regards, Matthias Am 07.06.2011 um 20:46 schrieb Mark Talluto: On Jun 7, 2011, at 6:27 AM, Mark Schonewille wrote: Since the data is already in memory, there is no reason to

Re: Software Order Processing Service?

2011-06-07 Thread Andre Garzia
I have a paypal solution that will go on sale after I test it some more. I hope to have a beta available shortly. Cheers -- enviado do meu Nexus S - android is freedom. http://andregarzia.com :: all we do is code http://fon.nu :: minimalist url shortening On Jun 7, 2011 3:35 PM, Andrew Kluthe

Re: process data in steps of 50 lines

2011-06-07 Thread Matthias Rebbe
Hi Mark, thanks for your suggestion. That works so far, but maybe i can speed it up with Mark Tallutos technique. Regards, Matthias Am 07.06.2011 um 15:27 schrieb Mark Schonewille: Hi Matthias, Since the data is already in memory, there is no reason to process it in steps of 50. Also,

Re: Software Order Processing Service?

2011-06-07 Thread Thomas McGrath III
That's after you finish the Facebook solution? Right? ;-) -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jun 7, 2011, at 5:14 PM, Andre Garzia wrote: I have a paypal solution that will go on sale after I test it some more. I hope to have a beta available shortly.

Re: process data in steps of 50 lines

2011-06-07 Thread Mark Talluto
Hi Matthias, The code below is based on a locally saved text file that is vertical bar delimited. The code counts a particular value in each customer record. The true portion of the if counts the entire database. The else portion counts only the customers that are currently being viewed.

Re: process data in steps of 50 lines

2011-06-07 Thread Matthias Rebbe
Hi Mark, many thanks for that. I will check it tomorrow. It´s late here and i am afraid if i look into it now i will get no sleep. ;) Regards, Matthias Am 07.06.2011 um 23:46 schrieb Mark Talluto: Hi Matthias, The code below is based on a locally saved text file that is vertical bar

Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread stephen barncard
I have a lot of 'quick' stacks around that are too specific and tiny for each to have its own engine - what I've been doing is compiling a standalone 'Launcher' that looks at a web folder and lists the available stacks. i then select one and launch it via the 'go URL' command. Slick. Inspired by

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread Andrew Kluthe
I couldn't get datagrids to work in this fashion at all. :\ I included one on a hidden card in my launcher, built it as a standalone, no datagrids working anywhere on my test machine. I have been using the actual stack launcher from sons of thunder for any projects I need that need to use this

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread stephen barncard
Perhaps Trevor or *the Slug* can chime in here. It would be useful if the Datagrid was just a bit more portable. On 7 June 2011 15:40, Andrew Kluthe and...@rjdfarm.com wrote: I couldn't get datagrids to work in this fashion at all. :\ I included one on a hidden card in my launcher, built it

Re: Software Order Processing Service?

2011-06-07 Thread Andre Garzia
Actually I need the IPN solution to process the purchases from the Facebook library, so they are both being done together. Four things are being developed together since I need them all working before I can start selling stuff: * CMS built with RevServer, code named Beluga, this is basically a

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread Marty Knapp
Stephen, From this lesson: http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7339-What-Do-I-Need-to-Do-To-Deploy-a-Standalone-With-A-Data-Grid- --- Some developers prefer to use a launcher (or splash) stack technique. This technique builds a standalone using a stack with very

Re: Software Order Processing Service?

2011-06-07 Thread Mark Schonewille
Hi Andrew, If you need a quick solution, I can set up a PHP site for you. RevServer would take considerably more time and effort than PHP, but I could do that too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter:

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread Marty Knapp
I did read your explanation, but obviously I misunderstood something. My apologies. Marty I don't think you fully read my explanation and why this is not what I want. I don't want to recompile every time and this method is specific to one datagrid. I am not using the 'splash stack' method so

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread stephen barncard
I didn't install templates anywhere else. It's the same substack. I'm pretty sure I included the DG library if there is one. There is no error message. DGText doesn't load anything and even with content in there it doesn't scroll. BUt the stack template substack is right there. Marty - didn't

Re: What's the syntax to check if a local folder exists?

2011-06-07 Thread Mark Wieder
Bob- Tuesday, June 7, 2011, 9:06:44 AM, you wrote: will it support double negative expletives like ain't no damned folder? http://quality.runrev.com/show_bug.cgi?id=3157 -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: Software Order Processing Service?

2011-06-07 Thread Andrew Kluthe
I appreciate the offer, but I would prefer this be done with RevServer. I have something that works, it is just not very automated. If I could tap into the IPN easily from revIgniter, I would be happy as a clam. So I shall just make do until Andre releases his fabulous set of everything onto the

Re: Using Datagrids with 'stackrunner' like launcher.

2011-06-07 Thread Anthony Howe
Yea, I experience weird datagrid draws also here. 4.5.2, OSX. The offending datagrids are in an external stack that is loaded ('start using stack') on the fly when required. When I open these stacks at any time, the datagrids display incorrect highlighting (sometimes multiple lines selected),