Search found 263 matches

by Flinx
Sun Jan 12, 2025 1:44 pm
Forum: Newbie questions
Topic: Hollywood MODE=ASK conflict
Replies: 4
Views: 214

Re: Hollywood MODE=ASK conflict

Plouf has already mentioned that the display with ID 1 is the default display. Try it with 2.
But I suggest that you don't explain what you think you've done, just show the code.
by Flinx
Wed Jan 08, 2025 3:25 pm
Forum: Hollywood bugs
Topic: ChangeInterval() and GetAttribute()
Replies: 1
Views: 256

ChangeInterval() and GetAttribute()

If you change an interval frequency using ChangeInterval(), GetAttribute(#INTERVAL, id, #ATTRDURATION) keeps returning the initially selected value. And by the way, the manual entries of ChangeInterval( ) and GetAttribute() refer to a frequency in milliseconds, but that's not precise, as it is the p...
by Flinx
Tue Dec 24, 2024 11:24 am
Forum: General programming
Topic: Why does this randomizer sort function fail sometimes?
Replies: 8
Views: 2303

Re: Why does this randomizer sort function fail sometimes?

A further recommendation: This function works much faster if you use DisableLineHook()/EnableLineHook().
by Flinx
Tue Dec 24, 2024 11:14 am
Forum: Wishlist
Topic: CreatePort for Linux/Mac
Replies: 12
Views: 7789

Re: CreatePort for Linux/Mac

Thank you. I know that many Hollywood users wait for the next update, so I'll try it myself for now.
by Flinx
Mon Dec 23, 2024 10:54 am
Forum: Newbie questions
Topic: Single Keypress
Replies: 2
Views: 821

Re: Single Keypress

Maybe you can do something with IsKeyDown()?
Or if you use OnKeyDown and OnKeyUp events then this may help.
by Flinx
Fri Dec 20, 2024 4:29 pm
Forum: Wishlist
Topic: CreatePort for Linux/Mac
Replies: 12
Views: 7789

Re: CreatePort for Linux/Mac

My replacement IPC functions are not yet as stable and fast as I would like them to have. Now I wonder if I won't need them anymore soon because the next Hollywood version will have a CreatePort for Linux as well, or if I should still put some time into it.
by Flinx
Sat Dec 14, 2024 2:09 pm
Forum: Windows IDE
Topic: IDE crash @SAMPLE
Replies: 1
Views: 1028

IDE crash @SAMPLE

I tried to replace a file name via copy&paste and found a string that crashes the IDE.
Open an empty IDE window and try to write

Code: Select all

@sample 1, "a\"
by Flinx
Sat Dec 14, 2024 1:47 pm
Forum: Newbie questions
Topic: Failed To Allocate Audio Channel
Replies: 11
Views: 2512

Re: Failed To Allocate Audio Channel

An "OpenResourceMonitor()" may help too.
by Flinx
Tue Dec 03, 2024 5:48 pm
Forum: Newbie questions
Topic: Naming Layers
Replies: 9
Views: 2730

Re: Naming Layers

Getattribute() returns the number of layers of this BGPIC, and the last layer (created with DisplayBrush) has this ID. But with my line you could set the name when creating the layer, I think that's a better way.
by Flinx
Sun Dec 01, 2024 11:43 am
Forum: General programming
Topic: Table1 = Table2, how does this actually work?
Replies: 7
Views: 1876

Re: Table1 = Table2, how does this actually work?

The behaviour is certainly correct, but I only understood it fully after reading the LUA documentation that emeck cited. So I think an explicit explanation might be useful.