RE: How do I force a key to enter just one character when being pressed?

2011-01-19 Thread John Dixon
In the script of fld text... on keyDown theKey if the number of chars of fld text 0 then beep exit keyDown else put theKey into fld text end if end keyDown Hi there, I limit text entry of fld text with following code. on keyDown pKey if (the

Re: How do I force a key to enter just one character when being pressed?

2011-01-19 Thread William de Smet
Thanks John, But with this script I limt the entry of the field to just one character. My 'problem' is dat when you keep a key pressed down more characters are entered. When you hold down the 'A' key AAA is entered. I wish to limit that. Just one entry of a key when being hold

Re: PDF to JPEG

2011-01-19 Thread Richmond
On 01/18/2011 11:28 PM, Ray Horsley wrote: Anybody know of a way to convert a single PDF file (with multiple pages) to multiple JPEG files? GIMP; a bit tedious; i.e. page by page, but it is FREE. Thanks, Ray Horsley LinkIt! Software ___

Re: File Suffix

2011-01-19 Thread Richard Gaskin
Cal Horner wrote: I noticed in the forum a few digests ago that one of the members was looking for conventions to use in coding and object naming, etc. And from my experience with Runrev and now LC stacks the people on this forum try to use some form of convention naming. Even if it isn't pure

Re: How do I force a key to enter just one character when being pressed?

2011-01-19 Thread DunbarX
Is there a way to set the delay until repeat in the system prefs to off. This on a mac, anyway. Craig Newman ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

RE: PDF to JPEG

2011-01-19 Thread Roger . E . Eller
I have never used this software, but being a command-line tool, you should be able to call it from Rev via shell, assuming you are using Windows. http://www.freedownloadscenter.com/Business/Document_Management_Tools/e_PDF_PDF_To_Thumbnail_Converter.html Key features: 1. PDF to Thumbnail Command

Re: How do I force a key to enter just one character when being pressed?

2011-01-19 Thread DunbarX
Try this in the field script: on keyDown var if the stillPressed of me = true then exit to top put var after me set the currentText of me to me set the stillPressed of me to true end keyDown on keyup set the stillPressed of me to false end keyup

Re: How do I force a key to enter just one character when being pressed?

2011-01-19 Thread DunbarX
I had tried a few methods in my last post. One line is not necessary. So this: on keyDown var if the stillPressed of me = true then exit to top put var after me set the stillPressed of me to true end keyDown on keyup set the stillPressed of me to false end keyup

The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Ludovic Thébault
Hello, I test the ios part of runrev, maybe for a futur app. What is the best way to store a large number of images in a iapp? Image Library, custom property,… ? I have to show them on demand Thanks ! ___ use-livecode mailing list

Re: An idea on multithreading implementation

2011-01-19 Thread Bob Sneidar
I was thinking of something a lot more native than that. All threads in a multithreaded IDE or standalone could theoretically have access to all the objects and processes in all threaded processes. The engine would be responsible for internally keeping track of everything, and the developer

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Jeff Massung
I think it would depend on what you consider to be large. Also keep in mind that the number of images (and the size of your stack) will directly impact any potential sales since ATT limits 3G app downloads to 20 MB. If you are talking about an insane number of images (think something like a

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Richard Gaskin
Jeff Massung wrote: I think it would depend on what you consider to be large. Also keep in mind that the number of images (and the size of your stack) will directly impact any potential sales since ATT limits 3G app downloads to 20 MB. Is that in the fine print of the dev agreement? Where can

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Björnke von Gierke
the on-device shop limits the size of apps available trough it. the itunes shop does not. On 19 Jan 2011, at 19:18, Richard Gaskin wrote: Jeff Massung wrote: I think it would depend on what you consider to be large. Also keep in mind that the number of images (and the size of your stack)

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Richard Gaskin
Björnke von Gierke wrote: the on-device shop limits the size of apps available trough it. the itunes shop does not. Is this noted on the ATT site? I need a URL to an authoritative source so I can discuss the implications with my client. TIA - On 19 Jan 2011, at 19:18, Richard Gaskin

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Scott Rossi
Recently, Richard Gaskin wrote: the on-device shop limits the size of apps available trough it. the itunes shop does not. Is this noted on the ATT site? I need a URL to an authoritative source so I can discuss the implications with my client. I've come across this in the games arena as

Efficient Way To Check If Certain Characters Exist in Variable

2011-01-19 Thread Warren Kuhl
What would be the most efficient way to check a variable and replace any of the characters with empty if the character is not a alpha (upper or lower), numeric (0-9) or a '-'? The only way I can think of doing this is a repeat loop and checking the value of each character and replacing with empty

Re: Efficient Way To Check If Certain Characters Exist in Variable

2011-01-19 Thread Jeff Massung
On Wed, Jan 19, 2011 at 11:34 AM, Warren Kuhl warrenk...@gmail.com wrote: What would be the most efficient way to check a variable and replace any of the characters with empty if the character is not a alpha (upper or lower), numeric (0-9) or a '-'? The only way I can think of doing this is

Re: The best way to embed a lot of pictures in an ios application

2011-01-19 Thread Richard Gaskin
Scott Rossi wrote: Recently, Richard Gaskin wrote: the on-device shop limits the size of apps available trough it. the itunes shop does not. Is this noted on the ATT site? I need a URL to an authoritative source so I can discuss the implications with my client. I've come across this in

Re: PDF to JPEG

2011-01-19 Thread Richmond
On 01/18/2011 11:28 PM, Ray Horsley wrote: Anybody know of a way to convert a single PDF file (with multiple pages) to multiple JPEG files? I don't think this is possible in Livecode qua Livecode; you might be able to send a signal to another program that has the capability you want from

Re: File Suffix

2011-01-19 Thread Medard
Cal Horner calhor...@xtra.co.nz wrote: So, my question is Who the H*** decided, in their little pea-brain, that they would break the convention You're right, go back to the DOS naming convention 8+3 and the 640 memory barrier! ;- ___ use-livecode

Weird field behavior

2011-01-19 Thread Mike Bonner
Found a strange behavior with a field, was wondering if someone can confirm. Is there a line length limit in a field? If so, what is it, so I know whether to ignore this, or not. Or if no limit, of course can't be ignored. The problem is, with line wrap turned off, (or left on, with a line

RE: Weird field behavior

2011-01-19 Thread John Dixon
Date: Wed, 19 Jan 2011 12:32:47 -0700 Subject: Weird field behavior From: bonnm...@gmail.com To: use-livecode@lists.runrev.com Found a strange behavior with a field, was wondering if someone can confirm. Is there a line length limit in a field? If so, what is it, so I know whether

Re: Weird field behavior

2011-01-19 Thread Mike Bonner
Ah k. Then there is still a problem. The width with no linewrap most likely is over the pixel width you point out, but with line wrap on it breaks for me well before the char length limit, and as well if you keep adding chars to the field, the process repeats itself. On Wed, Jan 19, 2011 at 12:46

RE: PDF to JPEG

2011-01-19 Thread Ray Horsley
I've looked briefly at Roger Eller's suggestion: http://www.freedownloadscenter.com/Business/Document_Management_Tools/e_PDF_ PDF_To_Thumbnail_Converter.html I'll try hooking into this via the shell function. Hopefully that'll split these up for me. Thanks, Ray Horsley LinkIt! Software

Re: Combining multiple pngs into a single png

2011-01-19 Thread Glen Bojsza
Thanks Scott, I was doing only one rect (the rect of grp imgGroup). Also, the size of grp imgGroup must be large enough to show all the images. This is where the grp imgGroup can extend past the window. On Wed, Jan 19, 2011 at 1:05 PM, Scott Rossi sc...@tactilemedia.com wrote: Recently,

Re: DragDrop and the DragDestination

2011-01-19 Thread zryip theSlug
On Wed, Jan 19, 2011 at 2:20 AM, Bob Sneidar b...@twft.com wrote: I get problem loading page. Hi Bob, The link was a direct download of the stack. Try to go on the download section of the site: http://www.aslugontheroad.co.cc/ And download the experiment 19. If you still have an issue, we

How do I get the contents of a scrollable group printed?

2011-01-19 Thread William de Smet
Hi there, This time a printing question! In a card I have several images and fields grouped together and grouped again with a vertical scrollbar. The stacksize is small so with the scrollbar the 'invisible' contents gets visible. What is the best way to get the contents of the scrollable group

RE: PDF to JPEG

2011-01-19 Thread Ray Horsley
Andy, Thanks for these steps. Unfortunately they don't work so well on Windows 7 (all I have installed is Microsoft XPS Document Writer) but in any event I really need something I can use in scripts. Thanks, Ray -Original Message- From: use-livecode-boun...@lists.runrev.com

Re: DragDrop and the DragDestination

2011-01-19 Thread Bob Sneidar
When I drag from the source DG to the destination DG nothing goes. In addition, I get the little gray circle with slash instead of the green plus when I drag. Yes I checked the checkbox to drag from one datagrid to the other. I will read through the scripts to see if I can glean any wisdom