Search found 348 matches
- Sat Apr 09, 2011 4:25 pm
- Forum: Talking LiveCode
- Topic: make a jpg file
- Replies: 5
- Views: 3038
Re: make a jpg file
ah - perfect. That works great! thanks
- Fri Apr 08, 2011 5:01 pm
- Forum: Talking LiveCode
- Topic: make a jpg file
- Replies: 5
- Views: 3038
make a jpg file
Hello: I am using ChartsEngine to make plots and I would like to write a script to export the chart as a .jpg file. Can you help with that script?
Thanks,
Greg K
Thanks,
Greg K
- Sun Apr 03, 2011 10:41 pm
- Forum: Talking LiveCode
- Topic: Calculating dates is messing up
- Replies: 3
- Views: 2214
Re: Calculating dates is messing up
I think the problem is that when I convert a date - like "4/3/2011 15:00:00" to seconds, LC automatically assumes that my date is a local date, and not a UTC date. I require local dates for certain tasks, so changing my system date isn't possible (unless there is a way to 'set' the system date in a ...
- Sun Apr 03, 2011 9:48 pm
- Forum: Talking LiveCode
- Topic: Calculating dates is messing up
- Replies: 3
- Views: 2214
Calculating dates is messing up
I have a pile of data that is dated using a unix date which is the number of seconds since some UTC date and time in the past. To convert it to a english formated UTC date and time, all I do is convert the date in the past to seconds, then subtract it from the UNIX date and convert the seconds back ...
- Thu Mar 31, 2011 8:11 pm
- Forum: Talking LiveCode
- Topic: copying files from a html server
- Replies: 2
- Views: 2159
Re: copying files from a html server
yep - works GREAT! thanks.
- Thu Mar 31, 2011 7:07 pm
- Forum: Talking LiveCode
- Topic: copying files from a html server
- Replies: 2
- Views: 2159
copying files from a html server
Hi: I'm trying to find the fastest way to COPY a whole whack of ".csv.gz" files from a URL to my hard drive. I am able to extract the list of the file URL's, but I don't want to read each file into memory, then write it to a new file on my harddrive - that will take too long. Is there a way to simpl...
- Thu Feb 03, 2011 7:36 pm
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
Re: msg box not displaying while running
Hi Richard: Thanks for your help. I looked back at my script, and I actually did end up figuring out how to use both "repeat for each line thisline" and taking chunks and forming a new i=1 to whatever list - and yes, it works way faster. I didn't think of using an array - I'll give that a shot. I do...
- Thu Feb 03, 2011 4:53 pm
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
Re: msg box not displaying while running
Richard: I stand WAY corrected. I read over the benchmarking link that you sent, and set up a few my own tests. In every case, avoiding fields as much as possible was faster - even with Lock Screen. One question that is still bothering me: why is: repeat for each line myline in holder so much faster...
- Thu Feb 03, 2011 3:31 pm
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
Re: msg box not displaying while running
If you really want to speed up processing do it outside of the field. Get the data, work on it in a variable, then put it back when you're done. Using a variable instead of a field will speed things up so much you may not need to worry about indicating progress at all. :) I don't think that is true...
- Thu Feb 03, 2011 1:58 am
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
Re: msg box not displaying while running
Thanks - yes the wait for milliseconds with messages works. However, I am using fields to organize data through the process, and to speed up processing, I don't want the field to refresh, so I use "set the screenlock to true"... If you really want to speed up processing do it outside of the field. ...
- Wed Feb 02, 2011 10:25 pm
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
Re: msg box not displaying while running
Thanks - yes the wait for milliseconds with messages works. However, I am using fields to organize data through the process, and to speed up processing, I don't want the field to refresh, so I use "set the screenlock to true". When the screenlock is set to true, you can use fields instead of variabl...
- Mon Jan 31, 2011 4:33 pm
- Forum: Talking LiveCode
- Topic: msg box not displaying while running
- Replies: 11
- Views: 6417
msg box not displaying while running
Hi: I'm not sure why, but for some reason the msg box is NOT displaying my messages live while scripts are running. The last message appears in the msg box after the script has completed running. Is there a way to get long scripts to run in the background while I take control of the stack (like scro...
- Sun Dec 26, 2010 10:38 pm
- Forum: Talking LiveCode
- Topic: faster way?
- Replies: 9
- Views: 5123
Re: faster way?
There are many ways to solve such problems, but I'm curious: why is it you want to compare data that's six lines apart? Will that ever change? Might there be some times when you want to compare things that are three lines apart, or five, or seven? Yes - the number of lines apart, and the item numbe...
- Sun Dec 26, 2010 4:13 pm
- Forum: Talking LiveCode
- Topic: faster way?
- Replies: 9
- Views: 5123
Re: faster way?
Hi Klaus and Dixie: Here is a sample of the exact script that is too slow: on mouseUp put 1 into x put fld "ES" into pricedata repeat for the number of lines of pricedata put item 5 of line x of pricedata + item 4 of line x-6 of pricedata & comma after xtheprice add 1 to x end repeat put xtheprice i...
- Sat Dec 25, 2010 5:02 pm
- Forum: Talking LiveCode
- Topic: faster way?
- Replies: 9
- Views: 5123
Re: faster way?
I'm having one problem with "repeat for" I was doing this: put 1 into x repeat for the number of lines of ES put item z of line x+2 of ES into plast Now, I do this and it doesn't work: repeat for each line thisline in ES put item z of thisline+2 into plast it doesn't like "thisline+2" - so how do I ...