Welcome, Guest. Please login or register.

Author Topic: Need DirWork2.1 manual  (Read 1612 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Need DirWork2.1 manual
« on: June 07, 2011, 02:35:42 PM »
Help me, I'm trying to get my head around Dirwork configuration program but there's little help to be found in the program itself and I more and more understand that there's loads of untapped potential I'm missing out on.

Do anyone have an electronik version of the manual?

Offline Gulliver

Re: Need DirWork2.1 manual
« Reply #1 on: June 07, 2011, 02:50:31 PM »
I have attached a text file which sheds some light on DirWork. Anyway, the best way to understand it, it is to actually start tweaking and twisting it ;)


Good luck.
 

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: Need DirWork2.1 manual
« Reply #2 on: June 07, 2011, 03:08:44 PM »
Thanks Gulliver, it's a start however I think I'm past what that can teach me and is searching for some in depth information. %s %f %g %-Z etc... what are the different ones and what do they do for presenting information, change information or bring up requesters or what not? Some are used in other config files so you get an idea but it seem like there's untapped ones just waiting for someone like me to play around with them. ;)

Offline BrianTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2003
  • Posts: 1604
    • Show only replies by Brian
    • http://www.syntaxsociety.se
Re: Need DirWork2.1 manual
« Reply #3 on: June 09, 2011, 10:51:33 AM »
Start to get the hang of it... thought I add some of my findings and ask if someone could fill in the blanks and/or correct me where I'm wrong?

Is there a "Current Directory" special letter? Wish I could keep DW config simple and avoid assigning the DW dir (run programs from "Current Director" works by selecting that it is the config editor even when it's not but it's still limiting).

% Initiate a special result
if % is followed by a number before a letter = the amount of charracters the result will be given (negative=align left) OR the pallette index color it reprecent.
-------------
a = Totalmen
b = Current Source Free Size
B = Current Destination Free Size
c = Chipmen
C = Filelist - Comment
d = Current Date
D = Filelist - Date
e = Show Current Action Information
f = Selected Filename
F = Filelist - Name
g = config file with full path
G = ? (Produces a large number)
i = File/Dir Name dropped on AppIcon
J = ? (Produces a dot)
K = Special - Precent number as KB
M = Special - Precent number as MB
n = Default Source Drive Name
N = Default Destination Drive Name
O = Filelist - Protectionbits
p = Source Filelist Path
P = Source Filelist Path
q = Fastmen
s = Pubscreen name
S = Filelist - Size
t = Current Time
T = Filelist - Time
u = ? (Produce a small number)
V = ? (Produce Pubscreen name)
Y = ? (Produce Pubscreen name)
z = Background color when default source filelist selected
Z = Background color when default destination filelist selected

Offline gazgod

  • Sr. Member
  • ****
  • Join Date: Sep 2005
  • Posts: 282
    • Show only replies by gazgod
    • http://www.lincsamiga.org.uk
Re: Need DirWork2.1 manual
« Reply #4 on: June 09, 2011, 12:15:39 PM »
I did convert the full Dirwork2 manual into Multiview back in the day.
If you would like a copy, PM me your email address, but I won't be able to send it till the weekend.

Gaz

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: Need DirWork2.1 manual
« Reply #5 on: June 09, 2011, 04:41:56 PM »
@ Brian

I still haven't found the list of "%/$" functions I made years ago but I see you managed to work out most of them from the config.file I sent you... :)

However in you list the f,F & p,P are wrong... :(

"%p%f" (lower case) will insert/select the SOURCE PathName/FileName

"%P%F" (Capitals) will insert/select the DESTINATION PathName/FileName

(also remember to put them in quotation marks in the config editor when setting up programs to launch/run things or it will only get as far as the pathname...)

EG:
eg: say you had a button to edit text/ascii files you would use...

C:ED "%p%f"
(for editing the selected file in the SOURCE list)

or
C:ED "%P%F"
(for editing the selected file in the DESTINATION list)

It can get a bit more tricky than this depending on how you configure things and you can actually get away with just using the lower case %p%f but it all depends on how you choose to configure things...

Some of the other things I changed in the re-compiled version I use is the Topaz font is no longer used for the display and instead I use a font I made myself which is only 7 pixels wide allowing more buttons and full 30 char Amiga filenames to be displayed... :)






One of the really handy things about Dirwork is the ability to select any file by it's type without relying on it having an extension like ".info" or ".doc" etc... :)

Instead of using "match pattern" use " enter match string" instead. This allows DirWork to automatically look inside all files and find out what type of file it is... :)

In the example below this would match all files with the following inside them at the offset "m" (where m = the number of bytes to search from) and the "v" indicates the actual search values in hex...

In the example below it would find and recognise an AGA IFF ILBM picture file...


v464F524D = look for Ascii "FORM"
m8 = move into the file 8 bytes
v494C424D = look for Ascii "ILBM"
m1C = move into the file another $1c bytes
v07 = check for hex value 7 that would indicate 7 bitplanes are being used and therefore the file is AGA not ECS

(The above is not a perfect example but more of just to give you an idea of how this powerful file search/indicator works)... :)

Hope that helps a wee bit for now till I can find all the stuff I wrote about just how the configuration editor works... :)