Re: Using Quicktime to record sounds in Livecode

2012-03-22 Thread Richmond
Come to think of things.. I will re-ask a question I posed about 3 or 4 years ago! Why has Livecode not, yet, developed an in-built sound recording facility that is truly cross-platform and does not depend on o0ther software being present on the end-user's machine? And, the answer is (I'm

Re: datagrid in iOS scroller (improved questions)

2012-03-22 Thread Terry Judd
On 23/03/2012, at 5:34 PM, "Ken Corey" wrote: > On 22/03/2012 21:42, Ken Corey wrote: >> On 22/03/2012 20:02, Michael Doub wrote: >>> I have successfully used form data grids on IOS with no problem. Can >>> you be more clear on the symptoms of your problem? >>> >>> Are you setting the layer mo

Re: Using Quicktime to record sounds in Livecode

2012-03-22 Thread Richmond
On 03/22/2012 10:09 PM, Alejandro Tejada wrote: That's an "old chestnut" (will try to see about it this evening after work), but, while I am here this occurs to me: How can one record sounds in Livecode on Linux (can one?) ? If the answer to my question, Alejandro, is positive, maybe, just ma

Re: datagrid in iOS scroller (improved questions)

2012-03-22 Thread Ken Corey
On 22/03/2012 21:42, Ken Corey wrote: On 22/03/2012 20:02, Michael Doub wrote: I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to

Re: Prevent openStack message

2012-03-22 Thread Bill Vlahos
Mark, Yes I can. In fact, that is how I'm seeing it in the first place. I have an openStack handler in the front script. My example script doesn't normally generate an openStack message but LiveCode did. Thanks, Bill On Mar 22, 2012, at 10:47 PM, Mark Wieder wrote: >> I'm writing a plugin for

Re: Prevent openStack message

2012-03-22 Thread Mark Wieder
Bill- Thursday, March 22, 2012, 10:36:03 PM, you wrote: > I'm writing a plugin for the LiveCode IDE that triggers when a > stack is opened. In the case of my own stack I don't want to trigger > it when all I'm doing is opening up a dialog box in my own plugin. Hmmm... can you catch openStack in

Re: Prevent openStack message

2012-03-22 Thread Bill Vlahos
Mark, I want the dialog box to open but not send an openStack message. I'm writing a plugin for the LiveCode IDE that triggers when a stack is opened. In the case of my own stack I don't want to trigger it when all I'm doing is opening up a dialog box in my own plugin. Bill Vlahos

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Mark Wieder
Jacque- Thursday, March 22, 2012, 10:19:59 PM, you wrote: >> P.S. There really ought to be an illustration of the try-catch syntax >> in the dictionary. > I just looked, and I'm amazed there isn't. Myabe you could add a user note. Yeah - the throw command should be mentioned there as well. --

Re: [irev] retrieve HTTP header info

2012-03-22 Thread Nicolas Cueto
Sorry. Found an answer: Cheers. -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-liveco

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread J. Landman Gay
On 3/22/12 11:59 PM, Jim Hurley wrote: LC is an English muffin. So many nooks and crannies. I like that. :) P.S. There really ought to be an illustration of the try-catch syntax in the dictionary. I just looked, and I'm amazed there isn't. Myabe you could add a user note. -- Jacqueline L

Re: Prevent openStack message

2012-03-22 Thread Mark Wieder
Bill- Thursday, March 22, 2012, 8:56:14 PM, you wrote: > I'm trying to suppress openStack messages being sent. Lock messages doesn't > prevent it. > This script generates an openStack message. How can I prevent > that for the duration of the answer command? > on mouseUp >lock messages >

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
Jacque, Thanks. LC is an English muffin. So many nooks and crannies. Jim P.S. There really ought to be an illustration of the try-catch syntax in the dictionary. > > Message: 5 > Date: Thu, 22 Mar 2012 12:32:01 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Need an

[irev] retrieve HTTP header info

2012-03-22 Thread Nicolas Cueto
Hello All, I want to identify mobile users who visit my webpage. By looking at the HTTP header info. By way of experimentation/curiosity, I figured out a PHP way of doing this. For example, here's the PHP-retrieved header data from my browser: - [Accept] => text/html,application/xhtml+xm

Prevent openStack message

