Search found 237 matches

by jPV
Sat Mar 09, 2019 11:48 am
Forum: General programming
Topic: There is a way to detect how long a key is pressed?
Replies: 4
Views: 522

Re: There is a way to detect how long a key is pressed?

Although the previous example has some busy loops which you should always avoid :) Add at least some waits there... Or you could do it by events like this: Function p_Input(msg) Switch msg.Action Case "OnMouseDown": StartTimer(1) Case "OnMouseUp": DebugPrint("Mouse was pressed for " .. GetTimer(1) ....
by jPV
Sat Mar 09, 2019 11:24 am
Forum: Tutorials
Topic: How to properly release something out to the wild
Replies: 9
Views: 801

Re: How to properly release something out to the wild

Maybe we should approach Andreas to change Hollywoods plug in loader to a behaviour that Hollywood only loads the plugins actually listed by @require? That wouldn't be good, because some of the plugins are like datatypes, and user can add them to get programs support new formats without having to g...
by jPV
Wed Mar 06, 2019 2:37 pm
Forum: General programming
Topic: trying to get cells name from table and make that cell be empty table
Replies: 4
Views: 341

Re: trying to get cells name from table and make that cell be empty table

I would do it like this, if I understood what you're after... table_names = {"Andreas", "Allanon", "SamuraiCrow"} table_another = {} table_another[table_names[0]] = {} DebugPrint(ListItems(table_another["Andreas"])) ; Works DebugPrint(ListItems(table_another.Andreas)) ; Fails If you want to use "tab...
by jPV
Sun Mar 03, 2019 2:30 pm
Forum: Tutorials
Topic: How to properly release something out to the wild
Replies: 9
Views: 801

Re: How to properly release something out to the wild

I have taken an approach to bundle all the required plugins in the program directory that I distribute. Hollywood finds them there and no installation is needed. I personally don't want the plugins to be installed globally, because then they get loaded by all Hollywood programs even though they won'...
by jPV
Sun Mar 03, 2019 11:48 am
Forum: Announcements
Topic: Hollywood 8: Supremacy out now!
Replies: 65
Views: 6629

Re: Hollywood 8: Supremacy out now!

I don't know if there are many users outside Amiga community using Hollywood, or has it got any coverage on mainstream media, but I would see it'd be important to get more users there. It doesn't matter on which platform users are and it would benefit us all. Maybe we could try to help to spread the...
by jPV
Sun Jan 20, 2019 1:41 pm
Forum: General programming
Topic: WaitLeftMouse takes 4 seconds to react on m68k
Replies: 20
Views: 1538

Re: WaitLeftMouse takes 4 seconds to react on m68k

I tried your example on my A1200/060/P96 machine, and didn't notice any delays. The two lines printed instantly when I clicked around.
by jPV
Thu Jan 17, 2019 6:17 pm
Forum: RapaGUI
Topic: Notify on window resize?
Replies: 7
Views: 804

Re: Notify on window resize?

If there's a Hollywood display embedded in your GUI, you just have to listen to the normal "SizeWindow" event for the Hollywood display and then you should be notified about size changes :) And if there isn't a Hollywood display, any way then? I just recently wanted to scale an MUI (Royale) image i...
by jPV
Sun Jan 13, 2019 2:04 pm
Forum: MUI Royale
Topic: Refresh issue when dynamically changing objects in a non active window
Replies: 3
Views: 826

Re: Refresh issue when dynamically changing objects in a non active window

Yeah, well.. it seems to refresh the window on any event, so I made a workaround like this now "SetTimeout(Nil, Function() EndFunction, 10)" just to trigger some event :)
by jPV
Sun Jan 13, 2019 11:31 am
Forum: MUI Royale
Topic: Refresh issue when dynamically changing objects in a non active window
Replies: 3
Views: 826

Refresh issue when dynamically changing objects in a non active window

I think this might be a MorphOS bug and reported there, but as I haven't got any feedback from MorphOS team yet, I thought to ask what Andreas thinks about it too. If it'd be something in Hollywood after all... If I change objects in a group in a MUI window dynamically, and the window isn't active, ...
by jPV
Mon Jan 07, 2019 2:28 pm
Forum: MUI Royale
Topic: Popobject class missing
Replies: 16
Views: 1384

Re: Popobject class missing

Do you mean Group.PageMode or something else? The mentioned one does work and I've used it in several occasions, like for example in this prefs window.