[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

272.0. "Invoking ALL-IN-1 from DCL" by VAXWRK::BARRETT () Wed Mar 18 1992 18:58

    Hello,
    
    I am putting together a demo for decworld that involves sending
    all-in-1 messages to a beeper with message display capability.  Given
    that this demo will be left in the hands of a non techie I would like
    to script the whole process to run from a dcl command procedure.  ie-
    invoke all-in-1 select em select c and send the message all without
    the demo person having to touch or know all-in-1.  Is this possible?
    
    Thanks
T.RTitleUserPersonal
Name
DateLines
272.1IOSG::WDAVIESVic Williams is still not freeWed Mar 18 1992 19:236
    Yep.... and...
    oh I suppose you want to know how as well :-)
    
    Create a UDP such as F20 - then all the user has to do is type
    ALLIN1 
    and then press F20 to run it     
272.2IOSG::WDAVIESVic Williams is still not freeWed Mar 18 1992 19:256
    Oh, um, I suppose that doesn't really meet the requirement.
    
    Have a command file which spawns/nowait ALL-IN-1, with /SCRIPT reading
    from MYSCRIPT.SCP which contains the commands you want.
    
    Winton
272.3??VAXWRK::BARRETTWed Mar 18 1992 19:315
    Can some one supply a definition and a pointer on what a udp is and
    how to write one?
    
    Thanks
    
272.4Attack of the spelling PoliceAIMTEC::WICKS_AVote Bill'n'Opus for a weirder USAWed Mar 18 1992 19:3213
    Re .0,
    
    I trust it will be ALL-IN-1 DIGITAL's best selling Office Product that
    you will be demoing at this show and not some product called "all-in-1"
    whatever that this (:==:).
    
    It's a trademark, we like it, so I changed the note title
    
    Here endeth the lesson.
    
    Regards,
    
    Andrew.D.Wicks
272.5VAXWRK::BARRETTWed Mar 18 1992 19:371
    My isn't that special.  Thanks for all the help!
272.6Here is an exampleBUFFER::VICKERSWinners take action not keep scoreWed Mar 18 1992 21:2455
    It sounds like you probably want to have both an initialization file
    and UDP setup for your ALL-IN-1 demo at DECworld.  As Andrew almost
    gently pointed out, it is really nice to spell the product name in all
    caps.  Please, don't take it personally unless you are in management
    and/or an architect.  :')

    A UDP is a User Defined Procedure which is a really ugly way for users
    to store keystrokes for execution.  You can create a UDP from the UD
    menu is off of the WP menu.  As Winton suggested naming the UDP F20
    would be nice in that this name (and some other Fnn) makes the UDP
    executed by having the user just pressing the F20 key.

    The UDP can include script directives (starting with .) and these can
    then include ALL-IN-1 functions.  The terminating characters must be
    specified inside of braces {}'s.  I have included a UDP which should do
    pretty much what you suggested.  You'll want to change some of the
    details as all I am doing is to send a mail message of two boring text
    lines to myself using I and ME as address names in the TO and CC
    fields.  The UDP also displays a message on the bottom of the screen
    telling the user to press F20 to do it again.  Again, you'll want to
    change the text of the message to something a bit more professional.

    After you have your UDP working then I would suggest either making a
    copy of it into a file called OAINI.SCP in the account's ALL-IN-1
    subdirectory or using the /SCRIPT=[.UDP]F20.UDP qualifier.  You would
    probably want to make a DCL symbol for ALL-IN-1 which includes this to
    make it easier for the demo person.  You can, of course, include the
    whole thing inside the account's LOGIN.COM file:

$! LOGIN.COM
$!
$	DEFINE/USER SYS$INPUT SYS$OUTPUT:
$	ALLIN1/SCRIPT=[.UDP]F20.UDP
$	LOGOUT
$!
$! [End]

    Here is the UDP:


! F20.UDP       Create and send a message
!
EM C{RETURN}
I{TAB}
ME{DOWN}
{TAB}
{TAB}
The test subject{RETURN}
Some text{Return}
More text{Return}
{GOLD F}
S{RETURN}
.FUNCTION GET OA$DISPLAY = "Mash F20 to do it - again"
!
! [End]