2012-03-22 Thread Bill Vlahos
I'm trying to suppress openStack messages being sent. Lock messages doesn't prevent it. This script generates an openStack message. How can I prevent that for the duration of the answer command? on mouseUp lock messages answer "Hello" end mouseUp What I'm trying to do is know when a stac

Re: revCopyFile

2012-03-22 Thread J. Landman Gay
On 3/22/12 9:26 PM, Pete wrote: Hi Jacque, Yes, I saw that in the dictionary. I don't think there's any metadata in the files I will be copying (straight .txt files) but I'll have to check that before going down this path. It should be fine with text files. -- Jacqueline Landman Gay |

Re: accessing colorized script

2012-03-22 Thread Mark Wieder
Peter- Thursday, March 22, 2012, 6:48:15 PM, you wrote: > Works like a charm! Fantastic!!! I am in awe!!! How did you discover this? Can't claim much ingenuity involved. Just poking about in the script editor stack and then just trial and (lots of) error. I was really hoping I could get it down

Re: revCopyFile

2012-03-22 Thread Pete
Hi Jacque, Yes, I saw that in the dictionary. I don't think there's any metadata in the files I will be copying (straight .txt files) but I'll have to check that before going down this path. I found the files function in the dictionary and it includes the file size in one of it's formats but it l

Re: revCopyFile

2012-03-22 Thread J. Landman Gay
On 3/22/12 7:25 PM, Pete wrote: Hi Maarten, That's a nice solution. Fast and doing it in chunks allows me to show a progress bar. I think I'll settle on that method. Is there a way to get the size of a file in LC? With that, I could decide if it's even worth displaying a progress bar. The r

Re: accessing colorized script

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 5:21 PM, Mark Wieder wrote: > Peter M. Brigham, MD writes: > Yes. When I use "-1" instead of the lengthier form, it won't compile, and > the long form compiles but doesn't >> do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev > Studio 4.5.3, bui

Re: revCopyFile

2012-03-22 Thread Pete
Hi Maarten, That's a nice solution. Fast and doing it in chunks allows me to show a progress bar. I think I'll settle on that method. Is there a way to get the size of a file in LC? With that, I could decide if it's even worth displaying a progress bar. Pete On Thu, Mar 22, 2012 at 4:11 PM, M

Re: UrlEncode oddness

2012-03-22 Thread J. Landman Gay
On 3/22/12 6:50 PM, Mark Schonewille wrote: Hi Jacque, Do you mean that the syntax I posted produced different results on OSX and iOS? That could be a bug. What happens if you just try to open the UTF-8 encoded URL on iOS (without urlEncoding it). I've tried both, and several other things too

Re: UrlEncode oddness

2012-03-22 Thread Mark Schonewille
Hi Jacque, Do you mean that the syntax I posted produced different results on OSX and iOS? That could be a bug. What happens if you just try to open the UTF-8 encoded URL on iOS (without urlEncoding it). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Hom

Re: UrlEncode oddness

2012-03-22 Thread J. Landman Gay
On 3/22/12 6:24 PM, Mark Schonewille wrote: Hi Jacque, I should point out that we need control over the way we encode our URL's. The default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and Latin-

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Tim Jones
Or - this can be applied to a night out clubbing - try put myBestPickupLine into myMouth catch theResponse If theResponse is not negative -- Oh yeah! set luckynight to true else put wittingComback into myMouth move body to new location finally if not l

Re: UrlEncode oddness

2012-03-22 Thread Mark Schonewille
Hi Jacque, I should point out that we need control over the way we encode our URL's. The default still is MacRoman on Mac and Latin-1 on Windows. If urlEncode converted all text to UTF8 by default, we'd have a lot of trouble getting MacRoman and Latin-1 encoded URL's. So, no, you don't want url

Re: revCopyFile

2012-03-22 Thread Bob Sneidar
Ohhh... good idea. And a perfect case for try/catch too! ;-) Bob On Mar 22, 2012, at 4:11 PM, Maarten Koopmans wrote: > I scripted this using the read as binary etc. using 16KB buffers some time > ago in pure LC. Much faster, and cross-platform. Idon'thave the code here > at hand, but it is re

Re: revCopyFile

