Re:

2011-07-25 Thread Gerry Orkin
I keep things simple by using these two routines that might work for you: on writefile fileTowrite,dataTowrite set the defaultFolder to specialFolderPath(Documents) put dataTowrite into URL ((file:fileTowrite.txt)) end writefile function readFromFile whatFile set the defaultFolder to

standalone won't start on Win2K

2011-07-25 Thread Nicolas Cueto
Hi, When a standalone built with LC4.6.1 starts on a Win2K PC, the result is a crash with CreaterFiberEX and Kernel32.dll in the crash message. Any workarounds for this (upgrading Win2K is not an option)? Thanks. -- Nicolas Cueto ___ use-livecode

I need to import photo's in an app? How?

2011-07-25 Thread Tabitha Vogelaar
I'm just a beginner and this is the first time I use the mailinglist. I'm working on an app and I want to make it possible for the user to import photo's saved on his/her iPod/iPad. (I'm sorry, my english isn't very good. I'm dutch) My father said something about something called

Re: I need to import photo's in an app? How?

2011-07-25 Thread Gerry Orkin
I'm just a beginner and this is the first time I use the mailinglist. I'm working on an app and I want to make it possible for the user to import photo's saved on his/her iPod/iPad. Look at page 21 of the iOS User Guide. This code: iPhonePickPhoto library, 300,400 ...will show the

previous page button of browser opening on-rev server page

2011-07-25 Thread paolo mazza
How can I prevent users from opening an .irev page clicking the previous page button of the browser ? I mean. I have a on-rev.com/xxx.irev page resulting from the LiveCode cgi process . If the user move forward from this page, I do not want the user be able to go back to the previous page

Re: standalone won't start on Win2K

2011-07-25 Thread Mark Schonewille
Hi Nicolas, Do you have SP4 installed? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now

Re: OT: on-rev account ftp server error 552 disk full???

2011-07-25 Thread Tim Selander
Problem solved. Thank you to Heather and the support team at on-rev.com Tim Selander Tokyo, Japan On 7/25/11 12:48 PM, Tim Selander wrote: we are having the same problem on freyr... will be sending a support email asap. Tim Selander Tokyo, Japan Jim Lambert wrote: I bet Klaus is on freyr

Re: previous page button of browser opening on-rev server page

2011-07-25 Thread paolo mazza
Hi Mark, when I go back with then previous page button of the browser, the cgi does not run again. The browser simply return the HTML recorded in the browser cache. I tried with Safary and with Firefox; both of them do the same thing. However, if I empty the cache before returning to the

Re: OT: on-rev account ftp server error 552 disk full???

2011-07-25 Thread Klaus on-rev
Hi friends, Am 25.07.2011 um 01:59 schrieb Jim Lambert: I bet Klaus is on freyr since I see the same error on freyr. Yep, its Freyr! But today it is working again as if nothing happened at all, go figure :-) Working for you, too, Jim? Jim Lambert Best Klaus -- Klaus Major

Re: I need to import photo's in an app? How?

2011-07-25 Thread Gerry Orkin
Er, it's http://lessons.runrev.com :) g On 25/07/2011, at 7:36 PM, William de Smet wrote: http://lesson.runrev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re:

2011-07-25 Thread Mark Schonewille
Hi ..., Your scripts looks correct, but you got some small mistakes in your script, which might make it fail. I also think your could improve your scripting style to make it more readable, which will help you to avoid mistakes. You set the defaultFolder for no apparent reason. References to

Re: previous page button of browser opening on-rev server page

2011-07-25 Thread Shao Sean
Jump down to example two and just do that in your .irev page http://php.net/manual/en/function.header.php ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: previous page button of browser opening on-rev server page

2011-07-25 Thread Mark Schonewille
I see, Paolo, I misunderstood your questions. As always, do what Shao Sean says ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy

Re: Re:

2011-07-25 Thread Ken Ray
The tendency of programmers to use non-human-like language for object names really drives me more than nuts. LiveCode allows for spaces in object and file names. Use them! Mark, although I can appreciate your feelings about this, there are legitimate reasons one might not want to use spaces

Re: previous page button of browser opening on-rev server page

2011-07-25 Thread paolo mazza
Thank you all. Trying to get rid of the browser cache setting the proper headings (as Shao Sean suggested) , I came up with these 2 solutions: FIRST ONE WITH PHP ?php header(Cache-Control: no-cache, must-revalidate); header(Expires: Fri, 30 oct 1998 14:18:41 GMT); ? ?php $dateTime =

Re: OT: gmail two factor authentication

