GETATTR
Template : OBJECT/A,NAME,FIELD,STEM/K,VAR/K
This command is used to retrieve information from the HyperText-DataType-Systemor
HyperText object. The following object types are available :
- OBJECT
Obtain information from the HyperText object. Currently the following fieldsare
available :
- TITLE
- objects current title.
- PATH
- objects current full file path including node name
- NODENAME
- objects current node name if any
- AUTHOR
- object's author
- COPYRIGHT
- object's copyright notice
- ANNOTATION
- object's annotation
- VERSION
- object's version
- TOPVERT
- object's vertical top value (DTA_TopVert)
- TOPHORIZ
- object's horizontal top value (DTA_TopHoriz)
- TOTALVERT
- object's total vertical value (DTA_TotalVert)
- TOTALHORIZ
- object's total horizontal value (DTA_TotalHoriz)
- VISIBLEVERT
- object's visible vertical value (DTA_VisibleVert)
- VISIBLEHORIZ
- object's visible horizontal value (DTA_VisibleHoriz)
- VERTUNIT
- object's vertical unit value (DTA_VertUnit)
- HORIZUNIT
- object's horizontal value (DTA_HorizValue)
- BUFFER *
- object's raw buffer, containing raw HTML or HyperGuide code.
- STATUS *
- current status of the object (OK or LAYOUT)
- APPLICATION
Obtain information from the HyperText environment. Currently the following fields
are available :
- VERSION *
- version of the HyperText-Datatype-System
- SCREEN *
- public screen name the current object resides in
* These fields aren't available in the STEM array.
Example
'GETATTR OBJECT=APPLICATION FIELD=SCREEN VAR=SCREEN'
'GETATTR OBJECT=OBJECT STEM=HTDS'
Say 'PubScreen : ' || screen
Say 'ObjAuthor : ' || htds.object.author
Say 'ObjVersion: ' || htds.object.version
See Also
SETATTR , Amiga User Interface Style Guide - ARexx chapter
HTML Conversion by html.export V40.4 , HTDS HTML-Export Class (C) 1997 by Stefan Ruppert