2012-03-22 Thread Maarten Koopmans
I scripted this using the read as binary etc. using 16KB buffers some time ago in pure LC. Much faster, and cross-platform. Idon'thave the code here at hand, but it is really straightforward: Open the source file for read binary Open the destination file for write binary Read 16KB or whatever is

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
When you are in a standalone, a runtime error that would halt execution might be fatal. Try/Catch allows you to handle the error gracefully without presenting the user with an ugly dialog and a QTD afterwards. You can politely inform the user that something has gone wrong and you have to exit th

Re: Translation s'il vous pl?it/por favor :-)

2012-03-22 Thread Tim Jones
Josep - As with my French, would you mind clarifying the difference between Copie and Copiar? Thanks, Tim On Mar 22, 2012, at 3:31 PM, Josep M Yepes wrote: > Hi, > > Better... Copiar XXX a su carpeta Aplicaciones > > Salut, > Josep M > > El 22/03/2012, a las 21:30, use-livecode-requ...@lis

Re: Translation s'il vous pl?it/por favor :-)

2012-03-22 Thread Josep M Yepes
Hi, Better... Copiar XXX a su carpeta Aplicaciones Salut, Josep M El 22/03/2012, a las 21:30, use-livecode-requ...@lists.runrev.com escribió: > Espanol:Copie "thefile" a su carpeta Aplicaciones ___ use-livecode mailing list use-livecode

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Pete
Sorry to keep this thread going but I'm trying to figure out if I should be using try/catch more, particularly for database calls. As far as I know, you can tell if any of the standard rev db calls fail by checking their returned value or the result. Are there circumstances where that's not the c

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
The following script will provide a start in finding all the property values of a given object, in this case the button "button" It starts with "the propertynames" which is a list of ALL built-in property names in LC. It then attempts to put the value of each of these properties for the given

Re: datagrid in iOS scroller

2012-03-22 Thread Ken Corey
On 22/03/2012 20:02, Michael Doub wrote: I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? http://livecodejournal.com/

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bernard Devlin
I have been using the try/catch idiom for years. I like the structure it gives my code - visually it makes it very clear where I am expecting problematic sections to be. I rarely use 'finally'. However the problem has always been with interpreting the error codes that arise. For years I got roun

Re: accessing colorized script

2012-03-22 Thread Mark Wieder
Peter M. Brigham, MD writes: > >> Yes. When I use "-1" instead of the lengthier form, it won't compile, and the long form compiles but doesn't > do anything when I execute it. No error, no action. MacBook, OSX 10.6.8, Rev Studio 4.5.3, build 1210, > operating on an ordinary text field. I was so h

Re: LiveCode Player for 5.5

2012-03-22 Thread Richard Gaskin
Ray Horsley wrote: > I'm in the K-12 education field. Teachers are quickly moving away > from downloading anything and their IT guys are even worse, sometimes > setting up systems which disallow downloading a desktop app. I > hadn't looked at building for Web in a while but this is very > disco

Re: LiveCode Player for 5.5

2012-03-22 Thread Richard Gaskin
Ray Horsley wrote: > I like the idea of HTML5 export, too. Me too, but although translating layout isn't hard, given the vast differences between LiveCode and its object model and JavaScript/DOM, I wouldn't bet on it. -- Richard Gaskin Fourth World Systems Software Design and Development

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Tim Jones
Make's perfect sense. "dans votre" is the proper direction and I've changed the strings in our lang files. Thanks to you and Pierre for the clarification. Tim On Mar 22, 2012, at 1:30 PM, jacques CLAVEL wrote: > I agree with Pierre answer. > Examples : > > mettez le fichier sur votre bureau

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread jacques CLAVEL
I agree with Pierre answer. Examples : mettez le fichier sur votre bureau put the file on your desktop copiez le fichier dans votre dossier copy the file to (into) your folder mettez la montre à votre poignet put the watch on your wrist Hope this help Jacques Clavel 2012/3/22 Tim Jones > Pi

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
RunRev was thinking of calling the try construct, "TryAndDontStopDeadInYourTracksUponAnError" but they opted for the shorter version. ;-) Bob On Mar 22, 2012, at 1:08 PM, Mark Wieder wrote: >> On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: >> >>> Does anyone have any guidelines as to when

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
No advantage per se, but I use sqlYoga and the only way to determine what went wrong is in a try catch statement as the libSQLYoga stack is locked. Bob On Mar 22, 2012, at 11:49 AM, Pete wrote: > Interesting, never thought of that. Is there an advantage to doing that > over just issuing the

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Pierre Sahores
Hi Tim, No big semantical differences but the use is to say "dans votre" à votre --> to your sur votre --> on your dans votre --> in your Best, -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la première solution saas open source et commerciale de développement sémantique préprogram

