AminetAminet
Search:
82496 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/cdity/ToolsMenu.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:Add tools to the Workbench Tools menu
Author:Kim Fastrup Larsen
Uploader:kimflarsen hotmail com (Kim Fastrup Larsen)
Type:util/cdity
Version:1.6
Architecture:m68k-amigaos
Date:2018-11-26
Download:http://aminet.net/util/cdity/ToolsMenu.lha - View contents
Readme:http://aminet.net/util/cdity/ToolsMenu.readme
Downloads:1537
New in version 1.6:

- Minor UI adjustments
- New, "proper" requester for About
- Modularized the source code


ToolsMenu is a commodity that will let you add tools to the Tools menu on
your Workbench screen.  Once a tool has been added, you can run it by
selecting it from the menu.  Any icons selected on the Workbench at that
moment become arguments for the tool.

For example, if you add MultiView, you can then select the icon of an image
on the Workbench, then select MultiView from the menu to view that image.

Tools will be run as if started by the Workbench.  You will not be able to
run tools that do not have a proper tool icons.

Adding tools should be pretty self explanatory.  Drag tool icons into the
window to add them, after which you can edit their names if you like.  You
can also click the "New" button to manually enter a tool.  You then write the
name of the tool (as you would like it to appear in the menu) under the
list, and type in the full path of the tool over on the right where it says
"Tool".  The path must include the name of the tool's executable file.

When you are happy with your selection of tools, you must remember to save
them from the pull down menu.  The definitions will be saved as tool types
in the commodity's icon.

ToolsMenu requires Kickstart 2 or later.

The source code is included in the hope that it will be useful to those out
there who still enjoy programming for the Amiga.  Elements of interest
include:

- How to use Catcomp so a project can be localized easily
- How to implement a commodity sporting a GUI
- How to implement a dynamic GUI using Gadtools
- How to read and write tool types
- How to support dragging icons into a window
- How to add items to the Workbench Tools menu
- How to load and run other programs as DOS processes
- How to pretend to be Workbench


History:

1.6 (Nov 26, 2018)

- Minor UI adjustments
- New, "proper" requester for About
- Modularized the source code

1.5 (Jul 28, 2015)

- Busy pointer for Kickstart 2
- Optimized and cleaned up a few things, made code more portable

1.4 (Apr 22, 2015)

- Improved layout for big fonts.
- Added "About..."

1.3 (Feb 12, 2015)

- Fixed an issue that caused some commodities (and possibly other tools) to
  crash.

1.2 (Feb 3, 2015)

- Use the user's preferred screen font.

1.1 (Jan 19, 2015)

- Fixed an issue where trying to run a tool with an empty path would cause
  a Guru Meditation.

1.0 (Jan 12, 2015)

- Initial release


