| Title: | *OLD* ALL-IN-1 (tm) Support Conference |
| Notice: | Closed - See Note 4331.l to move to IOSG::ALL-IN-1 |
| Moderator: | IOSG::PYE |
| Created: | Thu Jan 30 1992 |
| Last Modified: | Tue Jan 23 1996 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 4343 |
| Total number of notes: | 18308 |
A customer wants her users to be able to do the following:
When working in a WPS-PLUS document, press a key and get the
title of the current document inserted. I.e. OA$CURDOC_TITLE.
Is it possible? Some kind of UDP or SCRIPT script perhaps?
Hans
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 886.1 | An ugly approach | SANFAN::LESLIE_DA | Greetings & Solutions | Wed Jun 17 1992 21:43 | 19 |
A customer of mine does this kind of thing *a lot* and here's the ugly
way they do it:
TITLE.UDP
.function merge title.blp, title.txt
.function dump title.txt
.process "{GOLD G}VMS{CR}TITLE.TXT{CR}"
.function delete title.txt
TITLE.BLP
<oa$curdoc_title>
There may be some better ways to do this, but this appears to work
HTH,
Dan
PS I just thought of a better way, try (in TITLE.UDP) a single line:
.process oa$curdoc_title
| |||||
| 886.2 | .PROCESS OA$CURDOC_TITLE | UTRTSC::BOSMAN | We're just sugar mice in the rain | Thu Jun 18 1992 07:26 | 3 |
Just put .PROCESS OA$CURDOC_TITLE in your UDP.
Sjaak.
| |||||