2011-07-25 Thread Bob Sneidar
Hah hah! I am going to have to work that into a conversation some time this week! Bob On Jul 24, 2011, at 3:09 PM, Roger Eller wrote: On Sun, Jul 24, 2011 at 4:30 PM, Maarten Koopmans wrote: All, I just got a nice box from Google explaining that there was suspicious account activity

Re: Re:

2011-07-25 Thread Bob Sneidar
I concur with Ken. So many environments do not allow the use of spaces. Some are case sensitive. The solution for me? Always use a-z lowercase names, never capitalize anything. Otherwise I WILL end up biting my own butt. Bob On Jul 25, 2011, at 6:15 AM, Ken Ray wrote: The tendency of

Re: [ANN] New plugin AAG|LayerComps

2011-07-25 Thread Andre Garzia
I am not a genius, Mark Waddingham is a genius... I am Brazilian though, and since all Brazilians are Evil... I can qualify for evil now and try to reach my genius degree later... On Mon, Jul 25, 2011 at 1:29 PM, Bob Sneidar b...@twft.com wrote: And he has yet to succumb to evil, the way most

Re: [ANN] New plugin AAG|LayerComps

2011-07-25 Thread Bob Sneidar
hmmm... that is EXACTLY what an Evil Brazilian Genius might say to put us off his trail... Bob On Jul 25, 2011, at 9:57 AM, Andre Garzia wrote: I am not a genius, Mark Waddingham is a genius... I am Brazilian though, and since all Brazilians are Evil... I can qualify for evil now and try to

iPhone/iPad App FINALLY Resleased

2011-07-25 Thread TERRY HASS
Hi All, I am proud to announce that my GoldTrader101 iPhone/iPad app has FINALLY been released and is available at the Apple App Store. It is written entirely in LiveCode. Below is a link to the app page. View In iTunes Being new to LiveCode and to programming in general, this experience has

Re: stackfiles -- how to use?

2011-07-25 Thread J. Landman Gay
On 7/24/11 9:42 PM, Nicolas Cueto wrote: snip To do the above, here are my steps: STEP 1) place the following script in card 1 of AllMightyStack.exe: on openCard setUpFoundation end openCard on setUpFoundation put Index-stack,Index-stack.rev cr game1,game1.rev cr \ game2,game2.rev cr

Re: iPhone/iPad App FINALLY Resleased

2011-07-25 Thread Roger Eller
On Mon, Jul 25, 2011 at 2:22 PM, TERRY HASS wrote: Hi All, I am proud to announce that my GoldTrader101 iPhone/iPad app has FINALLY been released and is available at the Apple App Store. It is written entirely in LiveCode. Below is a link to the app page. View In iTunes Being new to

Re: stackfiles -- how to use?

2011-07-25 Thread Pete Haworth
I think I missed the original post of this thread, but perhaps a start using command would take care of all this? Pete On Mon, Jul 25, 2011 at 11:28 AM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/24/11 9:42 PM, Nicolas Cueto wrote: snip To do the above, here are my steps: STEP

Re: Re:

2011-07-25 Thread stephen barncard
Another good piece of advice is watch namespaces. The parser looks at all tokens, so avoid the use of names that match language functions, commands or properties. A handler named answerDialog for instance, is bound for trouble. This usually can be avoided by using the 'standard' prefixes as

A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hello All! I am still playing with LiveCode and have a question regarding the Geometry Manager. When I am working on a stack, I set the Geometry Manager to resize several objects. The thing is, after implementing the settings, the objects do not resize until compiled (i.e., into a standalone

Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread J. Landman Gay
On 7/24/11 1:23 PM, Pete Haworth wrote: I guess this isn't quite the same thing but why is it that when I create a field by script, the size of the field is different than when I just drag one to my stack from the Tools palette. I thought the templates were supposed to ensure consistency but

Re: stackfiles -- how to use?

2011-07-25 Thread J. Landman Gay
On 7/25/11 1:43 PM, Pete Haworth wrote: I think I missed the original post of this thread, but perhaps a start using command would take care of all this? If the stackfiles property is included in the inheritance hierarchy, which is what I'm not sure of, then yes. Although in this case, the

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Pete Haworth
Cool, thanks Jacque - I need to look at the references more carefully! Still think it would be nice if the templates obeyed the preference settings though, or at least have a preference setting to achieve that. Pete On Mon, Jul 25, 2011 at 12:14 PM, J. Landman Gay

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Mark Wieder
Andre- Monday, July 25, 2011, 12:32:31 PM, you wrote: just out of curiosity, what does MC IDE do, any clue? With the MC IDE you draw the object onto the stack rather than dragging it, rather like the RR tool palette of old, so the default size doesn't really come into play. -- -Mark Wieder

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Klaus on-rev
Hi Andre, Am 25.07.2011 um 21:32 schrieb Andre Garzia: On Mon, Jul 25, 2011 at 4:14 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/24/11 1:23 PM, Pete Haworth wrote: I guess this isn't quite the same thing but why is it that when I create a field by script, the size of the

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Andre Garzia
no predefined sizes, just select a tool and drag/create an object. Oh I see!!! Thanks guys! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Bob Sneidar
One of the things I was working on was a dropField stack, in which you set up some minimum and maximum sizes, the font and size you want, and then you can pick a column in an SQL table, and the dropfield stack will drop the field onto your main stack card, no smaller than x, no larger than y,

Re: pasting text from revbrowser

2011-07-25 Thread Serge Brami
Hi it happens nothing ... always no returns Le 24 juil. 2011 à 16:52, Slava Paperno a écrit : What happens if you replace char(10) with the string br? Slava -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- boun...@lists.runrev.com] On Behalf

