Search found 755 matches

by jPV
Thu Jun 11, 2026 8:43 am
Forum: General programming
Topic: How to find out the currently selected display?
Replies: 5
Views: 1524

Re: How to find out the currently selected display?

I think it's the safest to end a previous selection before it returns to the main loop if it's something else than a display...
by jPV
Thu Jun 04, 2026 12:02 pm
Forum: General programming
Topic: How to find out the currently selected display?
Replies: 5
Views: 1524

Re: How to find out the currently selected display?

I guess you have searched the documentation pretty well, and I didn't see anything with a very quick look either. Maybe something like this as a work-around: Function p_GetSelectedDisplay() Local type, id = GetAttribute(#DISPLAY, 0, #ATTROUTPUTDEVICE) If type = #DISPLAY Then Return(id) Else Return(-...
by jPV
Tue Mar 24, 2026 6:52 pm
Forum: Tutorials
Topic: Crash Course to Hollywood Programming
Replies: 7
Views: 252133

Re: Crash Course to Hollywood Programming

vox wrote: Sun Mar 22, 2026 1:04 pm Great for MorphZone, but is there a PDF?
No, I think wiki pages serve better for this kind of content.
by jPV
Fri Mar 13, 2026 8:14 am
Forum: Wishlist
Topic: Wishlist: Physics Engine
Replies: 2
Views: 56868

Re: Wishlist: Physics Engine

If making a plugin, a C/C++ based source would be more efficient and easier to port as a plugin.
by jPV
Fri Mar 13, 2026 8:04 am
Forum: Newbie questions
Topic: Execution of external program or data file
Replies: 4
Views: 22405

Re: Execution of external program or data file

However, I'm wondering if it's possible to execute a program associated with a PDF document in MorphOS the same way it works for me on MacOS. Execute document.pdf opens the program with the loaded document on the Mac, but not on MorphOS. On MorphOS you should use the Open shell command. It opens fi...
by jPV
Wed Feb 18, 2026 3:21 pm
Forum: General programming
Topic: readtable & json file
Replies: 3
Views: 43748

Re: readtable & json file

Hi, I have two different tables and I want to save both on an unique file via writetable using the default option. They are written correctly while the reading is impossible receiving an error message. Saving the two tables, each one in a different file, they are correctly read. There is a way to h...
by jPV
Tue Feb 17, 2026 11:24 am
Forum: Newbie questions
Topic: Is there a way to see which Music ID is playing?
Replies: 2
Views: 47323

Re: Is there a way to see which Music ID is playing?

There probably isn't a direct command for it, but you can do a small function yourself: Function p_WhichMusicIsPlaying() ; Returns the ID of a music object that is playing currently. ; If no music is playing, then it returns Nil. Local t, c = GetObjects(#MUSIC) For Local i = 0 To c - 1 If IsMusicPla...
by jPV
Mon Feb 16, 2026 12:33 pm
Forum: Showcase
Topic: MiniLibs - Lists required libraries for Miniwood
Replies: 2
Views: 75900

Re: MiniLibs - Lists required libraries for Miniwood

NathanH wrote: Sat Feb 14, 2026 11:53 pm I was just going to start something similar then saw this. Any progress?
I think it's good enough for my needs currently, so no progress :)
by jPV
Fri Feb 13, 2026 7:56 am
Forum: Showcase
Topic: RNORadio
Replies: 11
Views: 115785

Re: RNORadio

I'd be interested to know how you embedded the binary and ran it from within Hollywood. Thanks. Simply just linking the external program as a file in Hollywood executable with the @FILE preprocessor. And then at the program startup I write the file to a temporary location (which I clean at exit the...
by jPV
Thu Feb 12, 2026 2:23 pm
Forum: General programming
Topic: Help Playing an HTTP Audio Stream
Replies: 3
Views: 38478

Re: Help Playing an HTTP Audio Stream

I think the situation is still that these Hollywood things query for the filesize and thus won't work with endless streams.