Re: Learning about server

2014-06-25 Thread John Craig
It copies and pastes OK on my android tablet (4.0.3). If the text is hilited, then that's what should copy... Were you on a device or emulator? On 26/06/2014 00:07, Roger Eller wrote: On Android, when I try to copy the shortened URL, this is what I get: "You can now copy the shortened URL...

Re: Learning about server

2014-06-25 Thread John Craig
The regex I'm using to validate URL's isn't good enough yet - it needs a few tweaks - like the '=' ! On 26/06/2014 02:16, Scott Morrow wrote: FWIW… Although a “good” url probably shouldn’t have an equal sign… I’ve got one which appears to work in most browsers but gets reported as not valid w

Re: Learning about server

2014-06-25 Thread Scott Morrow
FWIW… Although a “good” url probably shouldn’t have an equal sign… I’ve got one which appears to work in most browsers but gets reported as not valid when using 8up.uk And count me as interested in any LC Server book. — Scott Mo

Re: Image control in a Background

2014-06-25 Thread J. Landman Gay
That's good to know. My app is desktop only and it must be different there. Thanks for the heads up. On June 25, 2014 4:51:44 PM CDT, Simon wrote: >Hi Jacque, >"But for image objects it isn't needed, and you can omit that >instruction." >Actually it was the only way to get the script to work

Re: Learning about server

2014-06-25 Thread Roger Eller
On Android, when I try to copy the shortened URL, this is what I get: "You can now copy the shortened URL... Powered by LiveCode Community Server" It would hilite the URL, "http://8up.uk/M"; but not copy it. ~Roger Sent from my Android tablet On Jun 25, 2014 5:19 PM, "John Craig" wrote: > I'v

re: URLEncode accent-i

2014-06-25 Thread Pierre Sahores
Début du message réexpédié : > De: "J. Landman Gay" > Objet: Rép : URLEncode accent-i > Date: 25 juin 2014 22:47:51 UTC+2 > À: How to use LiveCode > Répondre à: How to use LiveCode > > On 6/25/2014, 3:29 PM, Trevor DeVore wrote: >> On Wed, Jun 25, 2014 at 3:35 PM, J. Landman Gay >> wrote: >>

Re: Image control in a Background

2014-06-25 Thread Vaughn Clement
Hi So many great suggestions, I am pleased to see the variety of solutions. Scott pointed out that LC has many ways to be coded and it is the designers choice. Now I need to finish testing to see if I can get the desired result. I have a lot to consider and to try each suggestion to see what work

Re: Image control in a Background

2014-06-25 Thread Simon
Hi Jacque, "But for image objects it isn't needed, and you can omit that instruction." Actually it was the only way to get the script to work on mobile when I actually put it on my device. You are correct in that aside from the small errors the code should run perfectly. I figured it had something

Re: Learning about server

2014-06-25 Thread John Craig
I've created a url shortening service with LC server that I want to write up as an example app. It seems like quite a good project to start with as it's fairly short / easy to complete, but not without having to solve a few problems first. There's exposure to quite a good mix of things to get

Re: URLEncode accent-i

2014-06-25 Thread J. Landman Gay
On 6/25/2014, 3:29 PM, Trevor DeVore wrote: On Wed, Jun 25, 2014 at 3:35 PM, J. Landman Gay wrote: The server wants UTF8 and I think (but am not sure) that I need to get: Santer%C3%ADa Convert the string to UTF8 prior to urlencoding it: put "Santería" into theStr put unidecode(uniencode

Re: URLEncode accent-i

2014-06-25 Thread Trevor DeVore
On Wed, Jun 25, 2014 at 3:35 PM, J. Landman Gay wrote: > > The server wants UTF8 and I think (but am not sure) that I need to get: > Santer%C3%ADa Convert the string to UTF8 prior to urlencoding it: put "Santería" into theStr put unidecode(uniencode(theStr), "utf8") into thestr put urlencode(

Re: URLEncode accent-i

2014-06-25 Thread Pierre Sahores
Hi Jacqueline, When you say « I need to send this word to the server: Santería » : Are you speaking from the web server or from the database server ? If the database server is your problematic target, witch one are you using : PostgreSQL; MySQL; SQLite; other ? I got, times ago such kind of tr

Re: URLEncode accent-i

2014-06-25 Thread J. Landman Gay
I had high hopes but converting to ISO didn't work. That yields: Santer%EDa The server wants UTF8 and I think (but am not sure) that I need to get: Santer%C3%ADa I haven't found the right combination of uniEncode/Decode and urlEncode that doesn't make a mess of the string. Does anyone know how

Re: Image control in a Background

2014-06-25 Thread J. Landman Gay
On 6/25/2014, 9:56 AM, Vaughn Clement wrote: Very interesting link you included. The stack is another great reference material that is undocumented. The User Guide is often overlooked. A pretty good explanation of groups and backgrounds, and their differences and behavior, begins on page 107

Re: Image control in a Background

2014-06-25 Thread Vaughn Clement
Hi Simon If you read the reply to Scott you will see the full description of the solution I am trying to come up with. On Wednesday, June 25, 2014, Simon wrote: > Here: > "on mouseUp >--/ the image from mobilePickPhoto uses the template image construct >--set it off screen so we don't s

Re: Image control in a Background

2014-06-25 Thread Simon
Here: "on mouseUp --/ the image from mobilePickPhoto uses the template image construct --set it off screen so we don't see ift flash / set the loc of the templateImage to -1,-1 set the filename of image "imageField1" of this card to "" " Now as to why that works I didn't

Re: Shell command syntax in Windows

2014-06-25 Thread Mike Bonner
DOH, ignore the ; method. For some reason I was stuck in mac/linux thinking. The absolute method still works fine. (could embed a return in your command string rather than a semicolon.) Sorry bout that, was sleepy. On Tue, Jun 24, 2014 at 6:19 PM, Mike Bonner wrote: > Easiest way to do it wit

Re: Image control in a Background

2014-06-25 Thread Vaughn Clement
Hi Simon Very interesting link you included. The stack is another great reference material that is undocumented. It only took me about three minutes to understand what he was trying to accomplish here. I did a version similar to this in FileMaker while back so that I could do quick searches by a w