Search found 391 matches

by Flinx
Sun Sep 20, 2026 6:39 pm
Forum: Newbie questions
Topic: Execute with CaptureOutput set to true doesn't returns rc
Replies: 11
Views: 4083

Re: Execute with CaptureOutput set to true doesn't returns rc

bitRocky wrote: ↑Sun Sep 20, 2026 4:52 pmIt exists
Sure?
RequesteChoice <> RequestChoice
by Flinx
Sun Aug 23, 2026 5:42 pm
Forum: General programming
Topic: WriteTable() and error handling
Replies: 4
Views: 5491

Re: WriteTable() and error handling

Thanks, I hadn't noticed that.
by Flinx
Sun Aug 23, 2026 4:53 pm
Forum: General programming
Topic: WriteTable() and error handling
Replies: 4
Views: 5491

Re: WriteTable() and error handling

Of course, but I just wanted to show here that the question mark doesn't work.
by Flinx
Sun Aug 23, 2026 2:30 pm
Forum: General programming
Topic: WriteTable() and error handling
Replies: 4
Views: 5491

WriteTable() and error handling

;t={} OpenFile(1, "test", #MODE_WRITE) err=?WriteTable(1, t, {Adapter="default"}) "Error in line 3 (test.hws): Table expected in argument 2!" I just noticed that error handling with WriteTable() isn't working. With RaiseOnError() it's the same. Am I doing something wro...
by Flinx
Sat Aug 15, 2026 4:04 pm
Forum: Code snippets area
Topic: Table Monitor - a real-time monitor for Hollywood tables
Replies: 2
Views: 30928

Re: Table Monitor - a real-time monitor for Hollywood tables

Here is the second version of the Table Monitor. The display should now be able to handle every string. If the content of a string is not recognized, it is treated as binary data, and the first 50 bytes are displayed in hexadecimal. You can now also scroll through the window contents using the mouse...
by Flinx
Fri Aug 14, 2026 4:15 pm
Forum: Windows IDE
Topic: Adding a Icon
Replies: 3
Views: 6415

Re: Adding a Icon

Correction: SaveIcon() is not necessary if the images are specified individually.
by Flinx
Fri Aug 14, 2026 3:25 pm
Forum: Windows IDE
Topic: Adding a Icon
Replies: 3
Views: 6415

Re: Adding a Icon

The manual entry for @APPICON does have examples at the bottom showing how to do this with PNG images. You don't need Iconic for that.
Resize your icon image for all resolutions, save them with SaveIcon() and insert the table with the paths/filenames of these images at the beginning of the program.
by Flinx
Tue Jul 28, 2026 1:24 pm
Forum: General programming
Topic: Can @Require be optional?
Replies: 8
Views: 23841

Re: Can @Require be optional?

@REQUIRE is a preprocessor command. It does not exist during normal program execution; rather, it triggers an action by the preprocessor that takes place before the program actually starts. During normal program execution, preprocessor directives have no direct effect, so you can place them anywhere...
by Flinx
Sat Jul 18, 2026 10:56 pm
Forum: Hollywood bugs
Topic: Minor bug with SeekMusic
Replies: 13
Views: 85308

Re: Minor bug with SeekMusic

As mentioned before, I know such things from MP3s with variable bitrates. If you're not sure about the format, try reencoding the file to a fixed bitrate, for example in the command line:
ffmpeg -y -i test.mp3 -b:a 256k test256.mp3
by Flinx
Fri Jul 17, 2026 10:16 am
Forum: Hollywood bugs
Topic: Bug in Rnd()
Replies: 4
Views: 11154

Re: Bug in Rnd()

I don't think that's a bug.
Since the function uses an LCG, RndSeed() is executed at startup, and that uses the system time as the initial value.
So during normal program execution, there's no longer any dependence on time. It's only noticeable because the test program is restarted with each run.