Search found 361 matches

by amyren
Sun Mar 26, 2023 11:28 am
Forum: General programming
Topic: How to display progress of a for-next loop
Replies: 8
Views: 2000

Re: How to display progress of a for-next loop

If you can't get it working, post an MCVE and I'll take a look. Here is a small example @REQUIRE "RapaGUI" @FILE 1, "Dialogs.xml" @FILE 2, "progress.xml" Function p_Test_progress() If IsOnline() abortpressed = False Seek(2, 0) moai.CreateDialog(ReadString(2), "win...
by amyren
Fri Mar 24, 2023 1:13 pm
Forum: General programming
Topic: How to display progress of a for-next loop
Replies: 8
Views: 2000

Re: How to display progress of a for-next loop

Thanks for the input, I must admit I dont understand half of how RapaGUI works, but it made me have another attempt at this. Now I do get a working progressbar, but not without issues. The progressbar dialog only show a blank area where the button is suposed to be. If I just wait for the download th...
by amyren
Thu Mar 23, 2023 10:56 pm
Forum: General programming
Topic: How to display progress of a for-next loop
Replies: 8
Views: 2000

Re: How to display progress of a for-next loop

Thanks for the suggestion, unfortunately nothing is displayed when I run it, probably because of the way Rapagui works.
by amyren
Thu Mar 23, 2023 7:10 pm
Forum: General programming
Topic: How to display progress of a for-next loop
Replies: 8
Views: 2000

How to display progress of a for-next loop

I have this part of my program that downloads some files and I would like to have a way to display that something is going on so the user doesnt think the app is frozen. The program is RapaGUI based. I did take a look at the progress bar in the Dialogs example, but I am not sure how to implement it ...
by amyren
Sun Mar 12, 2023 6:55 pm
Forum: General programming
Topic: Fail404 option with hurl 1.2
Replies: 8
Views: 3167

Re: Fail404 option with hurl 1.2

You shouldn't run your script with ExitOnError() disabled all the time, at least unless you have your own error function with RaiseOnError(). Or in a shorter way: code = ?DownloadFile(file_url$, {File = myfile$, Fail404 = True, Adapter = "hurl"}) Thanks. That was a better way, omitting th...
by amyren
Sat Mar 11, 2023 11:42 am
Forum: General programming
Topic: Fail404 option with hurl 1.2
Replies: 8
Views: 3167

Re: Fail404 option with hurl 1.2

Thanks for explaining the situation. While waiting for an update, what workaround could you recommend? The easiest workaround is perhaps to revert to hurl1.1, but is there a way to get around it using 1.2? Here is an example part of my code that suffers from this bug, the code returned will be 0 wit...
by amyren
Thu Mar 09, 2023 12:13 pm
Forum: General programming
Topic: Fail404 option with hurl 1.2
Replies: 8
Views: 3167

Re: Fail404 option with hurl 1.2

You did apply the fix almost a year ago, is there going to be a hurl update soon?
by amyren
Wed Feb 22, 2023 9:57 am
Forum: Tutorials
Topic: A little teaser for my upcoming 2d platform game tutorial
Replies: 13
Views: 19536

Re: A little teaser for my upcoming 2d platform game tutorial

Have you tried asking ChatGPT about it? *scnr* ;) Me: Where can I find the demo sources for the 2d platform game made by user jalih who posted a now expired dropbox file link on the Hollywood forums? ChatGPT: I'm sorry, but without more information, it is difficult for me to provide a specific answ...
by amyren
Thu Feb 09, 2023 12:11 pm
Forum: Tutorials
Topic: A little teaser for my upcoming 2d platform game tutorial
Replies: 13
Views: 19536

Re: A little teaser for my upcoming 2d platform game tutorial

I guess the tutorial is gone into oblivion, but I was curious to look at the demo source.
The dropbox file is not available anymore, is it available somewhere else?
by amyren
Wed Feb 08, 2023 5:24 pm
Forum: Code snippets area
Topic: ChatGPT Hollywood code
Replies: 5
Views: 3144

Re: ChatGPT Hollywood code

I asked it to tell me about the Hollywood programming language, this is the reply I'm sorry, but there is no programming language called "Hollywood". It's possible that you may be referring to the multimedia framework with the same name that runs on AmigaOS and Linux systems. Hollywood is ...