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

util/cli/SetDTool.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Change DefaultTool_Entrys
Author:joerg riemer <joerg_riemer at freenet.de>
Uploader:joerg riemer <joerg_riemer freenet de>
Type:util/cli
Version:1.3
Replaces:util/cli/SetDTool.*
Requires:Kickstart V37+
Architecture:m68k-amigaos
Date:13.08.2000
Date:2003-12-29
Download:http://aminet.net/util/cli/SetDTool.lha - View contents
Readme:http://aminet.net/util/cli/SetDTool.readme
Downloads:582

SetDTool  is  a  short cli-program (exactly 980 bytes) to  modify the
DefaultTool_Entry  in  a  Project_Icon.   i couldn't found any in the
aminet  that  want  work  simple  in the same way like this one.  the
reason i have written this piece.

** history **********************************************************

SetDTool v1.3 sourcecode: 14  date: 13.08.2000
         options LIST/S,ALL/S added

SetDTool v1.1 sourcecode: 10  date: 02.04.2000
         removed some stupid error-handling!

SetDTool V1.0 sourcecode: 09  date: 21.03.2000
         first release

** usage ************************************************************

SetDTool Template: FILE/A,TOOL/K,LIST/S,ALL/S,,QUIET/S

  FILE/A
    Path/Filename etc.

  TOOL/K
    The new DefaultTool string, requires TOOL as keyword.

  LIST/S
    List Project_Icons only, does not changes anything.

  ALL/S
    Edit all Project_Icons given by the current path
    and all Sub-Directories into.

  QUIET/S
    If given, SetDTool will do not print anything to the window.

    Example: SetDTool DH0:Picture/MyPic.info TOOL MultiView QUIET


SetDTool  supports  pattern-matching.   it  is  useful if you want to
change the DefaultTool_Entry in a couple of Project_Icons.

    Example: SetDTool DH1:Icons/#? TOOL SYS:Tools/IconEdit

for  further  information  about  pattern-matching  take look in your
AmigaDOS  manual.   for  another  example, you maybe want to clear an
entry in a Project_Icon then type follows:

    SetDTool DH1:Icons/def_project.info TOOL ""

it  is  also  possible  to  integrate  SetDTool  in  DOpus.  read the
DirectoryOpus  manual  how  to  create  either a Button or a MenuItem
using  SetDTool.

** bit information **************************************************

SetDTool only edits Project_Icons.  any other File will be skipped by
printing an error (212):  object is not of required type.

SetDTool   is   written  in  assembler.   the  sourcecode  is  highly
optimized,  well  structured and for this revision (no.10) completely
position  independent.   is  anybody interested in writing assembler?
here is a good example to learn from.


EVERYTHING  IN  THIS  DISTRIBUTION MUST BE KEPT TOGETHER, IN ORIGINAL
AND  UNMODIFIED  FORM.   THE  SOURCECODE  OF  SETDTOOL IS FOR PRIVATE
INVESTIGATIONS   ONLY!    ANY  CHANGES  TO  THE  SOURCE  REQUIRES  MY
PERMISSION!

*** USE AT YOUR OWN RISK ***

for suggestions, hints, tips and/or questions
send an email to: joerg_riemer at freenet.de


  joerg...


Contents of util/cli/SetDTool.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  380     900  42.2% -lh5- 5891 Dec 26  2003 SetDTool.info
[generic]                  691     980  70.5% -lh5- acda Dec 26  2003 SetDTool/SetDTool
[generic]                 1352    2728  49.6% -lh5- 02a1 Dec 26  2003 SetDTool/SetDTool.readme
[generic]                  472    1254  37.6% -lh5- d92a Dec 26  2003 SetDTool/SetDTool.readme.info
[generic]                 4301   17054  25.2% -lh5- 498a Dec 26  2003 SetDTool/SetDTool.s
[generic]                  580    1420  40.8% -lh5- 6e28 Dec 26  2003 SetDTool/SetDTool.s.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         6 files    7776   24336  32.0%            Dec 29  2003

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