home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. CD ROM (Annual Premium Edition)
/
premium.zip
/
premium
/
COMM_MIS
/
PCPEXEC5.ZIP
/
READ.005
< prev
Wrap
Text File
|
1993-10-09
|
10KB
|
314 lines
LOGEXEC4.ZIP
Wolfram Video October 09, 1993
What's new?
___________
The Exec-PC "log-on" menu changed recently and requires a new script.
Several changes have been made to the EXEC-PC.ASP file to accommodate these
changes. This version will also turn off the monitor display during the time
that the BBS echos your password. This feature, when combined with the
compiled *.ASX file will keep your password confidential from other users of
your pc as well as nearby observers while logging on. To assure confidentiality, delete your password from the original *.ASP file, put it
a safe place for future use, delete the backup and compress your drive.
____________________________________________________________________________
1.) Installation:
-----------------
Included are: READ.005 <-This file
EXEC.BAT <-Auto-Log-On batch file.
AUTOE.ASP <-PC+2.1 Auto dialing program.
EXEC-PC.ASP <-PC+2.1 Aspect file.
This set of files will log you on to Exec-Pc from your PCs DOS
prompt. The three (3) files will load your Procomm Plus 2.1 program,
dial Exec-Pc, log on under your first and last name with password and,
create a date/time-named log file and place it in the sub-directory of your choice. The program exits when you are at the top of Exec-Pc's main menu.
The following actions will take place when using these files:
1. Entering: "EXEC" at your DOS prompt runs [EXEC.BAT].
2. [EXEC.BAT] runs Procomm Plus 2.1 and loads the [AUTOE.ASP] file.
3. [AUTOE.ASP] will find your [PCPLUS.DIR] dialing directory and load
and run the [EXEC-PC.ASP] file.
4. [EXEC-PC.ASP] dials Exec-Pc and performs all log-on functions
2.) Getting Started!
--------------------
You must modify the three (3) included files for your configuration.
Thes files will NOT run without these changes.
For the Procomm Plus 2.1 auto-log files to operate properly you need to make the following changes in EACH file.
-----------------------------------------------------------------------------
File #1 [EXEC.BAT]
Make the following changes, then place this file into your "BATCH" directory
or into a directory that is found in your "PATH" statement.
ECHO OFF <-Turns echo off (May be deleted)
CLS <-Clears screen (May be deleted)
CD\PCPLUS <-Procomm Plus directory name.
PCPLUS/FAUTOE.ASP <-Runs Procomm Plus with [AUTOE.ASP](Need "F" in "FAUTOE")
C: <-Return to your DOS prompt (May be deleted)
-----------------------------------------------------------------------------
File #2. [AUTOE.ASP]
Make the following changes, then place this file into your
"PCPLUS" directory.
proc main
DLOAD "PCPLUS" <-Name of "YOUR" Procomm Plus dialing directory
EXECUTE "EXEC-PC" <-Name of "Exec-Pc" script file in dialing dir.
endproc
-----------------------------------------------------------------------------
File #3 [EXEC-PC.ASP] ---- "The Big One " -------
Make the following changes, then place this file into your
"PCPLUS" directory.
;Make changes as indicated by "CHANGE" !
proc main
ASSIGN S0 "1" <- "CHANGE" Dialing directory entry for EXEC-PC
ASSIGN S1 "GEORGE" <- "CHANGE" first name
ASSIGN S2 "WASHINGTON" <- "CHANGE" Last name
ASSIGN S3 "PRESIDENT" <- "CHANGE" Your password
ASSIGN S4 "C:\PCPLUS\LOG\" <- "CHANGE" Drive:\path\ where to create
YOUR: * .LOG file.
;*** IF NOT LINKED
if not fromddir
DIAL S0 ; Dial EXEC-PC
ENDIF
EMULATE ANSI
EMULATE ANSI
GOSUB LOG_ON ; Get logged on (hopefully)
; Note: doesn't wait for main menu.
GOSUB OPEN_LOG ; Open the log (capture buffer)
WAITFOR " ?=HELP) -> " 300 ; Make sure we are at the top menu
PAUSE 1
EXIT
endproc
;*** LOG_ON: ; Log onto EXEC-PC
proc LOG_ON
SEND_CR:
TRANSMIT "^M"
WAITFOR "name -> " 40
IF NOT WAITFOR
GOTO SEND_CR
ENDIF
PAUSE 1
TRANSMIT S1 ; Send first name
TRANSMIT ";"
TRANSMIT S2 ; Send last name
TRANSMIT ";"
TRANSMIT S3 ; Send password
TRANSMIT ";"
TRANSMIT "Q" ; Bypass bulletin menus
proc LOG_ON
SEND_CR:
TRANSMIT "^M"
WAITFOR "FIRST" 4
IF NOT WAITFOR
GOTO SEND_CR
ENDIF
PAUSE 1
TRANSMIT S1 ; Send first name
TRANSMIT ";"
TRANSMIT S2 ; Send last name
TRANSMIT ";"
TRANSMIT S3 ; Send password
TRANSMIT ";"
TRANSMIT "Q" ; Bypass bulletin menus
TRANSMIT "^M"
RETURN
endproc
;*** OPEN_LOG:
proc OPEN_LOG
LOG CLOSE ; Take no chances--close the log in case it is open.
DATE S9 ; get date in MM/DD/YY format
TIME S8 1 ; Get time in HH:MM:SS 24-hour format
SUBSTR S0 S8 0 2 ; Copy hour to S0
SUBSTR S1 S8 3 1 ; Copy tens of minutes to S1
STRCAT S0 S1 ; Convert to HHT (Hours & tens of minutes)
ATOI S0 N5 ; Convert HHT to an integer
SUBSTR S0 S9 6 2 ; Get year
SUBSTR S1 S9 0 2 ; Get month
STRCAT S0 S1 ; S0 now has yymm
SUBSTR S1 S9 3 2 ; get day
STRCAT S0 S1 ; S0 now has yymmdd
LOG_LOOP:
STRFMT S5 "%sNA%s.%03d" S4 S0 N5 <- "CHANGE" ( NA ) to abbreviate
; your name in case you have
; several Exec-Pc subscriptions or other
; people on who create their own file.
ISFILE S5 ; Check to see if this file already exists
IF SUCCESS ; I.e., if file already exists
STRFMT S1 "File %s already exists - will try next name." S5
MESSAGE S1
INC N5 ; Increment counter
GOTO LOG_LOOP ; And try again
ENDIF
LOG OPEN S5 ; Open a log file
MESSAGE " "
STRFMT S1 "Log %s D=%s,T=%s." S5 S9 S8
MESSAGE S1
MESSAGE " "
RETURN
endproc
----------------------------------------------------------------------------
4.) Placement of files.
-----------------------
EXEC.BAT <-Put in your "Batch" directory or path.
AUTOE.ASP <-Put in the PCPLUS main directory.
EXEC-PC.ASP <-Put in the PCPLUS main directory.
5.) Procomm Plus 2.1 Dialing Directory "CHANGES".
-------------------------------------------------
Go into "YOUR" Procomm Plus 2.1 Dialing Directory and "Revise" your Exec-Pc
"SCRIPT" by typing: "EXEC-PC" (no quotes) in the Log-on script box.
When the [EXEC.BAT] is run for the "FIRST TIME", Procomm Plus 2.1 will
"Compile" the [AUTOE.ASP] file to an: [AUTOE.ASX] file, and
"Compile" the [EXEC-PC.ASP] file to an: [EXEC-PC.ASX] file.
6.) Running the Program.
------------------------
At your DOS prompt, enter: EXEC
1. Entering: "EXEC" at your DOS prompt will automatically load [EXEC.BAT].
2. The [EXEC.BAT] will run Procomm Plus 2.1 and load the [AUTOE.ASP] file.
3. The [AUTOE.ASP] will find "YOUR" dialing directory and dial the entry.
4. The Procomm Plus 2.1 program will run the [EXEC-PC.ASP] file and log on.
5. Wait for Exec-Pc's main menu finish its log on procedure. You will see
the filename: [EXEC-PC.ASX] in the lower left half of your Procomm Plus
2.1 screen's Status Line. Once you have logged on completely, the file
name will be replaced with the default message: Alt-Z: Help
The files run for me with 2 different subscriptions on Exec-Pc.
You'll find it neccessary to have seperate scripts for 2 or more
Exec-Pc Subscriptions, I and use:
[3W.BAT], [AUTOW.ASP], [LOGOWOVI.ASP] for WOLFRAM VIDEO and
[3Z.BAT], [AUTOZ.ASP], [LOGOWOZI.ASP] for WOLF ZIMMERMANN
Modify the parameters of:
[EXEC.BAT], [AUTOE.ASP], [EXEC-PC .ASP]
to suit your own needs.
(with the appropriate changes you can log on under any number of different
parameters. For more scrip information, read the Procomm Plus 2.1 "Aspect
Script Language" Reference manual supplied with the 2.1 upgrade.
7.) Possible problems.
----------------------
If "script" problems are encountered due to entry "errors" you may have made while making changes, Procomm Plus 2.1 will notify you with an
on-screen message: "ERRORS ENCOUNTERED COMPILING AUTOE.ASX"
or: "ERRORS ENCOUNTERED COMPILING EXEC-PC.ASX."
If you notice the above messages, The Procomm Plus "compiler" was unable to
create the [*."ASX] files and instead created
an: [AUTOE.ERR] file
and/or: [EXEC-PC.ERR] file.
Should this occur, read the contents of the [*.ERR] files and make the appropriate
corrections/changes in the: [*.ASP] file. Thereafter delete the current [*.ERR]
file and repeat running [EXEC.BAT]
If the scrips:
[AUTOE.ASX]
and [EXEC-PC.ASX] have been compiled the program will run smoothly
thereafter.
7). Maintainance.
-----------------
Do not delete the original:
[AUTOE.ASP]
and [EXEC-PC.ASP] files.
You will want them should you wish to make changes in these two scrips files.
If changes (such as replacing your "password" or "dialing entry position" are
to be made later. To make such a change in the [*.ASP] file, edit the file
as desired, then DELETE the matching [*.ASX] file. Upon running the auto-
log, the [*.ASP] files will be "compiled" into "new" [*.ASX] files.
=============================================================================
That's it!
Dial-A-Happy!
Wolf Zimmermann
╒══════════════════════════════════════════════════════════════════════╕
│ ╒══[ WOLFRAM VIDEO(r), The "HotVideo"(tm) Music Video Service ]══╕ │
│ │ │ │
│ ╘═════[ c 1993 Wolfram Video,Inc. West Allis, Wisconsin, USA ]═════╛ │
╘══════════════════════════════════════════════════════════════════════╛