RE: Importing Unicode text to a field .. How?

2011-05-24 Thread Slava Paperno
By the way, you don't need this line: set useUnicode to true You only need that if you use charToNum() or numToChar() Also keep in mind that after you convert your UTF8 text in the variable to UTF16 for the field, the length() function will return twice the length of your text. That's because

RE: Importing Unicode text to a field .. How?

2011-05-24 Thread Slava Paperno
You also have to convert your UTF8 variable to UTF16 before you put it into the field: set the unicodeText of MyField to uniEncode(MyVar, "UTF8") > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Sivakatirswa

Re: Importing Unicode text to a field .. How?

2011-05-24 Thread Sivakatirswami
Namaste, Slava: I tried that too, but I lose all the CR's...I get one long line in the LiveCode field, but if I paste it here into the email the CRLF's come back! Or if I copy from Pages.. the CR's are preserved... If I try to process the CR in the usual way, I get them back in the field b

Re: where to find the Android settings?

2011-05-24 Thread Colin Holgate
I managed to get apps to both command line copy and run, and also direct test on the device. I suspect that other than buttons being depressed that maybe nothing is really working. I'll try some simpler tests with put statements, see if that much works. The manifest is an alarming format, even

RE: Importing Unicode text to a field .. How?

2011-05-24 Thread Slava Paperno
Use binfile instead of file. Slava > -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Sivakatirswami > Sent: Tuesday, May 24, 2011 11:59 PM > To: How to use LiveCode > Subject: Importing Unicode text to a field

Importing Unicode text to a field .. How?

2011-05-24 Thread Sivakatirswami
I converted some Mylai-Sri (Tamil) Type 1 fonts to unicode. I can open these in Pages, select the text, choose the native Mac OS X Tamil unicode font: Inaimathi New and I get Tamil glyphs... if I copy and paste to a field in Livecode it appears as expected. But, now, I want to import the same

Re: where to find the Android settings?

2011-05-24 Thread J. Landman Gay
On 5/24/11 10:05 PM, Colin Holgate wrote: Maybe, but I was hoping that at least one person had built an app onto Android that used either camera or album, and could tell me what I must be doing wrong! I think you're the guinea pig. :) You tried building an app, and it didn't run? Or the photo

Re: where to find the Android settings?

2011-05-24 Thread Colin Holgate
Maybe, but I was hoping that at least one person had built an app onto Android that used either camera or album, and could tell me what I must be doing wrong! On May 24, 2011, at 10:29 PM, J. Landman Gay wrote: > Sounds like bug report time ___ use-

Re: where to find the Android settings?

2011-05-24 Thread J. Landman Gay
On 5/24/11 6:53 PM, Colin Holgate wrote: Both use mobilePickPhoto, neither work. Sounds like bug report time. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-

Teaching and Learning visit

2011-05-24 Thread Michael Lew
Dear Listers Are you associated with a Universitas 21 university? (The unis are listed below, but if you are, you should already know ;-) I have developed lots of teaching widgets and CAL modules for pharmacology and statistics using Livecode. I am now applying for a U21 fellowship that will pay

Re: Calendar control?

2011-05-24 Thread Terry Judd
Sarah (www.troz.net) has one that I've adapted and used a number of times. There's also a pretty fancy one by David? at http://www.rotundasoftware.com/livecode/. Terry... On 25/05/2011 11:07 AM, "Andre Garzia" wrote: > Hey Folks, > > For the first time ever, I am in need of a calendar control

Re: Calendar control?

2011-05-24 Thread Roger Eller
On Tue, May 24, 2011 at 9:07 PM, Andre Garzia wrote: > Hey Folks, > > For the first time ever, I am in need of a calendar control. I have a field > that needs a date, I want to have a calendar control that pushes the date > into it. Anyone here has experiences with calendar controls? Anyone knows >

Calendar control?

2011-05-24 Thread Andre Garzia
Hey Folks, For the first time ever, I am in need of a calendar control. I have a field that needs a date, I want to have a calendar control that pushes the date into it. Anyone here has experiences with calendar controls? Anyone knows some available calendar control? Cheers andre -- http://www.

