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

util/wb/WBDirShell.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Open shell to current WB drawer
Author:Chris Charabaruk
Uploader:amiga chris charabaruk net
Type:util/wb
Version:1.2
Requires:Workbench 3.5+
Architecture:generic
Date:2022-01-05
Download:http://aminet.net/util/wb/WBDirShell.lha - View contents
Readme:http://aminet.net/util/wb/WBDirShell.readme
Downloads:668

WBDirShell
==========

WBDirShell is an ARexx script which provides the ability to open a
console window to the currently selected Workbench drawer. It supports
custom startup scripts and console window paths via environment
variables.

A basic script which adds WBDirShell to the Workbench Tools menu is
also provided.


Requirements
------------

- OS 3.5+ (tested with 3.2.1, any version with ARexx-enabled Workbench
  should be fine)
- ARexx running (RexxMast needs to be started from S:User-startup or
  with a higher priority than WBDirShellMenu.rexx if started from
  WBStartup)

Installation
------------

1. Copy WBDirShell.rexx to REXX:

2. Copy WBDirShellMenu.rexx and its icon to WBStartup, or use your menu
   editor of choice to create a menu item which runs WBDirShell.rexx as
   an ARexx script.


Usage
-----

Select any Workbench drawer window, and choose the Tools -> Open Shell
Here menu item to open a new console window in that drawer. If no
drawer window is selected, then the console window will open to the
SYS: drive instead.


Customization
-------------

WBDirShell supports the WINDOW and FROM options of the AmigaDOS
NewShell command via the values in ENV:WBDirShell/WINDOW and
ENV:WBDirShell/FROM. You can use these environment variables to
customize the appearance of the new console window or to run a custom
script when opening a drawer with WBDirShell.


History
-------

1.2 (05.01.2022)
- Add missing load of rexxsupport.library for temp file cleanup.

1.1 (04.01.2022)
- Fix temp file cleanup.
- Fix readme Requirements section.

1.0 (03.01.2022)
- Initial release.


Contents of util/wb/WBDirShell.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  267     516  51.7% -lh5- 536a Jan  3 01:16 WBDirShell.info
[unknown]                  865    1822  47.5% -lh5- 73f2 Jan  5 12:03 WBDirShell/WBDirShell.readme
[unknown]                  628    1520  41.3% -lh5- f076 Jan  5 12:01 WBDirShell/WBDirShell.rexx
[unknown]                  197     266  74.1% -lh5- 05f9 Jan  3 00:33 WBDirShell/WBDirShellMenu.rexx
[unknown]                  215     381  56.4% -lh5- 7243 Jan  3 01:17 WBDirShell/WBDirShellMenu.rexx.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files    2172    4505  48.2%            Jan  6 04:04

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