Search found 604 matches

by jPV
Thu Aug 24, 2023 2:17 pm
Forum: Hollywood bugs
Topic: Event queue for a freed display
Replies: 2
Views: 2994

Event queue for a freed display

I noticed some stability issues with a certain program after compiling it with a newer Hollywood version, and finally had some time to hunt the issue down. It looks that if there are input events for a display, which is freed before the events are handled, it causes different kinds of symptoms. The ...
by jPV
Wed Aug 09, 2023 8:03 am
Forum: RapaGUI
Topic: Problem with filerequest()
Replies: 5
Views: 3390

Re: Problem with filerequest()

I haven't seen any issues with filerequest(). Can you provide a short full example code how to reproduce the issue (MCVE)?
by jPV
Mon Aug 07, 2023 8:08 am
Forum: RapaGUI
Topic: Noise with progress bar to download in RAM:
Replies: 2
Views: 3080

Re: Noise with progress bar to download in RAM:

You say "noise", do you mean an actual audible buzz where you are basing your observation about HD access? Can you monitor HD access by software in any way to confirm it's actually accessing HD? When running on MorphOS, please enable Drivelamps screenbar module and see if it's flashing or ...
by jPV
Wed Aug 02, 2023 7:45 pm
Forum: RapaGUI
Topic: Close About window
Replies: 4
Views: 2799

Re: Close About window

I would keep it as msg.ID, because msg.ID will get the "about" as an value anyway. It would be more all-around code then if you happen to create another window in the program or want to re-use the code later.
by jPV
Wed Aug 02, 2023 9:18 am
Forum: RapaGUI
Topic: Close About window
Replies: 4
Views: 2799

Re: Close About window

In your RapaGUI event function, you probably should have something like this: Switch msg.Class Case "Window": Switch msg.Attribute Case "CloseRequest": Switch msg.ID Case "main_window": ; The main window was closed, end the program End ; or call your quit function Defau...
by jPV
Thu Jul 27, 2023 12:15 pm
Forum: Newbie questions
Topic: Get error message to don't have output window
Replies: 7
Views: 2008

Re: Get error message to don't have output window

The topic seems to be completed with jPV's solution, but I wanted to learn something and have experimented with RunOutput and think that it still fits here. Run() probably doesn't work in this case that well, at least without some extra effort, because you probably also want to process the output q...
by jPV
Wed Jul 26, 2023 10:46 am
Forum: Newbie questions
Topic: Get error message to don't have output window
Replies: 7
Views: 2008

Re: Get error message to don't have output window

The Version command fails and returns code 10 if it doesn't find a version string in a file, and the return code is 20 if it doesn't find a file at all. These return codes are outputted if you use the command in a script, which Hollywood's Execute() seems to do in practise. Redirecting the command o...
by jPV
Tue Jul 18, 2023 9:20 am
Forum: RapaGUI
Topic: Problem with 2 vertical listview
Replies: 8
Views: 3581

Re: Problem with 2 vertical listview

I think this is a bug in MorphOS (MUI). It looks like it actually gets activated, but it just isn't shown/indicated in this case. You can test this by adding an item to the left side listview, and then select the listview (without clicking the item), and then press the cursor down key. The item gets...
by jPV
Thu Jun 22, 2023 3:48 pm
Forum: Newbie questions
Topic: Extract archive with XAD plugin
Replies: 42
Views: 8099

Re: Extract archive with XAD plugin

My solution with Real Amiga SWOS Total Pack was to create a shell script which updates the application and then re-launches it. I give the location of the application to the shell script as an argument so that it knows where to update and where to re-launch it again. So it goes like this: 1) Create/...
by jPV
Thu Jun 22, 2023 6:15 am
Forum: Newbie questions
Topic: Extract archive with XAD plugin
Replies: 42
Views: 8099

Re: Extract archive with XAD plugin

Yeah, you can catch the error in your script and then open a requester to tell the user to close the application. Make your program to try again after that.