Re: pasting text from revbrowser

2011-07-24 Thread Serge Brami
Thanks platform = Mac OSX snow leopard checkreturns return only Found char 10 a return in rev/unix but if I replace numtochar(10) with CRLF or numtochar(13) or return it doesnt change anything ... Le 23 juil. 2011 à 16:03, Jim Ault a écrit : > On Jul 23, 2011, at 3:48 AM, Serge Brami wrote

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

2011-07-24 Thread Klaus on-rev
Hi friends, I tried to upload some files to my on-rev account via FTP a couple of minutes ago and got this strange server response: error 552 - Disk full, please upload later DISK FULL??? I updated my system to OS X 10.7 two days ago, but FTP did work all day yesterday! Checked my account via

Re: [ANN] New plugin AAG|LayerComps

2011-07-24 Thread Richard Gaskin
Mark Wieder: Richard Gaskin wrote: Like my t-shirt sez: Know the engine. Trust the engine. Use the engine. "My engine, right or wrong?" That'll be my new t-shirt if LiveCode goes open source and we can actually tailor the engine. ;) -- Richard Gaskin Fourth World LiveCode training

RE: pasting text from revbrowser

2011-07-24 Thread Slava Paperno
What happens if you replace char(10) with the string ""? Slava > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Serge Brami > Sent: Sunday, July 24, 2011 5:22 AM > To: How to use LiveCode > Subject: Re: pasti

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

2011-07-24 Thread Michael Kann
Klaus, I've been uploading using Filezilla the last few minutes. No problema. Mike --- On Sun, 7/24/11, Klaus on-rev wrote: From: Klaus on-rev Subject: OT: on-rev account ftp server error 552 disk full??? To: "How to use LiveCode" Date: Sunday, July 24, 2011, 6:53 AM Hi friends, I tried to u

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

2011-07-24 Thread Klaus on-rev
Hi Michael Am 24.07.2011 um 16:56 schrieb Michael Kann: > Klaus, > I've been uploading using Filezilla the last few minutes. No problema. Good for you :-) Still the same problem here either using a FTP app like Captain FTP or a pure LiveCode one-liner! I can download things via FTP however, bu

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

2011-07-24 Thread Matthias Rebbe
Hi Klaus, > I'm sure the error text is misleading (DISK FULL? Come on! :-D, but what can > I do? > I already wrote to support. Did you put a URGENT at the beginning of the subject line? The word urgent ensures that your support request is handled with a higher priority. But keep in mind to use

LC equivalent of the JS eval() function

2011-07-24 Thread Slava Paperno
I'm looking for the LC equivalent to the JavaScript eval() function. For example, if I have a variable called "tAddress" and I want an LC statement to assign a value to it, I'd like to say something like put "202 Main Street" into eval("tAddress"). That may sound silly because if I, the programmer

Re: LC equivalent of the JS eval() function

2011-07-24 Thread Mark Schonewille
Hi Slava, The do command and the value function could be what you are looking for. -- 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 L

Re: LC equivalent of the JS eval() function

2011-07-24 Thread Richard Gaskin
Slava Paperno wrote: I'm looking for the LC equivalent to the JavaScript eval() function. For example, if I have a variable called "tAddress" and I want an LC statement to assign a value to it, I'd like to say something like put "202 Main Street" into eval("tAddress"). That may sound silly beca

Re: LC equivalent of the JS eval() function

2011-07-24 Thread Andre Garzia
don't forget merge... put the merge of "[[tAddress]]" into theContent On Sun, Jul 24, 2011 at 1:25 PM, Richard Gaskin wrote: > Slava Paperno wrote: > > I'm looking for the LC equivalent to the JavaScript eval() function. For >> example, if I have a variable called "tAddress" and I want an LC st

on-rev client

2011-07-24 Thread Erik Schwartz
Has the on-rev client broken? I can edit .irev files directly on the server, but if I edit them with the local client and try to commit them from the client the changes are never uploaded. -- == er...@sisyph.us                                  http://sisy

Re: LC equivalent of the JS eval() function

