Project

General

Profile

Actions

Feature #105

open
WA WA

Check Hollywood 11 new features

Feature #105: Check Hollywood 11 new features

Added by walkero 22 days ago. Updated 21 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
Start date:
01/20/2026
Due date:
% Done:

0%

Estimated time:

Description

Check the following changes that come with Hollywood 11 and use whatever is useful

Hollywood 11 changes
  • New: Added ShowDirectory() function to system library; this will show the specified directory using the
    host system's default file manager (e.g. Explorer on Windows, Workbench on AmigaOS, Finder on macOS...);
    the optional table argument allows you to configure the view mode and whether all files or only files
    with icons should be shown (only supported on AmigaOS)
  • New [Linux]: If @APPIDENTIFIER is specified, Hollywood will now register the specified app ID with X11;
    the specified app ID will be set as the WM_CLASS property of the X11 window; this allows you to create
    a *.desktop file for it to set the app's launcher icon on systems like Ubuntu; just specify the name
    you passed in @APPIDENTIFIER as the "StartupWMClass" tag in the *.desktop file
  • New [Windows/Linux/macOS]: Execute() and Run() will now return code 127 in case the specified program
    couldn't be started because it wasn't found; note that this is different to the behaviour on AmigaOS and
    compatibles where you'll get return code 10 in case a program wasn't found; I've decided to keep the
    default OS behaviour in this case because return values of external programs are highly OS-dependent
    anyway (requested by George Sokianos and Christos Tsaldaris)
  • New: Execute() supports a new optional table tag named "CaptureOutput" now; if this is set to TRUE, the
    program's output as well as its return code will be returned by Execute(); this can be more convenient
    to use than Run() and its event handlers (requested by Petteri Valli)
  • New: The SizeWindow event message now contains additional X/Y fields that contain the window's position
    because that could also have changed in the course of window resizing (requested by Samuli Holopainen)
  • Fix: DownloadFile() and UploadFile() often didn't handle files with a file size of zero bytes correctly
    (reported by Anbjorn Myren)
  • New: Added #HW_ARM platform constant; this will only be defined when running on an ARM CPU; this can
    be useful to distinguish between different Linux or macOS platforms, e.g. in preprocessor @IF directives
  • New: Added support for the Linux arm64 platform; to compile executables for Linux arm64, just pass the new platform definition "linuxarm64" to the EXETYPE argument (requested by Fabio Falcucci)
  • New [Windows]: Execute() and Run() accept a new "ConsoleMode" tag in their optional table argument now;
    if this is set to TRUE, the output of the program started using Execute() or Run() isn't shown in a new
    console window but the console of the calling program is used; obviously, setting "ConsoleMode" to TRUE
    makes only sense when using Hollywood in console mode on Windows; note that on all other platforms the
    output of console programs started using Execute() and Run() will automatically appear in the calling
    program's console; it's only Windows that has this strange distinction between Windows and console apps
  • New [Windows]: Execute() and Run() accept a new "Hide" tag in their optional table argument now; if this
    is set to TRUE, console programs on Windows won't open their console window (requested by Thomas Scheller)
Actions

Also available in: PDF Atom