Re: read volume

2016-05-10 Thread Scott Rossi
I think what you're looking for is directory walking (files & folders, not file contents). You're part of a fairly recent thread that explains this: http://runtime-revolution.278305.n4.nabble.com/recursion-limit-when-creatin g-file-list-of-harddrive-td4697952i20.html Regards, Scott Rossi Creati

can enter a field, but text beeps

2016-05-10 Thread Dr. Hawkins
I have a field that I can click into, but typing causes a beep instead of text. I even added the handler *on* keyUp ky ck ky & cr & the long name of the target *pass* keyUp *end* keyUp which confirms that the key is indeed triggering in the correct field. I put a red dot on the pass,

Re: Wildcard?

2016-05-10 Thread RM
Oh, look: I'm like a dog returning to its own vomit: http://runtime-revolution.278305.n4.nabble.com/Wildcards-td4669119.html Useless last time: I wonder what chances this time? Funny considering a lot of other programming languages do use wildcard characters (that's a bitchy comment,à l'anglai

Wildcard?

2016-05-10 Thread RM
Well, here I am reading my "Revolution 1.1.1" User Guide because when I was soaking in a nice hot bath (an excellent location for thinking about Livecode) I suddenly thought of a "problem", which, on reflection congealed around the term "Wildcard". Now in the "Revolution 1.1.1" User Guide, page

read volume

2016-05-10 Thread JB
I thought I had read you could read a volume like you read a file but it can not be the startup volume. I tried to read using the volume name shown from the volumes function and open file and it did not work so I used open driver and it did not return any data either. Is there a way to read a dis

Re: Webinar

2016-05-10 Thread Richard Gaskin
Heather Laine wrote: > Indeed. Here it is for your viewing pleasure: > > https://livecode.com/lc8-launch-webinar-recording/ > > Please forgive the slight delay, 90 questions take a lot of answering :) I'm surprised and impressed that you took the time to transcribe the Q&A portion. Well done!

Re: Webinar

2016-05-10 Thread RM
http://us7.campaign-archive1.com/?u=8404b344b09103bf489dd8a9a&id=6b47d04b9e&e=30cf6c38b4 R. On 9.05.2016 22:30, Jim Kanter wrote: They said it would go up on the blog soon. On Mon, May 9, 2016 at 3:25 PM, stephen barncard wrote: On Mon, May 9, 2016 at 12:22 PM, RM wrote: I would be most g

Re: Webinar

2016-05-10 Thread Heather Laine
Indeed. Here it is for your viewing pleasure: https://livecode.com/lc8-launch-webinar-recording/ Please forgive the slight delay, 90 questions take a lot of answering :) Regards, Heather Heather Laine Customer Services Manager LiveCode Ltd

Re: Speed of LCB

2016-05-10 Thread Richard Gaskin
David Bovill wrote: > Richard mentioned that LCB can be / is magnitudes slower than Livecode > script for certain tasks? I don't believe I have sufficient data to have made such a specific claim. If I did I was mistaken, as I've not seen enough scripts offering equivalent functionality writte

Re: Replace accents

2016-05-10 Thread Ludovic THEBAULT
Le 10 mai 2016 à 16:31, Mark Waddingham a écrit : > normalizeText(it, "NFC") Great ! Many Thanks ! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences

Re: Replace accents

2016-05-10 Thread Mark Waddingham
On 2016-05-10 16:22, Ludovic THEBAULT wrote: If the text is typed with Livecode, it's work, but with a text opened from a file (or the list of files in a folder, like i use in this script, it doesn't work). try : on mouseup put "Bonjour à tous" into URL("file:" & specialfolderpath("Documents

Re: Replace accents

2016-05-10 Thread Ludovic THEBAULT
Le 10 mai 2016 à 15:14, John Dixon a écrit : > err... it does work under LC8.. just tried it > MacBook Pro, El Capitan, OSX 10.11.4 If the text is typed with Livecode, it's work, but with a text opened from a file (or the list of files in a folder, like i use in this script, it doesn't work)

RE: Replace accents

2016-05-10 Thread John Dixon
err... it does work under LC8.. just tried it MacBook Pro, El Capitan, OSX 10.11.4 on mouseUp put "öõÓÔÒÕÖúùû" into mytext put "áàâäãåÄÅÀÃéèêëÊËÈÉíìîïÍÎÏÌóòôöõÓÔÒÕÖúùûüÚÛÙÜÑñçÇ'" into accent put "aaoONncC_" into noaccent put 0 into cpt

Replace accents

2016-05-10 Thread Ludovic THEBAULT
Hello, This little scrip don't word with Livecode 7 and 8. I guess this is because Livecode work directly in unicode (the script work with Livecode 6). But how handle it in my script ? put "áàâäãåÄÅÀÃéèêëÊËÈÉíìîïÍÎÏÌóòôöõÓÔÒÕÖúùûüÚÛÙÜÑñçÇ'" into accent put "aaoOuu

Re: Asynchronous animations in LCB

2016-05-10 Thread David Bovill
Thanks Mark - I think as an excercise adding an alarm capability to the clock seems like a nice thing to do. Looking in to how do you dispatch messages from LCB to LivecodeScript? I see two option "send" and "post" wandering what the difference is... I also have a general question about the scope

Re: Asynchronous animations in LCB

2016-05-10 Thread Mark Waddingham
On 2016-05-10 10:56, David Bovill wrote: I'm contemplating doing some animations in a widget, and would like the animation to be non-blocking. How do you achieve that in LCB? At the moment a widget can ask for a single shot callback 'timer' using: schedule timer in seconds A timer can be

Re: Asynchronous animations in LCB

2016-05-10 Thread David Bovill
Ah digging into the clock widget we have: - schedule timer in someFunction() seconds So that looks the way to do it? On 10 May 2016 at 09:56, David Bovill wrote: > OK I took a look for the first time in detail at the source code of some > of the existing widgets to see what is possible, and

Asynchronous animations in LCB

2016-05-10 Thread David Bovill
OK I took a look for the first time in detail at the source code of some of the existing widgets to see what is possible, and indeed much of it looks great - simple and easy to hack. I'm contemplating doing some animations in a widget, and would like the animation to be non-blocking. How do you ac

Speed of LCB

2016-05-10 Thread David Bovill
Richard mentioned that LCB can be / is magnitudes slower than Livecode script for certain tasks? I'm wandering how this pans out with json import. Perhaps it's time to look at a speed comparison between various ways to encode and decode JSON in Livecode. We have: - a number of libs written in