Search found 168 matches

by exheusden
Sat Sep 01, 2012 6:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding an object to an existing group
Replies: 5
Views: 3655

Re: Adding an object to an existing group

I expect I didn't. I shall try that. Many thanks.
by exheusden
Sat Sep 01, 2012 5:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding an object to an existing group
Replies: 5
Views: 3655

Re: Adding an object to an existing group

Cutting and pasting the button doesn't work. The group remains with just the nine original members. This is what I tried to explain in my first post: " I have tried ungrouping, placing the button, selecting all ten and grouping…" Perhaps there's a step I'm missing something in the GUI. The only way ...
by exheusden
Sat Sep 01, 2012 4:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Adding an object to an existing group
Replies: 5
Views: 3655

Adding an object to an existing group

I have a group of nine buttons. I now wish to add a tenth button to the group. I have tried ungrouping, placing the button, selecting all ten and grouping, but the group properties still only shows 9 elements and the new button does not cause the group script to run. How can I add another button to ...
by exheusden
Sun May 29, 2011 7:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems with text conversions
Replies: 8
Views: 4270

Re: Problems with text conversions

The input file is certainly in UTF-8 encoding, as that is the way it is saved with TextEdit. The file is opened with Open File and closed with Close File. No binfile. Nothing is put into fields. I didn't say your functions don't work; I said they didn't work when I tried them as I understood how the...
by exheusden
Sun May 29, 2011 11:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems with text conversions
Replies: 8
Views: 4270

Re: Problems with text conversions

I have tried using both functions. I tested one function at a time. After having read the text, I then passed it to the function being tested and worked further with the text returned by that function. The result was just the same as without the use of the functions: "special" characters, such as cu...
by exheusden
Sat May 28, 2011 5:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems with text conversions
Replies: 8
Views: 4270

Re: Problems with text conversions

The variable "it" already contains UTF-8 text; that is the text that is read fromm a Unicode UTF-8 formatted file.

Is it then still necessary to go though this uniencode-unidecode process?

And what would happen with a plain text file (MacOS Roman, for example)?
by exheusden
Sat May 28, 2011 11:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problems with text conversions
Replies: 8
Views: 4270

Problems with text conversions

I have a stack, written in RevMedia 4, that creates ePub formats from plain text files. I have now discovered that if I try to use a Unicode UTF-8 format text as its input, the resulting text in the ePub document is to some extent garbled, with curly quotes, em-dashes and some other characters subst...
by exheusden
Tue Mar 22, 2011 9:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

[quote="bn"if you like you may want to post the Welsh file and I give it a try. I really won't tell anybody what it says... :) Is it a Windows, Linux or Mac file?[/quote] No problem, here is a zipped version of (part of) the (Mac-generated) text file. Note that the "#!@" series of characters is the ...
by exheusden
Tue Mar 22, 2011 9:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

Is there a way of reading Unicode files using the equivalent of a Read… until command? The structure of the text file is such that this makes its processing much easier than having to deal with the whole text at once, as I understand is done with the put url command. (The text file contains "markers...
by exheusden
Mon Mar 21, 2011 5:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

Bernd, many thanks indeed for all this. I have just been through Devin Asay's stack and I can well understand that Unicode confuses you utterly! It would perhaps not be so bad if there were just one of the encodings, but there are both the 8 and 16 variations. (I tried to open a UTF-8 file from the ...
by exheusden
Mon Mar 21, 2011 3:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

Perhaps I should indicate that I am using RevMedia and not LiveCode. Also, I'm running under MacOS X (10.6.6). I have found that the Welsh text I wish to convert to include HTML entities is handled differently when I copy and paste part of it for testing purposes to when it is read directly from its...
by exheusden
Mon Mar 21, 2011 1:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

I tried the following: put the htmlText of fld "testIn" into fld "testOut" and it worked fine, even when I copied a (Welsh) text, and pasted it into testIn: testOut showed all the correct HTML entities, even those for specific Welsh characters, such as circumflex-w ((upper and lower) and circumflex-...
by exheusden
Mon Mar 21, 2011 1:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Re: Convert to HTML entitiies

Thank, BVG.

I understand the caseSensitive explanation, but not so alternative method, using htmlText. I'll do some testing to see if I can better understand it and perhaps even get it to work!
by exheusden
Mon Mar 21, 2011 11:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Convert to HTML entitiies
Replies: 11
Views: 7466

Convert to HTML entitiies

I have written a little function that has served well to convert accented characters to HTML entities. At least, it did work well until I added some upper-case characters. Now, the upper-cases are converted to lower-case entity equivalents. Here's a little script I wrote to test the function: on mou...
by exheusden
Thu Mar 10, 2011 4:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Path of source of image element
Replies: 3
Views: 2479

Re: Path of source of image element

Thank you Dixie and Bernd.

Just what I needed.

Go to advanced search