Using Quicktime to record sounds in Livecode

2012-03-22 Thread Alejandro Tejada
Hi All, Recently, I have been struggling in Windows XP with sound recording in LiveCode using QuickTime 7.7.1 When I start recording, I see that hard disk is writing but when I click the button "Stop recording", there is no file written. This is the code that I am using, copied from a forum post

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Mark Wieder
> On Mar 22, 2012, at 10:33 AM, Michael Doub wrote: > > > Does anyone have any guidelines as to when you should use the try and catch structure? I don't really know > when or when not to use it. Here's another use (and apropos a different thread here) In order to recreate a control you'd want

Re: datagrid in iOS scroller

2012-03-22 Thread Michael Doub
I have successfully used form data grids on IOS with no problem. Can you be more clear on the symptoms of your problem? Are you setting the layer mode of the grid to scrolling and AcceleratedRendering of the stack to true? http://livecodejournal.com/forum/viewtopic.php?f=23&t=54 -= Mike

datagrid in iOS scroller

2012-03-22 Thread Ken Corey
Okay, so I decided to devote myself to a little toy project: download a list, display it to the user, and filter according to tags. Precisely the sort of thing I'd want a high-level language for, and LiveCode should be ideal, as I want it on Android devices as well! Okay, so I dig around and

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Tim Jones
Pierre, would you mind explaining the tense differences between the three options: à votre sur votre dans votre It turns out that one of our products has the first two as the text for this exact message. Your option is a third variant and I'm now completely confused :-

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Klaus on-rev
Mes amies, mi amigos, Am 22.03.2012 um 20:24 schrieb Pierre Sahores: > Copiez le fichier "" dans votre dossier "Applications" > -- > Pierre Sahores Am 22.03.2012 um 20:22 schrieb Ludovic Thébault: > Copiez XXX dans votre dossier Applications. Le 22 mars 2012 à 20:18, Tim Jones a écrit : >> On

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Pierre Sahores
or : Copiez le fichier "" dans votre dossier "Applications" -- Pierre Sahores mobile : 06 03 95 77 70 www.spimsco.net : la première solution saas open source et commerciale de développement sémantique préprogrammé Le 22 mars 2012 à 20:18, Tim Jones a écrit : > On Mar 22, 2012, at 12:15 PM, Tim

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Ludovic Thébault
Le 22 mars 2012 à 20:04, Klaus on-rev a écrit : > Hi friends, > > could you please translate this into french and spanish for me? > ... > Copy XXX to your "Applications" folder. Copiez XXX dans votre dossier Applications. ___ use-livecode mailing

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Klaus on-rev
Hi Tim, Am 22.03.2012 um 20:15 schrieb Tim Jones: > We've already got them, so here you go: > > Francais: Copiez le fichier "" à votre dossier > Applications > > Espanol:Copie "thefile" a su carpeta Aplicaciones Thanks a BUNCH! > If others could vet these JUST TO BE

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Tim Jones
On Mar 22, 2012, at 12:15 PM, Tim Jones wrote: > We've already got them, so here you go: > > Francais: Copiez le fichier "" à votre dossier > Applications Also may be: Copiez le fichier "" sur votre dossier "Applications" Tim _

Re: Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Tim Jones
We've already got them, so here you go: Francais: Copiez le fichier "" à votre dossier Applications Espanol:Copie "thefile" a su carpeta Aplicaciones If others could vet these JUST TO BE SURE :-). Tim On Mar 22, 2012, at 12:04 PM, Klaus on-rev wrote: > Hi friend

Translation s'il vous plâit/por favor :-)

