Search found 684 matches

by Thierry
Thu Apr 02, 2020 9:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

However, I want to be able to increase/decrease the scroll speed using the arrow buttons (the arrow buttons enable me to use a remote control using designed for Keynote/Powerpoint) More generally, is there a good tutorial on how to "do things" from within a repeating loop? Hi Tim, I have no idea if...
by Thierry
Sun Mar 29, 2020 11:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode codes to readable text
Replies: 10
Views: 444

Re: Converting Unicode codes to readable text

Thierry, for my own small project I can't really afford a paid external... It's fine for me, I do understand. Actually, I have a small number of regex followers who like regex use cases; that's the main reason of my regex posts... Oh, BTW, it's a library, not an external. For now I've used a repeat...
by Thierry
Sun Mar 29, 2020 9:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: put string into multiple variables
Replies: 12
Views: 933

Re: put string into multiple variables

Maybe another option could be an ARRAY? No need to DO anything there: Only ONE variable, worth a thought :D What Klaus said ! but even an easier way to build your array out of list: local mySuperArray = "TotalSales,TotalSavings,Subtotal,TotalTaxes,etc,etc" split mySuperArray with comma as set Take ...
by Thierry
Sun Mar 29, 2020 8:57 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Converting Unicode codes to readable text
Replies: 10
Views: 444

Re: Converting Unicode codes to readable text

Hi, Applying your text sample with the last solution, I found 2 errors: -- spaces are suppressed -- last chunk \u0430? breaks the code (error with numtocodepoint) So, here is my take on this: local T = "\u041f\u0440\u0438\u0432\u0435\u0442 \u043a\u0430\u043a \u0434\u0435\u043b\u0430?" on mouseUp put...
by Thierry
Thu Mar 26, 2020 4:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode tutorial text chunk
Replies: 25
Views: 711

Re: LiveCode tutorial text chunk

wanglucas wrote: i dont see where my quotes are wrong
Mmm, look carefully....
sunnYscrrenshot 2020-03-26 à 16.54.55.png
sunnYscrrenshot 2020-03-26 à 16.54.55.png (11.15 KiB) Viewed 199 times
by Thierry
Thu Mar 26, 2020 4:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode tutorial text chunk
Replies: 25
Views: 711

Re: LiveCode tutorial text chunk

Ok, you can drop: of stack ... Not mandatory in your case. However, the quotes in your lines are wrong ! Check carefully the quoting for your field and card name and the one for your stack name; not the same. sunnYscrrenshot 2020-03-26 à 16.34.37.png Guess, re-editing these 2 lines would make a diff...
by Thierry
Thu Mar 26, 2020 9:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode tutorial text chunk
Replies: 25
Views: 711

Re: LiveCode tutorial text chunk

when i get rid of the code set the text of field 'NoteText' of card 'cardNoteEdit' and just have the code go to card “cardNoteEdit” i dont get any errors so i know it has to be something wrong with my fields.... Hi wanglucas, shooting a bit on the dark and considering your namings are fine; could y...
by Thierry
Tue Mar 24, 2020 10:42 am
Forum: Bug Triage
Topic: styledText with undefined value
Replies: 0
Views: 411

styledText with undefined value

Hi, Stressing my code which translate a LC field to a pure CSS/HTML5, I find when testing against the backgroundLiveScript from the IDE an "undefined" value for the textstyle key. Next is a dump of the culprit part of the styledText array: runs and htmltext.png Then a hex dump of the text part: hexD...
by Thierry
Fri Mar 20, 2020 5:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script only Stacks
Replies: 22
Views: 2205

Re: Script only Stacks

Code: Select all

stack "pms"
First line of your text file, do:

Code: Select all

script "pms"
That should work better....

Take care,

Thierry
by Thierry
Thu Mar 19, 2020 10:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 918

Re: Creating a flashing effect

bogs wrote: ..... than my hackey-sack code :wink:
Well, don't see anything wrong with your code my friend :)

Different way of thinking and putting some lines of code one after one
to make some psychedelic flashes...

Take care,

Thierry
by Thierry
Thu Mar 19, 2020 9:45 am
Forum: Databases
Topic: converting an sql query into an array
Replies: 17
Views: 1047

Re: converting an sql query into an array

what i then need to do is use those names to search the array and return the push-keys for each person (as a string, comma separated. I tried to use- 'repeat for each element in array' but I cant work out the syntax. any (more) help would be great Hi Paul, Feel free to send me a sample stack with s...
by Thierry
Thu Mar 19, 2020 9:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 918

Re: Creating a flashing effect

Glen, if you like repeat for each - which I do too :) here is another way: on flash constant C = "red violet,orange blue,yellow green,green yellow,blue orange,violet red" repeat for each item aColor in C lock screen set the backcolor of graphic 1 to word 1 of aColor set the backcolor of graphic 2 to...
by Thierry
Wed Mar 18, 2020 1:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 918

Re: Creating a flashing effect

Thanks Thierry, apologies, I missed your post whilst I was replying to Klaus, I'll work have a work through this. Kind regards, Glenn Hi Glen, No problem with me, but thanks anyway :) And the code I posted does exactly what bogs's one does; hoping that it might interest you to compare side by side ...
by Thierry
Wed Mar 18, 2020 12:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating a flashing effect
Replies: 21
Views: 918

Re: Creating a flashing effect

Another way is using the send command: local t1, Nrepeat on mouseup -- flash put 0 into t1 put 2 into Nrepeat send "flash2 +5" to me in 0 end mouseup on flash2 deltaChange add deltaChange to t1 if deltaChange > 0 and t1 > 200 then put "-5" into deltaChange else if deltaChange < 0 and t1 <= 0 then su...
by Thierry
Sun Mar 15, 2020 11:16 am
Forum: HTML5
Topic: Successful test
Replies: 75
Views: 45067

Re: Successful test

Thanks sparkOut, I've rephrased it :)

Go to advanced search