TOOLDOCK V1.0

probaly the best docking procedure for your stuff


Allmighty code by Tinic Uro, done in december 1997
Feedback should go to: 5uro@informatik.uni-hamburg.de


Preface


Ok, what does this thing do to your system?


The demo configuration


Modifing the preferences file


Shortcuts


Some examples for buttons:

path | ShutDown | /bin/shutdown

When you click this button the machine does a shutdown. The same function like in the Deskbar.

path | NetPositive | /boot/apps/NetPositive | LCTRL-1 | | | /boot/apps/NetPositive

A button with the label 'NetPositive' is added to the ToolDock. When you click the button or press LeftControl-1 NetPositive will be launched. The NetPositive icon will be showed on the button.

mime | BeIDE | application/x-mw-BeIDE | | | | application/x-mw-BeIDE

When you click it, BeIDE will be launched. If you drag files on the button BeIDE will try to open these files. The BeIDE icon will be showed on the button.

mime | Home sweet home | application/x-vnd.Be-TRAK | | /boot/home

A button with the label 'Home sweet home' is added to the ToolDock. When you click on this button a tracker window will be opened which shows the contents of /boot/home. Short-cut is empty here.

mime | ToolDock config | application/x-mw-BeIDE | | Config.cfg

Will open a BeIDE texteditor window with the configuration file of ToolDock.

mime | Term in source | application/x-vnd.Be-SHEL | LSHIFT-F1 | | FOLDER_PATH=/boot/home/config/etc

This one will open a Terminal in the directory /boot/home/config/etc. In fact this works like the TermHire add-on. Arguments are not used here.

mime | PS | application/x-vnd.Be-SHEL | | /bin/sh -login -c "ps !! more -e"

A terminal will be opened and will show the running processes.

mime | Cool!| application/x-vnd.Be-SHEL|| /bin/sh -login -c "dir !! more -e"| FOLDER_PATH=/bin

When you click it, a new terminal will be opened, the shell goes to the /bin folder and executes the command 'dir | more', which will show the contents of /bin.


The default configuration file

;---------------------------------------------------------------------------------------------------------------------------------------
; Example config file for ToolDock
; Read docs for more information about how to edit this file
;---------------------------------------------------------------------------------------------------------------------------------------
;
colums = 6
rows = 3
;
;type  	| Button label      | Path or mimetype              | ShortCut  | Arguments     | Environment   | Icon
;
 mime	| ToolDock Config   | application/x-mw-BeIDE        | LCTRL-1   | Config.cfg    |               | application/x-Tinic.ToolDock
 mime	| Terminal          | application/x-vnd.Be-SHEL     | LCTRL-2   |               |               | application/x-vnd.Be-SHEL
 path	| NetPositive       | /boot/apps/NetPositive        |           |               |               | /boot/apps/NetPositive
 mime	| BeIDE             | application/x-mw-BeIDE        | LCTRL-3   |               |               | application/x-mw-BeIDE
 empty
 mime	| Term in settings  | application/x-vnd.Be-SHEL     |           |               | FOLDER_PATH=/boot/home/config/settings
;
 mime	| Home directory    | application/x-vnd.Be-TRAK     | LCTRL-4   | /boot/home    |               | application/x-vnd.Be-directory
 mime	| AddOn directory   | application/x-vnd.Be-TRAK     |           | /boot/home/config/add-ons |   | application/x-vnd.Be-directory
 mime	| Apps directory    | application/x-vnd.Be-TRAK     |           | /boot/apps    |               | application/x-vnd.Be-directory
 empty
 mime	| Edit BootScript   | application/x-mw-BeIDE        |           | /boot/home/config/boot/UserBootscript
 mime	| Edit SetupEnv.    | application/x-mw-BeIDE        |           | /boot/home/config/boot/UserSetupEnvironment
;
 path	| Network prefs     | /boot/preferences/Network     | LCTRL-5   |               |               | /boot/preferences/Network
 path	| Drive Setup       | /boot/preferences/DriveSetup  | LCTRL-6   |               |               | /boot/preferences/DriveSetup
 empty
 mime	| Show processes    | application/x-vnd.Be-SHEL     |           | /bin/sh -login -c "ps !! more -e"
 mime	| Kill AudioServer  | application/x-vnd.Be-SHEL     |           | /bin/sh -login -c "kill -9 audio_server"
 path	| Launch AudioServer| /boot/beos/system/servers/audio_server
;
;
;
; end of file

Daffy Duck lives! Yep, you reached the end...
Now go and write some feedback to 5uro@informatik.uni-hamburg.de. Please...