Ken's Custom Control thingy

2011-05-24 Thread Todd Geist
Hello, I was watching Ken on the Simulcast, and he was showing a really cool little tool to make building custom controls easier. At least I think he was. Or maybe I was dreaming :>) Did that thing get released? Is it available somewhere? Thanks Todd Todd Geist -

Re: where to find the Android settings?

2011-05-24 Thread Colin Holgate
Both use mobilePickPhoto, neither work. On May 24, 2011, at 6:39 PM, J. Landman Gay wrote: > I wonder if you really need permissions to pick a photo? Camera permissions > would be different, I think. ___ use-livecode mailing list use-livecode@lists.

Re: [OT] Pirate software in Germany?

2011-05-24 Thread Bob Sneidar
Sending food typically works... Bob On May 24, 2011, at 3:45 PM, Lynn Fredricks wrote: > This really isn't the forum for solving these problems. Now I have to think > of some other way to get Bob to say "tiddle bugger" again in a sentence :-) > > Best regards, > > Lynn Fredricks > President >

RE: [OT] Pirate software in Germany?

2011-05-24 Thread Lynn Fredricks
> You might also remember that I am one of those people on the > front line trying to teach the teeming hordes of students who > think nothing of pirating software or other IP every semester > exactly why they will end up paying the piper at some point > or another, and probably at the expense

Re: where to find the Android settings?

2011-05-24 Thread J. Landman Gay
On 5/24/11 3:41 PM, Colin Holgate wrote: You can decompress the apk with Stuffit Expander. The AndroidManifest.xml file is strangely formatted, but you can see that the only android.permissions thing listed is Internet. mobilePickPhoto appears to do nothing. I wonder if you really need permiss

Re: where to find the Android settings?

2011-05-24 Thread Colin Holgate
You can decompress the apk with Stuffit Expander. The AndroidManifest.xml file is strangely formatted, but you can see that the only android.permissions thing listed is Internet. mobilePickPhoto appears to do nothing. On May 24, 2011, at 3:29 PM, J. Landman Gay wrote: > The permissions are in

Re: where to find the Android settings?

2011-05-24 Thread J. Landman Gay
On 5/24/11 1:47 PM, Colin Holgate wrote: If it's just set to Internet, does that mean mobilePickPhoto won't work, as you haven't ask for permission to use the camera? I don't know. The release notes say that mobilePickPhoto works, so I have to assume they do what's required. I wonder if the st

RE: [OT] Pirate software in Germany?

2011-05-24 Thread Judy Perry
Lynn, You don't have to be a software developer to have an interest in privacy rights and the whole cuppa noodles that is covered under the 4th Amendment. Just because I am not a software developer (and I know you know that) and just because you sell other people's software and people might

Re: where to find the Android settings?

2011-05-24 Thread Colin Holgate
If it's just set to Internet, does that mean mobilePickPhoto won't work, as you haven't ask for permission to use the camera? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your s

Re: where to find the Android settings?

2011-05-24 Thread J. Landman Gay
On 5/24/11 1:16 PM, Colin Holgate wrote: Where in the standalone application settings do you set the allowed orientations for Android, and also the permissions? There isn't a UI for it yet. You set allowed orientations by script on preOpenStack. Permissions are automatically set to "Internet"

datagrid: Not refresh the data after assign data from an array

2011-05-24 Thread JosepM
Hi all, I'm in trouble with the datagrid when assign data from an array. It's a strange behavior, so after convert the XML to array and assign it to the datagrid, the datagrid only show the visibles rows and no vertical scrollbars appear. If I check the contents of the datagrid all the data appear

where to find the Android settings?

2011-05-24 Thread Colin Holgate
Where in the standalone application settings do you set the allowed orientations for Android, and also the permissions? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscript

where to find the Android settings?

2011-05-24 Thread Colin Holgate
Where in the standalone application settings do you set the allowed orientations for Android, and also the permissions? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscripti

Re: [OT] Pirate software in Germany?