2011-07-24 Thread Ken Ray
On Jul 24, 2011, at 11:20 AM, Mark Schonewille wrote: > Hi Slava, > > The do command and the value function could be what you are looking for. And just to be clear on use, it would be like this: put "MyCustomVariable" into tVarToFill put "202 Main Street" into tStreet do "put tStreet into" &&

Re: on-rev client

2011-07-24 Thread Ken Ray
On Jul 24, 2011, at 11:39 AM, Erik Schwartz wrote: > Has the on-rev client broken? > > I can edit .irev files directly on the server, but if I edit them with > the local client and try to commit them from the client the changes > are never uploaded. I'm not sure, but I know someone said that Ru

Re: on-rev client

2011-07-24 Thread Michael Kann
Erik, I use FileZilla to upload files to the on-rev server. One mistake I often make is that I upload a file to the server but I haven't selected the correct directory on the server. The file arrives in the wrong place but I don't realize it. When the webpage I've updated doesn't appear in my b

Re: on-rev client

2011-07-24 Thread Erik Schwartz
I'll take a look around. I have not changed anything in my dev environment, but sometimes these things happen by themselves. Thanks, Erik On Sun, Jul 24, 2011 at 9:55 AM, Michael Kann wrote: > Erik, > > I use FileZilla to upload files to the on-rev server. One mistake I often > make is that I

Re: [ANN] New plugin AAG|LayerComps

2011-07-24 Thread Pete Haworth
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 maybe I'm misunderstanding their purpose Pet

Re: LC equivalent of the JS eval() function

2011-07-24 Thread Dar Scott
People have already mentioned 'do', 'merge()' and using arrays. I'll add these: Set the script of an object. Use a switch statement. Set a chunk of the value of a variable, perhaps a global. In limited situations, 'value()' might be useful. Pass the variable to the function rather than its

RE: LC equivalent of the JS eval() function

2011-07-24 Thread Slava Paperno
Ah, "do"! Great. It's a much better word than "eval." JS should have called it "do" as well because the eval() function does more than return a value--it executes commands, just like the LC "do." Thanks, everyone, Slava > On Jul 24, 2011, at 11:20 AM, Mark Schonewille wrote: > > > Hi Slava, > >

Preferences folder/files on mobile

2011-07-24 Thread Slava Paperno
Does the special folder "preferences" point to some location on mobile devices? If not, where is one supposed to place a preferences file for an application on a mobile? Is the Windows tradition of naming the preferences file with the "ini" extension upheld on mobiles? A related question: does s

Re: iOS files

2011-07-24 Thread J. Landman Gay
On 7/23/11 11:19 AM, gwendalw...@cox.net wrote: Anyone know how to read and write files in an iOS application running on an iPad 2? Also, does anyone know how to print from within the iOS application? Any hints would be appreciated. My routines work in the simulator for reading and writing files,

Re: Preferences folder/files on mobile

2011-07-24 Thread J. Landman Gay
On 7/24/11 1:35 PM, Slava Paperno wrote: Does the special folder "preferences" point to some location on mobile devices? No. The release notes on each mobile OS have a list of available folders you can access. If not, where is one supposed to place a preferences file for an application on

OT: gmail two factor authentication

2011-07-24 Thread Maarten Koopmans
All, I just got a nice box from Google explaining that there was suspicious account activity from Mexico (I live in Amsterdam). I changed my password, enabled two-factor authentication using their iPhone app and use app-specific passwords. Also, I changed ALL passwords of all online services I us

RE: Preferences folder/files on mobile

2011-07-24 Thread Slava Paperno
Thanks for the exhaustive coverage, Jacque! S. > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Sunday, July 24, 2011 3:50 PM > To: How to use LiveCode > Subject: Re: Preferences folde

URGENT: RE:on-rev account ftp server error 552 disk full???

2011-07-24 Thread Jim Lambert
Yes, Klaus I also get 552 on https://freyr.on-rev.com Jim Lambert ___ 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/lis

Re: OT: gmail two factor authentication

