Search found 696 matches

by mrcoollion
Mon Mar 18, 2024 4:53 pm
Forum: Talking LiveCode
Topic: Communicate with AI via tsNetGetSync
Replies: 0
Views: 28

Communicate with AI via tsNetGetSync

Hello LC specialists :-), It has been a while for me to post a question but here is my latest headscratcher when using tsNetGetSync. I hope that someone has an answer for me . I have locally set up an opensource AI named LocalAI in Docker which works. I now try to cummunicate with it using tsNetGetS...
by mrcoollion
Sat Mar 09, 2024 11:09 am
Forum: Games
Topic: Looking for someone who can teach me how to build a game.......
Replies: 11
Views: 567

Re: Looking for someone who can teach me how to build a game.......

dunbarx wrote:
Fri Mar 08, 2024 4:50 pm
If you want to make your own world, then you need to learn how to program. LiveCode is perfect for that.
Craig
I agree with Craig. That is why I chose LiveCode. It is an easy-to-understand and learn coding language without many boundaries or high costs.
by mrcoollion
Fri Jan 26, 2024 4:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: getting system specifications
Replies: 9
Views: 2611

Re: getting system specifications

Just for completion. One can paste the code below in a button to get all kinds of system information from a Windows PC. on mouseUp pMouseButton put the platform &cr& systemVersion() &cr& the processor &cr& the environment &cr& the qtVersion into tSysInfo1 set the hideConsoleWindows to true put shell...
by mrcoollion
Sat Jan 13, 2024 12:47 pm
Forum: Talking LiveCode
Topic: Wait statement help with until and or
Replies: 14
Views: 298089

Wait statement help with until and or

Hello Fellow LC developers, I need some help. I cannot seem to get the wait statement to work as I need it to. What I need is for the application to wait until the variable tResult has data in it or until 10 seconds have passed. Tried the below but it throws an error during runtime. wait until tResu...
by mrcoollion
Tue Dec 12, 2023 3:33 pm
Forum: Talking LiveCode
Topic: Send the Stack to the Center of the screen.
Replies: 61
Views: 788633

Re: Send the Stack to the Center of the screen.

Here is an example what i made to position my stack left, right or in the center. This code is in a group that hold three radio buttons named LeftTop,MidTop and RightTop. To do some coding exercises, and figure out how it works. It pretty simple. Regards, Paul on mouseup put the screenRects into tSc...
by mrcoollion
Wed Nov 01, 2023 5:43 pm
Forum: Talking LiveCode
Topic: Strange behaviour of Group with Radiobuttons (Solved)
Replies: 4
Views: 8417

Re: Strange behaviour of Group with Radiobuttons

Thanks Klaus and Richmond,

Ik found the reason.
I called a command that existed in both stacks (Main and Sub). This got mixed up and therefore I got the strange behavior.
It is now working as expected.

Regards,

Paul
by mrcoollion
Wed Nov 01, 2023 3:51 pm
Forum: Talking LiveCode
Topic: Strange behaviour of Group with Radiobuttons (Solved)
Replies: 4
Views: 8417

Strange behaviour of Group with Radiobuttons (Solved)

Hello LiveCode friends, I now have a very strange behavior concerning a group that contains radio buttons. Somehow when I start the substack after the open part of the Main card the group becomes disabled. The last statement of the open Card section is: set the disabled of group "grp_CodeVersion" to...
by mrcoollion
Fri Oct 27, 2023 11:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Array referencing
Replies: 22
Views: 42814

Re: Array referencing

Maybe this code helps somewhat. For me it is not exactly clear what you want but this makes it possible to switch paths based upon your example. on mouseUp pMouseButton put PathToPref(1) into tPathNeeded breakpoint end mouseUp function PathToPref pValue // Some data in vars to test the procedure put...
by mrcoollion
Thu Oct 19, 2023 6:26 pm
Forum: Talking LiveCode
Topic: put url does not work in standalone Windows 10 (Solved)
Replies: 18
Views: 78355

Re: put url does not work in standalone Windows 10

Pfff that was some journey :shock: I tested all the Inclusions and the only one that keeps giving the error in my test Stack is the Remote Debugger inclusion. So I guess this is the culprit !! I will be testing my actual Stack and come back with my final conclusions (i hope). My questions are: - I T...
by mrcoollion
Thu Oct 19, 2023 4:58 pm
Forum: Talking LiveCode
Topic: put url does not work in standalone Windows 10 (Solved)
Replies: 18
Views: 78355

Re: put url does not work in standalone Windows 10

Hello Bernd, Nice to 'see' you on board Bernd :D As you have advised I removed almost all Inclusions except the JASON related and Answer and Ask Dialog. Build the executables again (32 and 64 versions) and know the error is gone (32 and 64 versions). Although this is somewhat good news :) it also me...
by mrcoollion
Wed Oct 18, 2023 8:49 pm
Forum: Talking LiveCode
Topic: put url does not work in standalone Windows 10 (Solved)
Replies: 18
Views: 78355

Re: put url does not work in standalone Windows 10

Hello S, It is true that the final app is pretty extensive and it all works in developers mode... Maybe it is a Windows-related issue? the extensions are extensions I have in my developer tools menu. I do not get any errors I know of while generating the standalone application. Below is the result o...
by mrcoollion
Wed Oct 18, 2023 7:15 pm
Forum: Talking LiveCode
Topic: put url does not work in standalone Windows 10 (Solved)
Replies: 18
Views: 78355

Re: put url does not work in standalone Windows 10

To help you as much as I can I made a small application to simulate the problem. It uses the actual data I receive from coinmarketcap (Yes I am making a support application for crypto traders) In development mode, there are no errors. After making the executable there are errors. Hope you see the sa...
by mrcoollion
Wed Oct 18, 2023 12:12 pm
Forum: Talking LiveCode
Topic: put url does not work in standalone Windows 10 (Solved)
Replies: 18
Views: 78355

Re: put url does not work in standalone Windows 10

Hi all, After extensive testing and placing check information into a field on the card it seems that the TsNetGetSync is working fine but the problem is the ' JSONtoArray(tData) into tArray'code part. The code below does show the first put... in the designated field but does not show the second put....

Go to advanced search