Re: Sqlite and performances in LiveCode

2012-03-04 Thread Pete
I think the acid test here is to use sqlite3 vs Livecode, since sqlite3 is the official command line tool for sqlite and likely to be more efficient than any other browsing tool. I tested a select * from a table with about 48,000 records in it, using a datagrid versus an LC screen that invoked sql

Re: Sqlite and performances in LiveCode

2012-03-04 Thread Kay C Lan
No, it's not the same one. Looking at the SQLabs site, SQLabs "developed from scratch a brand new ListBox that is able to display an infinite number of rows and columns in just few milliseconds. This is a fundamental base control for the app." They've been optemising their product since 2003, it w

Re: Jpeg meta data

2012-03-04 Thread Alejandro Tejada
Check these stacks from UDI: getEXIF http://homepage.mac.com/udi/stack/getExif11.hqx http://homepage.mac.com/udi/stack/getExif12.hqx http://homepage.mac.com/udi/stack/getExif13.hqx If you are using Windows, you could use UUDeview to extract the stacks from these HQX files: http://www.miken.com/uu

Re: Jpeg meta data

2012-03-04 Thread Alejandro Tejada
Check these command-line utilities that you could use from LiveCode: jHead and ExifTools http://runtime-revolution.278305.n4.nabble.com/OT-Free-EXIF-command-line-utility-td293858.html Chipp Walters wrote: >[OT] Free EXIF command line utility > I noticed this today: > http://www.sentex.net/~mwand

Re: Jpeg meta data

2012-03-04 Thread Alejandro Tejada
Hi Michael, Michael Doub wrote > > Is there a livecode library that allows editing of a jpeg image meta data? > Some years ago, Alex Tweedly wrote the stack "Exif Lib" http://www.tweedly.org/showpage.lc?page=EXIFLib If you use Nabble to search this mail list, you would find many more messages

Re: How can I get string width?

2012-03-04 Thread Alejandro Tejada
Hi Mr. Yoshino, Takashi Yoshino wrote > > How can I get string width? > Iwas ready to answer, when I noticed the message from Devin Asay: > Try the formattedWidth of [chunk]. For example: > put the formattedWidth of word 2 to 5 of fld 1 into stringWidth Hopefully this property works fine w

Re: "can't find handler" error in script that worked before

2012-03-04 Thread Sieg Lindstrom
Thanks, Kay. This was running in the IDE. I tried starting the IDE, then opening the stack. Still didn't work OK. Then I tried saving as a standalone and that revealed the apparent problem, which was two lines of code in another handler in the stack script. This handler also ran OK previously u

Re: How can I get string width?

2012-03-04 Thread Monte Goulding
Do you mean the number of characters? put the number of characters of X or put length(X) Or do you mean the width in a field to take into account the font etc? put the formattedWidth of field X Cheers Monte On 05/03/2012, at 1:42 PM, 吉野 孝 wrote: > Hi, Experts! > > How can I get string wi

Re: How can I get string width?

2012-03-04 Thread Devin Asay
On Mar 4, 2012, at 7:42 PM, 吉野 孝 wrote: > Hi, Experts! > > How can I get string width? > > I would like to string width… Try the formattedWidth of [chunk]. For example: put the formattedWidth of word 2 to 5 of fld 1 into stringWidth Hope this helps. Devin Devin Asay Humanities Technology

How can I get string width?

2012-03-04 Thread 吉野 孝
Hi, Experts! How can I get string width? I would like to string width… _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 ___ use-livecode mailing

Jpeg meta data

2012-03-04 Thread mikedoub
Is there a livecode library that allows editing of a jpeg image meta data? Thanks -= Mike Sent from my BlackBerry device on the Rogers Wireless Network ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Copying and pasting text into a word processing document

2012-03-04 Thread dunbarx
Sorry, the clipBoardData is a property, of course: on mouseup get the clipBoardData if the hilite of the target then set the clipBoardData to it & return & the short name of the target --"name" option if the hilite of the target then set the clipBoardData to it & return & the yourProp of t

Re: Copying and pasting text into a word processing document

2012-03-04 Thread dunbarx
Charles. I don't know how your data is set up. Do you have fields associated with each checkBox? Is the name of the checkBox the actual statement? Or perhaps a property of each checkBox holds the statement? Anyway, if you have a few checkBox buttons, each with a behavior or maybe a mouseUp h

Re: Copying and pasting text into a word processing document

2012-03-04 Thread Colin Holgate
The function to do that is: set the clipboardData["text"] to "whatever text you want" ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.ru

