[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

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

4133.0. "execute wordPerfect macro" by CROCKE::YUEN (Banquo Yuen, Darwin Australia) Wed May 04 1994 10:29

    When using WordPerfect in ALL-IN-1, how can I specify the edit
    command to execute a WordPerfect first.
    
    Thanks
    Banquo
T.RTitleUserPersonal
Name
DateLines
4133.1WPC_USER_OPTIONS & $WPC_COMMAND_QUALIFIERSUTRTSC::SMEETSAlpha AXP Compatible LinkWorks MouseWed May 04 1994 12:1827
Hello Banquo

>    When using WordPerfect in ALL-IN-1, how can I specify the edit
>    command to execute a WordPerfect first.

Type in ALL-IN-1 WPC_USER_OPTIONS. You'll see an entry form. One of the fields
is called WordPerfect Startup Options.

In this field you could specify /MACRO=......

Note

1. This macro will also be executed during a create action
2. All entries in this form are strictly personal, so If all your users are 
   going to use this macro then look at note 3.

3. The value specified in the above mentioned field is stored in the permanent
   symbol $WPC_COMMAND_QUALIFIERS. If you add the following line to your 
   OA$LIB:OAINI.SCP

   get $WPC_COMMAND_QUALIFIERS = "/MACRO=.......'

   than the macro will be executed for every ALL-IN-1/WordPerfect user.

Regards,

Martin
4133.2command fileCROCKE::YUENBanquo Yuen, Darwin AustraliaThu May 05 1994 10:0618
    Hello Martin                                                        
    
    The macro that I want executed is only applicable in this particular
    application, not for general use and I am not sure whether there
    is any user that has his/her startup macro specified in the
    wordperfect user options.
    
    What I have done is to execute a command file which call wordperfect
    to edit the file with the startup macro I wanted and that macro
    will exit the document as well.  Come back to ALL-IN-1 and edit
    again.  This is slow (for the user) and stupid but there seems
    to have no other way when the customer cannot confirm that their
    users won't use the startup macro in the user options even though
    I fairly sure no users of theirs have made use of that user options.
    
    Thanks
    Banquo
    
4133.3/BATCH qualifierUTRTSC::SMEETSAlpha AXP Compatible LinkWorks MouseThu May 05 1994 10:229
Hello Banquo,

Did you also specify the WordPerfect /BATCH qualifier in your command file.

$ WP51/BATCH/MACRO=......

This might speed up things because there is no need to screen input/output.

Martin