2012-03-22 Thread Klaus on-rev
Hi friends, could you please translate this into french and spanish for me? ... Copy XXX to your "Applications" folder. ... Vielen Dank! Thanks a lot! Merci beaucoup! Muchas gracias! :-) Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Pete
Interesting, never thought of that. Is there an advantage to doing that over just issuing the database call and checking for an error right after? I've mostly thought of try/catch for as a debugging tool. I also use it any place where I put together a command in a variable and execute the comman

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
I use it to determine if there has been an error executing a sequel query for example. All my database calls go inside a try catch statement. If you put it into a repeat loop, you can test to see if perhaps you have been disconnected, or if a runtime error occurred due to a bad query, and then a

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:32 PM, J. Landman Gay wrote: > On 3/22/12 12:21 PM, Jim Hurley wrote: >> Thanks Peter. >> >> The problem now is what do these bloody error numbers translate into. >> Is the a list somewhere? > > The list is explained in the "errordialog" entry in the dictionary. You can >

RE: Need an example of how to use "try" and "catch"

2012-03-22 Thread Ralph DiMola
I second this! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net Also, as noted by Peter, the try statement doesn't help you with the specific example you used since getting a non-existant custom property doesn't cause an error. I've sometimes wished there was a p

Re: LiveCode Player for 5.5

2012-03-22 Thread Ray Horsley
I'm in the K-12 education field. Teachers are quickly moving away from downloading anything and their IT guys are even worse, sometimes setting up systems which disallow downloading a desktop app. I hadn't looked at building for Web in a while but this is very discouraging to find it's gone.

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a list somewhere? Jacque posted this two days ago: On 3/20/12 12:37 PM, Ralph DiMola wrote: > OK, I give up. How do you translate error num

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Michael Doub
Does anyone have any guidelines as to when you should use the try and catch structure? I don't really know when or when not to use it. -= Mike On Mar 22, 2012, at 1:21 PM, Jim Hurley wrote: > Thanks Peter. > > The problem now is what do these bloody error numbers translate into. > Is the a

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 1:11 PM, Jim Hurley wrote: > It does give an error here. I get the error message: > > button "Button": execution error at line n/a (Object: object does not have > this property) Sounds as if you're trying to get a built-in property that doesn't apply to that type of objec

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread J. Landman Gay
On 3/22/12 12:21 PM, Jim Hurley wrote: Thanks Peter. The problem now is what do these bloody error numbers translate into. Is the a list somewhere? The list is explained in the "errordialog" entry in the dictionary. You can retrieve the list with the line of script the dictionary provides.

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
Thanks Peter. The problem now is what do these bloody error numbers translate into. Is the a list somewhere? When I try: on mouseUP try put the cantdelete of me into temp catch tErr --- if tErr is ?? end try end mouseUP I get an error of 348,0,0 Jim > Peter Brigham wrote: > > T

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
It does give an error here. I get the error message: button "Button": execution error at line n/a (Object: object does not have this property) Jim > > Message: 2 > Date: Thu, 22 Mar 2012 09:55:20 -0700 > From: Pete > To: How to use LiveCode > Subject: Re: Need an example of how to use "tr

Re: LiveCode Player for 5.5

2012-03-22 Thread Bob Sneidar
There was some discussion about this in the past, and a lot of people seemed to think that making people install a plugin to run a web app was very undesirable these days. I think Runrev at that point put it on the back burner. I mean the stove in the shed on the north 40. Bob On Mar 22, 201

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
Also I forgot the finally part try -- some statements catch theError -- do some stuff if there is an error finally -- do some other stuff no matter what end try On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error a

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
Whoops maybe the second argument is not valid. On Mar 22, 2012, at 9:22 AM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 > > Jim > > >> Bob Sneidar wrote: > >>

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Pete
You're getting an error because the catch part of try takes only 1 parameter - the variable that holds the error - not two as in the script. Also, as noted by Peter, the try statement doesn't help you with the specific example you used since getting a non-existant custom property doesn't cause an

Re: LiveCode Player for 5.5

2012-03-22 Thread Keith Clarke
I think if the option was pulled, there would be a hue and cry from the developer community, whereas leaving it to whither on the vine has meant that most have just given up asking for an update. Given RunRev's 'no more roadmaps' policy, any web or enterprise developers who were waiting have p

Re: revCopyFile

2012-03-22 Thread Pete
Hi Geoff, Thanks for the speed test info. I'm not very familiar with shell commands so maybe you could let me know the command to use? What I need to do is copy a file to a different folder with a different file name. The lack of a progress bar might be a problem, but if the speed differences are

