I have windows 7 and Macro Scheduler Pro 12, and a mapped network drive V: where I want to keep all MS scripts, and started creating two libraries:
V:\Mis documentos\Macro Scheduler 11\Oficina\GGG\ProcesosIBM\Respaldos\Libreria.scp
V:\Mis documentos\Macro Scheduler 11\Oficina\GGG\ProcesosIBM\Respaldos\LibreriaAutomatizacion.scp
and the main script that calls these two libraries is located at:
V:\Mis documentos\Macro Scheduler 11\Oficina\GGG\ProcesosIBM\Respaldos\Archive0PorComando\pruebalogin.scp
and this is the pruebalogin.scp code:
Code: Select all
// COMPILE_OPTS|C:\Users\Owner\Desktop\pruebalogin.exe||CONSOLE=0|INCLUDES=1|
//Set IGNORESPACES to 1 to force script interpreter to ignore spaces.
//If using IGNORESPACES quote strings in {" ... "}
//Let>IGNORESPACES=1
'**************** Constantes
Let>Path=V:\Mis documentos\Macro Scheduler 11\Oficina\GGG\ProcesosIBM\Respaldos
Include>%Path%\Libreria.scp
Include>%Path%\LibreriaAutomatizacion.scp
GoSub>LeeParametros
GoSub>AsignaIP
GoSub>TeclasCtrl
Let>Ver=10.11.08
Let>APP=Archive0 IBM Produccion-
ConCat>APP,%Ver%
Let>APP_TITLE=%APP%
'Let>Usuario=saoso
Input>USER,Favor de proporcionar el usuario:,heas666l
Let>INPUT_PASSWORD=1
Input>PASSWORD,Favor de proporcionar el password:,password
Let>INPUT_PASSWORD=0
Input>VERIFICACION,Favor de proporcionar el texto que verifique login:,Conectado a : mon_lan
Input>QUIT,Favor de proporcionar el texto de salida correcta del usuario:,0%CR%
GoSub>PruebaLogin
MessageModal>RPL
Error in: pruebalogin.exe
Line: 8 - Subroutine/Label LeeParametros Not Found!
And that subroutine does exist inside the second library and works allright when I run macro from Macro Scheduler, but fails executing exe file.
Can you please help me?
Thanks,
Salvador