![]() |
||
Powered by GoldED |
1. Tip zum DOpus-Problem in der letzten Ausgabe (von Frederic Steinfels)Frederic Steinfels möchte Bernd Fischer bei seinem Problem mit Directory Opus Magellan helfen:»In der letzten AMIGA aktuell hat jemand gefragt, wie er per Button den Lister-Modus (Name, Piktogramm, Piktogramm plus) ändern kann.
Als Opus Befehl (Command): set mode icon set mode icon action set mode icon showall set mode icon action showall set mode name Diese fünf Möglichkeiten gibt es, ich denke, sie sind selbsterklärend. Das ganze lässt sich auch per Rexx steuern, hier ein Text in englisch (er beschreibt noch weitere Dinge, aber keine Gewähr auf Vollständigkeit!):
LISTER SET handle
BUSY [on|off] - Is now synchronous - that
is, it will not return
until the lister's
state actually changes.
BUSY [on|off] WAIT - wait synchronous
CASE [on|off] - sets case-sensitivity
on or off
LABEL text - change the name of
an iconified
lister
MODE NAME - view by name
MODE ICON - view by icon
MODE ICON SHOWALL - view by icon &
show all icons
MODE ICON ACTION - view by icon &
display toolbar
MODE ICON ACTION SHOWALL- view by icon &
show all icons &
display toolbar
NAMELENGTH len - sets maximum filename
length
PROGRESS # - #=-1 no bar,
no filename
#=-2 no bar,
space for filename
QUOTES - Filenames sent to the
handler will
be enclosed in quotes.
TOOLBAR file - lets you specify a
individual
toolbar for a lister
FLAGS flags - set various flags (reverse,
noicons, hidden)
/flag toggles the
flag value
FIELD num newname [num newname [num newname [...]]]
- This allows you to set
your own string to be
used in the field titles.
You can't change the nature
of the columns in the lister
- this just allows you to
change the heading.
'num' can have the values
0 to 9 for name, size,
access, date, comment, type,
owner, group, net, version.
'newname' is the new name.
If it is an empty string,
the default name will be
restored.
A 'LISTER REFRESH handle
FULL' is needed to update
the display.
HANDLER port [FULLPATH] [EDITING]
- If you specify FULLPATH,
Arg2 will always contain
the full path of a file,
irrespective of wheter it
came from an Opus lister
or not.
If you specify EDITING,
you'll receive this
Arg0 - "edit"
Arg1 - lister handle
Arg2 - entry name
Arg3 - "name", "protect",
"date", "comment"
Arg4 - new string
Arg5 - entry userdata
FILED ON|OFF - With this you can turn
filed titles on and off.
LOCK STATE [ON|OFF] - locks the current state
of the lister, the user will
be unable to change it until
you unlock it.
LOCK FORMAT [ON|OFF] - locks the current display
format of the lister.
Currently this just
prevents the user bringing
up the format edit requester.
Instead of two lines you can use:
LISTER SET handle LOCK STATE [ON|OFF] FORMAT [ON|OFF]
Tip1: Wenn Du Englisch kannst, gib mal help me eliza! in einem Opus CLI ein.
Tip2: |
Ausgabe 01/98 |