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

util/wb/CmdRun104.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:Global help for all programs
Author: YouCan at a2.amclust.de
Uploader:Christian Effenberger (YouCan a2 amclust de)
Type:util/wb
Version:1.04 (29.01.2000)
Architecture:m68k-amigaos
Date:2000-04-10
Requires:OS 2.x, cando.library
Download:util/wb/CmdRun104.lha - View contents
Readme:util/wb/CmdRun104.readme
Downloads:789


Address:
-------
Christian Effenberger
Suedstrasse 2
41564 Kaarst
G E R M A N Y

0049-(0)2131-669392
YouCan@a2.amclust.de




CmdRun 1.04 (29.01.2000),  © 2000 by Christian Effenberger

CmdRun is a small program that enhances the Standard Tool for project
icons. All these things you didn't thought was possible for Project files
is now reality. How about unpacking a LhA-archive only by doubleclicking it!
It works for any project file which got an icon (even with icons only).
Do not use strings longer than 255 Characters.

It is used through tooltypes and certain special %-codes:

ACTION      This tooltype MUST be available. The following string (each line
            separeted by "|") will be executed like an DOS-call but...
            ...if there is any %-codes in the string, CmdRun will replace
            them with the following:

      %f  = the filename of the project file calling will be inserted.
      %p  = the pathname of the project file calling will be inserted.
      %pf = the path- and filename of the project file calling will be inserted.
      %fr = the file chosen by the user from a file requester will be inserted.
      %sr = the savefile chosen by the user from a file requester will be inserted.
      %pr = the path chosen by the user from a path requester will be inserted.

            Simple EXAMPLES:

            Unpacking...    ACTION=LhA x "%pf" "%pr"
            Listing.....    ACTION=LhA v "%pf"
            Viewing.....    ACTION=Sys:Utilities/Multiview "%pf"
            Printing....    ACTION=Sys:Utilities/PrintFiles -f "%pf"
            Editing.....    ACTION=ed "%pf"
            Copy to ?...    ACTION=Copy FROM "%f" "%f.info" TO "%pr"
            To Clipboard    ACTION=Copy FROM "%pf" TO CLIP:
            Deleting....    ACTION=Delete "%pf"|Delete "%pf.info"

            Special EXAMPLES: (icons only)

            Surfing....     ACTION=Prg:Tools/Browser/Voyager URL "http://%f"
            Mailing....     ACTION=Prg:Tools/Mailer/AmigaMail MAIL SUB "Hi," TO %f
            Cliping....     ACTION=Sys:Utilities/Multiview CLIPBOARD CLIPUNIT 0

            Complex EXAMPLES: (multilines)

            ACTION=Echo "Hi," >"Ram:T/mdtemp.mdt"|...
                   Echo "/** Rexx **/" >"T:Rexx.tmp"|...
                   Echo "ADDRESS 'MICRODOT'" >>"T:Rexx.tmp"|...
                   Echo "SENDMAIL 'TO=*"*%f*"* BODYFILE=*"*Ram:T/mdtemp.mdt*"* SUBJECT=*"*?*"* WAIT'" >>"T:Rexx.tmp"|...
                   Sys:RexxC/RX "T:CmdRun.tmp"


WINDOW      This tooltype handles the output window that will be used by ACTION.
            Template is CON:X/Y/WIDTH/HEIGHT/TITLE/OPTION/OPTION ../OPTION.

        X = the shells horizontal Window Position.
        Y = the shells vertical Window Position.
    WIDTH = the shells Window Width.
   HEIGHT = the shells Window Height.
    TITLE = the shells Title Text.

            OPTIONS:

     AUTO = open a shell window only if needed.
      ALT = add a zoom gadget to shell window (i.e. ALT30/30/200/200).
 BACKDROP = use a backdrop shell window.
    CLOSE = add standard gadgets to shell window.
  INACTIV = shell window is not activated after startup.
 NOBORDER = use a borderless shell window.
  NOCLOSE = remove close gadget from shell window.
  NODEPTH = remove depth gadget from shell window.
   NODRAG = use a none dragable shell window.
   NOSIZE = remove size gadget from shell window.
   SCREEN = open shell window on a public screen (i.e. SCREENWorkbench)
   SIMPLE = use a simple refreshed shell window.
    SMART = use a smart refreshed shell window.
     WAIT = use shell window until the user will close it.

            For Example (if you need an output-window):

                WINDOW=CON:0/0/640/100/LhA-Output/WAIT/CLOSE


To give the user serveral choices of selection...

REQBUTTONS  This tooltype is used to ask the user which action he wants to take.
            It should be a string with button labels separeted by "|". CmdRun
            will always use the rightmost label to abort. The first action will
            use ACTION/WINDOW the second ACTION2/WINDOW2, the third ACTION3/WINDOW3
            etc. (there is a maximum of 6 actions excluding abortion.)

            For a LhA archive this could be:

                REQBUTTONS=Extract|List|Test|Cancel

REQTEXT     This tooltype is used for the Requester text. It should be a string
            with each line separeted by "|". For Example: (default value)

                REQTEXT=Please select the action|you want to be executed!

REQTITLE    This tooltype is used for the Requester title. For Example: (default value)

                REQTITLE=Make your choice...

FRQTITLE    This tooltype is used for the FILE-Requester title. For Example: (default value)

                FRQTITLE=Select a file...

SRQTITLE    This tooltype is used for the SAVEFILE-Requester title. For Example: (default value)

                FRQTITLE=Save file as...

PRQTITLE    This tooltype is used for the PATH-Requester title. For Example: (default value)

                PRQTITLE=Select a path...



Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    7484    7402  1.0% 09-Apr-00 16:39:30  CmdRun/CmdRun
    4937    1863 62.2% 09-Apr-00 16:41:36  CmdRun/CmdRun.Readme
    3617    2143 40.7% 16-Jan-00 16:22:20  CmdRun/CmdRun.Readme.info
   27890   27890  0.0% 09-Apr-00 16:33:30  CmdRun/Examples.lha
    3480    2413 30.6% 16-Jan-00 16:24:52  CmdRun/Examples.lha.info
-------- ------- ----- --------- --------
   47408   41711 12.0% 09-Apr-100 16:43:48   5 files


Contents of util/wb/CmdRun104.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 7402    7484  98.9% -lh5- 2780 Apr  9  2000 CmdRun/CmdRun
[generic]                 1863    4937  37.7% -lh5- 26e9 Apr  9  2000 CmdRun/CmdRun.Readme
[generic]                 2143    3617  59.2% -lh5- c28e Jan 16  2000 CmdRun/CmdRun.Readme.info
[generic]                27890   27890 100.0% -lh0- 7711 Apr  9  2000 CmdRun/Examples.lha
[generic]                 2413    3480  69.3% -lh5- e07f Jan 16  2000 CmdRun/Examples.lha.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   41711   47408  88.0%            Apr 10  2000
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>