T.R | Title | User | Personal Name | Date | Lines |
---|
3793.1 | SCRIPT script? | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Fri Jan 21 1994 19:19 | 7 |
| If it's called with ALLIN1/SCRIPT=mumble, doesn't that make it a SCRIPT
script? What happens when you <SCRIPT it?
Alternatively, perhaps it hasn't initialised Mail, or something (User
name?) that it needs.
Graham
|
3793.2 | No difference | BIS1::DESTRIJCKER | Back again to the home town | Tue Jan 25 1994 07:55 | 13 |
| Graham,
It doesn't really matter to me what it is called, except if that means
something special, different?
but <do mumble.scp works.
Adding MAIL INIT doesn't make any difference unless I got the syntax
wrong.
I'm lost!
Wivine.
|
3793.3 | why don't we have a /DO=? | IOSG::BILSBOROUGH | SWBFS | Tue Jan 25 1994 08:43 | 29 |
|
I think what Graham is trying to say is...
There are two types of script in ALL-IN-1. DO scripts and script
scripts. DO scripts are like DCL and script scripts are like fake user
input.
<DO will run your do script fine
When you execute your procedure via ALLIN1/SCRIPT=
then it wants to run a script script not a do script so you can't use
this qualifier to run your do script for you.
The standard way to do this is to write a little com file which goes
into ALL-IN-1 for you.
e.g.
$ALLIN1/NOINIT
OA$INI_INIT
DO <location>:script
EXIT
$EXIT
Or something like that.
Is this what your after?
Mike
|
3793.4 | Nothing special | BIS1::DESTRIJCKER | Back again to the home town | Tue Jan 25 1994 12:02 | 9 |
|
Not really. I just want to import users vmsmail automatically when they
fire up ALL-IN-1. You see, we don't want to customise ALL-IN-1. So I
thought, I know let's execute a script when ALL-IN-1 is invoked.
But, unfortunately it doesn't work. I will have to think of something
else.
Wivine.
|
3793.5 | alternatives | IOSG::BILSBOROUGH | SWBFS | Tue Jan 25 1994 13:04 | 12 |
|
Why don't you set VMS mail to forward mail to the users ALL-IN-1
account?
The alternative as graham suggested to me is in the script script
have
.fx do xxx
And that should work.
Mike
|
3793.6 | Initial Menu? | IOSG::PYE | Graham - ALL-IN-1 Sorcerer's Apprentice | Tue Jan 25 1994 17:47 | 5 |
| A further alternative is to set up their initial menu in the profile so
it does:
EM V
Graham
|
3793.7 | This is how I did it | IOSG::HULIN | Ian Hulin, IOSG: REO, DTN 830-6141 | Tue May 10 1994 10:45 | 24 |
| Wivine,
Use OAINI.SCP and .FUNCTION directives. It should also work in a script
invoked $ALLIN1/SCRIPT=FRED which as Graham said invokes a **SCRIPT** mode
script.
!+
! OAINI.SCP to import all VMS Mail
!-
!
! Import all VMSmail
!
.FUNCTION MAIL VAXMAIL_CHECK \FORCE
.FX MAIL DEFAULT
{CR}
.EXIT
Cheers,
Ian
P.S. Hello again to everyone, for a little while anyway
|