Search found 680 matches

by Thierry
Thu Mar 26, 2020 4:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: LiveCode tutorial text chunk
Replies: 25
Views: 635

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 167 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: 635

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: 635

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: 272

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: 2158

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: 839

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: 917

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: 839

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: 839

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: 839

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: 44516

Re: Successful test

Thanks sparkOut, I've rephrased it :)
by Thierry
Sun Mar 15, 2020 7:22 am
Forum: HTML5
Topic: Successful test
Replies: 75
Views: 44516

Re: Successful test

(Mar 12, 2020) TMHO, there is no progress with LC's HTML5 platform ("web apps") since a long time. So I stopped making new HTML5 standalones. Hermann, I was continually impressed by the results you produce! and It’s really admirable how you always see projects through from conception to completion....
by Thierry
Fri Mar 06, 2020 4:28 pm
Forum: Talking LiveCode
Topic: mobileGetContactData: help to read the "address" data
Replies: 3
Views: 336

Re: mobileGetContactData: help to read the "address" data

simon.schvartzman wrote:
Can some one enlighten me please?
Hi Simon,

I don't use mobileGetContact,
but what I would do is dump the resulting array in a field to visualise it.

You can use this code to do that:

https://forums.livecode.com/viewtopic.p ... 01#p175195


HTH,

Thierry
by Thierry
Mon Mar 02, 2020 1:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Demo of calculating tangets to circles
Replies: 4
Views: 690

Re: Demo of calculating tangets to circles

Hi Michael,

Quite impressive!

I've edited the Oval1 script to redraw dynamically while moving the mouse.

Enjoy :)

Thierry

Calculate tangent to circles.zip
(164.68 KiB) Downloaded 30 times
by Thierry
Mon Mar 02, 2020 10:23 am
Forum: Windows
Topic: Converting specific TAG File Format (Sage Accounting) to CSV or XML
Replies: 9
Views: 1887

Re: Converting specific TAG File Format (Sage Accounting) to CSV or XML

Hi Tate, Your problem is a good candidate for regular expressions, and more precisely for sunnYrex: https://sunny-tdz.com/livecode/sunnyrex Your datas are consistent and well-formed even if they appear not to be so at a first glance :wink: As an exercise, here is 30 lines of code I've done in one ho...

Go to advanced search