Re: ChatGPT

2022-12-09 Thread Dan Brown via use-livecode
If you tell it what the compiler errors are it'll start fixing the code On Fri, 9 Dec 2022, 21:55 Jim Lambert via use-livecode, < use-livecode@lists.runrev.com> wrote: > Even more interesting I issued the same chat request a few hours later and > got an entirely different coding approach. > It

How to use font files in development AND standalones

2022-12-09 Thread Bob Sneidar via use-livecode
Hi all. I finally figured out how to use font files in a way that works in development AND in a standalone. In the preOpenStack handler in the first card script: -- load fonts put specialFolderPath("resources") into tPath start using font file tPath & "/Fonts/Aclonica.ttf" start

Re: ChatGPT

2022-12-09 Thread Jim Lambert via use-livecode
Even more interesting I issued the same chat request a few hours later and got an entirely different coding approach. It even helpfully put the code into formatted, copy-able blocks. (formatting not shown here.) ME: Write a calendar app in livecode CHATGPT: Here is an example of how you could

Re: Build in Answer Dialog

2022-12-09 Thread Paul Dupuis via use-livecode
Hi Mike, Yes, that fix works. Thank you. On 12/8/2022 11:07 PM, Mike Kerner via use-livecode wrote: got it. in the openCard handler (which is blank), add the line: select the text of field 2 of me #mikey h4x0rz t3h IDE On Thu, Dec 8, 2022 at 10:33 PM Mike Kerner wrote: oh, would you look

Re: Build in Answer Dialog

2022-12-09 Thread Mike Kerner via use-livecode
yo, gang, did that fix it for you, for now? On Thu, Dec 8, 2022 at 11:07 PM Mike Kerner wrote: > got it. > in the openCard handler (which is blank), add the line: > select the text of field 2 of me #mikey h4x0rz t3h IDE > > On Thu, Dec 8, 2022 at 10:33 PM Mike Kerner > wrote: > >> oh, would

Re: ChatGPT

2022-12-09 Thread Mike Kerner via use-livecode
I just tried, again, this time, capitalizing the "W" in "Write:" Write a calendar app in livecode Here is an example of a simple calendar app written in LiveCode: Copy code on mouseUp set the month of the date to 1 set the day of the date to 1 set the year ofthe date to the year of this date

Re: ChatGPT

2022-12-09 Thread Glen Bojsza via use-livecode
forgot the most important things...the greatest benefit comes from being able to properly phrase your request. On Fri, Dec 9, 2022 at 3:43 PM Glen Bojsza wrote: > Just for fun I thought I would add a few things here. > > 1. if you add the chrome extension from https://sharegpt.com/ then you >

Re: ChatGPT

2022-12-09 Thread Glen Bojsza via use-livecode
Just for fun I thought I would add a few things here. 1. if you add the chrome extension from https://sharegpt.com/ then you can print save the chat.openai.com output seamlessly. 2. If you are ambitious you could port this extension to safari and then port it to ios for iphone and ipda 3. if

Re: ChatGPT

2022-12-09 Thread Mike Kerner via use-livecode
i just tried the same experiment and got a different result: write a calendar app in livecode I'm sorry, but I'm not able to write a calendar app in LiveCode. As a language model, I don't have the ability to write code or access the internet to research specific technologies. My abilities are

Re: ChatGPT

2022-12-09 Thread Jim Lambert via use-livecode
> On Dec 9, 2022, at 11:02 AM, Stephen Barncard wrote: > > OK, we are interested. What is the backstory? I just looked up ChatGPT > what did you have to do to get that response? Stephen, See the lines labelled ME? That's what I did. And that's all that I did. Try it yourself!

Re: ChatGPT

2022-12-09 Thread Stephen Barncard via use-livecode
OK, we are interested. What is the backstory? I just looked up ChatGPT what did you have to do to get that response? -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Dec 9, 2022 at 10:25 AM Jim Lambert via use-livecode < use-livecode@lists.runrev.com> wrote: > This is

Re: ChatGPT

2022-12-09 Thread Mark Smith via use-livecode
I’m impressed. As a potential learning tool this rocks. For example, just trying to implement this calendar as described would run into all sorts of obstacles that a student would have to figure out how to solve. The framework is there, lots of clues and hints are provided, but there is still

ChatGPT

2022-12-09 Thread Jim Lambert via use-livecode
This is interesting. ME: Write a calendar app in livecode CHATGPT: To create a calendar in LiveCode, you can use a combination of text fields, buttons, and other controls to create a user interface that allows users to select a date and view the calendar for that month. Here is an example of

Re: Crash on launching LC server version > 9.6.7 using terminal

2022-12-09 Thread Ralf Bitter via use-livecode
Hi all, Applying Mark's advice to all included dylib files, in addition to the server executable, solved the problem. Ralf On 08.12.2022 17:59, Mark Waddingham via use-livecode wrote: Hi Ralf, have any of you ever experienced that a version of LC Server newer than 9.6.7 crashes on

Re: [OT} Sunsetting Atom Editor 12/15/2022

2022-12-09 Thread Mark Waddingham via use-livecode
On 2022-12-08 18:30, Mike Kerner via use-livecode wrote: mark - what have you fond compelling about vscode? i have never really liked it Three immediate things: 1) it has a terminal pane 2) its find in all files is a right hand tree view and is updated live 3) there is a C/C++ extension

Re: Equivalent of a field's "on linkclicked" message in a browser widget?

2022-12-09 Thread Klaus major-k via use-livecode
Hi all, with some help form the LC forum, I finally had kind of success with this: on browserNavigateBegin pUrl lock screen if pURL ends with ".pdf" then libURLDownloadToFile pUrl, (specialfolderpath("desktop") & "/test666.pdf") go back