Re: LiveCode Player for 5.5

2012-03-22 Thread Mark Schonewille
Ray, I think it is just in case someone wants to use that feature and is willing to pay for it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Insta

Dismiss iOS KB

2012-03-22 Thread Mike Kerner
OK, this is weird - I can't seem to get rid of the iOS KB, even after the field that was being edited loses the focus by changing cards. This works in one project but not another. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Re: iOS Caching?

2012-03-22 Thread Mark Schonewille
Hi Dan, Although the internet library is no included in the iOS version of LiveCode as far as I know, you could try to unload the url before loading it again. If that doesn't work, you could try to use a different url every time, e.g. put decompress(url myFilePath & "?=" & the millisecs) into t

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 12:22 PM, Jim Hurley wrote: > Bob, > > Yes that would be fine, except that I get a compilation error at the line: > > catch theError, theNum > > RR says: (try: not a command), char 7 The syntax for the try construction is try catch tError end try and the error

Re: LiveCode Player for 5.5

2012-03-22 Thread Ray Horsley
I like the idea of HTML5 export, too. But regarding building standalones for Web, why do you think that option is still in the Standalone Application Settings window? On Mar 22, 2012, at 10:53 AM, Mark Schonewille wrote: > Ray, > > We know as much as you do. > > Also, I would consider it a

Re: Two More Resolutions On The Way

2012-03-22 Thread Mike Kerner
I guess I didn't think about them using the new iPad's pixel density instead of the iPhone 4's density. I guess we'll find out... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] of button "soAndso" into tProp > > Where the built in property may not exist.How would one catch the error and > perhaps proce

iOS Caching?

2012-03-22 Thread Dan Friedman
Greetings, I am experiencing an issue on my iPad with my LiveCode project that is puzzling me. It appears that my iOS app is caching data from a server. Once I read a file from my server in my app, that's the only version of the file that I get. For example, I read the file and I get the cor

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
Bob, Yes that would be fine, except that I get a compilation error at the line: catch theError, theNum RR says: (try: not a command), char 7 Jim > Bob Sneidar wrote: > try > put "foo" into myVar > put the value of myVarr > catch theError, theNum > -- breakpoint > answer theNum &

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Peter M. Brigham, MD
On Mar 22, 2012, at 11:33 AM, Jim Hurley wrote: > The dictionary needs an example of how the "try" command is used to catch an > error. > > Anyone have an illustration? > > For example, suppose one wanted to catch an error in the statement: > > put the {some built-in property of an object] o

Re: LiveCode Player for 5.5

2012-03-22 Thread Mark Schonewille
Ray, We know as much as you do. Also, I would consider it a waste of money if RunRev were to invest in the plugin again. I'd rather expect them to invest in HTML5 export. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com

Re: Need an example of how to use "try" and "catch"

2012-03-22 Thread Bob Sneidar
try put "foo" into myVar put the value of myVarr catch theError, theNum -- breakpoint answer theNum & cr & line1 of theError as sheet exit to top end try Is that what you mean? Bob On Mar 22, 2012, at 8:33 AM, Jim Hurley wrote: > The dictionary needs an example of how the "try" comma

Re: Two More Resolutions On The Way

2012-03-22 Thread Colin Holgate
I don't see anything in that article that suggests there are new resolutions. If the new phone used the same dpi as the new iPad, instead of the dpi of the iPhone 4, then you would get a 4.3 inch screen that is still 640x960. ___ use-livecode mailing li

Re: LiveCode Player for 5.5

2012-03-22 Thread Ray Horsley
So building standalones for Web has been discontinued for quite some time now in LiveCode? On Mar 22, 2012, at 10:36 AM, Klaus on-rev wrote: > Hi all, > > did you read the copyright notice on the download page: > Copyright RunRev Ltd 2009 All rights reserved. > > That's the year when the plug-

Re: LiveCode Player for 5.5

2012-03-22 Thread Klaus on-rev
Hi all, did you read the copyright notice on the download page: Copyright RunRev Ltd 2009 All rights reserved. That's the year when the plug-in was updated the last time! Well... Am 22.03.2012 um 16:27 schrieb Mark Schonewille: > Ray, no. > > -- > Best regards, > Mark Schonewille > On 22 mrt

