Hollywood has native support for AmigaOS 4's AmiDock system. You can make your
script appear in AmiDock by setting the RegisterApplication
tag in the @OPTIONS
preprocessor command to True
. See OPTIONS for details.
By default, Hollywood will show the icon obtained from the script's or application's
*.info
file in AmiDock. If you want Hollywood to show a custom icon in AmiDock, you
can do so by specifying a number of icons using the @APPICON preprocessor command and
then you have to tell Hollywood which icon to show by setting the DefaultIcon
tag. See APPICON for details. Alternatively, you can use the DockyBrush
tag
with the @OPTIONS preprocessor command.
There are two different types of dockies that Hollywood supports:
By default, Hollywood will create a standard docky for you. App dockies are
only created if you attach a context menu to your docky by specifying the
DockyContextMenu
tag in @OPTIONS or if you call
ChangeApplicationIcon() and pass only one
instead of two images to the function. An alternative way to make your
application start up as an app docky is to use the DockyBrush
tag
with the @OPTIONS preprocessor command.
If you want to have your script registered as an OS4 application without
an icon in AmiDock, you will have to set the NoDocky
tag to True
with the @OPTIONS preprocessor command.