home *** CD-ROM | disk | FTP | other *** search
- /* ShowDVI Logfile - Macro */
- /* Kick 2.0 only */
-
- options results
-
- binary='C:Type'
- hailstring='ShowDVI Logfile'
-
- address 'TextPlus'
-
- fullname = 'T:ShowDVI.log'
-
- /* get screen name */
- 'GetScreenName'
- pub_name = result
-
- /* left edge */
- 'GetWindowLeftEdge'
- le = result
- /* top edge */
- 'GetWindowTopEdge'
- te = result
- /* width */
- 'GetWindowWidth'
- wi = result
- /* height */
- 'GetWindowHeight'
- he = result
-
- output = '>"CON:'||le||'/'||te||'/'||wi||'/'||he||'/'||hailstring||'/AUTO/WAIT/ALT/INACTIVE/SCREEN'||pub_name||'"'
-
- 'RequestString' hailstring'\\'fullname
-
- IF fullname == "" then empty = 'true'
- else empty = 'false'
-
- /* valid filename ? */
- if empty = 'false' then do
- address command binary output fullname
- end
- else
- 'Display' 'ShowDVI Logfile --- Aborted'
-
-