Re: revCopyFile

2012-03-22 Thread Bob Sneidar
Could you share the shell script that does the copy? That would be useful to many I think. Bob On Mar 21, 2012, at 11:25 PM, Geoff Canyon wrote: > The advantages derive from the fact that LiveCode isn't doing the actual > copying with revCopyFile -- the Finder is. For completeness, the same >

Need an example of how to use "try" and "catch"

2012-03-22 Thread Jim Hurley
The dictionary needs an example of how the "try" command is used to catch an error. Anyone have an illustration? For example, suppose one wanted to catch an error in the statement: put the {some built-in property of an object] of button "soAndso" into tProp Where the built in property may n

Re: LiveCode Player for 5.5

2012-03-22 Thread Mark Schonewille
Ray, no. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za On 22 mrt 2012, at 17:18, Ray

LiveCode Player for 5.5

2012-03-22 Thread Ray Horsley
I've always downloaded the plugin at: http://revweb.runrev.com/ This gives me version (R9) which does not run standalones built for Web in Livecode 5.5. Is there another site to get the LiveCode player which will run standalones built in 5.5? Thanks, Ray Horsley LinkIt! Software __

Two More Resolutions On The Way

2012-03-22 Thread Mike Kerner
In case you missed it, the rumor on the iPhone 5's new display: http://www.reuters.com/article/2012/03/22/us-apple-iphone-idUSBRE82L01G20120322 I think it's time to discuss a better way to do geometry design for iOS in LC. -- On the first day, God created the heavens and the Earth On the second

Playing Flash Video?

2012-03-22 Thread Trevor DeVore
I know someone who would like to add Flash video playback to a LiveCode project that already supports QuickTime and DirectShow. It must be possible to query the duration and current time of the video, set the current time, and play/pause the video via script. I'm looking for anyone who has done wo

Re: [irev] passing a parameter

2012-03-22 Thread Dave Cragg
On 22 Mar 2012, at 10:47, Alex Tweedly wrote: > > No idea - I've just always done it :-) > > Yep - a quick check says you're right, they are already urlDecoded Thanks for checking. ___ use-livecode mailing list use-livecode@lists.runrev.com Please v

Re: [irev] passing a parameter

2012-03-22 Thread Alex Tweedly
No idea - I've just always done it :-) Yep - a quick check says you're right, they are already urlDecoded In fact, the release notes say: $_GET Available when running in CGI mode. It is an array variable, translated from the QUERY_STRING. It assumes the query string is encoded as url-form-enc

Re: [irev] passing a parameter

2012-03-22 Thread Dave Cragg
On 22 Mar 2012, at 08:54, Alex Tweedly wrote: > put URLdecode( $_GET["keyname"] ) into tData Alex, just a question for future reference. Is it necessary to URLDecode the $_GET values? I'm going on php experience here where $_GET values are already decoded. I was assuming it would be the same

Re: [irev] passing a parameter

2012-03-22 Thread Alex Tweedly
You pass the parameter in the URL using a name=value pair, like http://kweto.com/receiveData.irev?month=Jan2012 or http://kweto.com/receiveData.irev?day=12&month=Jan2012 Note that if you are passing this from a script, you should URLencode the value before passing it put URLencode(mydata)

Re: [irev] passing a parameter

2012-03-22 Thread Kee Nethery
This is correct except it is a key value pair: http://kweto.com/receiveData.irev?date=Jan2012,sender=Nicolas%20Cuelo that kind of thing. Also, the data you pass should be URL encoded (as in above replacing the space between your names with the URL encoded version of that character). Kee

Re: Text formatting for a slider

2012-03-22 Thread Jim Hurley
It is not just the arrays. It omits things like the foregroundcolor and backgroundcolor. I get a rough count of 34 properties using "the properties of" for a scrollbar and Richard shows 57. Jim > > Message: 19 > Date: Wed, 21 Mar 2012 18:02:35 -0700 > From: Mark Wieder > To: How to use LiveC

Re: Setting script in object not working...

2012-03-22 Thread Ken Corey
On 21/03/2012 22:01, Glen Bojsza wrote: I have a stack where I generate a series of images. I then set the script of each image to a script that is stored in a custom property. I'm *very* new to all of this but...isn't this when the 'behavior' field would come in handy? Put the script into