2011-07-24 Thread Roger Eller
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 from Mexico (I live in Amsterdam). I changed my > password, enabled two-factor authentication using their iPhone app and > use app-specific

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

2011-07-24 Thread Matthias Rebbe
Jim, i think you got me wrong. I meant to include the word URGENT in the subject line of the email sent to the on-rev support. Regards, Matthias Am 24.07.2011 um 23:59 schrieb Jim Lambert: > Yes, Klaus I also get 552 on > https://freyr.on-rev.com > > Jim Lambert > > _

are all controls loaded?

2011-07-24 Thread Slava Paperno
The openCard handler in the first card of my stack sends messages to various controls on the card, and I think some of these messages are sent before the control is fully loaded: I see error "no such object." If I use "send XXX to YYY in 800 milliseconds," then all is well. How do I solve this dil

Re: are all controls loaded?

2011-07-24 Thread Mark Schonewille
Hi Slava, I have similar problems once in a while. Often, I do this: on preOpenStack hide this stack // do some very important stuff here readPrefs -- (e.g. read registration data) // and send a command in x millisecs send "initialise" to me in 0 millisecs end preOpenStack on initialis

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

2011-07-24 Thread Sarah Reichelt
> I tried to upload some files to my on-rev account via FTP > a couple of minutes ago and got this strange server response: > error 552 - Disk full, please upload later > > DISK FULL??? > > I updated my system to OS X  10.7 two days ago, but FTP did work all day > yesterday! > Checked my account v

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

2011-07-24 Thread Matthias Rebbe
Hi. I am on loki and i can also upload. Matthias Am 25.07.2011 um 00:51 schrieb Sarah Reichelt: >> I tried to upload some files to my on-rev account via FTP >> a couple of minutes ago and got this strange server response: >> error 552 - Disk full, please upload later >> >> DISK FULL??? >> >> I

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

2011-07-24 Thread Jim Lambert
I bet Klaus is on freyr since I see the same error on freyr. Jim Lambert ___ 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/mailm

are all controls loaded?

2011-07-24 Thread Slava Paperno
Yes, I can see how a splash screen can serve as a delay mechanism... Thanks, Mark. S. > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Mark Schonewille > Sent: Sunday, July 24, 2011 6:44 PM > To: How to use L

Re: Writing to and from a binary file?

2011-07-24 Thread Keith (Gulf Breeze Ortho Lab)
Thanks Phil! - Original Message - From: "Phil Davis" To: "How to use LiveCode" Sent: Saturday, July 23, 2011 12:22 AM Subject: Re: Writing to and from a binary file? Hi Keith - welcome to the community! Here is a code snippet I shared on the use-revolution list almost 2 years ago

ios files

2011-07-24 Thread gwendalwood
I did figure out how to get to writing and reading files on ios, but on my second app it does not work. I still can't figure out how to print from inside ios on the iPad 2. I think maybe it can't be done yet. Following is my code snippets for files: ** --write getPathsFromFile pu

Exact zooming/resizing of stacks and groups

2011-07-24 Thread Fred Moyer
Has anyone done the heavy lifting to figure out how to do an exact resize/zoom of a stack or a group inside of a stack? What I am talking about is stuff like: - adjusting the margins of fields as they resize - adjusting the textsize and textheight of characters in fields as they resize - adjustin

[no subject]

2011-07-24 Thread gwendalwood
I did figure out how to get to writing and reading files on ios, but on my second app it does not work. I still can't figure out how to print from inside ios on the iPad 2. I think maybe it can't be done yet. I forgot to tell you my results. I get nothing in the variable it or the variable resu

stackfiles -- how to use?

2011-07-24 Thread Nicolas Cueto
Hello, Apologies for the length of this, but I'd very much like list help to understand better a scripting practice I've been doing half-baked for a long time now. It has to do with stackFiles (I think?), the steps for implementing which I describe below, but first precede with an outline of what

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

2011-07-24 Thread Tim Selander
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 since I see the same error on freyr. > > Jim Lambert > > ___ > use-livecode mailing list > use-live

Re:

2011-07-24 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 defaultFolde

standalone won't start on Win2K

2011-07-24 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