Re: Data Grid Templates 1330583110740

2012-03-04 Thread Peter M. Brigham, MD
Impossible to understand this out of context. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 4, 2012, at 2:04 PM, Cal Horner wrote: > Hi Bob > > No, nothing as sophisticated as that. > > Check the second paragraph of my first posting. It was vanilla LC 5.0.2

Copying and pasting text into a word processing document

2012-03-04 Thread Charles Szasz
I have completed a number of projects with Rev but none has every involved creating an app that copies text to a clipboard to paste into a word processing document. I want to code an small utility app where the user selects statements by checking a checkbox for each statement so that it is put

Re: Data Grid Templates 1330583110740

2012-03-04 Thread Cal Horner
Hi Bob No, nothing as sophisticated as that. Check the second paragraph of my first posting. It was vanilla LC 5.0.2. Cal ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscr

Re: Enlarge with sample

2012-03-04 Thread Alejandro Tejada
Does exists a list of recommended layout styles for resizable programs? Or at least a guide of Do's and Dont's... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Enlarge-with-sample-tp4443249p014.html Sent from the Revolution - User mailing list archive at

Re: Spinning object animation

2012-03-04 Thread Alejandro Tejada
Hi Ken, Excellent script! :-D Many Thanks for sharing this gem. Works better and faster than my first script. Your comment about the frame order of the spinning vase is correct too. It was really easy to reorder the frames using gimp. Many thanks again! Al -- View this message in context: h

Re: Directories on iOS?

2012-03-04 Thread Ken Corey
Hi Colin & Thomas, Thanks for writing on a Sunday afternoon! Yes, this was it exactly. On 04/03/2012 17:09, Colin Holgate wrote: specialFolderPath("engine") use: specialFolderPath("Documents") My code now gets a little bit farther...and then crashed with one of those cryptic errors about 'r

Re: Directories on iOS?

2012-03-04 Thread Colin Holgate
You can't write into the application engine directory, but you can write into the application document directory. Instead of using: specialFolderPath("engine") use: specialFolderPath("Documents") ___ use-livecode mailing list use-livecode@lists.runrev

Re: Directories on iOS?

2012-03-04 Thread Thomas McGrath III
There are a few reserved names for folders and places where you can put them. A little code could help figure this one out. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Mar 4, 2012, at 11:35 AM, Ken Corey wrote: > Hi All, > > I found a /hugely/ useful error message ju

Directories on iOS?

2012-03-04 Thread Ken Corey
Hi All, I found a /hugely/ useful error message just now. My app is called "WriteOn.app", at least for the moment. Hi All, I'm hoping someone can help. I called 'create folder' with the path to my app on my iPad: /var/mobile/Applications/706ECCCF-DC1D-42F1-B71E-F3D96610DAEF/WriteOn.app/Downlo

Re: Enlarge with sample

2012-03-04 Thread Paul Hibbert
See 'resizeable' in the dictionary for a full explanation, you can set the property in any script, (preOpenStack makes sense) with… set the resizable of this stack to true …or use the checkbox in the 'size & position' pane of the stack inspector. Whichever setting you use for the stack

Re: Spinning object animation

2012-03-04 Thread Ken Corey
The frames of the vase are in the opposite order of the globe. Rearrange the frames in the opposite order (I did it in GIMP in < 1 minute). For the vase, frame 2 becomes frame 12, frame 3 becomes 11, 4->10, 5->9, 6->8. It's just swapping the two frames. Also, the movement felt wrong to me.

Re: Sqlite and performances in LiveCode

2012-03-04 Thread Jérôme Rosat
I don't know if SQLiteManager for Firefox is the same one I use (from SQLabs) but it display all the records in one time (I can scroll all the list). But thank you for the suggestion, If necessary I'm going to display only a part of the records with a next button, even if I don't like very much

Re: Sqlite and performances in LiveCode

2012-03-04 Thread Jérôme Rosat
No, in LiveCode, it takes 138 milliseconds more to display the result. In SQLiteManager, I don't now how many time it takes to display the result. But visually, it takes about 1 second to query and display the records in LiveCode and it is nearly instantaneous in SQLiteManager. Le 4 mars 2012

Enlarge with sample

2012-03-04 Thread Richmond
Almost every day I get these marvellous e-mail messages from well-wishers that spur me onto new ideas with Livecode! Well, for want of anything else to do, I have been trying to enlarge . . . . . . a standalone, after it has been built as a standalone: While a stack is a stack one can drag the