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 |
My user wants to be able to interrupt a Word Processing (WPS-Plus) session with the gold-I, and run a script that creates an E-Mail message and delivers it to a selected user. (The application will notify the user of a phone message) When the Main creations script is executed, the following errors occur: TEXT DSAB open error (appears on line 24) Gold-W reveals: %OA-E-TXTOPNERR, TEXT DSAB open error %OA-E-NOGETTAG, Error getting semantic tag from "[.MSG]ZUIBFGEVK.WPL -RMS-E-FNF, file not found If the Gold-I menu option that calls the Mail script is run a second time, the mail message will be delivered. Is creating a Mail message while working in the WPS editor a No-No? If so, is there another way to do it? Thanks, Mike The script used follows: !+ ! MAIL_TEST.SCP is for testing only...called from GOLD-I menu. !+ .LABEL START ! ! Mail push_curmes mail create/open/nosend mail to "MANAGER" mail subject "Mail test program" mail text " " mail text "This is a test of the mail create function" mail text " " mail text "for user " oa$user mail text " " mail text "all processing for this mail message is happening " mail text " " mail text "while the operator is using WPS-Plus" mail text " " mail close_message mail send mail pop_curmes ! .EXIT
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1422.1 | Reentrant editors in our lifetime? | AIMTEC::WICKS_A | It wasn't supposed to end this way | Tue Sep 15 1992 20:36 | 9 |
Mike, WPS-PLUS isn't re-entrant and hasn't been since the dawn of time (see many many many previous notes) I don't think it lets you use EDT either BTW: I get the error "WPSDEF.WPL is already in use" but that's using ALL-IN-1 v3.0 | |||||
1422.2 | A suggestion | SCOTTC::MARSHALL | Do you feel lucky? | Wed Sep 16 1992 11:29 | 14 |
Hi, How about if you add /NOEDIT to the MAIL CREATE function, thus not using the editor at all. Get the user's input for the mail text using a form. As the text is a phone message, a form with fields such as "Caller", "Date" (which would of course be defaulted to the current date), "Time" (ditto), etc would be eminently suitable. Then use MAIL TEXT to add text to the message, using the values from the form above. Scott | |||||
1422.3 | MAILMEMO????? | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Wed Sep 16 1992 11:42 | 7 |
Re .2 Sounds like the MAILMEMOS ASSET. Oh, but I shouldn't use the word ASSET any more should I :-) Graham |