Search found 11 matches
- Sun Aug 10, 2014 7:52 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: MatchText Issue
- Replies: 7
- Views: 5569
Re: MatchText Issue
Hallo, Thierry, is it possible, to find with regex in a htmltext phrases, where the beginning and the end are the same, but in the middle are various chars? e.g. "<font face="Georgia" size="10">zu xxx</font>" "<font face="Georgia" size="10">zu yyy</font>" "xxx" or "yyy" are different words. I had to...
- Sat Aug 09, 2014 8:58 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: change quotation mark in htmltext
- Replies: 6
- Views: 6427
Re: change quotation mark in htmltext
MaxV, thanks for the hint. But alas I get a result only when I put replaceText("Strafgericht","Straf","gut") into the msg, but not, when I put it into the script (there I get always the message: field "Field": execution error at line 2 (Handler: can't find handler) near "replaceText", char 1 How I g...
- Wed Aug 06, 2014 10:27 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: change quotation mark in htmltext
- Replies: 6
- Views: 6427
change quotation mark in htmltext
Hi, can the quotation mark of a text be changed in the htmltext? e.g. "All is gone" to "- All is gone -" htmltext: <p><font face="Shalom Old Style" size="20">"All is gone"</font></p> to <p><font face="Shalom Old Style" size="20"> - All is gone - </font></p> The problem: deleting the quotation marks ...
- Tue Jul 22, 2014 8:32 am
- Forum: Talking LiveCode
- Topic: partly upset down
- Replies: 12
- Views: 8151
Re: partly upset down
Hallo,
You were great. What Hermann wrote, really works excellent!
Thank You cery much!
Shalom and Geneva are font names, and the reversed order I need, to transmit text from font Shalom to Unicode.
Kind regards,
Christoph
You were great. What Hermann wrote, really works excellent!
Thank You cery much!
Shalom and Geneva are font names, and the reversed order I need, to transmit text from font Shalom to Unicode.
Kind regards,
Christoph
- Mon Jul 21, 2014 7:55 am
- Forum: Talking LiveCode
- Topic: partly upset down
- Replies: 12
- Views: 8151
Re: partly upset down
Thanks to all! But it did not help!
the original is:
1,shalom
2,shalom
3, geneva
4, geneva
5,shalom
6,shalom
7,shalom
8, geneva
....
it should show up:
1,shalom,2
2,shalom,1
3,geneva
4, geneva
5,shalom,7
6,shalom,6
7,shalom,5
8, geneva
an so on.
chrisw
the original is:
1,shalom
2,shalom
3, geneva
4, geneva
5,shalom
6,shalom
7,shalom
8, geneva
....
it should show up:
1,shalom,2
2,shalom,1
3,geneva
4, geneva
5,shalom,7
6,shalom,6
7,shalom,5
8, geneva
an so on.
chrisw
- Sun Jul 20, 2014 8:26 am
- Forum: Talking LiveCode
- Topic: partly upset down
- Replies: 12
- Views: 8151
Re: partly upset down
Hallo, Craig, I gave You a shortcut of the list. It is a list from 1 to 100 or more (or less). Every time, following lines contain a special word, I need them to appear in reverse order, e.g. if that word is in line 3 to 5 they should appear in line 5 down to 3 (5 = 3; 4 = 4; 3 = 5). If that word ap...
- Fri Jul 18, 2014 8:38 am
- Forum: Talking LiveCode
- Topic: partly upset down
- Replies: 12
- Views: 8151
partly upset down
Hallo, my problem: I have some lines with only one number. If the the following number of the line = (+1) I would like to get this group in reverse order as word 2 of that line - so it should look like this: 1 5 27 - 29 28 - 28 29 - 27 45 50 291 - 294 292 - 293 293 - 292 294 - 291 Who knows the tric...
- Fri Jul 04, 2014 8:10 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: the "backspacekey" and "keyup" handlers as wrappers
- Replies: 9
- Views: 6172
Re: the "backspacekey" and "keyup" handlers as wrappers
Hi Jean-Marc and Klaus, (put pkey (= backspacekey) = 65288) on rawkeyup pKey if pKey = 65288 then delete last char of fld 16 delete last char of fld 12 --exit to top else if (lineoffset(" " & fld 12,fld 1 of stack "wbuch")) = 0 then delete last char of fld 12 of stack "wbuch" delete last char of fld...
- Thu Jul 03, 2014 4:24 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: the "backspacekey" and "keyup" handlers as wrappers
- Replies: 9
- Views: 6172
Re: the "backspacekey" and "keyup" handlers as wrappers
hallo, Klaus, ind the fld-script i had on backspacekey and on keyup in "backspacekey" were the two lines in "Keyup" the rest. That does not work, because the command "delete last char" is also in the keyup. So pass backspacekey or not does not work. I ended backspacekey with "exit to top" - but that...
- Thu Jul 03, 2014 3:29 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: the "backspacekey" and "keyup" handlers as wrappers
- Replies: 9
- Views: 6172
Re: the "backspacekey" and "keyup" handlers as wrappers
Thank You very much!
But how it should be:
on keyup thekey
if it = backspacekey then...
that does not work!
best reagards,
chrisw
But how it should be:
on keyup thekey
if it = backspacekey then...
that does not work!
best reagards,
chrisw
- Thu Jul 03, 2014 9:11 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: the "backspacekey" and "keyup" handlers as wrappers
- Replies: 9
- Views: 6172
the "backspacekey" and "keyup" handlers as wrappers
Hallo, what is false in that script, especially in line 2 of it (if thekey...)? on keyup if thekey = "backspacekey" then delete last char of fld 16 delete last char of fld 12 else if (lineoffset(" " & fld 12,fld 1 of stack "wbuch")) = 0 then delete last char of fld 12 of stack "wbuch" delete last ch...