2011-05-24 Thread Bob Sneidar
I guess it comes down to this: Civilized societies must always decide on a balance between how much injustices they can tolerate, vs. how much personal freedom and anonymity they wish to preserve. The most efficient way to minimize crime overall is to first eliminate all personal freedoms, but p

RE: [OT] Pirate software in Germany?

2011-05-24 Thread Lynn Fredricks
> If people are indeed stealing/frauding, then you get a > warrant. You issue DMCA takedowns. Destroying what little > is left of the 4th Amendment is not the answer because the > 4th Amendment is larger in scope than the smaller issue of IP > protection (which I support). Judy, those soluti

RE: [OT] Pirate software in Germany?

2011-05-24 Thread Judy Perry
If people are indeed stealing/frauding, then you get a warrant. You issue DMCA takedowns. Destroying what little is left of the 4th Amendment is not the answer because the 4th Amendment is larger in scope than the smaller issue of IP protection (which I support). Judy On Mon, 23 May 2011, L

Re: Rotate Screen on Android

2011-05-24 Thread J. Landman Gay
On 5/23/11 9:40 PM, Roger Eller wrote: Using 4.6.1, no matter what I try, I just can't seem to get screen rotation working. I can detect portrait, landscape, etc. but is there a recipe to actually make the stack rotate? According to the release notes, it should be possible. I must be missing so

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Nonsanity
Arrays are the way to go there, but if you really do need to work with constructed variable names, do is probably the only way to set such a value. The following code clip shows how you can get the value of a constructed variable name: put 111 into var1 put 222 into var2 put 2 into whichVar put me

[ANN] ChartMaker update available

2011-05-24 Thread FlexibleLearning
A maintenance update for ChartMaker 2.1 has been released, but a problem with the 'Check for Updates' feature has been identified for which we apologize. If you get an error message when you click to check for updates, you can either download the update direct here... www.FlexibleLearning.com/

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Keith Clarke
Thanks, Jim, The 'do' command looks useful as a mechanism for combining disparate elements - I'll add it to my armoury. The multi-dimensional array should keep the XML strings related but separate for post processing. I'm also setting a custom property on the stack as the array - to provide si

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Jim Ault
On May 24, 2011, at 2:12 AM, Keith Clarke wrote: Hi folks, I have a repeat loop with tCycle = 1 to 10 and for each repeat, I need to put something into a new variable, specific to the particular cycle - tResultCycle1, tResultCycle2... tResultCycle10. How does one script the creation of a

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Keith Clarke
Yes, an array seems to be the way to go, as LiveCode doesn't throw errors (yet!) if I use... repeat with tCycle = 1 to 10 put "some ugly returned XML string" into tResult[tCycle]["Response"] end repeat Thanks for listening! :-) Best, Keith.. On 24 May 2011, at 10:48, Keith Clarke wrote: > Than

Re: Syntax to increment variable names in repeat loop

2011-05-24 Thread Keith Clarke
Thanks for responding John but in my scenario, I can't use 'after' in a single variable. Each loop cycle is calling a web service and returning an XML string that I need to place in a unique variable, related to the loop cycle, for subsequent aggregation. Thinking about it, maybe I could put al

RE: Syntax to increment variable names in repeat loop

2011-05-24 Thread John Dixon
Not too sure I fully understand... but is something like this what you are after ? on mouseUp put "jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec" into monthList repeat with count = 1 to 12 put (item count of monthList & count) & cr after theList end repeat put theLis

Syntax to increment variable names in repeat loop

2011-05-24 Thread Keith Clarke
Hi folks, I have a repeat loop with tCycle = 1 to 10 and for each repeat, I need to put something into a new variable, specific to the particular cycle - tResultCycle1, tResultCycle2... tResultCycle10. How does one script the creation of a unique variable for each loop, as LiveCode doesn't see

Re: [Semi-OT] Someone using LiveCode with Gnome 3.0?

2011-05-24 Thread Mandy
LiveCode runs fine under Natty. I switched to the "Classic" environment but did try out Unity. Initially there were some quirks with the LC icon on the launcher but an early update sorted that out. I haven't tried Gnome 3 so I can't comment there (I'll be back to Mint when 11 goes to