Re: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread J. Landman Gay
On 7/25/11 2:08 PM, Keith (Gulf Breeze Ortho Lab) wrote: Hello All! I am still playing with LiveCode and have a question regarding the Geometry Manager. When I am working on a stack, I set the Geometry Manager to resize several objects. The thing is, after implementing the settings, the objects

Sorry: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Sorry folks! New to this... I think my last post went into the wrong thread (because I replied to a message--my bad)... 8-( Here it is again as a separate post: Hello All! I am still playing with LiveCode and have a question regarding the Geometry Manager. When I am working on a stack, I set

Re: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hi Jacqueline, Thanks for your reply. (FYI: I just reposted this original message because my previous message used a reply message and was therefore placed in the wrong thread within the message archive.) Actually, the Messages button is not selected/bold. And it is still not working in the

Re: Sorry: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Solved! Okay; here was the problem. ;-) I downloaded and installed the trial version of NativeGeometry the other day... The plugin was loading each time I started LiveCode and was obviously causing some kind of conflict. I went into the LiveCode Plugin Settings dialog and set the plugin so it

Re: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Bob Sneidar
Are you intercepting any messages and not passing them in an attempt to control your object geometry? If so, pass the messages after you handle them and see what happens. Just a guess. Bob On Jul 25, 2011, at 1:51 PM, Keith (Gulf Breeze Ortho Lab) wrote: Hi Jacqueline, Thanks for your

Re: standalone won't start on Win2K

2011-07-25 Thread Nicolas Cueto
Do you have SP4 installed? I didn't. But now I do. And, problem gone. Thanks Mark! -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Ken Ray
On Jul 25, 2011, at 2:32 PM, Andre Garzia wrote: On Mon, Jul 25, 2011 at 4:14 PM, J. Landman Gay jac...@hyperactivesw.comwrote: On 7/24/11 1:23 PM, Pete Haworth wrote: I guess this isn't quite the same thing but why is it that when I create a field by script, the size of the field is

Re: Field Sizes [was: [ANN] New plugin AAG|LayerComps]

2011-07-25 Thread Ken Ray
On Jul 25, 2011, at 3:23 PM, Bob Sneidar wrote: One of the things I was working on was a dropField stack, in which you set up some minimum and maximum sizes, the font and size you want, and then you can pick a column in an SQL table, and the dropfield stack will drop the field onto your

Re: A Question about Geometry Manager in LiveCode...

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hi Bob, The other day I installed the trial version of the NativeGeometry plugin, and apparently it was causing a conflict. I disabled it and now everything works okay. 8-) Thanks! - Boo - Original Message - From: Bob Sneidar b...@twft.com To: How to use LiveCode

What is the fastest database?

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hello, I have approximately 25 MB of data (plain text) that consists of approximately 140,000 different entries (one per line--pipe delimited). I am working on an application to quickly search through the data not unlike the LiveCode Dictionary application. However, it will be necessary for my

Re: What is the fastest database?

2011-07-25 Thread Jeff Massung
That amount of data is ridiculously small. If you don't care about many thousands of concurrent connections and having to transform the data set periodically over time, then SQLite3 is probably the easiest to use, but really, for that tiny amount of data, *any* database application will work. I've

Re: What is the fastest database?

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hi Jeff, The thing is is that the database will grow significantly over time. Also, I might want to eventually move it online. Therefore, I need the best solution to cover all bases for the present and the future... Thanks, - Boo - Original Message - From: Jeff Massung

Re: What is the fastest database?

