[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

1947.0. "Interrupt menu from application" by KERNEL::COOPER (Suzanne Cooper UK Customer Support (833)3502) Fri Dec 11 1992 15:44

    If I call Teamdata from ALL-IN-1 I can do a gold I and get to the
    interrupt menu,  from there I can type wp and create a document.  How
    can I use this functionality from a program?  Is this possible or is
    somthing special linked into teamdata.

    Help...........

    Suzanne

    p.s. I've checked all the old notes conferences and I can't seem to
    find what I'm looking for  
    
T.RTitleUserPersonal
Name
DateLines
1947.1A start...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeFri Dec 11 1992 21:047
    Obviously you need some code in your application to recognise GOLD/I,
    since you have control of the keyboard.
    
    Then you have to get a script something like OA$DO:APPL_INIT.SCP, which
    was (I think) added for the VTX integration, executed.
    
    Graham
1947.2KERNEL::COOPERSuzanne Cooper UK Customer Support (833)3502Mon Dec 14 1992 15:007
    I've got a customer who has managed to call the interrupt menu but he
    cannot type wp and get the word and document processing menu although
    you can from teamdata, he gets invalid option.  It's like from Teamdata
    the default form is there as well,  is this something special in the
    teamdata code.
    
    Suzanne
1947.3Examples ?ESSB2::RWHELANWed Feb 10 1993 16:5113
The application I am working on has a similar requirement as the base
note, i.e. call the interrupt menu from an application run under
ALL-IN-1. (via an ALL-IN-1 script file).

Unfortunately, I am not familiar with ALL-IN-1. I can trap GOLD-I
from within my application but how do I call the interrupt menu from
within my application.

Does anybody have any examples or pointers to where I could find out ?

Thanks
  Ronan
 
1947.4FORM INTMENU - put this line in your script fileBUSHIE::SETHIMan from DownunderWed Feb 10 1993 22:281
    
1947.5Should call APPL_INT.SCPIOSG::SHOVEDave Shove -- REO2-G/M6Thu Feb 11 1993 11:1417
    While .4 will work, the "Approved" way to call the interrupt menu is by
    executing the ALL-IN-1 function
    
    	DO APPL_INT
    
    App_Int.Scp is a small script which makes a couple of checks, saves a
    couple fo things and then calls the interrupt menu. If you go to the
    interrupt menu directly, it will go wrong in some circumstances.
    
    If your application is a program running in the ALL-IN-1 subprocess,
    you'd need to assign a channel to OAMAILBOX and one to DCLMAILBOX,
    write the above function line to the OAMAILBOX channel and then read
    the DCLMAILBOX  channel _until__you__get__end-of-file_ (this last bit is
    important: your process may hang if you don't do this). Of course, you
    may already know all this, in whch case sorry!
    
    Dave.