Contents of util/cdity/ToolsMenu.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  252     628  40.1% -lh5- 2c51 Nov 26 10:43 ToolsMenu.info
[unknown]                  348     532  65.4% -lh5- 41d8 Nov 26 10:43 ToolsMenu/Catalogs/dansk/toolsmenu.catalog
[unknown]                12641   35147  36.0% -lh5- 7994 Nov 26 10:43 ToolsMenu/gpl-3.0.txt
[unknown]                  246     477  51.6% -lh5- 7440 Nov 26 10:43 ToolsMenu/gpl-3.0.txt.info
[unknown]                 1547    3239  47.8% -lh5- 11ba Nov 26 10:43 ToolsMenu/Readme
[unknown]                  246     477  51.6% -lh5- 7f30 Nov 26 10:43 ToolsMenu/ReadMe.info
[unknown]                 1164    2599  44.8% -lh5- 9184 Nov 26 10:43 ToolsMenu/Source/args.c
[unknown]                  657    1126  58.3% -lh5- 164b Nov 26 10:43 ToolsMenu/Source/args.h
[unknown]                 1450    3481  41.7% -lh5- a726 Nov 26 10:43 ToolsMenu/Source/broker.c
[unknown]                  566     935  60.5% -lh5- c9f4 Nov 26 10:43 ToolsMenu/Source/broker.h
[unknown]                  848    1598  53.1% -lh5- 1d0b Nov 26 10:43 ToolsMenu/Source/catalog.c
[unknown]                  572     939  60.9% -lh5- 34ac Nov 26 10:43 ToolsMenu/Source/catalog.h
[unknown]                  971    2116  45.9% -lh5- b787 Nov 26 10:43 ToolsMenu/Source/common.c
[unknown]                  780    1384  56.4% -lh5- 04b8 Nov 26 10:43 ToolsMenu/Source/common.h
[unknown]                  516     846  61.0% -lh5- a15f Nov 26 10:43 ToolsMenu/Source/compiler.h
[unknown]                 1617    4309  37.5% -lh5- c1f0 Nov 26 10:43 ToolsMenu/Source/cx.c
[unknown]                  762    1420  53.7% -lh5- f4cc Nov 26 10:43 ToolsMenu/Source/cx.h
[unknown]                  528     893  59.1% -lh5- e0ce Nov 26 10:43 ToolsMenu/Source/dansk.ct
[unknown]                  774    1403  55.2% -lh5- 4adc Nov 26 10:43 ToolsMenu/Source/error.c
[unknown]                  577     945  61.1% -lh5- 1a70 Nov 26 10:43 ToolsMenu/Source/error.h
[unknown]                 5112   16444  31.1% -lh5- e502 Nov 26 10:43 ToolsMenu/Source/gui.c
[unknown]                  648    1185  54.7% -lh5- 0139 Nov 26 10:43 ToolsMenu/Source/gui.h
[unknown]                 1721    4545  37.9% -lh5- 3c32 Nov 26 10:43 ToolsMenu/Source/io.c
[unknown]                  558     941  59.3% -lh5- c982 Nov 26 10:43 ToolsMenu/Source/io.h
[unknown]                 1462    3846  38.0% -lh5- cb15 Nov 26 10:43 ToolsMenu/Source/main.c
[unknown]                 2016    6277  32.1% -lh5- 6b11 Nov 26 10:43 ToolsMenu/Source/message.c
[unknown]                  665    1191  55.8% -lh5- 62b6 Nov 26 10:43 ToolsMenu/Source/message.h
[unknown]                  279     567  49.2% -lh5- b3bb Nov 26 10:43 ToolsMenu/Source/Resources/ToolsMenu.info
[unknown]                  119     161  73.9% -lh5- 995d Nov 26 10:43 ToolsMenu/Source/SCOPTIONS
[unknown]                  654    1652  39.6% -lh5- 51c7 Nov 26 10:43 ToolsMenu/Source/smakefile
[unknown]                  735    1318  55.8% -lh5- 26dd Nov 26 10:43 ToolsMenu/Source/sprintf.asm
[unknown]                 2188    5635  38.8% -lh5- c8bf Nov 26 10:43 ToolsMenu/Source/toolrun.c
[unknown]                 1108    2341  47.3% -lh5- 7395 Nov 26 10:43 ToolsMenu/Source/toolrun.h
[unknown]                  780    1456  53.6% -lh5- 771f Nov 26 10:43 ToolsMenu/Source/toolsmenu.cd
[unknown]                 2427    6211  39.1% -lh5- 79b5 Nov 26 10:43 ToolsMenu/Source/wb.c
[unknown]                  616    1080  57.0% -lh5- 2b70 Nov 26 10:43 ToolsMenu/Source/wb.h
[unknown]                 7449   11736  63.5% -lh5- b32d Nov 26 10:43 ToolsMenu/ToolsMenu
[unknown]                  279     567  49.2% -lh5- b3bb Nov 26 10:43 ToolsMenu/ToolsMenu.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        38 files   55878  131647  42.4%            Nov 26 20:53

Aminet © 1992-2018 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>