2011-07-25 Thread Jeff Massung
If you are thinking web and growing for the future, then it's hard to beat PostgreSQL, which also comes with some nice web-admin tools for viewing the database, etc. MySQL - I hear - is equally nice, but I haven't used it. You may just want to quickly test your work with SQLite3, which is

Re: What is the fastest database?

2011-07-25 Thread Pete Haworth
All good stuff. SQLite is great for prototyping applications and in production use for single user applications, but it will have problems dealing with networked file access and/or a high volume of multi-user updating activity (due to locking issues). Pete On Mon, Jul 25, 2011 at 3:13 PM,

GoldTrader101 Released Post #2

2011-07-25 Thread TERRY HASS
Hi All, I don't know why my previous post did not come through with a clickable link, so here is another try. www.tdheng.com I know this link is not clickable, but copying it into your browser will take you to the app's page. There is a link on that page which will take you to the App Store.

Re: GoldTrader101 Released Post #2

2011-07-25 Thread Andre Garzia
Cool Terry! Congratulations! On Mon, Jul 25, 2011 at 7:40 PM, TERRY HASS terryh...@tdheng.com wrote: Hi All, I don't know why my previous post did not come through with a clickable link, so here is another try. www.tdheng.com I know this link is not clickable, but copying it into your

Re: What is the fastest database?

2011-07-25 Thread Bob Sneidar
If you plan on moving this to an external server, then you should not allow direct access to your SQL server (although I do so myself in development using On-Rev). You will probably want to access it through a web based script of some sort to firewall your SQL data. This will prevent things

Re: GoldTrader101 Released Post #2

2011-07-25 Thread Bob Sneidar
Works for me, but I use Apple Mail which converts anything that looks like it might be a clickable link into a real one. Bob On Jul 25, 2011, at 3:40 PM, TERRY HASS wrote: Hi All, I don't know why my previous post did not come through with a clickable link, so here is another try.

Re: What is the fastest database?

2011-07-25 Thread Ruslan Zasukhin
On 7/26/11 12:51 AM, Keith (Gulf Breeze Ortho Lab) ke...@gulfbreezeortholab.com wrote: Hello, I have approximately 25 MB of data (plain text) that consists of approximately 140,000 different entries (one per line--pipe delimited). I am working on an application to quickly search through the

Re: Importing an image

2011-07-25 Thread Terry Judd
On 26/07/2011 10:53 AM, Pete Haworth lists.p...@haworths.org wrote: I have a png file that I want to get into a stack using the import command. I issue the command from the message box: import eps from file filepath Pete - I think you should be using 'paint' rather than 'eps' import

Re: Writing to and from a binary file?

2011-07-25 Thread Alejandro Tejada
Hi Phil, Phil Davis-5 wrote: Here is a code snippet I shared on the use-revolution list almost 2 years ago. It shows how to cut an image up into 10 'frames': http://www.mail-archive.com/use-revolution%40lists.runrev.com/msg124691.html Great work! Now, just out of curiosity How could I

Re: What is the fastest database?

2011-07-25 Thread Keith (Gulf Breeze Ortho Lab)
Hi Al, The data is as compressed as possible right now (I believe, anyway). And yes, I hope to eventually port the system to mobile. Thanks, - Boo - Original Message - From: Alejandro Tejada capellan2...@gmail.com To: use-revolut...@lists.runrev.com Sent: Monday, July 25, 2011

Re: What is the fastest database?

2011-07-25 Thread Andre Garzia
On Mon, Jul 25, 2011 at 7:49 PM, Bob Sneidar b...@twft.com wrote: If you plan on moving this to an external server, then you should not allow direct access to your SQL server (although I do so myself in development using On-Rev). You will probably want to access it through a web based script

Re: Importing an image

2011-07-25 Thread Pete Haworth
Excellent, thanks! Pete On Mon, Jul 25, 2011 at 6:08 PM, Terry Judd t...@unimelb.edu.au wrote: On 26/07/2011 10:53 AM, Pete Haworth lists.p...@haworths.org wrote: I have a png file that I want to get into a stack using the import command. I issue the command from the message box:

Re: Importing an image

2011-07-25 Thread Ken Ray
Using 'eps' crashes Livecode for me as well with a PNG file - 'paint' works fine however. EPS is a *very old* import method, dating back to when MetaCard (the precursor to Revolution which was the precursor to LIveCode) was only on Unix; it was for systems that used Display Postscript (like

Re: Importing an image

2011-07-25 Thread Scott Rossi
One thing that might help is to set the resizeQuality property of the image to best before resizing (default is normal). Regards, Scott Rossi Creative Director Tactile Media, UX Design On Jul 25, 2011, at 10:32 PM, Pete Haworth lists.p...@haworths.org wrote: I totally missed the paint