home *** CD-ROM | disk | FTP | other *** search
- /*
-
- $VER: container.dopus5 1.0 (29.07.96)
-
- Example of an 'arexx module'. This program adds an "Open Container" item
- to the popup menu for left-out icons. When selected, this item will
- open a new lister with the parent directory of the icon loaded, and
- will select the file automatically.
-
- This program must go in the DOpus5:Modules directory.
-
- */
-
- parse arg portname ' ' function ' ' source ' ' dest ' ' file
- address value portname
- options results
-
- /* Initialise */
-
- if function='init' then do
- dopus command "Container" program "container" private ext "'Open Container'" type leftout
- exit
- end
-
-
- /* Container function */
-
- if function='Container' then do
- command scandir file new container
- exit
- end
-